Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Google Adsense (or other) in a Block like a Thread on FORUMDISPLAY Details »
Google Adsense (or other) in a Block like a Thread on FORUMDISPLAY
Mod Version: 1.01, by Leo Brazil (Member) Leo Brazil is offline
Developer Last Online: Aug 2017 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (4 votes - 5.00 average) Installs: 65
Released: 04 Mar 2010 Last Update: 12 Mar 2010 Downloads: 273
Not Supported Template Edits Re-usable Code Translations  

This is a simple code to be added into your FORUMDISPLAY Template that will deliver your adsense or images just like Thread Table and it'll fit the same design you have on your forums.

Khalled had this idea from a vb3 Code and asked me some help because of my other mod: Google Adsense (or other) in a Block like an Individual Post
And this was from where his original idea came from http://www.vbulletin.org/forum/showthread.php?t=237136


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Note: Just don't forget to add your adsense code where is indicated.


If you want it below your thread list considering a respective Forumdisplay that plays like a forum and not a category you have to:

On FORUMDISPLAY Template

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just place the code below it.

If you want it above your subforum list as well as Threadlist you have to:

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just place the code below it.


If you want it below your subforum list as well as Threadlist you have to:


Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


If you want it below your sticky threads you have to:

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just place the code below it.

Update!!

If you'd like to have your adsense looking just like a thread (see 4th screen shot) use the code below:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just don't forget to replace on the code above with your own adesense.
Note: The code above will look good only if placed as suggested below and will appear like a sticky thread after the sticky ones you already have.

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just place the code below it.

If you have other ideas how to use and don't mind to share with us, make your self comfortable for it.

Edit: Screen Shots Added:
1- Above Sub Forums
2- Below Sub Forums
3- After Sticky Threads

If you like it, don't forget to mark as INSTALLED !!!

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	above-sub.jpg
Views:	2347
Size:	37.4 KB
ID:	113606   Click image for larger version

Name:	below-sub.jpg
Views:	2114
Size:	53.9 KB
ID:	113607   Click image for larger version

Name:	after-sticky.jpg
Views:	2530
Size:	73.4 KB
ID:	113609   Click image for larger version

Name:	Sticky.jpg
Views:	5153
Size:	93.0 KB
ID:	113984  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods Google Adsense (or other) in a Block like an Individual Post Leo Brazil vBulletin 4.x Template Modifications 15 25 Sep 2013 17:17
Forum Display Enhancements Kpt-Ad Forumdisplay + Google Adsense kaptanblack vBulletin 3.6 Add-ons 60 01 Jun 2010 04:14

  #16  
Old 12 Mar 2010, 22:29
khalled khalled is offline
 
Join Date: Apr 2007
Originally Posted by Leo Brazil View Post
Khalled,

Updated this one just for you. Now you'll have the option to have your adsense to be showed just like this:

Dear Leo Brazil
very very thanks for your help your are very marvelous man
Reply With Quote
  #17  
Old 12 Mar 2010, 22:41
khalled khalled is offline
 
Join Date: Apr 2007
Originally Posted by Leo Brazil View Post
Khalled,

Updated this one just for you. Now you'll have the option to have your adsense to be showed just like this:

Dear Leo Brazil
very very thanks for your help your are very marvelous man
Reply With Quote
  #18  
Old 13 Mar 2010, 01:14
javivi0 javivi0 is offline
 
Join Date: Jun 2006
thankssssss work fine !!!!!!!
Reply With Quote
  #19  
Old 15 Mar 2010, 21:38
khalled khalled is offline
 
Join Date: Apr 2007
Dear Leo Brazil
i use your code after the following in search_resultlist to add the block at the end of search result

- after the following add the adsense code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but where i can add it to appear in the beginning of search result
Reply With Quote
  #20  
Old 16 Mar 2010, 18:26
Bürger_von_Rado Bürger_von_Rado is offline
 
Join Date: Jan 2010
Thanks, worked and installed/modified.
Reply With Quote
  #21  
