Log in

View Full Version : Miscellaneous Hacks - Rotating Banner System


Pages : 1 2 3 4 5 6 7 8 9 10 11 [12]

y2ksw
03-04-2016, 05:52 AM
It seem this script may have been hacked.

Maybe it's not this script, but something else? In any case, there is a script injected into my template in the code where RBS is supposed to be. This screenshot shows a bad script in my template where it was never supposed to be. I deleted RBS and all its files.

To anybody else with RBS, please check the template location, and also check page source for the phrase "lovehouse" to confirm. Maybe it was just me, or maybe the hack was injected through some other means, I just don't know.

http://www.mediafire.com/view/jv5ekliv2ibkocj/hack.png

It isn't!

Your templates are your templates and all what happens to them is entirely up to you. This modification does not make any changes to existing templates and template modifications as suggested in the help file, are made by you or your software.

y2ksw
03-04-2016, 05:55 AM
Ok - this has to be done for each individual banner in the Position 2 pool. There is no way to do this through "Manage Ads" under the Advertising tab in vBulleitn?

Yes, you can eventually do it from there, if there is such as a negation option.

zackw
03-04-2016, 02:21 PM
It isn't!

Your templates are your templates and all what happens to them is entirely up to you. This modification does not make any changes to existing templates and template modifications as suggested in the help file, are made by you or your software.

I didn't make the changes. That's why it's called a hack. But seemed to be connected with this script if that's how the hacker gained entrance.

When I run the suspect file version tool, the ONLY files that it complains about are RBS files.

y2ksw
03-04-2016, 04:45 PM
I didn't make the changes. That's why it's called a hack. But seemed to be connected with this script if that's how the hacker gained entrance.

When I run the suspect file version tool, the ONLY files that it complains about are RBS files.

Yeah I'm sure you didn't change in the way it is now, but I'm sure you created the part which follows the "hack". Because this script dows not make changes to the templates. Else, you could also say it is related to vBulletin or any other script you may have.

The WORM you got in your forums is changing whatever it pleases, it has nothing to do with any other legit script. Remove it (and the changes it made) and your forum behaves well.

zackw
03-04-2016, 04:55 PM
Yeah I'm sure you didn't change in the way it is now, but I'm sure you created the part which follows the "hack". Because this script dows not make changes to the templates. Else, you could also say it is related to vBulletin or any other script you may have.

The WORM you got in your forums is changing whatever it pleases, it has nothing to do with any other legit script. Remove it (and the changes it made) and your forum behaves well.

"Remove it..." How does one find "it"? VB file checker only shows RBS files as suspicious. Should I delete them? Reinstall RBS?

I realize RBS doesn't change templates. And you know, html forms don't delete databases, but people have used insecure forms to do just that with SQL injection.
I doesn't matter what RBS "does" in normal operation, the question is whether things were hacked through it.

In any event, I edited the templates to remove the payload, but what other means can tell me where some worm is hiding?

I know this is probably not the thread to continue this, but if someone has a link to a method of validating the whole install, that would help.

squidsk
03-04-2016, 07:57 PM
You have to trace the changes. Find out when and who changed the template from the logs and go from there. It's a painstakingly slow process to find when and who changed it. As for vbulletin reporting rbs files as suspect it will do that for almost all products since most product do not supply the xml file that vb requires to know if the file is the original file for the mod.

y2ksw
03-05-2016, 04:06 AM
"Remove it..." How does one find "it"? VB file checker only shows RBS files as suspicious. Should I delete them? Reinstall RBS?

I realize RBS doesn't change templates. And you know, html forms don't delete databases, but people have used insecure forms to do just that with SQL injection.
I doesn't matter what RBS "does" in normal operation, the question is whether things were hacked through it.

In any event, I edited the templates to remove the payload, but what other means can tell me where some worm is hiding?

I know this is probably not the thread to continue this, but if someone has a link to a method of validating the whole install, that would help.

This particular WORM enters via XSS your admin panel and installs itself into the plugin cache. Some versions keep also a plugin you never installed, but most of them just have the cached code, which may be found by extracting all plugin code from the datastore table. It has a suspiciously long white space line (to move out of sight) and some eval/base64_decode sequences which install and quirk the templates in order to show their links.

You can get rid of the cache-only version by saving a single plugin, but usually there is also an infected script (tampered image) which then reinstalls the WORM once again. I found that Avast makes a good job to find infected scripts, but also a global search on files for some pattern may work as well.

Please note, that this WORM is carefully designed and not as stupid as most of their kind. It is hard to remove and usually requires to check all files on your installation, including plugins where it may hide (appended or prepended, rarely inserted). There also may be some templates which attempt to load external files in order to reinfect the whole.

cloferba
03-09-2016, 07:48 PM
Hi!

Thank you so much for your plugin.

