The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm not sure if I'm over looking code or if I have to add a query to my vb database.
I was wondering if someone could do a basic walk through for adding a new link to the button of the post bit. example buttons in post bit. profile pm www search buddy (buttons with url) say I wanted to add a new button, gallery $post[gallery] <-- what code so I need to do it get this to work? I've tried to make a template but it seems I'm missing something, I've look at the functions.php and index.php but I'm not sure if I'm over looking code. I've looked over vbulletin.org but didn't see anything in relation to this, and I'm sure others that are new to hacking vbulletin would love info about this. So we can add custom links to the post bit. thanks for any help in advance. |
#2
|
||||
|
||||
![]()
Well, the easiest way, is to make a new template with your content in (ie postbit_gallery) then in functions.php
find PHP Code:
PHP Code:
PHP Code:
![]() Then in your postbit template, add $post[gallery] anywhere you want ![]() |
#3
|
||||
|
||||
![]()
couldnt of said it better
![]() |
#4
|
|||
|
|||
![]()
Thank you for your fast reply,
PHP Code:
example would I do something like this? PHP Code:
![]() ![]() example of site so far, www.pixelfx.ca/index.php ... Update: I think I have it but if you see any code for my template above that you think I should change please let me know ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|