vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Board Optimization - Ablock Alert (https://vborg.vbsupport.ru/showthread.php?t=229984)

Taurus1 12-27-2009 06:40 AM

Quote:

Originally Posted by TheInsaneManiac (Post 1939173)
Hmmm I guess I didn't fix the html issue. I'll fix that in the next release. For now try:
Code:

<font size=\"8\">Message</font>

OK! That did it! Works great now mate! I would suggest changing the fontsize to 6 though, nearly got blinded.....lol

PS: Looks even better with the <blink></blink> codes around it!!

Thank you very much!!! :up:

linuxututs 12-27-2009 07:36 AM

Quote:

As I just told Taurus1, HTML is acting funky right now due to me using quotations to display the alert. Will be fixed in the next version. If you want to try something to fix it, try opening the product and finding:
var alertmessage="$vboptions[adblock_alert_message]"

Change to:
var alertmessage=$vboptions[adblock_alert_message]

Or

var alertmessage='$vboptions[adblock_alert_message]'
Tried both Mate. Still no luck. :(

If you come up with some more ideas, I'll be glad to help solve the problem with you Mate.

Been up for over 26 hours now, so I'm going to bed right now, but will be back soon.

Thanks, and keep up the GREAT work Mate.

Cheers,

TheInsaneManiac 12-27-2009 06:19 PM

Quote:

Originally Posted by linuxututs (Post 1939216)
Tried both Mate. Still no luck. :(

If you come up with some more ideas, I'll be glad to help solve the problem with you Mate.

Been up for over 26 hours now, so I'm going to bed right now, but will be back soon.

Thanks, and keep up the GREAT work Mate.

Cheers,

Alright lets just see if we can't get the whole product itself to work for now, I'll fix html for you in the next update. Make sure you have <!-- end wrap --> in the bottom of your footer, and change your Alert Message to something with no html in it. Just for testing changing it to like Testing the product or something, just to make sure it all displays.

I say this because you are using div tags to center, when you could just use <center> and fix everything. If you must use a div try this:
Code:

<div align=\"center\"><br>You are using adblocking software. Ads are a general way to cover server costs. Please add our domain to your whitelist.</br><br>NOTE: You will only see this message once.</br> <br>Thank You, LinuxTuts</br></div>
OR

Code:

<center><br>You are using adblocking software. Ads are a general way to cover server costs. Please add our domain to your whitelist.</br><br>NOTE: You will only see this message once.</br> <br>Thank You, LinuxTuts</br><center>

In reality you don't even need to center it because the product has an option in the AdminCP to center it for you. So really you should just enable that and change your code to:
Code:

You are using adblocking software. Ads are a general way to cover server costs. Please add our domain to your whitelist.<br>NOTE: You will only see this message once.</br> <br>Thank You, LinuxTuts</br>

45wheelgun 01-10-2010 01:09 AM

I love this! Marked "installed", and nominated! PM me a paypal address and I will buy you a beer.

TheInsaneManiac 01-13-2010 01:38 PM

Quote:

Originally Posted by 45wheelgun (Post 1951597)
I love this! Marked "installed", and nominated! PM me a paypal address and I will buy you a beer.

PM sent. Donations are always welcome. Not required, but welcome. =]

Also keep in mind I am taking suggestions. =]

vijayninel 01-30-2010 09:05 AM

Thanks. Installed.

aaronrand 02-01-2010 06:47 PM

1 Attachment(s)
Since install, I have been getting an error only in IE, with browser that doesnt block ads.
somehow the bottom row of links (contact us, admin panel, etc) is missing but only on the homepage, not on sub forum pages.
Any idea how to fix this?

tsuehpsyde 02-06-2010 05:32 PM

FWIW, I put two newlines in the text box for "Alert Message" and it causes the alert to disappear. Not a huge problem, but a problem none the less. :)

BirdOPrey5 06-24-2010 01:02 PM

I went to the demo with ad-block enabled and got no alert or message whatsoever... Is there a working demo anywhere?

BirdOPrey5 06-24-2010 01:43 PM

Sorry installed then uninstalled...
First the directions in the top post and the readme file are different- completely different template edits- I ended up doing both just to cover my bases.

Next the message was only showing up to unregistered users in firefox only, in google chrome with ad block no message was displayed... to registered users I wasn't seeing any alerts even though I removed groups 5|6|7 from the 'whitelist'

I wish this worked better/as advertised but just too many issues to keep installed as a work in progress.


All times are GMT. The time now is 01:11 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.01139 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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