vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Rotating Banner System (https://vborg.vbsupport.ru/showthread.php?t=188328)

Cust0ms 11-24-2008 01:54 PM

hello
i want to add a vertical banner to forumhome and all pages of my forum.
I tested it and add veriable @vbbanners_vertical@ under $navbar in forumhome template but I see my banner under navbar. I want to see it on right my forums.

Please, help me.

y2ksw 11-24-2008 09:11 PM

Quote:

Originally Posted by Cust0ms (Post 1671952)
hello
i want to add a vertical banner to forumhome and all pages of my forum.
I tested it and add veriable @vbbanners_vertical@ under $navbar in forumhome template but I see my banner under navbar. I want to see it on right my forums.

Please, help me.

I'm not good enough in design to tell the exact way how to do it. Basically you have to move your main page into 2 columns, one of which works as the placeholder for the banners.

Spika 11-25-2008 02:52 PM

Great job!
Thank you very much!

tiekie 11-28-2008 04:04 PM

I unistalled this script because it was breaking the forum tablets a little bit .... but even after the uninstall the forum tablest is still a little off.

What do you think the problem is ? and how do i fix it?

Here is a link to the problem:
http://www.presssex.com/forum.php (warning adult)

y2ksw 11-28-2008 06:13 PM

Quote:

Originally Posted by tiekie (Post 1674617)
I unistalled this script because it was breaking the forum tablets a little bit .... but even after the uninstall the forum tablest is still a little off.

What do you think the problem is ? and how do i fix it?

Here is a link to the problem:
http://www.presssex.com/forum.php (warning adult)

Search for the placeholders @vbbanners@ and @vbbanners_vertical@ in your templates and remove them. That's all, unless of course you have made other modifications.

The product itself does not add itself into any template, all changes are made directly by the forum owner. If it wasn't, I would have had a hundred issues already, since people are moving the banners many times before they fit, and actually it was designed as a simple addon leaving all the freedom to its users ;)

As for your problem, it looks like as if you have made a change to the vbadvanced module regarding the forum home page. And generally to the logo section in the header template. If you have saved your template changes in the style history, you should be able to roll back without problems.

For the logo, it is likely you have filled ad_header_logo with something empty, such as a table with 50% or 400px width, else I couldn't explain the gap. And maybe that's all.

tiekie 11-28-2008 09:08 PM

Thanks for the fast reply

I never put the placeholders @vbbanners@ and @vbbanners_vertical@ on my forum

Inside the admin cp there was the option to place a banner from a url which i did but i never seen the banner displayed and thats when i notice the problem. I unistalled the mod thinking it will be fixed but it wasnt.

So, do you think thats the problem? and if so which template should i go look in and for what? ... im still a litle stupid with these things

y2ksw 11-28-2008 09:23 PM

Quote:

Originally Posted by tiekie (Post 1674783)
Thanks for the fast reply

I never put the placeholders @vbbanners@ and @vbbanners_vertical@ on my forum

Inside the admin cp there was the option to place a banner from a url which i did but i never seen the banner displayed and thats when i notice the problem. I unistalled the mod thinking it will be fixed but it wasnt.

So, do you think thats the problem? and if so which template should i go look in and for what? ... im still a litle stupid with these things

If you never used the placeholders the plugin was never working, and thus could not cause any problem. In this case you need to undo the changes you have applied to your styles.

The banner records you are talking about are stored in the database only and have no effect on your board until you show somewhere a @vbbanners@ placeholder. Only then the plugin activates and replaces @vbbanners@ with a banner contained in the database (if any).

rolandogomez 11-29-2008 04:56 AM

Works perfect! Thanks, great mod. I also incorporated with the Video Mod for a demo, see here: main video index (look between "Latest Videos" and "Most Viewed.") Also here: when viewing a video (between the video clip and "Video Details."

Excellent! Thanks, rg sends!

Sunka 12-02-2008 03:17 PM

Quote:

Originally Posted by y2ksw (Post 1659994)
This makes me fear :D

Code:


<if condition="$show['member']">
    @vbbanners@
<else />
    <!-- Google Ads -->
</if>



Any news for usergroups see/not see banners

y2ksw 12-02-2008 05:36 PM

Quote:

Originally Posted by Sunka (Post 1677103)
Any news for usergroups see/not see banners

Not yet - real life demands my full attention ... but I have it scheduled :)


All times are GMT. The time now is 12:19 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.02672 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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