The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am a pretty advanced PHP coder, but I would like to utilize some of the built in vBulletin functions to save me time and keep my hack uniform, portable, and completely vB compatable. I also dont want to spend a lot of time searching for answers in the vB source, as it is not especially well documented.
1) What function parses text like a post, and what are its parameters (i.e. parsing flags) 2) After adding a permission variable in the admincp and altering it, what is required to access that permission variable. 3) After adding a field to the user table, can that data be accessed in bbuserinfo['field_name'] or do I need to find and edit the function that gets the user information. 4) What calls the special GUI textbox you see for posting? I dont want to just call one function, because different users want different displays that they set in their usercp. Thats all, it saves me a quite a bit of time if someone who already mods vB could help me out. |
#2
|
||||
|
||||
![]()
1) look in the file includes/bbcodeparse.php
2) Do you mean when you add an option? You can call it in any file with global.php included using $vboptions[varname] 3) I'm not sure about that, even though I think so. Why not add it as a custom profile field. Those are available for sure ($bbuserinfo[fieldX]). 4) Can't help you with that sorry. |
#3
|
||||
|
||||
![]()
Moved to General vBulletin Questions. Please read the forum descriptions more closely in future
![]() |
#4
|
|||
|
|||
![]() Quote:
In AdminCP/usergroup.php Code:
print_table_header("Download Permissions"); print_yes_no_row("Can Download Files? <dfn>Allows usergroup to download from the downloads section?</dfn>", 'usergroup[candownload]', $ug_bitfield['candownloadfiles']); print_yes_no_row("Can Manage Files?<dfn>Allows usergroup to manage files in the downloads section<br>Set individual permissions below...</dfn>", 'usergroup[canmanagefiles]', $ug_bitfield['canmanagefiles']); print_table_break(); Code:
above print_table_header($vbphrase['forum_viewing_permissions']); 1) added downloadpermissions to special templates array 2) added a to the switch statement in $storeitems (the vboptions array) 3) added $_BITFIELD['downloadpermissions'] Quote:
For this I will need to know two things: 1) how to create it 2) how do edit it VB seems very coder friendly once you learn it, but I just need to learn all the built in functions Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|