vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Google Adsense Postbit Integration (https://vborg.vbsupport.ru/showthread.php?t=153804)

Atakan KOC 07-29-2007 10:00 PM

Google Adsense Postbit Integration
 
Google Adsense Postbit Integration

install

Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-googleadsensei.xml' from your computer then press 'Import'

Modifications Info

Plugin : 2
Phrases : 11
Template : 1
Setting : 5

Google Adsense Postbit Setting

Go to your admin cp, then:
vBulletin Options -> Google Adsense Postbit Integration ->

Versions:
v1.0 - 30 July 2007
-First release

v1.1
- 31 July 2007
- Usergroup Permissions Added

v1.2 - 31 July 2007
- Usergroup Permissions Problem Fixed

If does not work;

Open template "postbit or postbit_legacy"

Find
PHP Code:

<!-- post $post[postidpopup menu --> 

After Add
PHP Code:

$template_hook[postbit_end


Kaleem 07-30-2007 04:57 PM

Can u add usergroup permissions too with that ?

Zaiaku 07-30-2007 05:14 PM

Great and Simple!

LightInClouds, you could put add a condition about the template edit for usergroups hiding it.

Gulf Soul 07-30-2007 05:30 PM

Thanks,,

D&Y 07-30-2007 06:50 PM

Very Nice Idea Atakan KOC,

*D&Y Clicked To 'Mark As Installed'

music legend 07-30-2007 06:54 PM

Quote:

Originally Posted by LightInClouds (Post 1305471)
Can u add usergroup permissions too with that ?

yeah i was going to ask the same question...if it had this feature i am sure a lot of people will be clicking install!!

reteep 07-30-2007 08:14 PM

Good idea to make a plugin for that! Cool would be though, if you could set it to be shown after every X posts (possible by using a % division i think).

Cheers,
reteep

FreshFroot 07-30-2007 11:43 PM

nice stuff mate! keep up the good work. :D

Atakan KOC 07-31-2007 05:23 AM

v1.1 - 31 July 2007
- Usergroup Permissions Added

Living in music 07-31-2007 07:13 AM

Usergroups ID can use Google Adsense
I type 0 for all group, dont' show >"<

projectego 07-31-2007 08:58 AM

[high]* projectego clicks install :)[/high]

Hornstar 07-31-2007 10:26 AM

Nice work, once I get back on board with google adsense I will be using this for sure! thanks.

Atakan KOC 07-31-2007 12:08 PM

Quote:

Originally Posted by Living in music (Post 1305976)
Usergroups ID can use Google Adsense
I type 0 for all group, dont' show >"<

v1.2 - 31 July 2007
- Usergroup Permissions Problem Fixed

Legendery. 07-31-2007 01:01 PM

sağol Atakan abi.

thanks. good job

Living in music 07-31-2007 04:30 PM

Quote:

Originally Posted by Atakan KOC (Post 1306141)
v1.2 - 31 July 2007
- Usergroup Permissions Problem Fixed

Thanks, clicked install ^^

jeremyalyea 07-31-2007 10:16 PM

nothing appears. I tried using 0 as usergroup, I tried all usergroups. Still nothing.

VNFriends 07-31-2007 10:52 PM

It's work. Good.

ThorstenA 07-31-2007 11:49 PM

Why are so much phrases needed?

Jake25 08-04-2007 04:32 AM

Nice hack.

Is a little screw in FF though. I was unable to disable/uninstall it w/that browser. Strange, as I never had that problem before.

Will have to tinker with a bit more. Looks like it could be a gooder though.

engedi05 08-04-2007 08:27 PM

Is it possible to have just one ads after the first post, because what i get is that, it keep repeated for another post as well..

This is what i get: http://www.malaysianumber1.com/board...read.php?t=335

question? 08-05-2007 12:44 AM

Quote:

Originally Posted by engedi05 (Post 1309872)
Is it possible to have just one ads after the first post, because what i get is that, it keep repeated for another post as well..

This is what i get: http://www.malaysianumber1.com/board...read.php?t=335

also getting that

engedi05 08-05-2007 06:03 AM

is it possible to show ads every 10 posts? Because if every post show the Word: Sponsored Links, it would be very irritating for the reader and visitors..

hobsdv 08-05-2007 07:51 AM

installed great mod thanks

abalto 08-05-2007 02:58 PM

Will this work on Version 3.6.3 ?

I Installed and it is not working. Just upload xml file, configure and run? I even did the mods on the templates - "postbit or postbit_legacy".

Why doesn't this work? Are these the complete instructions?

TheWhite 08-06-2007 03:14 AM

don't work for me either, not even with the manual mods, can the coder look into this (i'm using board version 3.6.8)?
That's a shame, it looked like an easy but effective mod :(

Atakan KOC 08-07-2007 07:41 AM

Quote:

Originally Posted by TheWhite (Post 1310842)
don't work for me either, not even with the manual mods, can the coder look into this (i'm using board version 3.6.8)?
That's a shame, it looked like an easy but effective mod :(

