Firefox PHP

Hot Topics

Posted by Toni 
Re: Hot Topics
December 27, 2012 06:58PM
The second code you pasted is broken
{/IF
can't work without the closing }
Also the logic there is flawed.
Try something like the following (untested):
Language: PHP
{ELSEIF MESSAGES->new} {VAR icon "new-replay"} {VAR title LANG->NewMessage} {VAR alt LANG->NewMessage} <?php } else if ($PHORUM[';TMP';][';MESSAGES';][';thread_count';] > 10) { ?> {VAR icon "hot-topic"} {VAR alt LANG->HotTopic} {ELSE} {VAR icon "forum-icon"} {VAR title ""} {VAR alt ""} {/IF}   {IF MESSAGES->new} {VAR newclass "message-new"} {ELSE} {VAR newclass ""} {/IF}


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: Hot Topics
December 27, 2012 07:17PM
Thanks to "Maurice Makaay" and "Thomas Seifert", now working as well :)

So nice, now my forum burner!
Sorry, only registered users may post in this forum.

Click here to login