I have installed admod, but after installation the mod did not work and I changed language to ENGLISH and not ELGLISH-UTF8. After I saved it everything was lost. I keep getting message:" Connection Problems Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.when I want to log in." I'm using midnight ocean theme, vr1.1.2
mod works with default template only. Rest need to be done manually.
Has this been solved yet. ???
Yes. I only have one problem, when I try to replace in the display.template.php
"// Get all the messages..."
with
//Ad Counter
$adcounter =0;
// Get all the messages...
while ($message = $context['get_message']())
{
$adcounter++;
I get a message : "The file you tried to save generated the following error:
Parse error: syntax error, unexpected $end in Display.template.php on line 793"
thank you
If you look closely at that part of the code you will see a duplicate line there, remove it and you will be golden. I think it is this line that is in twice:
while ($message = $context['get_message']())
{