The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey, I'm new to hacking vB but I have it integrated into a website I'm building and need some automated tasks. Was going really well until I hit the following problem. Hopefully someone can figure out where I've gone wrong with this.. I'd really appreciate any assistance you can offer.
I need to create a few thousand forums under a single category each with it's own access group. It'd look like 'Main Category' -> 'Sub Category' -> 'Forum [1...3000]' with usergroups 'zzzForum[1...3000]'. Now, I scripted the creation of what I think are all the necessary entries: =>vb_forum (title, title_clean, description, description_clean, displayorder, daysprune,parentid, parentlist, childlist) For example, ('asdf','asdf','desc','desc',1,-1,21,'22,21,3,-1','22,-1') => vb_usergroup (usergroupid, title, description, forumpermissions,wolpermissions,genericpermissions ,genericoptions) For example, (18,'asdf','desc',643319,1,2627075,40) => vb_forumpermission (forumid, usergroupid, forumpermissions) For example, (22,18,645111) to give the group access to the forum and (3,18,1) to give the group the ability to see the 'Main Category' and 'Sub Category'. Basically, I created a forum linked to it's parents, created a group, and gave the group access to both the forum and the outer category. Then I repeated that a few thousand times. Finally, I updated the childlist of the parent to include all of the new forumids. Trouble is, after creating all the entries, the forums don't show up in the AdminCP->Forum Manager or the Forum Permissions link. I can see the user groups in the User Manager, but they don't show up in the Forum Permissions links either. And even more annoying, when I create a forum or user group in the AdminCP now, I get a blank page instead of a successful redirect and they don't show up either - though they are inserted into the database. After deleting all the entries I inserted manually, I can create/delete usergroups in the admincp as normal. Any thoughts on what's wrong.. something I missed.. a silent but enforced limit (possibly memory related?).. I'm stumped. Thanks. Edit: Should probably mention this is with vB 3.8.1. --------------- Added [DATE]1244469162[/DATE] at [TIME]1244469162[/TIME] --------------- I've managed to have some manner of success.. If I only insert a few forums/groups everything will show up after I run the forum counters maintenance script. ![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|