The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I need to add something to the navbar on the forum (vb3 rc2). Because I'm using the same chunk of code on NON-forum pages, I created a new template for it. (Yes, it's in the parent style, and all the child styles.) I know that I need to add it into the global.php file so that it will correctly be brought into each page of the forum.
I added to the navbar template: Code:
<!-- / breadcrumb, login, pm info --> <!-- vh nav buttons bar --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> $vh_navbar_contents </tr> </table> </div> <!-- / vh nav buttons bar --> <!-- nav buttons bar --> <div align="center"> Poking in the global.php file, I can see where the templates are called, and added the new one in with the other navigation templates: Code:
// navbar construction 'vh_navbar_contents', 'navbar', 'navbar_link', ![]() Thanks! Jeniffer |
#2
|
|||
|
|||
![]() PHP Code:
|
#3
|
||||
|
||||
![]() Quote:
Yes, sorry, I apparently wasn't terribly clear. ![]() I assumed this was the correct statement to use, but can't figure out where it needs to go in order to work. Jeniffer |
#4
|
||||
|
||||
![]() Quote:
![]() Thanks guys! Jen (going back to stand in her corner) |
#5
|
||||
|
||||
![]()
should be placed above footer and header i belive
![]() but glad you found it ![]() |
#6
|
||||
|
||||
![]()
Faranth, LOL, thanks. Actually, I have that tutorial up in another browser tab, and have most of the day. (And I posted in another thread around here somewhere asking about permissions stuff, which is why I replied over on vbulletin.com when you said you were working on another tutorial.) Like I said, I was sure I'd "gotten it", and understood at least this much, but couldn't figure out why it wasn't working. Sheesh, this is the second time today I've spent a good long while working on something, not figuring it out, only to discover my blatant error immediately after asking for help on it. Ain't that always the way it goes?
Thanks for all the help! Jeniffer |
#7
|
||||
|
||||
![]() Quote:
![]() im still working on the conditions tutorial, ive poked at it abit but im not as enthused to write it up atm, im hoping to finish it by the weekend ![]() |
#8
|
||||
|
||||
![]()
Well, I'll still be working on this stuff come this weekend, so I'll just keep an eye out for it. I've created non-forum pages that list our paid subscriptions, each page only displaying SOME of the available subs, rather than all of them on one page. I need to restrict access to some of the pages to only those users who have already paid for a lower level subscription. This is my workaround to the issue of vb not having tiered subscriptions yet, nor photopost recognizing secondary usergroups.
But it should take me until this weekend to get the rest of the dust cleaned up on the site. Haha! Jeniffer |
#9
|
||||
|
||||
![]() Quote:
|
#10
|
||||
|
||||
![]()
Don't know if you saw my detailed post about this integration issue on the .com forum, but the solution could lie either on the vb or the pp side. At the moment it's up to admins to figure out how to handle it. Since I have only the most very basic grasp of php, my solution for the moment (other than bringing it up to the developers on both sides, since this is a very common integration) was to create extra pages and copy the html for the subscriptions form -- in pieces -- into the various pages, then see if I can figure out how to restrict access to those pages.
Little baby steps. ![]() Jeniffer |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|