SMF Support > Modificaciones (Mods)
no encuentro codigo del mod thank o matic
adthz:
Hola amigo pues el mod thank o matic, en una parte del display me manda a buscar este codigo
--- Code: ---<hr class="post_separator" />';
--- End code ---
pero sinceramente no lo encuentro, no se de que otra forma buscarlo
ah y me manda agregar despues este codigo
--- Code: --- ';
// Show the Thank You list or the link or.... nothing? XD
echo '
<div class="ThankOMatic ', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', '" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>';
// Output the Template for Thank-O-Matic (Normal found in the index.template.php)
// It will fall back into a standard function, if this template_thank_you_post doesn't exists!
if ($message['thank_you_post']['isThankYouPost'])
{
// Mistake? Function not loaded oO.
if (empty($context['call_thank_you_post_func']))
loadThankYouTemplateFunctions();
// Call the correct function =D
$context['call_thank_you_post_func']($message['thank_you_post'], $message['id']);
}
echo '
</div>
--- End code ---
ojala me puedan ayudar
mi web es www.pirated.es
PD:edit: es el archivo display.template.php en donde me manda a hacer ese procedimiento
Diego Andrés:
Adjunta dicho archivo porfavor.
adthz:
me pueden ayudar con esto porfavor?
es que no encuetro el codigo
adthz:
alguien podra ayudarme en esto porfavor?
estoy desesperado xd
Diego Andrés:
¿Qué theme estás utilizando? Glacier?
Navigation
[0] Message Index
[#] Next page
Go to full version