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 06-24-2013 09:26 AM

Quote:

Originally Posted by Toorak Times (Post 2429985)
www.tooraktimes.com.au thanks Videx sorry to be so daft...just enquiring really if you reckon its good to go for 4.2.1...I have a 24yo developer hassling me, she can't figure the settings...guess I'll pull out the whip

:D

If you send me an admin account via PM I'll get you a banner working ;)

y2ksw 06-24-2013 09:29 AM

Quote:

Originally Posted by Videx (Post 2429974)
I don't see "... /forum/rbs_banner.php ..." anywhere in the page source, so either "@vbbanners:0@" hasn't actually been added or all those existing banners are stomping over it? My first step if I was him would be to get rid of all existing ads before trying to get this mod working.

Toorak: Same thing I just said - telling us nothing but "it doesn't work" really doesn't enable anyone to do anything for you. At the very least give us a link and assure us plain vb ads are working and that you don't have any large mods installed like vbadvanced or xxx that might be interfering.

xxx==Right now I can't think of the name of that big one that seems to break everything.

rbs_banner.php would be there only if click tracking is enabled. The kind of banners I see, are exclusively AdSense ...

Videx 06-24-2013 11:20 AM

Quote:

Originally Posted by y2ksw (Post 2430140)
rbs_banner.php would be there only if click tracking is enabled.

Interesting. Maybe that should be part of the troubleshooting process. "Make sure 'click tracking' is turned on for your test banner and then rbs_banner.php should appear in your page source."

m13 06-24-2013 04:46 PM

Quote:

Originally Posted by y2ksw (Post 2429944)
I see some banners ... did you get it working?

Hi, no I didn't
First I remove all the banners and tried to put them whith the rotating system banner. But I could'n make it work, so I used the admincp/advertizing opcion to put the banner that you saw.

Impromptu 07-16-2013 02:58 PM

Hi all,

First of all, thanks for the developer for this great mod.

It works fine in most screens, however when the resolution gets smaller, my banner overlaps with my logo. My website is: www.supercoachscores.com. As you can see on most monitor resolution it's fine, however for older computers or mobile phones (in non-mobile format), it goes out of whack.

I tried using <div width=100% etc etc> rather than the absolute width in px, I then used in the banner css width at 55% instead of absolute value. Thus from my understanding, this should have converted to a lower px due to using percentages.

On my laptop, in IE, Chrome and Firefox, it looks all good, but when others look at it, it looks out of place.

Thanks in anticipation

Jay

fuyunobara 07-18-2013 08:28 AM

Quote:

Originally Posted by y2ksw (Post 2125608)
Here, as an unofficial addon, you get the autorefreshing page (tested). It needs:

- a text editor;
- a refresh time of your choice (see metatag refresh in file, now at 10 seconds);
- a banner location (see placeholder in file, now at position 0);
- at least a banner for that location;
- a global target of a new page aka _blank (RBS options), else you jump into the iframe;
- a template modification for a 468x60 banner:
HTML Code:

<iframe src="rbs_iframe.php" align="center" frameborder="0" height="60" width="468" scrolling="no"></iframe>
Please note: with smaller banners you get white borders, with larger than the iframe area, they are clipped.

it shunts my forum tab down a little is there any way to not have it do that

and it does this either way i code it when i shrink my screen or on smaller screen sizes
any way to stop it doing this?!
https://vborg.vbsupport.ru/

clauz 07-28-2013 09:06 AM

Hello and thanks for this great mod.
Anyway, I have a small problem on my 4.2.1 vBulletin forum: the attached images are covered by the banners like you can see bellow. This happen on IE9 and Chrome. On Firefox it is OK.
https://vborg.vbsupport.ru/external/2013/07/5.jpg

Can anyone help me on this problem?

y2ksw 07-29-2013 06:04 AM

Quote:

Originally Posted by clauz (Post 2435757)
Hello and thanks for this great mod.
Anyway, I have a small problem on my 4.2.1 vBulletin forum: the attached images are covered by the banners like you can see bellow. This happen on IE9 and Chrome. On Firefox it is OK.
https://vborg.vbsupport.ru/external/2013/07/5.jpg

