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)

voglermc 06-03-2010 10:35 AM

I don't like this at the bottom of the ACP. Can it be moved higher?

y2ksw 06-03-2010 03:23 PM

Quote:

Originally Posted by voglermc (Post 2047553)
I don't like this at the bottom of the ACP. Can it be moved higher?

You may change the includes/xml/cpnav_rbs.xml accordingly:

<navgroup phrase="rbs_rotating_banner_system" permissions="canadminmaintain" hr="true" displayorder="9999">

voglermc 06-03-2010 03:38 PM

Thanks for the quick response! This mod rocks!

djbaxter 06-03-2010 03:48 PM

Quote:

Originally Posted by voglermc (Post 2047553)
I don't like this at the bottom of the ACP. Can it be moved higher?

Quote:

Originally Posted by y2ksw (Post 2047716)
You may change the includes/xml/cpnav_rbs.xml accordingly:

<navgroup phrase="rbs_rotating_banner_system" permissions="canadminmaintain" hr="true" displayorder="9999">

Cool. :)

Changing that line to:

Code:

<navgroup phrase="rbs_rotating_banner_system" permissions="canadminmaintain" hr="true" displayorder="19">
places it right under "Advertising" (vBulletin 4.03).

voglermc 06-03-2010 03:56 PM

I'm getting "Invalid File Specified" error when trying to overwrite a install

voglermc 06-03-2010 04:02 PM

It was the xml file I needed to ftp, fixed now. Thanks

Globus 06-05-2010 04:27 AM

Great! Thank you very much! Install and got it running in 60 minutes!
May i suggest possibility to develop code that will be allow to place banners on external sites!?

Thanx

y2ksw 06-05-2010 01:57 PM

Quote:

Originally Posted by Globus (Post 2048625)
Great! Thank you very much! Install and got it running in 60 minutes!
May i suggest possibility to develop code that will be allow to place banners on external sites!?

Thanx

You may :)

I'm not sure if it is of great advantage to use the banner system on external sites, because of all of the overhead the forums generate. Basically it needs a dedicated script which accesses the forum database efficiently and extract the banner data. But even then, you would have to reproduce the plugin behaviour on the destination site, too.

Maybe it could be a standalone application, as it was in the very beginning, but it worked out to stay better inside the vbulletin shell, for a couple of reasons. Other software and sites would need completely different strategies, such as for example Joomla portals.

All I could positively think about, would be some way to comunicate banner settings across different vbulletin sites, because it could be reasonably easy to setup one site and propagate to all the others - provided they use the same logic. In this case however I see merely an add-on which allows to do this at regular intervals or at command.

pitzerwm 06-05-2010 06:04 PM

Y2, remember you created this code for me and I have it running on a number of "non-forum" sites.

Quote:

<?php
error_reporting(E_ALL & ~E_NOTICE);
define('SKIP_SESSIONCREATE', 1);
define('NOCOOKIES', 1);
define('THIS_SCRIPT', 'rbs_blank');
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array();
$actiontemplates = array();
require_once('./global.php');
$html = '<html>
<head>
<title>Rotating Banner System</title>
</head>
<style type=\"text/css\">

<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>

<body>
<!--@vbbanners:0@-->
</body>
</html>';
eval('print_output("' . $html . '");');
?>
Calling it with:

Quote:

<iframe src="http://98.131.36.111/rbs_html.php" width="600" height="80" scrolling="no" marginheight="0" marginwidth="0" ></iframe>

y2ksw 06-05-2010 07:52 PM

Oh I forgot about this :)

crippler88 06-11-2010 07:11 PM

nvm i found out how to put them side by side- so is only possible to make 9 banners?? i want to have 20-30 diffent banners-

Videx 06-12-2010 01:26 PM

Quote:

Originally Posted by crippler88 (Post 2052184)
nvm i found out how to put them side by side- so is only possible to make 9 banners?? i want to have 20-30 diffent banners-

