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 03-09-2006 02:40 PM

I have plans to do some updates on this hack.

- no template edits for banner placement
- perhaps rotation script option for images and flash banners.

Thoughts anyone ?

Zachariah 03-09-2006 03:05 PM

Quote:

Originally Posted by CnB
Nice hack just what i need.
few questions though

is it possible to show the banner/image always ? in the header not mather what page your on ?
and is it possible to have more then 1 image, switch image after x seconds ?


https://vborg.vbsupport.ru/showthrea...threadid=96398

and post #18 - simple rotation per refreash (switch image after x seconds ... soon)

megnin 03-12-2006 05:36 PM

The updates sound great.

Thank you for the clarification on the installation. I'm quite new to this and nothing is "familiar" to me yet. I'm only done a few things in HTML, even less in Visual Basic and nothing in PHP. I appreciate the "hand hold". ;)

megnin 03-12-2006 06:22 PM

Well, I still can't get an image to show up in a forum.

I made the edits to the FORUMDISPLAY and SHOWTHRED files, used Forum Manager, Edit Forum, "Place an image on your forum" to select an image. I tried a .gif then a .jpg.

In my forums, no graphics. What could I have missed?

rnmcd 03-13-2006 02:25 AM

Has this awesome hack been working with 3.5.4? Anyone tried it yet?

Zachariah, those updates sound helpful. In particular, banner rotation.

megnin 03-13-2006 09:29 AM

I'm using vB 3.5.4 and haven't been able to get it to work, but then this is my first experience with vBulletin, so don't judge by my experience.
The steps to install it are pretty simple and I believe I've followed them correctly, but I don't have the experience with this software to know how "touchy" it is.

Warlock40 03-14-2006 04:51 PM

Works great. Also works with phpadsnew using the remote java.

I am thinking about installing vbadvance cmps. Will I have problems installing cmps with this hack installed? Should I disable it before or not worry about it.

Its going on a test forum first before it goes to the live version.

Trevor Hannant 03-14-2006 08:15 PM

Quote:

Originally Posted by craiovaforum
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>


Yep, I'm having a problem getting a flash file to come up too.:confused:

skcyber 03-18-2006 11:21 AM

first of all, thank you for this plug... this is really cool !

i have vb 3.5.4 and aria skin.

the plug is working great !

i have a question, i would like the banner to be on every category of a forum, and even in the threads ? how can i do ?

for exemple :
forum 1 : pict1.jpg
- category 1
- category 2

forum 2 : pict 2.jpg
- category 1
- category 2
- category 3 ...etc

should i modify this ? :

<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 />
</if>
</if>
</if>

thanks for your help !

Zachariah 03-18-2006 08:11 PM

To place on all threads in the same forum.

EX:

Forum1 - Image1
- Thread1 - image1
- Thread2 - image1

Forum2 - Image2
- Thread1 - image2
- Thread2 - image2


2) Edit and add.

*** Edit 2 Template(s) : FORUMDISPLAY, SHOWTHREAD

Find:
$navbar

below add :


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 />
</if>
</if>
</if>



All times are GMT. The time now is 08:43 PM.

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.03359 seconds
  • Memory Usage 1,744KB
  • 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