Log in

View Full Version : check for 10 posts or more


diesel08
08-27-2005, 12:16 PM
i want to add a function to check if a user has made 10 posts or more.. for index.php to trigger a piece of script

how would i do this.

Marco van Herwaarden
08-27-2005, 07:13 PM
if ($vbulletin->userinfo['post'] >= 10)
{
...your script....
}(if 3.5)

diesel08
08-28-2005, 01:47 AM
this isnt working for me..

i am using the function inside a page created using this..

https://vborg.vbsupport.ru/showthread.php?t=62164&highlight=page


it is not returning a value for $vbulletin->userinfo['post']

not even 0 .....

its okay.. i fixed it

i didnt declare the variable inside the function