vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Add a banner image to each forum (vb3.5) (https://vborg.vbsupport.ru/showthread.php?t=94119)

Zachariah 11-17-2005 12:05 PM

Quote:

Originally Posted by RGSMDNR
can these banners be hidden to a user group?

Not yet. This will be in an update. Thanks for the "nudge" my brain forgot.

Dstephan 11-17-2005 03:44 PM

I have to say I love this mod! I have a different banner on each forum and change them weekly, and this works so much better than editing the templates all the time.

craiovaforum 11-17-2005 05:47 PM

ok, let me get this straight:
v.1. I have to delete the modification I made to forumhome and wite it directly in the header. And then add the c0de you posted
v.2. I let things as they are and add the c0de you posted in the header template

Wich one is it?

Flow Fusion 11-18-2005 08:54 AM

Works great, thanks.

lanc3lot 11-18-2005 09:06 AM

Hm seems really nice, some questions though.

- Are any plans for any stats service for the banners?
- I see that the banners can be images, could be easy, to expand that on swf files too?

Thnx in advance

Bubble #5 11-21-2005 07:29 AM

Yes swf files would be a nice touch :)

craiovaforum 11-21-2005 01:43 PM

[QUOTE=Zachariah]You can add the template edit made to the forumhome to the header, but on forums w/o an image or anywere else will be a blank space where the image should be.

Try this:

header template:

Code:

<if condition="$foruminfo['banner'] AND $foruminfo['bannerlink']"><center><a href="$foruminfo[bannerlink]" target="_blank"><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></a></center><br />
<else />
<if condition="$foruminfo['banner']"><center><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></center><br />
<else />
<if condition="$foruminfo['bannercode']"><center>$foruminfo[bannercode]</center><br />
<else /><img src="images/banner/default.gif" border="0">
</if>

</if>
</if>
</if>

This will place a default image in place when not in a forum w/ an image.

hmm
If I add the code for a flash banner instead of the code for an image, in the code from up, it doesn't work


I have this code:

Code:

<if condition="$foruminfo['banner'] AND $foruminfo['bannerlink']"><right><a href="$foruminfo[bannerlink]" target="_blank"><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></a></right><br />
<else />
<if condition="$foruminfo['banner']"><right><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></right><br />
<else />
<if condition="$foruminfo['bannercode']"><right>$foruminfo[bannercode]</right><br />
<else /><object border="0" width="600" height="100">
        <param name="wmode" value="transparent">
        <embed src="magic2.swf" width="600" height="100" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" /></object>

</if>
</if>
</if>
</if>
</td>


lanc3lot 11-23-2005 05:19 PM

Damn seems Zachariah havent saw yet my post:(

xtreme-mobile 11-25-2005 04:11 PM

since installing VBshout on all pages none of the banners show up any more

any ideas how i can fix?

regards

dean

Zachariah 11-25-2005 04:54 PM

Quote:

Originally Posted by lanc3lot
Hm seems really nice, some questions though.

- Are any plans for any stats service for the banners?
- I see that the banners can be images, could be easy, to expand that on swf files too?

Thnx in advance

- Stats perhaps.
- Swf files - at the moment you can paste your HTML code in the HTML code area.

https://vborg.vbsupport.ru/attachmen...chmentid=34099


All times are GMT. The time now is 03:38 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
  • Page Generation 0.01290 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete