![]() |
need help with this code
i have problem with below code:
i put this code in phpincloud template: Code:
if ($thread['replycount'] >10 and $thread['views'] >100){ so~~does this code wrong?? thankz~ :bunny: |
because $thread is never defined in phpinclude or before.
you have to put that code into forumdiplay.php into the while loop |
so which place should i put it in that file??
or i can put that in everywhere in forumdiplay.php ?? |
after this part:
PHP Code:
|
Quote:
now it show up .............:D:D:D:D |
:)
you're welcome :) |
Quote:
about above code if i want to add attach file download times variable what name is that?$thread[counter]??or...... thankz again~~ |
nope, just the ammount of announcements is saved in the threadtable, not the ammount of downloads.
i wouldn't do this, because you have to add a query per thread in aerage then... |
Quote:
Xenon thankz again!!:D:D:D |
i use this code and it work well but i want it more different
PHP Code:
if the thread starter online show XXXif offline show ZZZ how can i do that?? thankz.............. |
ANYONE can help that plz??
|
sorry bump my post.....but still need help.....
|
All times are GMT. The time now is 01:16 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|