Could you please let me know if PHP code can be inserted?
Text
This field may hold any kind of script (e.g. Google AdSense) and/or HTML which will be inserted in your pages. Please make sure it works and that all tags are closed properly.

Thank you

y2ksw
03-10-2016, 04:24 AM
Hi!

Thank you so much for your plugin.

Could you please let me know if PHP code can be inserted?


Thank you

No. PHP isn't executed at the browser level.

Scream And Fly
03-27-2016, 06:03 AM
Hello! I've been using your product for years at www.screamandfly.com
On the left side, we have four 140x200px banners managed by the individual locations, which is great.
I wanted to add additional banners, however when I add another banner to a 5th location, it won't show up. It seems only the 4 locations can be visible. Is there an easy way to add more locations on the left side?

Thank you!

jnrdavo
05-03-2016, 08:44 PM
Hi Guys, I love this product and use it on 5 forums that I am running.

I'm just starting up a new forum, with VB5 Connect (got to give it a go sometime!).

Has anybody tried this on VB5? I'm assuming that it won't work at all. Is there any workaround?

djbaxter
05-10-2016, 06:54 PM
I am using this mod with the vBulletin Advertising system. It has served me quite well for several years now! But now I find I would like to have specific ads in specific forums. This is all fine except there is no option in the display criteria list to:

Criteria for ad are met

There is only:

Criteria for ad are not met

Is there any way to adjust this?

It never was asked. What kind of criteria would you not apply?

I have my Position 2 banners displaying in rotation below the navbar on a global level with no criteria checked so those banners display on every page of my forums. Now I want to set up my Position 3 banners to display in only one forum (Bicycle Forum) in place of the Position 2 banner with the criteria set for when user is browsing that specific forum. So it would be helpful to be able to set the Position 2 banners criteria to: "Criteria for ad <Bicycle Forum> ARE met.

Does that make sense?

Edit added for clarification: Wait... I just thought that through again and it won't work either. Ok - so how do I do what I want to do using the vBulletin Advertising system?

Yes. You can solve this problem by selecting all forums but the one to be excluded for position 2, just the one forum for position 3.

If specific forums are selected, the ads disappear on the home page and other pages which are NOT a specific forum.

How do I get around this problem?

djbaxter
05-10-2016, 06:59 PM
Two questions,
Can I display a single banner from within a large group of banners using the banner Id?
Is there a way to display a single group of banners in forum home and selective forums without maintaining redundant groups of banners?

I have our banners set to show everywhere. I can't use the Forums selection as it removes it from forum home and I can't select forum home because it removes it from forums.

If I can show a single banner I believe I can use an IF/Else statement to show a single banner for a forum id otherwise show the rotation.


No. But you can duplicate a banner setting and have it (1) on forum home and (2) on certain forum sections as well.
Then you would not select anything (nor home neither single sections) and that's it.
You can show a single banner only if you have one banner per each location. However this product is intended to show as many banners as you have for a single location at a near to random frequency. Aditionally, you may define a weight and thus show some banners less or more frequently.

Okay... so duplicate the ad and in the duplicate version click Forum Home so it shows there too. Am I reading this correctly?

djbaxter
05-10-2016, 08:37 PM
Just confirming that this (the two posts above) worked perfectly.

Thanks, y2ksw!

TheLastSuperman
05-15-2016, 03:38 PM
Just confirming that this (the two posts above) worked perfectly.

Thanks, y2ksw!

This is literally my third favorite mod on this site, I've used it hundreds of times over and being able to paste other ad system codes into this just seals the deal.

Glad you got it working properly :D.

Scream And Fly
07-04-2016, 03:26 PM
Hi, I've been using this addon for years and it's great.

I have a question about the horizontal banners. My site forums are located at http://www.screamandfly.com/forum.php

The horizontal banners display on the top and bottom. I was wondering if there is any easy way to specify the horizontal banners to only display in the header? Also, does this addon prevent the VBulletin system horizontal banners (above footer) from displaying?

Thank you!

rhody401
07-05-2016, 11:28 AM
If you put all of the horizontal banners into the same group/position #, and reference that group in the header of the forum where you want them to display, it will just use that group there.

Scream And Fly
07-05-2016, 09:26 PM
Thank you rhody I appreciate your help. I did not originally install this modification on my forums (my admin did, and unfortunately, he is no longer with us). So I am a bit ignorant as to why things are as they are. It appears that I have only one location for horizontal banners, and that location places all horizontal banners into rotation in both locations - above the footer, and below the header. I assume my old site admin set it up so 'position 0' is referenced in both those locations? I see no option to place banners in those two locations respectively.

Here is a screenshot of the CP for the banner system. Position 0 is for horizontal banners in both positions collectively. All other positions seem to be for vertical banners.

Thanks again for your help.:)

rhody401
07-10-2016, 12:35 PM
If you have some that are a custom size and you want them isolated from the others, you could use group2 or group3 just for those, and reference it from the code that shows in your header. As long as the banners reference group 2, and the location references group 2, it will only pull from that group for that section.

