PDA

View Full Version : 'RSS Feeds Robot' problem


Valter
04-02-2007, 03:56 AM
RSS Feeds Robot doesn't work if you require post count X to access forum or create threads, for example:

newthread_start

if (($vbulletin->userinfo['posts'] < 10) AND ($vbulletin->userinfo['usergroupid']!='6'))
{
[show-error-here]
}

This will stop RSS Bot even you set administrator as poster... it will not post threads anymore...


Is there any way to exclude RSS Bot from such restrictions? Any conditionals? Thanks for any help.


Cyb

Marco van Herwaarden
04-02-2007, 09:20 AM
The userinfo array will probably be either filled with:
- Guest (ie. userid = 0) values
- The values of the user browsing your forum that triggers the Scheduled Task.

Actually not really sure how to check for this, but probably you should be doing it in newthread_complete, and check for the values set for the poster-userid in the DM-object.