The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
I think you will need to update this ;
Code:
SELECT thread.* FROM " . TABLE_PREFIX . "thread AS thread WHERE views > 99 AND forumid IN (" . $fids . ") |
Благодарность от: | ||
MarkFL |
#12
|
||||
|
||||
Good catch, Paul. Yes, change "views" to "replycount" as well.
|
#13
|
|||
|
|||
I was testing it on the views option instead of reply count. Also, I waited for the cron to run in its own for over 48 hours and nothing happened. |
#14
|
||||
|
||||
It appears that, in the last code you posted, the elseif conditions need opening parens in front of $vthread['views'].
|
#15
|
|||
|
|||
????
|
#16
|
||||
|
||||
Look at the lines you posted of the form:
PHP Code:
PHP Code:
|
#17
|
|||
|
|||
I made these corrections to the code I recently posted and have it working in a test forum, unfortunately only the "Bronze" prefix is working. It does not change to the next prefix after the thread views reach the next number
|
#18
|
||||
|
||||
The name of the array being used in the while loop is $v_thread, not $vthread. That was a typo I introduced in my original code.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|