PDA

View Full Version : Template conditional for post count


Rizzo
Sun 11th May '08, 5:39am
What is a template condition for saying that someone can't view it unless their postcount is more than 5 in the previous 24 hours?

Jose Amaral Rego
Sun 11th May '08, 5:03pm
Your adding script code and I do not know how to implement this into vBulletin. You can post a request to have time forula added, but I do not remember ever someone using it without having a plugin working with it.
<if condition="$vbulletin->userinfo['posts'] >5"> **</if>

Rizzo
Sun 11th May '08, 10:06pm
Where would i post a request for something like this?

Jose Amaral Rego
Sun 11th May '08, 10:42pm
I do not even know what you wanting to do with this. :) You do not need it for notices, as that covers usergroups, post counts and time.

Rizzo
Mon 12th May '08, 12:20am
I am wanting to show something to people who have made over 5 posts in the last 24 hours. For inside a template.

Steve Machol
Mon 12th May '08, 12:21am
Sorry, there is no function to do this. This requires modifying the code. We cannot officially support code modifications or forums running modified code, however you can try searching or asking for help with this over at www.vbulletin.org.