Can anyone help me on this problem?

Isn't this great? ;)

What kind of banner is this? If it is a scripted banner, it may need adjusting the z-order. However I'm not a great help in CSS/HTML ...

y2ksw 07-29-2013 06:06 AM

Quote:

Originally Posted by fuyunobara (Post 2434259)
it shunts my forum tab down a little is there any way to not have it do that

and it does this either way i code it when i shrink my screen or on smaller screen sizes
any way to stop it doing this?!
http://imageshack.us/a/img189/7321/t2il.jpg

Try a style attribute with "margin: 10px;"

y2ksw 07-29-2013 06:08 AM

Quote:

Originally Posted by Impromptu (Post 2433960)
Hi all,

First of all, thanks for the developer for this great mod.

It works fine in most screens, however when the resolution gets smaller, my banner overlaps with my logo. My website is: www.supercoachscores.com. As you can see on most monitor resolution it's fine, however for older computers or mobile phones (in non-mobile format), it goes out of whack.

I tried using <div width=100% etc etc> rather than the absolute width in px, I then used in the banner css width at 55% instead of absolute value. Thus from my understanding, this should have converted to a lower px due to using percentages.

On my laptop, in IE, Chrome and Firefox, it looks all good, but when others look at it, it looks out of place.

Thanks in anticipation

Jay

Most probably you will have to create dedicated banners for mobile ... the high number of different formats and reduced HTML/CSS support on old devices can't be universally translated.

clauz 07-29-2013 11:40 AM

Quote:

Originally Posted by y2ksw (Post 2435873)
Isn't this great? ;)

What kind of banner is this? If it is a scripted banner, it may need adjusting the z-order. However I'm not a great help in CSS/HTML ...

Hello, it is a flash banner, located on:
"images/banner1.swf"

There is any way this could be fixed?

Here are my setting for banners:

https://vborg.vbsupport.ru/external/2013/07/2.jpg

y2ksw 07-29-2013 05:46 PM

Quote:

Originally Posted by clauz (Post 2435907)
Hello, it is a flash banner, located on:
"images/banner1.swf"

There is any way this could be fixed?

Here are my setting for banners:

https://vborg.vbsupport.ru/external/2013/07/2.jpg

I don't believe it can be fixed. The flash wrapper does its best to stay underneath popup elements (menues, images) and most times does.

You may try to load normal image instead of the swf file (keeping the flash option on) and if the problem disappears, then the problem may be the transparent setting of the flash banner itself.

clauz 07-29-2013 06:06 PM

Quote:

Originally Posted by y2ksw (Post 2435972)
I don't believe it can be fixed. The flash wrapper does its best to stay underneath popup elements (menues, images) and most times does.

You may try to load normal image instead of the swf file (keeping the flash option on) and if the problem disappears, then the problem may be the transparent setting of the flash banner itself.

Thank you for your answer.
Unfortunately the swf banners are "custom made" by a design company, i have promised them that they can use SWF files instead of animated gif, for quality reason.

fuyunobara 08-01-2013 08:56 AM

Quote:

Originally Posted by y2ksw (Post 2435874)
Try a style attribute with "margin: 10px;"

sorry for my thick-ass response but where do i put that?

great mod btw!

tried this and it has not worked.

i have the code inputted in to the style code under this in the header section, as if i place it above or anywhere else it sits in completely the wrong place any better place to put it?


HTML Code:

<div class="above_body"> <!-- closing tag is in template navbar -->
<div id="header" class="floatcontainer doc_header">
        <vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div></vb:if>


y2ksw 08-02-2013 07:12 PM

Quote:

Originally Posted by fuyunobara (Post 2436480)
sorry for my thick-ass response but where do i put that?

great mod btw!

tried this and it has not worked.

i have the code inputted in to the style code under this in the header section, as if i place it above or anywhere else it sits in completely the wrong place any better place to put it?


HTML Code:

<div class="above_body"> <!-- closing tag is in template navbar -->
<div id="header" class="floatcontainer doc_header">
    <vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div></vb:if>


