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)

y2ksw 04-28-2014 08:04 PM

Quote:

Originally Posted by MIWASA (Post 2495188)
hi would you be so kind as to link or show me how i can get banners to display on my forum.php and content.php pages please

In order to show banners you need to make template changes. There is also a movie in the very first post to show how and how not :)

MIWASA 04-29-2014 06:36 PM

understood and thank you, the banners are showing on threads and post but not on cms and forum.php, which templates do i have to edit to get working there, sorry i am not a coder

y2ksw 04-30-2014 08:43 AM

Quote:

Originally Posted by MIWASA (Post 2495363)
understood and thank you, the banners are showing on threads and post but not on cms and forum.php, which templates do i have to edit to get working there, sorry i am not a coder

It really depends on where you want to have your banners and then I'm not the right person to ask ... HTML is my nightmare :)

chikuru 04-30-2014 06:02 PM

Quote:

Originally Posted by MIWASA (Post 2495363)
understood and thank you, the banners are showing on threads and post but not on cms and forum.php, which templates do i have to edit to get working there, sorry i am not a coder

You can put the shortcodes using the Advertisement Manager inside Admincp.
There are ad locations that shows globally.
Like Below Navbar, Header 1, Header 2, Footer, etc..
If you need further assistance, you may shoot me a PM

fxdigi-cash 05-10-2014 12:32 AM

This is strange... nothing shows up!!!

I used the pre-installed google ads to test it, but none showed up!!

I tried it on different styles as well as the default style...

any idea what missing here?

Update#1: I use VBSEO when I disable it, all ads show up... how to get around this issue?

bzcomputers 05-10-2014 01:26 AM

Quote:

Originally Posted by fxdigi-cash (Post 2497075)
This is strange... nothing shows up!!!

I used the pre-installed google ads to test it, but none showed up!!

I tried it on different styles as well as the default style...

any idea what missing here?

Update#1: I use VBSEO when I disable it, all ads show up... how to get around this issue?

Page 24 of the Manual...

vbSEO or HTML cleaning software users:
Code:

@vbbanners:%d@
All other users:
Code:

<!--@vbbanners:%d@-->

fxdigi-cash 05-10-2014 01:54 AM

Quote:

Originally Posted by bzcomputers (Post 2497077)
Page 24 of the Manual...

vbSEO or HTML cleaning software users:
Code:

@vbbanners:%d@
All other users:
Code:

<!--@vbbanners:%d@-->

Thanks for pointing me to that, but still doesn't work...!!!

I guess there is something wrong... not sure where though

fxdigi-cash 05-10-2014 01:58 AM

I have this code in many ads like this:

Code:

<div align="center">@vbbanners:0@</div><br />
 <div align="center">@vbbanners:1@</div><br />
 <div align="center">@vbbanners:2@</div><br />
 <div align="center">@vbbanners:3@</div><br />
 <div align="center">@vbbanners:4@</div><br />
 <div align="center">@vbbanners:5@</div><br />
 <div align="center">@vbbanners:6@</div><br />
@vbbanners:%d@

and what is showing is this instead of the ads:

Code:

@vbbanners:0@
@vbbanners:1@
@vbbanners:2@
@vbbanners:3@
@vbbanners:4@
@vbbanners:5@
@vbbanners:6@
@vbbanners:%d@

any idea how to get resolved?? :confused:

bzcomputers 05-10-2014 04:29 AM

Quote:

Originally Posted by fxdigi-cash (Post 2497080)
any idea how to get resolved?? :confused:

I can't think of anything other than possibly old cache stopping the new code from executing. I've personally had old cache be an issue when switching code related to this mod.

fxdigi-cash 05-10-2014 05:24 AM

Quote:

Originally Posted by bzcomputers (Post 2497084)
I can't think of anything other than possibly old cache stopping the new code from executing. I've personally had old cache be an issue when switching code related to this mod.

you mean browser old cache?? if so, I just cleared all cache and restarted things up, but still nothing works...

The weird issue as I mentioned before, that VBSEO is the cause of this yet I don't know if someone have had the same problem or not.

I don't understand how would this mod conflict with VBSEO anyways!!!

I will keep digging,

Thanks, mate for the commenting... :)

Update #1
I can't believe it. It worked... :) The issue was this in Rotating Banner System Options


Code:

<!--@vbbanners:%d@-->
I forgot to change it to this

Code:

@vbbanners:%d@
Thanks for the help, mate. :)


All times are GMT. The time now is 08:36 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.03801 seconds
  • Memory Usage 1,750KB
  • 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
  • (8)bbcode_code_printable
  • (7)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