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)

Stakerscorner 09-09-2011 02:07 PM

try to put this mod on really dont know what im doing can someone help me please

demo7up 09-09-2011 06:24 PM

What do u exactly need help with ? I can probably attempt to assist you?

valdet 09-12-2011 12:10 PM

Hello y2k,

I am trying to show the banners on top of my forums, in header template, but it isn't showing anything. It is working very well in other templates, such as navbar, showthread, forumdisplay etc...

However it isn't working on header.

I made a partial workaround by placing a static
Code:

<a href="http://www.mysite.net/forum/rbs_banner.php?id=34&userid=2"><img src="http://www.mysite.net/forum/banner-image.jpg"></a>
but unfortunately, this workaround only counts clicks and not the impressions. I desperately need the impressions to be counted too.

I disabled vBSEO HTML cleansing tool, disabled rbs_banner.php rewrite etc... but it's not working there in header template.

Y2k, do you have any solution how to make it work on header template or how to make the alternative solution work on my case. I am on vB 3.6. I know

I'm even willing to pay if you can make a quick fix.

Looking forward to reply.
Thanks

x YNWA x 09-12-2011 01:04 PM

Hiya

So I have looked at the location options and some of them include adverts within posts, which I personally do not want or need.

How do I edit it so that I move the advert to after say the first post and then every 15 posts?

I had this on a previous style on the forum but that was for a single advert. I basically want to do the same but with the rotating system instead.

Thanks

x YNWA x 09-12-2011 01:43 PM

I'm struggling with this plugin.

I have just created a test banner and put it in location 3.

I then put <!--@vbbanners:3@--> when editing the style ad_thread_first_post_content but nothing appears.

Is there more to this? I was able to get position 0 to appear by putting <!--@vbbanners:0@--> in the below nav bar template and they appear fine. Am I missing something?

Is there a way I can put adverts in locations manually rather than using the placeholders?

I basically want these locations:

1 set of adverts to appear under the nav

1 set of adverts to appear after the forum list on forum home

1 set of adverts to appear after the thread list

1 set of adverts which would appear after the first post and after x number of posts.

I want this so I can have different adverts for different area's of the site. For example on our betting area we would only use betting banners.

Also I would like to know if I can make a donation to the developer with anything other than paypal? This is a very good plugin and I want to donate some money towards its development.

Thanks

y2ksw 09-12-2011 07:20 PM

Quote:

Originally Posted by valdet (Post 2244861)
Hello y2k,

I am trying to show the banners on top of my forums, in header template, but it isn't showing anything. It is working very well in other templates, such as navbar, showthread, forumdisplay etc...

However it isn't working on header.

I made a partial workaround by placing a static
Code:

<a href="http://www.mysite.net/forum/rbs_banner.php?id=34&userid=2"><img src="http://www.mysite.net/forum/banner-image.jpg"></a>
but unfortunately, this workaround only counts clicks and not the impressions. I desperately need the impressions to be counted too.

I disabled vBSEO HTML cleansing tool, disabled rbs_banner.php rewrite etc... but it's not working there in header template.

Y2k, do you have any solution how to make it work on header template or how to make the alternative solution work on my case. I am on vB 3.6. I know

I'm even willing to pay if you can make a quick fix.

Looking forward to reply.
Thanks

I fear this can't be fixed. The header template is rendered in a different moment and rendering the banners there would invalidate all the rest.

Why do you need to put banners in the header template? Are you trying to rotate the logo?

y2ksw 09-12-2011 07:22 PM

Quote:

Originally Posted by x YNWA x (Post 2244878)
Hiya

So I have looked at the location options and some of them include adverts within posts, which I personally do not want or need.

How do I edit it so that I move the advert to after say the first post and then every 15 posts?

I had this on a previous style on the forum but that was for a single advert. I basically want to do the same but with the rotating system instead.

Thanks

You could replace for example the prevuois banner code with a RBS placeholder. Then, a rotating banner will appear as long as the conditions and availability are met.

y2ksw 09-12-2011 07:31 PM

Quote:

Originally Posted by x YNWA x (Post 2244887)
I'm struggling with this plugin.

I have just created a test banner and put it in location 3.