I do something similar on one of my forums at www.ppfacorner.com If you refresh it several times, you'll see rotating banners from 3 different groups (each is a different size)

KevinL
07-30-2016, 05:01 PM
figured it out

s_cocis
08-31-2016, 04:32 AM
Hi y2ksw ,

from some days, an unknown users, uses "sql injection" in the rbs_banners table appending malware script in the field "text"

there are vulnerabilities to be corrected?
Can you help me ?

Thank you
Sandro
vbulletin: 3.8.9 Patch Level 1
PHP: 5.3.8
MYSQL: 5.5.16

Bulent Tekcan
09-22-2016, 03:47 AM
Hello

My banner images on my server. How can I put local link without www like /banner/sample.gif ? My other problem is start and end date always change when I edit any banners,why ?

Regards

y2ksw
09-22-2016, 05:14 AM
Hi y2ksw ,

from some days, an unknown users, uses "sql injection" in the rbs_banners table appending malware script in the field "text"

there are vulnerabilities to be corrected?
Can you help me ?

Thank you
Sandro
vbulletin: 3.8.9 Patch Level 1
PHP: 5.3.8
MYSQL: 5.5.16

Everything is correctly escaped, but if some malicious software has access to your forum, it can do what it wants.

The most recent WORM attacks write directly to the plugin cache and are untraceable through the plugin list. The real problem however are one or more scripts which have been introduced to your system or site, which can be called from attackers at will.

I have solved the problem with a dedicated server and strict rules: 1 forum administrator, 1 system operator, secure Apache build (no fast_cgi etc) with security modules enabled, binding and local security rules for PHP (open_basedir, upload_tmp_dir to dedicated folders for each site), and, last not least, fail2ban against insisting hackers.

To clean a broken system, practice has revealed that downloading all scripts and passing them through Avast helps to find all hacked scripts and intruders, while printing styles, plugins and cache tables help to find already injected code.

All together it takes 10-20 minutes to clean an infected system, but unless then, everything is "mayhem".

y2ksw
09-22-2016, 05:24 AM
Hello

My banner images on my server. How can I put local link without www like /banner/sample.gif ? My other problem is start and end date always change when I edit any banners,why ?

Regards
You can use the "Text" field in order to use HTML, if the standard does not fit your needs.

Start and end dates may change on edit depending on your server settings and some time setting discrepancies between the system server and mysql server. I don't know the exact reason, but some servers work flawlessly while others do cause even irregular time skips, such as 1 hour and 42 minutes. It might be a missing or defective time synchronization between both.

Bulent Tekcan
09-22-2016, 05:58 AM
You can use the "Text" field in order to use HTML, if the standard does not fit your needs.

Start and end dates may change on edit depending on your server settings and some time setting discrepancies between the system server and mysql server. I don't know the exact reason, but some servers work flawlessly while others do cause even irregular time skips, such as 1 hour and 42 minutes. It might be a missing or defective time synchronization between both.

Thanks for your reply :) Is it possible to show all banner stats in one clear table in admin cp ?

Regards

y2ksw
09-22-2016, 06:15 AM
Thanks for your reply :) Is it possible to show all banner stats in one clear table in admin cp ?

Regards
The full statistics are available only at the database level and require some additional work (queries or scripts). It has worked out that in the end, even the single banner statistics were too detailed to most of the users, and the banner lists were just the statistics everybody needed.

Bulent Tekcan
09-29-2016, 02:48 PM
Hi Again,

I'm sure some time problem in this product. When I enter any start or end time for example

Start : 23 Sep 2016 17:00
End : 25 Sep 2016 15:00

And save this and enter again same banner time seems like that

Start: 24 Sep 2016 03:00
End: 26 Sep 2016 01:00

+10 hours different when I enter again. Our server time is sync and mysql also sync with same clock. And never seen before similar problem. My forum version is 4.2.3

Here is my server result

root@ [~]# date
Thu Sep 29 20:24:25 EEST 2016

root@ [~]# mysql -e "SELECT NOW();"
+---------------------+
| NOW() |
+---------------------+
| 2016-09-29 20:24:30 |
+---------------------+

Any idea ? Because I never see any problem before other software or plugin etc.

y2ksw
09-30-2016, 07:34 AM
Hi Again,

I'm sure some time problem in this product. When I enter any start or end time for example

Start : 23 Sep 2016 17:00
End : 25 Sep 2016 15:00

And save this and enter again same banner time seems like that

Start: 24 Sep 2016 03:00
End: 26 Sep 2016 01:00

+10 hours different when I enter again. Our server time is sync and mysql also sync with same clock. And never seen before similar problem. My forum version is 4.2.3

Here is my server result

root@ [~]# date
Thu Sep 29 20:24:25 EEST 2016

root@ [~]# mysql -e "SELECT NOW();"
+---------------------+
| NOW() |
+---------------------+
| 2016-09-29 20:24:30 |
+---------------------+


Any idea ? Because I never see any problem before other software or plugin etc.
I have no solution for this problem.

Bulent Tekcan
09-30-2016, 08:09 AM
I have no solution for this problem.

Who know :D ? Because time read is wrong, when I edit banner time get wrong and I forgot sometimes correction again. This is bug

y2ksw
09-30-2016, 11:12 AM
Who know :D ? Because time read is wrong, when I edit banner time get wrong and I forgot sometimes correction again. This is bug
It is not a blocking bug. It is an annoyance to which there is no real solution, because there are many server settings and there is no such thing as a "right" setup.

The queries you made in order to find out, are relative to the user account. If you query the system time of your server, you can only rely upon UTC.


# date -u
Fri Sep 30 13:05:50 UTC 2016
# date
Fri Sep 30 15:05:56 CEST 2016


Similarily, the mysql server time relies upon the settings of the server and your timezone settings for that mysql server, which may or may not differ. Thus, a mysql query

SELECT NOW();

may or may not show the current date and time. If you have a 10 hours offset each time you save, then you have probably a largely different UTC time compared to your "user" time.


mysql> SELECT NOW(), UTC_TIMESTAMP();
+---------------------+---------------------+
| NOW() | UTC_TIMESTAMP() |
+---------------------+---------------------+
| 2016-09-30 15:11:51 | 2016-09-30 13:11:51 |
+---------------------+---------------------+
1 row in set (0.00 sec)

y2ksw
09-30-2016, 11:30 AM
In addition to what I said before, the RTC may or may not store the system time in UTC. I have several computers which run alternating Windows and Linux, and on a few I had to use specific flags in Linux in order to keep the time always the same between switching OS. Since it is a hardware setting, there is no guarantee that one setting working on one computer will do also on another.

Bulent Tekcan
09-30-2016, 12:09 PM
I tested now here is the result

mysql> SELECT NOW(), UTC_TIMESTAMP();
+---------------------+---------------------+
| NOW() | UTC_TIMESTAMP() |
+---------------------+---------------------+
| 2016-09-30 17:12:12 | 2016-09-30 14:12:12 |
+---------------------+---------------------+
1 row in set (0.00 sec)

It is not 10 hour different

y2ksw
10-01-2016, 07:37 AM
I tested now here is the result

mysql> SELECT NOW(), UTC_TIMESTAMP();
+---------------------+---------------------+
| NOW() | UTC_TIMESTAMP() |
+---------------------+---------------------+
| 2016-09-30 17:12:12 | 2016-09-30 14:12:12 |
+---------------------+---------------------+
1 row in set (0.00 sec)


It is not 10 hour different
As for you question (before you edited this one), the server cron jobs usually execute at UTC, but it depends also on how the time is stored in RTC. On my backup server, time in RTC is stored in local time, and thus runs at local time. The servers where I have the hosting running, store the RTC time in UTC, and run at UTC, while the "apache" user runs in Europe/Rome timezone and thus, vbulletin cron runs at that time. This timezone is also default for the mysql users, but my vary if the system administrator wishes.

This classic example makes clear that things can become pretty complex and explains also why vbulletin stores the current time in the constant TIMENOW, relative to the "apache" user. This variable may be then adjusted to specific needs, but this plugin does nothing to it, because it cannot make a choice.

So eventually I could add a parameter in the settings which allows you to change this offset manually, but then there will be quite some user having problems with their timing at another level, which is impossible to guess.

As long as there is no such parameter, there is no need for me to solve server side issues. If there was, I would have every day 10 questions how to make timing work properly, which I can't answer, because every server setting is different.

Taking all possible variables, there are 1*2*3*4=24 legit settings (server, mysql, apache, vbulletin) which would directly influence the behavior of any given setting at one place or another.

I hope I have answered your question and the final, short reply is: "There will be no option to set the offset manually" :)

Bulent Tekcan
10-01-2016, 02:50 PM
Finaly problem solved :) My php.ini timezone was set Los Angeles time zone. It seems 10 hour different from here. Now I set Europe/Istanbul and problem gone :)

Thanks for your support

Regards

y2ksw
10-01-2016, 07:02 PM
Finaly problem solved :) My php.ini timezone was set Los Angeles time zone. It seems 10 hour different from here. Now I set Europe/Istanbul and problem gone :)

Thanks for your support

Regards
Oh, that adds another element to the formula :D

Thank you for working out the problem, which will be helpful for all other users who have asked this question!

Bulent Tekcan
10-01-2016, 07:22 PM
Oh, that adds another element to the formula :D

Thank you for working out the problem, which will be helpful for all other users who have asked this question!

Yes :up:

I have other question about the List screen. Is it possible to add start and end time to column like my attachment ? Because I cannot see start and end time in list. If I have 50 banners I'll be crazy :)

https://vborg.vbsupport.ru/attachment.php?attachmentid=155376&stc=1&d=1475356866

Regards

y2ksw
10-02-2016, 09:53 AM
Yes :up:

I have other question about the List screen. Is it possible to add start and end time to column like my attachment ? Because I cannot see start and end time in list. If I have 50 banners I'll be crazy :)

https://vborg.vbsupport.ru/attachment.php?attachmentid=155376&stc=1&d=1475356866

Regards
Please use phpmyadmin for extended listings :D

rhody401
10-03-2016, 06:08 PM
Thanks for posting this. Mine always adjusts it one hour every time I re-save a setting in this mod, and fixing it in the php file sounds like the perfect fix :) Great! Love this code add on

Bulent Tekcan
10-04-2016, 04:00 AM
Thanks for posting this. Mine always adjusts it one hour every time I re-save a setting in this mod, and fixing it in the php file sounds like the perfect fix :) Great! Love this code add on

Yes, this is the trick :up: but why this product detect php default time I don't understand :)

y2ksw
10-04-2016, 07:03 AM
Yes, this is the trick :up: but why this product detect php default time I don't understand :)
It doesn't, it takes what it gets :)

Bulent Tekcan
10-04-2016, 07:26 AM
Anyway :) Dear y2ksw I made some works on 1 file. If you agreee you can put your product. Because now very useful I think. But please check the file, I tested many times it is working. Because I'm not coder but I'm a software engineer. I hope users happy with this. Only add Start and End Date table

https://vborg.vbsupport.ru/attachment.php?attachmentid=155380&stc=1&d=1475573089

Regards,

y2ksw
10-04-2016, 07:54 AM
Many people cannot access phpmyadmin, and also dangeous also. I have add this table but how can I convert unix time to normal time ? Have you got any trick for this line

You do it with a query. Please see the MySQL documents for that.

Google search: mysql unix time
Result: https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html

Bulent Tekcan
10-04-2016, 07:59 AM
You do it with a query. Please see the MySQL documents for that.

Google search: mysql unix time
Result: https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html

I did it :) Please check https://vborg.vbsupport.ru/showpost.php?p=2576565&postcount=2792

Regards

y2ksw
10-04-2016, 08:03 AM
Then, if you really must, add this line to the file 'admin/admin_rbs_banner_list.php' at line 153:

$SQL = str_replace('ORDER BY id', 'ORDER BY enddate', $SQL);

which replaces the normal order with ordering by the end date and time. This is a hack and there you go :)

y2ksw
10-04-2016, 08:08 AM
Anyway :) Dear y2ksw I made some works on 1 file. If you agreee you can put your product. Because now very useful I think. But please check the file, I tested many times it is working. Because I'm not coder but I'm a software engineer. I hope users happy with this. Only add Start and End Date table

https://vborg.vbsupport.ru/attachment.php?attachmentid=155380&stc=1&d=1475573089

Regards,
Ah I see ... we are becoming overactive in the same moment :D

askandy
10-08-2016, 01:12 PM
Hi @y2k (mod developer),

Curious if we could get your help to further extend RBS to allow more ad placements?

We are currently using all 10 spots on our forum, primarily serving ads to desktop users.

Now we'd like to add some additional ad positions in our mobile forum template so we can serve ads to mobile visitors and get more exposure for our advertising partners.

We may need about 5 more ad positions.

Is this addition we can pay for?

Thanks!
M

y2ksw
10-10-2016, 02:50 PM
Hi @y2k (mod developer),

Curious if we could get your help to further extend RBS to allow more ad placements?

We are currently using all 10 spots on our forum, primarily serving ads to desktop users.

Now we'd like to add some additional ad positions in our mobile forum template so we can serve ads to mobile visitors and get more exposure for our advertising partners.

We may need about 5 more ad positions.

Is this addition we can pay for?

Thanks!
M
It's already there and you may change it in the settings ;)

askandy
10-12-2016, 12:00 PM
Thank you!

theksmith
11-22-2016, 04:40 PM
First, thanks for the excellent mod!

Click tracking is not working for me with vB 3.8, and version 2.3.4 of RBS.

I am using the "Image / Flash" field to point to a JPG, and the "URL" field to point to an external website - i.e I do NOT have a custom embedded script. The banner is active, enabled, and does NOT have Max Impressions or Max Clicks set.

The banner image is displayed correctly and the link does correctly point to the tracking page: /forum/rbs_banner.php?id=XXX&userid=YYY. The tracking PHP page also correctly redirects to my final destination URL.

However, the "Clicks" reading in the "Manage Banners" area and on the "Banner Statistics" pages both always shows 0, even after I have personally clicked on a banner. This happens for all 3 banners that I have running. The First/Last click statistics do show dates though!

Impressions: 231
Clicks: 0
CTR: 0%
First Click: Mon, 21-Nov-2016 09:33:57 GMT
Last Click: Tue, 22-Nov-2016 18:23:51 GMT