You can have as many as you want, but keep a couple things in mind: 1) Many users use a smaller screen size than you do and 2) More than one or two banners on a page and your site will look like Spam Central. People will simply block them, defeating your purpose.

BWilliams 06-16-2010 01:41 AM

After pulling my hair for the last few hours trying to get this to work I have determined that it's NOT compatible with vbSEO. Any reason why they wont work together?

djbaxter 06-16-2010 01:51 AM

Quote:

Originally Posted by BWilliams (Post 2054280)
After pulling my hair for the last few hours trying to get this to work I have determined that it's NOT compatible with vbSEO. Any reason why they wont work together?

I'm using it with vBSEO and it's working fine for me.

What problems are you having?

BWilliams 06-16-2010 02:08 AM

Quote:

Originally Posted by djbaxter (Post 2054284)
I'm using it with vBSEO and it's working fine for me.

What problems are you having?

Not showing up. If I disable vbSEO then the banners show.

djbaxter 06-16-2010 02:57 AM

Quote:

Originally Posted by BWilliams (Post 2054287)
Not showing up. If I disable vbSEO then the banners show.

Go into your vBSEO CP:

Other Enhancements | Cleanup HTML Code

Turn this off (Set to No).

This is an unnecessary "frill" which really adds little or nothing for SEO.

What it does do is remove comments. Among other things, it's removing the placeholder for the rotating banners. Once you turn it off you should see your banners.

BWilliams 06-16-2010 03:00 AM

Quote:

Originally Posted by djbaxter (Post 2054303)
Go into your vBSEO CP:

Other Enhancements | Cleanup HTML Code

Turn this off (Set to No).

This is an unnecessary "frill" which really adds little or nothing for SEO.

What it does do is remove comments. Among other things, it's removing the placeholder for the rotating banners. Once you turn it off you should see your banners.

That did the trick, thanks for the quick response ;-)

salvador21 06-23-2010 01:41 PM

After updating to vBulletin 4.0.4, my banners are still there but I seem to have lost the RBS control panel.

Can anyone help please? I don't want to completely reinstall in case I lose all the ads I've already placed.

salvador21 06-23-2010 08:34 PM

Quote:

Originally Posted by salvador21 (Post 2058172)
After updating to vBulletin 4.0.4, my banners are still there but I seem to have lost the RBS control panel.

Can anyone help please? I don't want to completely reinstall in case I lose all the ads I've already placed.

Solved, it was operator error. Too much coffee. I didn't re upload all the files.

Ignore

Tboy_forum 06-25-2010 08:57 PM

Any luck with someone who has got this working on 4.0.4??

Would love for this to work :erm:

djbaxter 06-25-2010 09:05 PM

It works for me with 4.04.

If you're using the AdminCP | Advertising locations for the script, you need to go into Manage Ads and Edit and Save each one to reactivate. No need to change anything. just open the edit page and save.

I don't know why but with or without this add-on it seems we have to do this for each ad location with every 4.x upgrade. It's annoying but an easy fix.

Tboy_forum 06-26-2010 10:39 AM

I can confirm this is working on 4.0.4

Bit if a battle to get it going but finally got it working (after a lot of reading :D)

FlyB 06-29-2010 04:40 PM

Hi

I m using this banner system since 2 months and i ilke it a lot.

I would like to center the banner of the position "0" on my forum page. I tried many thing but i m not able to do so. Right now its stuck on the left.

can someone help me?

session-one 06-29-2010 08:52 PM

so the function of this mod is to rotate banners right, so display random banners? The stuff in the ACP is very confusing :/

voglermc 07-18-2010 12:44 AM

I'm trying to find the place to give the banners some margin and padding. Can anyone help?

voglermc 07-18-2010 12:45 AM

I also need to add more positions than just 9

ayam 07-23-2010 09:42 PM

i placed it at showthread first post sig and then the ads keep showing at all post in 1 page. let say i have 7 banners set in position 2, it keep showing all the seven's until post #7 and then stop.