I'm sure I'll regret you helping in HTML (since I don't know enough), but here it is:

HTML Code:

<div style="margin: 10px;"><!--@vbbanners:0@--></div>

xoninet 08-08-2013 08:08 AM

anyone help me ,I do not see this why? ad_header_logo

http://s10.postimg.org/m9twvu4o9/header_logo.png

Videx 08-08-2013 11:06 AM

Quote:

Originally Posted by xoninet (Post 2437779)
anyone help me ,I do not see this why? ad_header_logo

http://s10.postimg.org/m9twvu4o9/header_logo.png

I don't think there is supposed to be one. I just checked and I don't have one either (vb 4.2.1).

muimui 08-30-2013 02:15 PM

hi,how to put the banner under first post?

webmaster74 09-05-2013 09:38 AM

thank you for the new version, but how do I upgrade my current version?

should I uninstall my current version and install the new?

I don't want to lose any of my banners or their stats.

y2ksw 09-05-2013 09:55 AM

1 Attachment(s)
Quote:

Originally Posted by webmaster74 (Post 2443406)
thank you for the new version, but how do I upgrade my current version?

should I uninstall my current version and install the new?

I don't want to lose any of my banners or their stats.

No, just upgrade as you would do with a normal product (upload the changed files, import the product-rbs.xml file with overwrite option on).

inigo 09-05-2013 10:02 AM

After uploading the files general error::

MySQL Error : Unknown column 'likelihood' in 'where clause'

So I can't install the XML, because the web crashes.

Any help?

CGhostGroup 09-05-2013 10:10 AM

<font color="DarkRed">First update the xml-file. Than upload. Otherwise you kill your forum...

Just reupload the 2.4.0 files and update die 2.4.1 xml, than upload the 2.4.1 files.
</font>

webmaster74 09-05-2013 10:36 AM

Quote:

Originally Posted by y2ksw (Post 2443409)
No, just upgrade as you would do with a normal product (upload the changed files, import the product-rbs.xml file with overwrite option on).

thank you very much. The upgrade went smooth like the breeze...... I think you deserve a little gift. On its way to you.

y2ksw 09-05-2013 04:32 PM

Quote:

Originally Posted by inigo (Post 2443411)
After uploading the files general error::

MySQL Error : Unknown column 'likelihood' in 'where clause'

So I can't install the XML, because the web crashes.

Any help?

Did you update the product?

Quote:

Originally Posted by CGhostGroup (Post 2443414)
First update the xml-file. Than upload. Otherwise you kill your forum...


Just reupload the 2.4.0 files and update die 2.4.1 xml, than upload the 2.4.1 files.

Nope. The right way to upgrade (any) product is to upload the files in the package (as usually described) and then update the product with the xml file. Eventually you would also close the forums for a minute ;)

y2ksw 09-05-2013 04:41 PM

And, you would go maybe first to your admin Panel. I believed this was already good practice.

All Beginners Upgrade Guide:
  1. Go to your admin panel and login directly. Usually you can do this under any condition: /admincp/index.php.
  2. Close the forums
  3. Upload the files contained in the /upload/ folder to your forum home (all or just the ones which have changed), making sure they get replaced
  4. Upgrade the product with the xml file
  5. Open the forums
  6. Keep the admin panel open and do some testing :)

muimui 09-05-2013 06:37 PM

hi,how to put the banner under first post?

y2ksw 09-05-2013 07:22 PM

Quote:

Originally Posted by muimui (Post 2443503)
hi,how to put the banner under first post?

some hints here: https://vborg.vbsupport.ru/showthread.php?t=96249

Google finds them all :)

muimui 09-05-2013 08:27 PM

yeah i know.but i need to rotate my banner too. (under firstpost)

djbaxter 09-06-2013 12:07 AM

Quote:

Originally Posted by inigo (Post 2443411)
After uploading the files general error::

MySQL Error : Unknown column 'likelihood' in 'where clause'

Quote:

Originally Posted by y2ksw (Post 2443479)
Did you update the product?


Nope. The right way to upgrade (any) product is to upload the files in the package (as usually described) and then update the product with the xml file. Eventually you would also close the forums for a minute ;)