If does not work;

Open template "postbit or postbit_legacy"

Find
PHP Code:

<!-- post $post[postidpopup menu --> 

After Add
PHP Code:

$template_hook[postbit_end

[/left]
[/center]

dprundle 08-09-2007 03:24 PM

thanks for this

JoeZ 08-10-2007 06:26 PM

Mine posts a ad after every single post.. not just hte first post how do I fix this? Thanks

pisliq 08-10-2007 06:47 PM

thanks :) i like it

teşekk?rler kardeş

Cooter 08-11-2007 12:02 AM

I am having the same issue as some of the above posters with it posting after the first 3-4 threads, then showing a bar after every post that says "Sponsored Links" with nothing in them. It would be nice to be able to activate the ads after every 10 posts or so.

I will click installed after you get this fixed.

3.6.7 btw

edit: I found a "fix" for the empty sponsored links...turn off borders.

Sychev_S 08-11-2007 05:35 AM

Quote:

Originally Posted by Cooter (Post 1314878)
I am having the same issue as some of the above posters with it posting after the first 3-4 threads, then showing a bar after every post that says "Sponsored Links" with nothing in them. It would be nice to be able to activate the ads after every 10 posts or so.

I will click installed after you get this fixed.

3.6.7 btw


edit: I found a "fix" for the empty sponsored links...turn off borders.

Same problem!

lebmobile 08-11-2007 02:44 PM

thanks

Sychev_S 08-11-2007 02:56 PM

I do believe you have posted in the wrong thread, sir :)

almightyone 08-11-2007 03:33 PM

if you post after mevery 10 posts and a user shows 50 posts per page you would be in violation of googles terms would'nt you? they only allow 3 ads per page i think

Kaleem 08-11-2007 06:00 PM

Quote:

Originally Posted by almightyone (Post 1315230)
if you post after mevery 10 posts and a user shows 50 posts per page you would be in violation of googles terms would'nt you? they only allow 3 ads per page i think

NO because google automatically doesnt show more then three Ad Blocks/Page

bigraph 08-11-2007 06:22 PM

great, thanks

bigraph 08-11-2007 07:52 PM

Cant get it to work right, i set it at 10 and its after every post after 10
anyway i can make this every 10 posts it comes up?

donal 08-12-2007 01:20 AM

It is showing multiple adds and could not fix it even after edit postbit and postbit_legacy templates.

Uninstalled.

donal 08-12-2007 01:29 AM

I installed it again and it works fine without editing any template.

Thanks for the nice mode.

Installed.

yaoren 08-12-2007 02:04 AM

**Installed**

Works good on 3.6.7.

Thanks :)


All times are GMT. The time now is 06:02 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.01419 seconds
  • Memory Usage 1,796KB
  • 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_php_printable
  • (7)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
  • (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