Old 22 Mar 2010, 15:05
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Originally Posted by khalled View Post
Dear Leo Brazil
i use your code after the following in search_resultlist to add the block at the end of search result

- after the following add the adsense code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but where i can add it to appear in the beginning of search result
Sorry Khalled, I've been too busy.

If you want it to appear on top of the search list, add the code right after:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you like the way it shows at the end on search results, it'll be the same like I'm telling but it's going to show up at the beginning.

Try it and let people know here if it works.
Reply With Quote
  #22  
Old 23 Mar 2010, 21:44
khalled khalled is offline
 
Join Date: Apr 2007
Originally Posted by Leo Brazil View Post
Sorry Khalled, I've been too busy.

If you want it to appear on top of the search list, add the code right after:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you like the way it shows at the end on search results, it'll be the same like I'm telling but it's going to show up at the beginning.

Try it and let people know here if it works.
very thanks Leo Brazil for your help you are very professional programmer

it's work good
Reply With Quote
  #23  
Old 24 Apr 2010, 08:45
Winter Sonata Winter Sonata is offline
 
Join Date: Apr 2010
Installed, Thanks
Reply With Quote
  #24  
Old 14 Jun 2010, 22:48
medicalforums medicalforums is offline
 
Join Date: Jul 2009
Is there anyway I can use this modification on my 3.8 VB?
Reply With Quote
  #25  
Old 23 Aug 2010, 01:07
asus78's Avatar
asus78 asus78 is offline
 
Join Date: Feb 2010
it would be awesome to put adsense within cms articles or blog post. Is that possible at all?

thanks
Reply With Quote
  #26  
Old 09 Sep 2010, 09:03
VAG VAG is offline
 
Join Date: Jul 2010
I guess so.

You could edit the template to add this as it doesn't currently have an ad location.

Try looking through the 'vbcms_content_article_page' template.

Only don't know where to insert the code.
Reply With Quote
  #27  
Old 13 Sep 2010, 06:00
onehost onehost is offline
 
Join Date: Jul 2006
I tried this on my forum as an inpost ad...

It looked horrible...It looked some spammy ad, did not match nothing.

let me know when you come up with something like this:

DEMO: Look at this if you want to see how an AD really matches....

http://www.patientenfragen.net/en/vo...ome-t1810.html
Reply With Quote
  #28  
Old 14 Sep 2010, 15:43
lubbie lubbie is offline
 
Join Date: May 2010
onehost
Warnung: filemtime() [function.filemtime]: stat failed for [path]/vbet_guestcache/en/_showthread_php_t_181012.zip in [path]/includes/vbenterprisetranslator_functions_guestcache.php (Zeile 53)
Oo
Von daher.Ich finds auch ehrlich gesagt nicht ok sowas zu schreiben und dann noch auf seinen eigenen Mod zu verweisen.

Man könnte meinen... Du musst es ja nötig haben.

Wenn Du schon Kritik üben willst dann doch konstruktiv!
edit. Abgesehen davon ist Deine Variante durchaus ansprechend.

Sry everybody, but i could not find any Words for what i wanted to "say", in english
Reply With Quote
  #29  
Old 22 Oct 2010, 00:28
synseal's Avatar
synseal synseal is offline
 
Join Date: Apr 2009
Real name: Ben Dover.
Really like this for sticky adds, thank you!.
Reply With Quote
  #30  
Old 16 Nov 2010, 18:09
Dr Longhorn Dr Longhorn is offline
 
Join Date: Jul 2008
Hi Leo Brazil,

This works fine with the forumdisplay template, and it looks great.

Can you help with editing the postbit or showthread template in order to place an adsense ad in a block, right above the first post of each thread.

I got this to work with just an adsense ad, but can't seem to get it to work with a block like in your example images.

Can you help with the correct code and position for this? Am I editing the correct templates?

Also I would like to have the ad block on the category pages as well as forums, i.e. forums that are set-up as categories.

Can you please help with this too?

Longhorn.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:22.

Layout Options | Width: Wide Color: