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)

Bulent Tekcan 12-07-2016 04:35 PM

Hello,

How can I get weekly or monthly stats ?

Regards

y2ksw 12-07-2016 06:35 PM

Quote:

Originally Posted by Bulent Tekcan (Post 2579221)
Hello,

How can I get weekly or monthly stats ?

Regards

You will have to extract the data from the database by a query and then elaborate on a spreadsheet.

carik 12-26-2016 12:09 AM

how to make blocks is adaptive for the user monitor?

y2ksw 12-26-2016 06:37 AM

Quote:

Originally Posted by carik (Post 2579878)
how to make blocks is adaptive for the user monitor?

This question concerns HTML, not this product. Once you have the code which adapts to the given space, you can use it within this product to rotate between different contents in the same spot.

carik 12-26-2016 09:34 AM

1 Attachment(s)
What I was trying to do inside block advertisements does not affect the size of the block.
Here's a look at the screenshot. The block size specified in the settings of size 100 x 100 pixels, but displays it in full size. On tablets and screens of the small size it looks like in the screenshot. To make the picture smaller to larger screens shows as an icon.
Tried everything, please help to resolve this issue.
The block itself where it is written in the styles or templates, I can't find where. Users complain, is not very convenient.
Tried in the templates of the top post and the last post is correct, not the block shows.

y2ksw 12-26-2016 01:42 PM

Quote:

Originally Posted by carik (Post 2579885)
What I was trying to do inside block advertisements does not affect the size of the block.
Here's a look at the screenshot. The block size specified in the settings of size 100 x 100 pixels, but displays it in full size. On tablets and screens of the small size it looks like in the screenshot. To make the picture smaller to larger screens shows as an icon.
Tried everything, please help to resolve this issue.
The block itself where it is written in the styles or templates, I can't find where. Users complain, is not very convenient.
Tried in the templates of the top post and the last post is correct, not the block shows.

You may try the flash wrapper and specify a smaller size. Else I have no other idea, because I am not a web designer. I am sure it is possible to fix with style tags, but I have no clue how.

carik 12-26-2016 04:41 PM

1 Attachment(s)
This is not a problem of the styles or the html. This problem is spelled out somewhere during the installation. I did change the picture in this ad unit is spelled out somewhere tough, the search returned no results. see screenshot, you can see that the picture is small, and the unit remained 300px in width.

carik 12-26-2016 09:24 PM

now you have done so: - the size of the banner in the posts can be set in the settings, for example 300px300px, this size is fixed, to work around this no the codes did not work. plus another set ad_post_maxWidth.
so, I propose to make changes to blocks in posts like this:
variable size depending on screen resolution -
ad_thread_first_post_content
ad_thread_last_post_content
ad_post {
max-width: 100%;
display: inline-block;
}
@media (min-width: 400px) {
ad_post {
max-width: 50%;
}
}
@media (min-width: 1240px) {
ad_post {
max-width: 100%;
}
}
the unit will change depending on the screen resolution. and the maximum size is set via the parameter ad_post_maxWidth. Advertising will not spoil the appearance on tablets and is fully on stationary monitors.

majjed2008 01-12-2017 10:34 AM

Hello

Regrading Rotate banners in-place , it is work fine now with position 0 but how i can add more position please ?

thank you in advance

vpcarrocci 01-12-2017 04:43 PM

I am running vB 4.2.3 PL 2 on my site located at www.grandcanyonstatebbq.com.

I recently added Google AdSense to my site and had to disable the site specific informational banners that I was running below the navbar in order to accomodate the new ads. I would like to insert those currently disabled banners in between the forum sections on my site. For example, I would like to have a banner running between the sections entitled "Welcome to the Grand Canyon State BBQ Forums" and "The Grand Canyon State BBQ Association".

Into which template should I be adding in the banner position code?

scottkoz20 01-13-2017 12:17 PM

is there a way to restrict login.php to not be included on this? I got an Adsense warning about it.

y2ksw 01-13-2017 01:19 PM

Quote:

Originally Posted by majjed2008 (Post 2580765)
Hello

Regrading Rotate banners in-place , it is work fine now with position 0 but how i can add more position please ?

thank you in advance

Just as you would do elsewhere. However, as stated everywhere, in-place rotating banners are a hack and not supported, thus it's a game of try, fail and success all by you :)

y2ksw 01-13-2017 01:24 PM

Quote:

Originally Posted by vpcarrocci (Post 2580776)
I am running vB 4.2.3 PL 2 on my site located at www.grandcanyonstatebbq.com.

I recently added Google AdSense to my site and had to disable the site specific informational banners that I was running below the navbar in order to accomodate the new ads. I would like to insert those currently disabled banners in between the forum sections on my site. For example, I would like to have a banner running between the sections entitled "Welcome to the Grand Canyon State BBQ Forums" and "The Grand Canyon State BBQ Association".

