MyBB Community Forums
Blue Template Text - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: Blue Template Text (/thread-44925.html)

Pages: 1 2


Blue Template Text - JonathanP - 2009-02-09

hi, i was editing my forumdisplay template and in that i was editing forumdisplay_usersbrowsing, and it worked but, now its blue, and i cant see whos browsing


RE: Blue Template Text - Tomm M - 2009-02-09

Screenshot, and the source code for that template?


RE: Blue Template Text - Matt - 2009-02-09

Revert it and start again??


RE: Blue Template Text - JonathanP - 2009-02-09

<span class="smalltext">{$lang->users_browsing_forum} {$onlinemembers}{$onlinesep}{$invisonline}{$onlinesep2}{$guestsonline}</span><br />

and


{$comma}{$user['profilelink']}{$invisiblemark}


   

i edited the forumdisplay language file i wanted it to say viewing and it did work then the templates turn blue after i had to edit it.


RE: Blue Template Text - Matt - 2009-02-09

Oh like that. Yeah you've managed to delete the master copy of the template.

INSERT INTO mybb_templates (title,template,sid,version) VALUES('forumdisplay_usersbrowsing', '<span class="smalltext">{$lang->users_browsing_forum} {$onlinemembers}{$onlinesep}{$invisonline}{$onlinesep2}{$guestsonline}</span><br />', '-2', '1400');

INSERT INTO mybb_templates (title,template,sid,version) VALUES('forumdisplay_usersbrowsing_user', '{$comma}{$user['profilelink']}{$invisiblemark}', '-2', '1400');

Run these in PHPMyAdmin.


RE: Blue Template Text - JonathanP - 2009-02-09

how'd that happend, i didn't see a delete button


RE: Blue Template Text - Matt - 2009-02-09

I don't really know how people do it, it isn't something you would have purposely done I don't think.


RE: Blue Template Text - JonathanP - 2009-02-09

hmm, im getting an error with the second query:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'profilelink']}{$invisiblemark}', '-2', '1400')' at line 1

id probably need to ask my host right?


RE: Blue Template Text - x_Stricken_x - 2009-02-09

Try this:
INSERT INTO mybb_templates (title,template,sid,version) VALUES('forumdisplay_usersbrowsing', '<span class="smalltext">{$lang->users_browsing_forum} {$onlinemembers}{$onlinesep}{$invisonline}{$onlinesep2}{$guestsonline}</span><br />', '-2', '1400');

INSERT INTO mybb_templates (title,template,sid,version) VALUES('forumdisplay_usersbrowsing_user', "{$comma}{$user['profilelink']}{$invisiblemark}", '-2', '1400');



RE: Blue Template Text - JonathanP - 2009-02-09

first one worked, the second one same error