vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Board Optimization - Advertisement in automatic popup once per session (https://vborg.vbsupport.ru/showthread.php?t=144913)

Guest210212002 05-05-2007 01:05 PM

Quote:

Originally Posted by UltimateOreo! (Post 1234216)
I'm sure that google has bigger problems that seeing that every single adsense user doesn't put their code in a popup script.

I disagree completely. Google is very adamate about stuff like this.

Releasing a mod that can lure unsuspecting/new webmasters into getting kicked from the hands down most popular revenue service sets a very bad precedent. This mod should be deleted.

Quote:

I'm sorry if I come off rude, but the thought of me paying for invalid clicks and receiving a lower ppc on adsense because of the sheer number of people trying to make a quick buck gets me fired up.
Likewise.

kartik786 05-05-2007 07:41 PM

Me thinks its an intelligent hack and you can use it for programs other than google's stupidsense :p

UltimateOreo! 05-05-2007 08:21 PM

Ok, is everyone happy now?

donal 06-10-2007 11:55 PM

You people are crying because it has the word "Adsense" in it. Now spare that word and read the post again. Do you think that the adsense is the only agency for ads ? This script can also be used for displaying your own Advertisement and announcements. You can nicely display your events etc by using this script.

Thank you UltimateOreo for the nice script.

Can we display the pop-up with specific size ?I want my pop-up window to be 500x300 pixels.Thanks in advance.

UltimateOreo! 06-11-2007 01:24 AM

Not positive on how to do it with a popup, but i'm sure google does! I'll be sure to come out with an alternate version shortly.

Edit, nevermind, it's just like regular pages. Here we go.
Code:


Actually, just search for this in the template change you made:

var winpops=window.open(popurl,"","width=,height=,scrollbars")

Change to:

var winpops=window.open(popurl,"","width=500,height=300,scrollbars")


And it should be fine.


All times are GMT. The time now is 04:53 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.01700 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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