I then put <!--@vbbanners:3@--> when editing the style ad_thread_first_post_content but nothing appears.

Is there more to this? I was able to get position 0 to appear by putting <!--@vbbanners:0@--> in the below nav bar template and they appear fine. Am I missing something?

Is there a way I can put adverts in locations manually rather than using the placeholders?

I basically want these locations:

1 set of adverts to appear under the nav

1 set of adverts to appear after the forum list on forum home

1 set of adverts to appear after the thread list

1 set of adverts which would appear after the first post and after x number of posts.

I want this so I can have different adverts for different area's of the site. For example on our betting area we would only use betting banners.

Also I would like to know if I can make a donation to the developer with anything other than paypal? This is a very good plugin and I want to donate some money towards its development.

Thanks

Did you try the location 3 banner? If location 0 shows up, there should be no problem to show location, to. Please try to duplicate a working location 0 banner and the change it to location 3 (and save). If that works, change it a little more, such as using s different image.

If it doesn't work, the most frequent errors are: spelling, missing images, incorrect HTML (in Text), wrong time frame, wrong section.

If you would just keep sometimes the default banners switched on, a few pennies arrive by your visitors clicking on them ... mainly, this is how this product is maintained :)

y2ksw 09-12-2011 07:33 PM

PS: If not using placeholders, the banners don't rotate. And that doesn't make much sense ;)

clauz 09-20-2011 12:39 PM

1 Attachment(s)
Hello,
Thanks for the great mod.
My problem is that after installing thsi mod, "clicks" remain at 0, even if I enabled "Click Tracking".
As you can see in the image attached I have
Impressions 1.515
Clicks 0

I have clicked many times on the image banner from different IPs and with different users logged in (or without logged user).
Bellow there are my settings:
(you also can see the live demo: www.tenisdemasa.ro and statistics: http://www.tenisdemasa.ro/forum/rbs_...87ae82544f6b05 )
Thanks for help.

eglim 09-21-2011 06:08 AM

Hi,
I am sorry for this silly question. I am using vBulletin 4.1.5 Patch Level 1 and installed this mod. But this is not working. I followed every step from video and also checked manual. But no luck. Banner is not showing. I check source of forum home page nothing I found with "vbbanners" text.

In admin panel everything seems fine as per video.

eglim 09-21-2011 08:27 AM

This is start working. Is this possible we can align it center.. this time it left aligned.

eglim 09-21-2011 08:59 AM

all fixed. Thank you for this great mod. exact what I looking for.

y2ksw 09-21-2011 02:44 PM

Quote:

Originally Posted by clauz (Post 2248196)
Hello,
Thanks for the great mod.
My problem is that after installing thsi mod, "clicks" remain at 0, even if I enabled "Click Tracking".
As you can see in the image attached I have
Impressions 1.515
Clicks 0

I have clicked many times on the image banner from different IPs and with different users logged in (or without logged user).
Bellow there are my settings:
(you also can see the live demo: www.tenisdemasa.ro and statistics: http://www.tenisdemasa.ro/forum/rbs_...87ae82544f6b05 )
Thanks for help.

Text banners don't track clicks ... that was said many times :)
However, you may track them, if you put your landing page from your text banner to the URL field and substitute the text banner landing page with http.../rbs_banners.php?id=N, where http... is your site and N is the numeric ID of the banner itself. That was said many times, too ;)

y2ksw 09-21-2011 02:47 PM

Quote:

Originally Posted by eglim (Post 2248467)
Hi,
I am sorry for this silly question. I am using vBulletin 4.1.5 Patch Level 1 and installed this mod. But this is not working. I followed every step from video and also checked manual. But no luck. Banner is not showing. I check source of forum home page nothing I found with "vbbanners" text.

In admin panel everything seems fine as per video.

Quote:

Originally Posted by eglim (Post 2248500)
This is start working. Is this possible we can align it center.. this time it left aligned.

Quote:

Originally Posted by eglim (Post 2248507)
all fixed. Thank you for this great mod. exact what I looking for.

I appreciate, thank you :)

metalguy639 09-21-2011 08:18 PM

I need help this was working fine until I installed vBSEO on the site. I read the PDF and set the banners up according to how they should be with the html problem.

