![]() |
Basic Questions
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. |
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. |
Moved to General vBulletin Questions. Please read the forum descriptions more closely in future :) Thanks
|
Quote:
In AdminCP/usergroup.php Code:
print_table_header("Download Permissions"); 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:
|
All times are GMT. The time now is 01:49 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|