Adding text links for sponsors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JohnK
    Member
    • Dec 2001
    • 56

    Adding text links for sponsors

    I'd like to add text links for forum sponsors on the forumhome page as well as the forumdisplay pages. I've attached some images to give an idea of what I mean.

    Can I use $forumid and phpinclude_start in a similar way to this thread? http://www.vbulletin.com/forum/showthread.php?t=104606

    If so, where would I need to add the $banner[$forumid] code in each of the templates?

    Many thanks!
    Attached Files
    Last edited by JohnK; Mon 16 Oct '06, 12:04pm. Reason: Typo
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Yes, plugins can work the same way there. You need to add the variable reference to the appropriate forumhome_forumbit_* template, probably using the global scope:

    Code:
    {$GLOBALS[banner][$forumid]}
    For the forumdisplay page, you need to edit the FORUMDISPLAY template.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