The only thing perhaps different about my use-case is that I am displaying the banner on a vBAdvanced CMS page which is in the root folder of my website but the vBulletin install is actually within a sub-folder called "/Forum". The banner image is also NOT beneath the "/Forum" path and therefore I had to use a fully qualified absolute URL to point to the image.

y2ksw
11-23-2016, 09:16 AM
First, thanks for the excellent mod!

Click tracking is not working for me with vB 3.8, and version 2.3.4 of RBS.

I am using the "Image / Flash" field to point to a JPG, and the "URL" field to point to an external website - i.e I do NOT have a custom embedded script. The banner is active, enabled, and does NOT have Max Impressions or Max Clicks set.

The banner image is displayed correctly and the link does correctly point to the tracking page: /forum/rbs_banner.php?id=XXX&userid=YYY. The tracking PHP page also correctly redirects to my final destination URL.

However, the "Clicks" reading in the "Manage Banners" area and on the "Banner Statistics" pages both always shows 0, even after I have personally clicked on a banner. This happens for all 3 banners that I have running. The First/Last click statistics do show dates though!

Impressions: 231
Clicks: 0
CTR: 0%
First Click: Mon, 21-Nov-2016 09:33:57 GMT
Last Click: Tue, 22-Nov-2016 18:23:51 GMT

The only thing perhaps different about my use-case is that I am displaying the banner on a vBAdvanced CMS page which is in the root folder of my website but the vBulletin install is actually within a sub-folder called "/Forum". The banner image is also NOT beneath the "/Forum" path and therefore I had to use a fully qualified absolute URL to point to the image.
I know there are a few web applications which use a different path of page rendering, one of which is photopost. I these cases it is impossible to use the banner system via template changes, but you may try the unsupported iframe in-place rotating banners solution.

Could you please try the same banners on a standard forum page? If they work there, then it's definitively a problem with rendering the pages.

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
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
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
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
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
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
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
I am running vB 4.2.3 PL 2 on my site located at www.grandcanyonstatebbq.com (http://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
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
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
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
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
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
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
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
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
Hello,

Is it possible to preview banner inside the settings ?

Regards

???

y2ksw
05-12-2017, 07:10 AM
???
No. This question was answered already several times. :)

Bulent Tekcan
05-12-2017, 07:53 AM
No. This question was answered already several times. :)


I found only this request https://vborg.vbsupport.ru/showthread.php?p=2165990&highlight=preview+mode#post2165990 can you share me the solution link ?

djbaxter
05-12-2017, 12:12 PM
I found only this request https://vborg.vbsupport.ru/showthread.php?p=2165990&highlight=preview+mode#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
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
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
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
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.

Scalemotorcars
07-20-2017, 09:36 PM
Has anyone figured out how to display this on Photopost? Works great with everything else. Maybe some way to add a THIS_SCRIPT to one of the files....

y2ksw
07-21-2017, 07:56 AM
Has anyone figured out how to display this on Photopost? Works great with everything else. Maybe some way to add a THIS_SCRIPT to one of the files....
Photopost does not use the standard page rendering, thus the banners are entirely skipped from their pages.

bazookajoe
07-21-2017, 12:14 PM
Is there a modification that would allow a banner or banners to be placed in specific spots on every page in a thread?

y2ksw
07-21-2017, 12:53 PM
Is there a modification that would allow a banner or banners to be placed in specific spots on every page in a thread?
not that I know of ... except inbuilt advertising ...

SWSUSA
10-13-2017, 04:54 PM
Hi! Prompt how to make two banners in rotation on the homepage?

=======

Привет! Подскажите, как сделать два баннера в ротации на главной странице?

y2ksw
10-13-2017, 09:20 PM
Hi! Prompt how to make two banners in rotation on the homepage?

=======

Привет! Подскажите, как сделать два баннера в ротации на главной странице?
You would use one placeholder (location) and 2 entries for that placeholder in the database.

designguy
11-29-2017, 09:17 PM
This is similar to what I'm trying to do. I want to put a banner in between every 2nd post so I have the code inserted into the postbit template. Now, here's my problem: The group I'm pulling the banners from only has 3 banners in it. On a long thread, this only fills up the first three locations and then all the rest of the potential spaces are blank. I want these banners to repeat in these spaces down the page, not just show them once on the page. There doesn't seem to be a way to do this with this mod. Is there any way we can get a modification that allows a banner to be repeated on a page without entering multiple instances of the same banner?

-Designguy


It'll do it if you change the postbit code and insert the trigger(s). I have it display with this mod every 5th post, and also after the last post. This is the code I used, which I believe I found from a previous post in this thread:

BANNER AFTER LAST POST HACK Added this mod to our forum on 3/1/12

GO TO: Admin Console -> Styles & Templates -> Style Manager -> edit template -> postbit templates -> postbit_legacy

