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)

viper357 12-01-2011 08:18 AM

Quote:

Originally Posted by y2ksw (Post 2273604)
The box for the email addresses is the one. One week before the banner expires, a mail is sent to all recipients in that box.

EDIT: You my change the task accordingly. However, double sending is not supported and never will.

How do I do that? On my installation it sends an email on the day that the banner expires? Where do I set it to 1 week?

kfyonur 12-01-2011 08:51 AM

Quote:

Originally Posted by y2ksw (Post 2273433)
Yeah, once again a style question :)

For fixed 998px styles I use for header2, in additional.css:
PHP Code:

.rbs_header_2 {
height70px;
left515px;
positionabsolute;
text-alignright;
top35px;
width468px;


and in header2:
PHP Code:

<div class="rbs_header_2"><!--@vbbanners:0@--></div


it is working thanx.

Videx 12-01-2011 11:41 AM

Quote:

Originally Posted by viper357 (Post 2273611)
How do I do that? On my installation it sends an email on the day that the banner expires? Where do I set it to 1 week?

I've requested a feature where we could set the expiration emails to x days. I too had no idea it was actually set to 7 days already. Or supposed to be. In my RBS 233 it says very vaguely:
Quote:

Mail addresses: Please list here one or more mail addresses to inform about banner events. Separate each email address by a space, e.g.: joe@domain.tld mary@domain.tld
Nothing about expiration or 7 days, just a very cryptic note about "banner events".

y2ksw 12-03-2011 09:08 AM

Quote:

Originally Posted by viper357 (Post 2273611)
How do I do that? On my installation it sends an email on the day that the banner expires? Where do I set it to 1 week?

I've been looking into the code, and as far as I can see, it needs some revision ... on the other hand that's code from 3 years ago.

At this point, would you please suggest what kind of mailing options you would like to see, since I will touch it just that much :)

Videx 12-03-2011 01:28 PM

Quote:

Originally Posted by y2ksw (Post 2274275)
At this point, would you please suggest what kind of mailing options you would like to see, since I will touch it just that much :)

Thanks for asking.
  • Rephrase the adminCP to clearly state these are expiration emails (not "event" emails).
  • Include a variable for x days prior (but 7 is fine if you don't). Include in the admincp some text stating the hard coded 7 if that's what it is.
  • Include a link to the email text (so we don't have to go digging through Phrases to change it).
  • Include at least one variable in the email - the expiration date itself. Maybe also the name of the banner. e.g. "Hi again. Your banner for %BannerName% is expiring on %ExpireDate%."

viper357 12-03-2011 03:01 PM

Quote:

Originally Posted by y2ksw (Post 2274275)
At this point, would you please suggest what kind of mailing options you would like to see, since I will touch it just that much :)

Thank you. I would just like a simple reminder to be emailed to both me and the banner owner stating that it is about to expire, anywhere between 7 days and a month will be fine for me.:)
p.s. I am on vb 3.8.5

attroll 12-04-2011 08:55 AM

I have been using this plugin for a while now. I love it.
I have one thing that I have not been able to figure out yet.
I want the banners to display in all my forum header but I do not want it to display on my home page or any CMS page headers.

Is there an easy way to do this?

control1110 12-04-2011 04:18 PM

I can't seem to get this add on to display any ads at all. I have set up the code in the header1 ad location <!--@vbbanners:0@--> and also tried putting it in the template and no luck I have no ads showing

FannBlade 12-04-2011 04:34 PM

Quote:

Originally Posted by control1110 (Post 2274591)
I can't seem to get this add on to display any ads at all. I have set up the code in the header1 ad location <!--@vbbanners:0@--> and also tried putting it in the template and no luck I have no ads showing

Same problem here.

Videx 12-04-2011 05:01 PM

Always give links when reporting problems like this. And try to leave up at least a test banner until others can look at it.

Also please assure us a test banner - a simple .jpg without any banner code - appears correctly?


All times are GMT. The time now is 08:29 PM.

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.04093 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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