Into which template should I be adding in the banner position code?

In any one which can do it. There is no such function in vbulletin, but eventually you could add a banner in between each section by changing the respective templates named forumhome_forumbit_* and some clever but yet to be invented condition :)

y2ksw 01-13-2017 01:27 PM

Quote:

Originally Posted by scottkoz20 (Post 2580817)
is there a way to restrict login.php to not be included on this? I got an Adsense warning about it.

That seems weird ... maybe adding a condition in the templates using THIS_SCRIPT == 'login' and such?

scottkoz20 01-13-2017 02:45 PM

Quote:

Originally Posted by y2ksw (Post 2580821)
That seems weird ... maybe adding a condition in the templates using THIS_SCRIPT == 'login' and such?

very weird.


are you refering to the Style templates or something else


Thanks for the quick answer

y2ksw 01-14-2017 09:12 AM

Quote:

Originally Posted by scottkoz20 (Post 2580823)
very weird.


are you refering to the Style templates or something else


Thanks for the quick answer

Yes, around the placeholder.

Scream And Fly 01-24-2017 02:47 PM

Hi Giovanni, I am using your banner system at http://www.screamandfly.com/forum.php and I love it.

I think I asked before, but I am unable to add anymore that four left-side vertical banners. If I specify "Position 5", the banner does not appear. The first four and the horizontal banner work fine.

Is there something I am overlooking? I could really use some help with this.

Thank you!
Greg

y2ksw 01-25-2017 08:41 AM

Quote:

Originally Posted by Scream And Fly (Post 2581273)
Hi Giovanni, I am using your banner system at http://www.screamandfly.com/forum.php and I love it.

I think I asked before, but I am unable to add anymore that four left-side vertical banners. If I specify "Position 5", the banner does not appear. The first four and the horizontal banner work fine.

Is there something I am overlooking? I could really use some help with this.

Thank you!
Greg

I see 4 banners, do I miss something? :)

Scream And Fly 01-26-2017 06:56 PM

Hi Giovanni, thank you for your reply :)

Yes, there are four vertical banners. I was looking to add more than four on the left side. I'm sorry if I was not clear on that. I was wondering if I can add a 5th and maybe a 6th vertical banner. If I set those positions in the options for the banner system, those additional banners never appear.

Thank you,
Greg :)

y2ksw 01-28-2017 07:56 AM

Quote:

Originally Posted by Scream And Fly (Post 2581386)
Hi Giovanni, thank you for your reply :)

Yes, there are four vertical banners. I was looking to add more than four on the left side. I'm sorry if I was not clear on that. I was wondering if I can add a 5th and maybe a 6th vertical banner. If I set those positions in the options for the banner system, those additional banners never appear.

Thank you,
Greg :)

Did you add enough banners for that location? In order to show 6 banners to the same location, you must have at least 6 banners in db.

dwerden 03-02-2017 11:25 AM

Is there a way to make this ad server more immune to adblock and similar plugins? I notice the word "banners" in the HTML source for the banners you are managing. I wonder if simply changing that would help???

y2ksw 03-03-2017 07:28 AM

Quote:

Originally Posted by dwerden (Post 2583136)
Is there a way to make this ad server more immune to adblock and similar plugins? I notice the word "banners" in the HTML source for the banners you are managing. I wonder if simply changing that would help???

Maybe?! :)

You have the code, try it.

dwerden 03-04-2017 12:10 AM

I tried changing the name, but that did not work. I modified the code so it called rbs_image.php instead of rbs_banner.php. The banners still served fine when I turned off AdBlock, but disappeared as soon as I turned it back on. I examined the HTML code and it did reflect the new filename.

y2ksw 03-05-2017 01:01 PM

Quote:

Originally Posted by dwerden (Post 2583216)
I tried changing the name, but that did not work. I modified the code so it called rbs_image.php instead of rbs_banner.php. The banners still served fine when I turned off AdBlock, but disappeared as soon as I turned it back on. I examined the HTML code and it did reflect the new filename.

I believe the ad blocker looks into the ads. What kind of ads do you show?

dwerden 03-05-2017 01:34 PM

I'm showing images. Part of the problem may be that they are 468x60, which is a trigger. But I also found that Adblock is specifically blocking the css style ad_global_header. Does RBS create that or is it inherent in VB?

y2ksw 03-06-2017 07:55 AM

Quote:

Originally Posted by dwerden (Post 2583254)
I'm showing images. Part of the problem may be that they are 468x60, which is a trigger. But I also found that Adblock is specifically blocking the css style ad_global_header. Does RBS create that or is it inherent in VB?

It's VB.

Bulent Tekcan 04-13-2017 04:51 AM