did i make something's not right? followed all the settings correctly

rather than that, everything works like a charm

TROLL 07-26-2010 02:39 PM

Am I understanding correctly that this same product is compatible for vb3.6 up to vb4.0?
Is it possible to do a monthly email to advertisers with view/click reports?

TheSupportForum 07-29-2010 07:01 PM

Feature Request Please:

add payment options for advertising with integration of paypal

mrteach 07-30-2010 07:36 PM

Great MOD and after a little tinkering I have it working. My question is this: is there anywhere that shows what the positions are in the forum? In other words, I know where the top/header banner, but what other locations can you put this in and what are the normal dimensions of these places? I know headers/footers are usually 468x60.

oxygenthief 07-30-2010 11:48 PM

Hello. I'm currently running 3.8.3. Will this work?
Thanks

Hammertime 08-01-2010 12:58 PM

Quote:

Originally Posted by session-one (Post 2061902)
so the function of this mod is to rotate banners right, so display random banners? The stuff in the ACP is very confusing :/

Indeed.

Ridiculously difficult to manage.

I remember a time where all you had to do was select the location, copy and paste the html from your affiliate into a box and separate each banner with a "|".

Wtf is all this about putting a separate URL for destination and image location? :confused: Ridiculous. I like to visit my affiliate site, copy the code and paste it in, job done. This is too much but I suppose it has it's uses for some.


Uninstalled.

unknown03 08-02-2010 06:39 PM

I installed this mod and it works perfectly in Firefox and Google Chrome. However, in IE8 and Opera the banners show but are not clickable! WTF?!

I checked my code and have been googling all morning but cannot find a solution as to why it won't work for those browsers

Edit: figured it out, turns out when i put the code in for the postbit template, I accidentally didn't close a ">"

djbaxter 08-02-2010 09:23 PM

Quote:

Originally Posted by Hammertime (Post 2077622)
Indeed.

Ridiculously difficult to manage.

I remember a time where all you had to do was select the location, copy and paste the html from your affiliate into a box and separate each banner with a "|".

Wtf is all this about putting a separate URL for destination and image location? :confused: Ridiculous. I like to visit my affiliate site, copy the code and paste it in, job done. This is too much but I suppose it has it's uses for some.


Uninstalled.

You can still do that if all you want to do is display banners in specific locations, and you don't need this mod or any other to do that: Just use the ad templates or hard code it.

But if you want to use rotating banners (did you notice that part in the title?), you'll need this mod or something like it. It works and it works well.

kingharrison 08-08-2010 01:34 PM

I had this mod working correctly in 4.02, but I recently upgaded to 4.05 and no matter what I try I cannot get it work. I tried to find a trouble shooting section, but your website seems down.

What is the best way to figure out what is going wrong? Thanks!

webhead11 08-09-2010 06:58 PM

Not able to show ads using 4.05. Default new install and followed directions... Any suggestions? Do I need to insert <!--@vbbanners:%d@--> in a particular template? As I understand it, the default install should show ads in the forums without the need to use the above code in any templates.

Videx 08-09-2010 07:17 PM

Yes, you have to call the banners somehow. I just use the vb ad manager to put RBS above the footer. Ad HTML:
PHP Code:

<div style="text-align:center"><!--@vbbanners:0@--></div


webhead11 08-09-2010 08:17 PM

Great! Works now - Thanks!! :)

kingharrison 08-09-2010 08:27 PM

i have inserted the code and it still doesnt work. i can put in text near the call and that shows up correctly. any idea what i could be doing wrong?

Videx 08-09-2010 10:42 PM

Since the only info you gave us is that you just recently updated from 402 to 405, I would guess you either moved or deleted your ads. RBS itself works fine in 405 here; no changes required after updating.

Can you actually see the ad if you just point a browser to it?


All times are GMT. The time now is 05:23 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.03458 seconds
  • Memory Usage 1,836KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (14)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