vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Randomly positioned ad in between postbits in showthread (https://vborg.vbsupport.ru/showthread.php?t=98057)

GrendelKhan{TSU 04-08-2006 12:28 PM

Quote:

Originally Posted by UK Jimbo
Hi GrendelKhan

Are the pages publically visible or do you have to register to see them? If Googlebot can't get at the pages (and content) from the same URL that you're using to access it then it can't index it. Sometimes it might take a while for pages to get indexed. I'd give it a couple of days and see how it goes. Post back and let me know how you get on.

Hey jimbo, thanks for the reply (sorry I've been out this week and didn't see it).

The threads are all public. (no registration necessary to read)
And its been like this for weeks. :/

(eg:
here's one with a ton of text about the superbowl and ward winning MVP...but again, the ads are still "free forum software etc."
http://www.naestar.net/forums/showthread.php?t=19196 )

UK Jimbo 04-09-2006 08:37 AM

Quote:

Originally Posted by GrendelKhan{TSU
(eg:
here's one with a ton of text about the superbowl and ward winning MVP...but again, the ads are still "free forum software etc."
http://www.naestar.net/forums/showthread.php?t=19196 )

Hotels in Seoul of Korea
Animaged images for ?150
All Steelers games on DVD

were the ads I got. Looks like it's working.

GrendelKhan{TSU 04-09-2006 09:11 AM

Quote:

Originally Posted by UK Jimbo
Hotels in Seoul of Korea
Animaged images for ?150
All Steelers games on DVD

were the ads I got. Looks like it's working.

really? :/
is some kinda of geo-location in effect? where are you located?

I get 4 forum software or other related ads. :( (ie: pretty useless)
(see image).

can you check some other threads and see if you get related ads? I'd appreciated it greatly. I want to see if its just feeding me those ads.

tamborinegal 04-10-2006 01:44 AM

Works very well. Thank you. :)

Clancy

Makaveli105 04-10-2006 03:20 PM

Quote:

Originally Posted by GrendelKhan{TSU
really? :/
is some kinda of geo-location in effect? where are you located?

I get 4 forum software or other related ads. :( (ie: pretty useless)
(see image).

can you check some other threads and see if you get related ads? I'd appreciated it greatly. I want to see if its just feeding me those ads.

I see relevant ads.

Steelers pendants
Pittsburg Steelers
Pittsburg Steelers
Seoul Hotels

---

Thanks UK Jimbo, I'll give it a go :D

arossphoto 04-12-2006 12:29 AM

Quote:

Originally Posted by UK Jimbo
Took less time than I thought - give this a try:

Code:

// only for non-threaded display
if($threadedmode == 0) {

        // only need to do the calculation once
        if( $counter == 2 && empty($GLOBALS['adsense_position'] && $totalposts >= 3 ) ) {

                $_min = $postcount;
                $_max = min($totalposts,$_min+$perpage-1) - 1;

                $GLOBALS['adsense_position'] = rand($_min,$_max);
        }

}


I've installed and it's working very well. Will the code above display the ads after the first post and before the last? Would you mind showing me what the whole code for the post bit would look like, and is it possible to show the ads to certain usergroups?

Cheers.

Marv 04-12-2006 12:00 PM

Quote:

Originally Posted by UK Jimbo
Any luck?

Sorry for the delay, Jimbo :)

I?ve installed your code and modified it, so that certain usergroups see/don?t see ads, and to create different ad-channels to have a better overview (targeting).

The code seemed to work fine, but in the last days I had to notice that ads also appeared under the last post. Dunno why, but that?s the situation by now.

UK Jimbo 04-12-2006 12:10 PM

Hi guys - I'm really tied up at the moment. Will take a look ASAP but that might be in a few days time.

James

Niall Fernie 04-13-2006 03:04 PM

I know this is a bit basic, but I missed it on about 20 ocassions during my installation on this plugin.

Make sure you have the plugin/hook system enabled on your board, I was doing a test install on my other vB setup (small site - new install) and could not get this to work at all, until I read the text that vB had been almost shouting at me since the start "the plugin/hook system is currently disabled..."

Enabled it and worked first time.

I know you've probably just wasted 30 seconds of your life reading this, but I've just read every post here before reading the error message so just hoping to save someone 10 minutes.

Great plugin, easy install (especially if you're not as dopy as me)

[cleeeck]INSTALL[/cleeeck]

sandrodz 04-13-2006 11:13 PM

installed, works like charm... only concern is if I can set it to display at the end of the last post only? or after the first post only? cause I believe this kind of random placing isn't efficient in my case... thank you!


All times are GMT. The time now is 02:25 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.01249 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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