The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi all,
I am going to create my first vB add-on for my group and needing some helps. Can anyone help me step-by-step? I had: - vB hooks list - programming skill I need some vB variables name to get: - the current forum, parent forums, child forums id. - the current user info. (eg. identifier, permisions...) My add-on will apply to: - Admin/Mod CP - Creating new thread/post action - Deleting post action How do I do now? Thanks. |
|
#2
|
|||
|
|||
|
Some pointers:
- current forum: $forumid, $foruminfo - current user: $vbulletin->userinfo, (or $bbuserinfo if called from a template) - current user permissions: $permissions - current user name: $vbulletin->userinfo['username'] - parent forum ids: $foruminfo['parentlist'] - child forum ids: $foruminfo['childlist'] I am sure there is a tutorial somewhere explaining the basics. I would suggest you find a mod that does something similar or at least in the area of what you intend to do, and study how they do it... |
![]() |
|
|