The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Hi Stickers,
That sounds pretty much exactly what I'm trying to do. I've used the Ultimate Side Columns hack I got here to put a right side column in my forum home pages. What I want is to display links in that column to information pertaining to the subforums of the parent forum. i.e. Mexico has 2 subforums: Acapulco and Cancun. When your're in the Mexico forum, I want to see links to the Travel Guides for Acapulco and Cancun in that right column. Then when those individual links are clicked, it will show hotel information etc specific to those areas. I've created a plugin that hooks into cache_templates. I can get it to display the childlist in an array as forumids. $childlist_title = $foruminfo['childlist']; foreach ($childlist_title AS $val) { // And then there is a piece of code that filters the ids of the main forum and the parent forum. if ($val == -1 OR $val == $foruminfo[forumid]) { "don't print"; } else { "print"; } } But this is where I've gotten hung up. I'm not really experienced with PHP but I try awfully hard. ![]() ![]() Thanks! PJ |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|