![]() |
[HELP] Non-Post Counting
I am running 3.5.4 and have upgraded to the lastest arcade. I've set the post requirement to 5 posts per day before people can play in the arcade however, I'm finding that it's counting posts from non-post counting rooms to be included in that requirement.
How can I fix that? |
This is possible, but would procude more load on SQL because of additional things to be done... Problem is that vBulletin does not store information about "this post counts to the counter" in the posts-table, so every post has to be checked for its forumid and there its settings ...
Possible, but will slow down the Arcade I think: THE FOLLOWING CODE IS UNTESTED AND PROVIDED JUST OUT OF MIND open /modules/mod_arcade.php search for Code:
if( $this->user['ppd_require'] ) Code:
if( $this->user['ppd_require'] ) |
I will give this a try this weekend and see if it's successful. thanks.
|
Please let me know if it works, thx :)
|
I got the following error message.
mySQL query error: SELECT p.userid, f.options FROM vb3_post AS p, vb3_thread AS t, vb3_forum AS f WHERE dateline>1149307200 AND p.userid=709 AND p.threadid=t.threadid AND t.forumid=f.forumid mySQL error: Column 'dateline' in where clause is ambiguous mySQL error code: Date: Saturday 03rd of June 2006 11:04:54 AM |
Oh ok, sorry, thry this code:
Code:
if( $this->user['ppd_require'] ) |
Tried it...waiting to see if it works....
|
Didn't cause an error but it's not allowing anyone access now....none of their threads count towards the goal...
|
Ok, if you provide FTP-Access and AdminCP-Account I can have a look and fix that directly on your Site... :)
|
All times are GMT. The time now is 10:08 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:
|