Site runs vBulletin 3.8.7. And vBSEO 3.6.0. The banners were installed some time ago and worked just fine until I installed vBSEO.

Things I have done so far:

1. Checked the banners to be sure that they can show within my browser.
2. I have changed the code to work with vBSEO.
3. Turned off the vBSEO html clean up.
4. I changed the settings in the vb admincp taking off the extra html.
5. Cleared the cache in my browser
6. Hard Refreshed the page.

The banners simply do not show in either skin I have a bought skin installed & the default skin. they do not show in either one.

clauz 09-22-2011 06:49 AM

Quote:

Originally Posted by y2ksw (Post 2248617)
Text banners don't track clicks ... that was said many times :)
However, you may track them, if you put your landing page from your text banner to the URL field and substitute the text banner landing page with http.../rbs_banners.php?id=N, where http... is your site and N is the numeric ID of the banner itself. That was said many times, too ;)

Thank you very much, it is working now.

y2ksw 09-24-2011 09:14 PM

Quote:

Originally Posted by metalguy639 (Post 2248740)
I need help this was working fine until I installed vBSEO on the site. I read the PDF and set the banners up according to how they should be with the html problem.

Site runs vBulletin 3.8.7. And vBSEO 3.6.0. The banners were installed some time ago and worked just fine until I installed vBSEO.

Things I have done so far:

1. Checked the banners to be sure that they can show within my browser.
2. I have changed the code to work with vBSEO.
3. Turned off the vBSEO html clean up.
4. I changed the settings in the vb admincp taking off the extra html.
5. Cleared the cache in my browser
6. Hard Refreshed the page.

The banners simply do not show in either skin I have a bought skin installed & the default skin. they do not show in either one.

All I can say is, I never had one single case in which it wasn't possible to show banners.

There is an issue with vbSEO and you fixed it.
There is an issue with photopost, where it will not work at all (only there).

So I can only imagine you missed something. The most frequent errors are spelling, followed by an error of assignment rules.

If you can't fix it, I can try. Please post me an admin account via PM and once I have time I'll see into it. No hurry though, because my duty list is chilometric :)

metalguy639 09-24-2011 11:15 PM

Thanks for your answer but I figured it out and got them showing ok.

Gripi 09-26-2011 07:20 AM

is it possible to run this addon or call the banner script inside my complete php file? example "test.php" ? but the file is inside the directory of vbulletin forum core file too.

y2ksw 09-26-2011 09:07 AM

Quote:

Originally Posted by Gripi (Post 2250125)
is it possible to run this addon or call the banner script inside my complete php file? example "test.php" ? but the file is inside the directory of vbulletin forum core file too.

You may use the addon where you wish, but you will have to edit it accordingly.

imported_Saleel 10-02-2011 02:17 PM

Is there any template which lets me put an advert under the first post in a thread, on every page?

Apolo. 10-02-2011 04:09 PM

Quote:

Originally Posted by imported_Saleel (Post 2252346)
Is there any template which lets me put an advert under the first post in a thread, on every page?

You may want to familiarize with the vBulletin template system a little bit more. :)

Sure it is. You may try with...

ad_showthread_firstpost_sig
ad_showthread_firstpost_start
ad_thread_first_post_content

... depending on what you would like to achieve. Don't be afraid to test things out! :)

imported_Saleel 10-02-2011 04:56 PM

Quote:

Originally Posted by Apolo. (Post 2252381)
You may want to familiarize with the vBulletin template system a little bit more. :)

Sure it is. You may try with...

ad_showthread_firstpost_sig
ad_showthread_firstpost_start
ad_thread_first_post_content

... depending on what you would like to achieve. Don't be afraid to test things out! :)

Yes, I had already tried those and they didn't achieve what I wanted.

Apolo. 10-02-2011 05:04 PM

Quote:

Originally Posted by imported_Saleel (Post 2252395)
Yes, I had already tried those and they didn't achieve what I wanted.

Then would you mind to mention an example?

Because I thought you wanted something like:

|-- showthread.php
|
|---- First post
|
|-------- [your ad here]
|
|---- Second post
|
|---- Third post

Videx 10-02-2011 05:18 PM

Quote:

Originally Posted by imported_Saleel (Post 2252346)
Is there any template which lets me put an advert under the first post in a thread, on every page?

He wants it on every page, not just after the first post. I know it's possible because I have mine doing exactly this. And I'm sure I read how right here in this thread somewhere. Sorry I don't remember much about it. Try some searching?

Apolo. 10-02-2011 05:30 PM

Quote:

Originally Posted by Videx (Post 2252405)
He wants it on every page, not just after the first post.

Oh, I see. I missed that part. Sorry.

imported_Saleel 10-02-2011 09:25 PM

Quote:

Originally Posted by Apolo. (Post 2252398)
Then would you mind to mention an example?

Because I thought you wanted something like:

|-- showthread.php
|
|---- First post
|
|-------- [your ad here]
|
|---- Second post
|
|---- Third post

I want it how Videx has mentioned. However, even the above in your example - that would do for now, but I cannot achieve that either.

ad_showthread_firstpost_sig puts the banner in to the actual second post.
ad_showthread_firstpost_start puts the banner in to the first post.
ad_thread_first_post_content doesn't show the banner anywhere.

Videx 10-02-2011 10:52 PM

Okay, I found it here: https://vborg.vbsupport.ru/showpost....&postcount=722

Shows the ad after the first post on each page.

Apolo. 10-02-2011 11:09 PM

Hmmm... it looks like ad_showthread_firstpost doesn't exist on vBulletin 4.1.6 any longer. That's the version I've been working on today and that's why I didn't mention it in my reply.

y2ksw 10-04-2011 06:24 PM

As far as I know it needs a quite large template change ...

Videx 10-04-2011 07:16 PM

I can't imagine there would be a valid reason to leave out such an important ad location. Maybe they just changed the name. Maybe we should file a bug report.

ewtherapy 10-08-2011 05:22 AM

I have a dumb question. I couldn't install the "upload" folder right. On the server, there are many "index.php" such as in "install" "include" "admincp" subfolders etc...

So I uploaded the "upload" folder everywhere wherever an Index.php existed, but it still didn't work.

Can someone enlightenment me, please?

Thank you in advance.
Brandon

metalguy639 10-08-2011 05:46 AM

Quote:

Originally Posted by ewtherapy (Post 2254573)
I have a dumb question. I couldn't install the "upload" folder right. On the server, there are many "index.php" such as in "install" "include" "admincp" subfolders etc...

So I uploaded the "upload" folder everywhere wherever an Index.php existed, but it still didn't work.

Can someone enlightenment me, please?

Thank you in advance.
Brandon

You do not upload the actual upload folder. You upload all the files IN the upload folder in your forum root. So if the directory structure in the zip file is:

Code:

upload>banners>then individual files
You keep the directory structure in tact and upload the banner directory in the root of your forum & the individual files in the root that are outside the "banner" directory. I'm using the word banner just as an example.

ewtherapy 10-09-2011 12:06 AM

Thank you Damien for the education. It worked as you explained.

Brandon

metalguy639 10-09-2011 12:21 AM

No problem glad to have helped :)

inphoenix 10-09-2011 11:59 PM

Can this be used with Everywhere sidebar mod?

sagr 10-10-2011 05:59 AM

Hi,
I'm so sorry , my problem with your hack it's not compatible with validator.w3.org and show me more than 7 errors, 10 warnings .. What is the problem with that?

y2ksw 10-10-2011 01:55 PM

Quote:

Originally Posted by inphoenix (Post 2255307)
Can this be used with Everywhere sidebar mod?

Probably yes ... since it works with sidebar blocks :)

y2ksw 10-10-2011 01:58 PM

Quote:

Originally Posted by sagr (Post 2255436)
Hi,
Thank you for this product, but i have problem at my forum, i change name to " twitter UQUNI " that UQUNI mean " name my university " ..

after changed name the Visitor Pile up at viewing chat box " 3054 " in the same time and same minute ..

for all guests IP different , plz i need for fixed this problem .

This product is meant to use for advertising ... are you sure you asked in the right thread? :)


All times are GMT. The time now is 09:32 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.03618 seconds
  • Memory Usage 1,857KB
  • 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
  • (3)bbcode_code_printable
  • (19)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