......at the END add this, if you want it to display random ad after the LAST post:

<vb:if condition="$post['islastshown']">
<div align="center"><!--@vbbanners:0@--></div><br />
</vb:if>


.....at the VERY END add this: (puts random ad after 5th and 10th posts)

<vb:if condition="THIS_SCRIPT == 'showthread' AND (($post['postcount'] % 15 == 10) OR $post['postcount'] == 10)">
<div class="thread_controls">
<div style="width: 100%; text-align: center">
<!--@vbbanners:0@-->
</div>
</div>
<vb:elseif condition="THIS_SCRIPT == 'showthread' AND (($post['postcount'] % 15 == 5) OR $post['postcount'] == 5)" />
<div class="thread_controls">
<div style="width: 100%; text-align: center">
<!--@vbbanners:0@-->
</div>
</div>
</vb:if>


Hope this is helpful! We LOVE the RBS add-on!

y2ksw
11-30-2017, 06:50 AM
This is similar to what I'm trying to do. I want to put a banner in between every 2nd post so I have the code inserted into the postbit template. Now, here's my problem: The group I'm pulling the banners from only has 3 banners in it. On a long thread, this only fills up the first three locations and then all the rest of the potential spaces are blank. I want these banners to repeat in these spaces down the page, not just show them once on the page. There doesn't seem to be a way to do this with this mod. Is there any way we can get a modification that allows a banner to be repeated on a page without entering multiple instances of the same banner?

-Designguy
It's a rotating banner plugin and thus the only way to repeat contents is to duplicate banners and give them eventually a different weight because grouping of similar banners is more unlikely.

nxtgen
09-15-2018, 12:42 PM
I know this is an older mod but it still works great.. Has anyone else run into the issue of Google marking the links as phishing? My site now shows up as phishing constantly.

djbaxter
09-15-2018, 12:52 PM
I'm using it on two forums and have for years. I've never run into that problem at all.

What is the link structure you are using in your ads?

y2ksw
09-25-2018, 07:22 AM
I know this is an older mod but it still works great.. Has anyone else run into the issue of Google marking the links as phishing? My site now shows up as phishing constantly.

I never heard about problems of this kind.

I know however, that compromised sites may use links provided by Google as a trigger to move away from the original site, but has nothing to do with any application. It's just the way how the WORM works.

I suggest to change passwords for FTP, check plugins and also the styles (save one of them in order to refresh the plugin and style cache). During fixing compromised forums, I found plugin code in the plugin cache, but not in the plugin table.

nxtgen
09-25-2018, 10:16 AM
Nevermind.

y2ksw
09-26-2018, 01:50 PM
Nevermind.

The mail notification showed me some code which is typical for malware. They change urls or text in the style cache, while the original style seems ok. In the specific case, they injected a script tag, which then moves the visitor away from your site. You can remove erratic style information in the cache by saving or reverting one template.

However, if you host an offending plugin, they can get in again and again. A good place to look at is the misc.php script, which offers a few entry points for highly advanced coders.

Turbe
01-27-2019, 12:47 AM
I'm running vBulletin Version 3.8.9 Patch Level 1 (last vB 3.x version that will run on my current OS).

Will Rotating Banner System v2.4.2 run on vB v3.8.9 pl1?

Or do I need to install an earlier RBS Version (and if so, what RBS Version)?

.

y2ksw
01-27-2019, 10:17 AM
I'm running vBulletin Version 3.8.9 Patch Level 1 (last vB 3.x version that will run on my current OS).

Will Rotating Banner System v2.4.2 run on vB v3.8.9 pl1?

Or do I need to install an earlier RBS Version (and if so, what RBS Version)?

.

Compatibility: from vBulletin 3.6.5 onwards

... thus it should run on 3.8 ... if it doesn't, it is safe not to use :)

slowstreamer
03-11-2019, 08:31 PM
I used this on vB 3.x.x, but now we have jumped up to 5.4.5. Will this mod work with new vB5 ?

y2ksw
03-12-2019, 07:23 AM
I used this on vB 3.x.x, but now we have jumped up to 5.4.5. Will this mod work with new vB5 ?

I'm sorry, no.

TheAllusionist
04-05-2019, 02:08 PM
Does anyone have this working on PHP 7 it seems to have broken a lot of extensions including this one.

TheAllusionist
04-05-2019, 04:47 PM
Nevermind, I got it to work.

y2ksw
04-06-2019, 11:52 AM
Nevermind, I got it to work.

What did you fix? :)

In Omnibus
04-06-2019, 12:20 PM
No one should still be using flash code from six years ago. Flash was one of the biggest security risks going at the time.

y2ksw
04-06-2019, 12:35 PM
No one should still be using flash code from six years ago. Flash was one of the biggest security risks going at the time.

This is the reason, why it is optional to use :)

TheAllusionist
04-06-2019, 05:51 PM
This is the reason, why it is optional to use :)