I get the same error, following the normal procedure:
  • Upload new files
  • Import product file (xml) with Overwrite = Yes

Videx 09-06-2013 01:28 AM

Quote:

Originally Posted by y2ksw (Post 2443482)
And, you would go maybe first to your admin Panel. I believed this was already good practice.

All Beginners Upgrade Guide:
  1. Go to your admin panel and login directly. Usually you can do this under any condition: /admincp/index.php.
  2. Close the forums

Whoa! Closing the forum is not a standard step in upgrading a mod. I don't think I have ever had to do that, and I know I've never had to do it with RBS.

Now I'm beginning to dread this update. Hopefully if I ignore this one the next one will act properly? i.e., just upload the files and run the xml with overwrite.

Joe Pimms 09-07-2013 06:07 PM

wow this mod so dose not work on my site what the hell

y2ksw 09-08-2013 08:07 AM

Quote:

Originally Posted by Videx (Post 2443602)
Whoa! Closing the forum is not a standard step in upgrading a mod. I don't think I have ever had to do that, and I know I've never had to do it with RBS.

Now I'm beginning to dread this update. Hopefully if I ignore this one the next one will act properly? i.e., just upload the files and run the xml with overwrite.

Ok, I'll think about a solution for that.

y2ksw 09-09-2013 04:42 PM

Quote:

Originally Posted by y2ksw (Post 2444081)
Ok, I'll think about a solution for that.

I solved this problem by defining a constant in the plugin and testing for this constant in the functions_rbs.php file. If missing, it takes a likelihood of 100, else the likelihood it finds in the database.

Thanks for helping me out on this one :)

slherzog 09-09-2013 04:46 PM

I did the update by uploading the files first. Noticed the db error, changed my config file to disable hooks globally, uploaded the xml file and then enabled the hooks in the config file again and it worked.

Not a big deal, next time I'll update later at night and do a quick temp close of the forum. Love this plugin, helped me get away from openx so I really have no complaints as that thing was a nightmare for security.

Keep up the good work!

kamran_dotnet 09-20-2013 06:21 PM

i suggest a option to rename banner lists

kamran_dotnet 09-20-2013 06:42 PM

and if possible, mail advisers x day befor ad expired

desmomax 09-24-2013 01:07 PM

I am using vbulletin 3.8.7 patch level 3, is this mod working with my version? many thanks
is any italian translation for my vbulletin version?

desmomax 09-24-2013 01:34 PM

afterm installation i receive this database error :


Database error in vBulletin 3.8.7:

Invalid SQL:
SELECT *
FROM rbs_banners
WHERE enabled=1
AND likelihood>0
AND startdate<=1380031455
AND enddate>=1380031455
AND IF(forumhome, 0=0, IF(forumids='', 1, FIND_IN_SET('0', forumids)))
AND IF(maximpressions>0, impressions<maximpressions, 1)
AND IF(clicktrack, maxclicks=0 OR (maxclicks>0 AND clicks<maxclicks), 1)
ORDER BY -LOG(1-RAND()) / likelihood;

MySQL Error : Table 'forum_bracchi.rbs_banners' doesn't exist
Error Number : 1146
Request Date : Tuesday, September 24th 2013 @ 04:04:15 PM
Error Date : Tuesday, September 24th 2013 @ 04:04:16 PM
Script : http://www.ilbraccoitaliano.net/foru...=emailpassword
Referrer : http://www.ilbraccoitaliano.net/foru....php?do=lostpw
IP Address : 8xxx
Username : Non registrato
Classname : vB_Database
MySQL Version :

rhody401 09-24-2013 06:16 PM

(deleted by original poster. oops I didnt realize this 4.x product also works on some 3.x systems)

DonLKSAB 09-25-2013 07:33 PM

I have been running the rotater for some while on my sandbox setup. And it works perfect.
But now im installing it on my real system and i get a problem.
I use the iframe files to display some of my banners and for some reason it shows me the full page in every iframe.
So i have my page with a duplicate of each page in every iframe.

Any ideas?


All times are GMT. The time now is 08:14 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.04098 seconds
  • Memory Usage 1,865KB
  • 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
  • (4)bbcode_html_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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