Hello,

Is it possible to preview banner inside the settings ?

Regards

Bulent Tekcan 05-12-2017 05:19 AM

Quote:

Originally Posted by Bulent Tekcan (Post 2585218)
Hello,

Is it possible to preview banner inside the settings ?

Regards

???

y2ksw 05-12-2017 07:10 AM

Quote:

Originally Posted by Bulent Tekcan (Post 2586412)
???

No. This question was answered already several times. :)

Bulent Tekcan 05-12-2017 07:53 AM

Quote:

Originally Posted by y2ksw (Post 2586418)
No. This question was answered already several times. :)


I found only this request https://vborg.vbsupport.ru/showthrea...de#post2165990 can you share me the solution link ?

djbaxter 05-12-2017 12:12 PM

Quote:

Originally Posted by Bulent Tekcan (Post 2586419)
I found only this request https://vborg.vbsupport.ru/showthrea...de#post2165990 can you share me the solution link ?

There is no "solution link". A preview simply isn't a feature available in this addon.

Scream And Fly 05-19-2017 01:51 PM

Hi All,

I could really use your help.
I have been using this addon for many years on my site at http://www.screamandfly.com/forum.php

It's absolutely fantastic, and I depend on it very much. I have one issue that I have never been able to resolve and I could really use your help.

I am only able to add a maximum of four vertical banners, in positions 1, 2, 3, and 4. If I try to add a banner to position 5 (or any higher number), it will not show. I am not sure where to look to fix this.

I would be most grateful for any guidance. I would very much like to add more than four banners.

Thank you so much!

y2ksw 05-23-2017 01:29 PM

Quote:

Originally Posted by Scream And Fly (Post 2586687)
Hi All,

I could really use your help.
I have been using this addon for many years on my site at http://www.screamandfly.com/forum.php

It's absolutely fantastic, and I depend on it very much. I have one issue that I have never been able to resolve and I could really use your help.

I am only able to add a maximum of four vertical banners, in positions 1, 2, 3, and 4. If I try to add a banner to position 5 (or any higher number), it will not show. I am not sure where to look to fix this.

I would be most grateful for any guidance. I would very much like to add more than four banners.

Thank you so much!

Hello

1. check that you actually have a banner in the database and is set up to show on location 5 (duplicate one you can see, just to make sure it is working, replace it later with the one you want to show);
2. copy the placeholder (in your template) for location 4 below or beneath it, then replace the number 4 with 5;
3. use a computer ... tablets and phones have problems with copy and paste;

When all 3 conditions apply then there is really no reason why the banner is not showing up. Eventually, you can go into the options and see if you have modified the recommended number of max banners from "10" to "4".

dwerden 05-28-2017 12:16 AM

I thought I had found a way to rename banner.php to resource.php, but now I can't seem to make that work. Is there a way to have the code look for the new name to display a banner? I'm trying to get around AdBlock (my ads are all hand-made and very specific to my forum).

Thanks.

y2ksw 05-28-2017 06:16 AM

Quote:

Originally Posted by dwerden (Post 2587034)
I thought I had found a way to rename banner.php to resource.php, but now I can't seem to make that work. Is there a way to have the code look for the new name to display a banner? I'm trying to get around AdBlock (my ads are all hand-made and very specific to my forum).

Thanks.

If you use an editor which allows you to replace words in all open documents, use that to make these changes. Essentially you may rename anything, as long as the changes match all over the project (and file names).

bazookajoe 06-29-2017 06:43 PM

Can anyone assist me via PM regarding this mod. I have a few questions and would rather communicate via PM so I dont sound like the idiot I probably am. :o

Thanks in advance!

bazookajoe 06-30-2017 01:51 PM

Im having a redirect error when a new banner I just added is clicked on. I've checked the settings in the rotating banner ad console and all appears to be correct but it wont redirect properly. All the existing banners are working properly. Suggestions?

rhody401 07-03-2017 09:05 AM

can you be more specific about the error? Are you including the full HTTP: or HTTPS: in the link?

y2ksw 07-03-2017 01:14 PM

Quote:

Originally Posted by bazookajoe (Post 2587948)
Im having a redirect error when a new banner I just added is clicked on. I've checked the settings in the rotating banner ad console and all appears to be correct but it wont redirect properly. All the existing banners are working properly. Suggestions?

Making a holiday exception ... couldn't you just duplicate a working banner and make changes on the duplicate?

bazookajoe 07-03-2017 05:32 PM

Quote:

Originally Posted by rhody401 (Post 2588083)
can you be more specific about the error? Are you including the full HTTP: or HTTPS: in the link?

Thanks for pointing out a dumb mistake. Its now fixed.


All times are GMT. The time now is 04:07 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.04265 seconds
  • Memory Usage 1,845KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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