I just re-uploaded the files and over wrote the install XML file and it seems to work. It is on a vBulletin 4 forum that I have converted to xenForo and wanted the banner system up and running so I could mimic it what I had in vBulletin.

The addon seems to work OK now and Isee no reason why if you are running the antiquated vBulletin 4 why you wouldn't run this addon, especially if you went to all the trouble of custom coding your templates to locate the banners where you want. IMHO

y2ksw
04-08-2019, 08:37 AM
I just re-uploaded the files and over wrote the install XML file and it seems to work. It is on a vBulletin 4 forum that I have converted to xenForo and wanted the banner system up and running so I could mimic it what I had in vBulletin.

The addon seems to work OK now and Isee no reason why if you are running the antiquated vBulletin 4 why you wouldn't run this addon, especially if you went to all the trouble of custom coding your templates to locate the banners where you want. IMHO

Thank you very much! :)

morrow
06-11-2019, 06:11 PM
Today, my banners all stopped working and I get a link without a photo. I can still click on the link but the actual banners have disappeared. I asked my host if anything changed and he's assured me that nothing has changed.

Any ideas as to where to check?

djbaxter
06-11-2019, 06:46 PM
What's the source for your banners? e.g., are they all AdSense?

morrow
06-11-2019, 07:08 PM
What's the source for your banners? e.g., are they all AdSense?

Nevermind. I installed a google ad blocker. I disabled it and can now see the ads.

Scream And Fly
06-12-2019, 04:49 PM
I still use and depend on this addon, which is fantastic. My only issue is I can only get four banners to appear. If I assign banners to additional slots, they simply don't appear. If anybody has any ideas, I'd be very grateful.

My site is at: https://www.screamandfly.com/forum.php

y2ksw
06-13-2019, 07:26 AM
I still use and depend on this addon, which is fantastic. My only issue is I can only get four banners to appear. If I assign banners to additional slots, they simply don't appear. If anybody has any ideas, I'd be very grateful.

My site is at: https://www.screamandfly.com/forum.php

If you get 4 slots to work, all others should really work as well.

Hawk7173
12-29-2019, 05:06 PM
Will this work on 4.2.5?

djbaxter
12-29-2019, 05:27 PM
Yes. Works fine on 4.2.5.

Hawk7173
12-30-2019, 01:54 AM
Thank you!

Bulent Tekcan
12-21-2020, 10:44 AM
Is this code works with vBulletin 5 version ?

Regards

y2ksw
12-22-2020, 06:55 AM
Is this code works with vBulletin 5 version ?

Regards

Unfortunately not.

jnrdavo
01-06-2021, 10:16 PM
Hi Guys,
I've been relying on this add-on for many years.
I'm finally looking to go to VB5 from 4 and want to ensure a similar experience for my members.
Does anybody know if there is similar functionallity in VB5, or a add-on (are they still called that?) that I can use/purchase to replace this fantastic one?
Mostly I want to be able to show random sponsor banners based on values/weight. I also want to be able to track how many times it's been shows and clicked.

yilmaz
01-07-2021, 12:25 AM
Hi Guys,
I've been relying on this add-on for many years.
I'm finally looking to go to VB5 from 4 and want to ensure a similar experience for my members.
Does anybody know if there is similar functionallity in VB5, or a add-on (are they still called that?) that I can use/purchase to replace this fantastic one?
Mostly I want to be able to show random sponsor banners based on values/weight. I also want to be able to track how many times it's been shows and clicked.

Such plugins are no longer needed in vb5.
There is an ad placement module, you can add a banner to the position you want.

jnrdavo
01-07-2021, 09:07 PM
Thanks yilmaz,

I'm yet to work out how to have 'rotating' banners based on weight.

As an example, I might have 5 sponsors on my site. 2 x sponsors are 'gold' level, that get more 'placements' of their banners than others.

In this plugin, you can do that.

Above and beyond weighting, can you put in 5 rotating banners in VB5? (ie, when one person is logged on to the site, they see banner 1, when another user at the same time is logged on, they see banner 2 and so on)?

yilmaz
01-07-2021, 09:15 PM
Whichever level you see, you create a special user group for that level

y2ksw
01-08-2021, 08:17 AM
Such plugins are no longer needed in vb5.
There is an ad placement module, you can add a banner to the position you want.

Good to know :)

jnrdavo
01-09-2021, 07:38 PM
yes, but I want to have 5 banners (as an example).

All users to see all banners, in rotation, based on weight.

Does that make sense? If you look at this plug-in, look at the configuration options and it will show you want it can do.

I can see a way to do this in VB5.

jnrdavo
07-26-2021, 07:52 PM
did anybody find a suitable substitute to this plugin in VB5?

Hostboard
07-29-2021, 09:01 AM
did anybody find a suitable substitute to this plugin in VB5?

I would ask Yilmaz.