vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=237502

Google Adsense (or other) in a Block like a Thread on FORUMDISPLAY
by Leo Brazil
04 Mar 2010 20:19

5 Attachment(s)
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. :up:

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 !!!

zeroality 05 Mar 2010 04:25

Any demo to show what it looks like? Thanks.

Hornstar 05 Mar 2010 06:39

or screen shot will be fine too.

Leo Brazil 05 Mar 2010 20:13

My bad, screen shots added.

khalled 05 Mar 2010 22:11

dear Leo Brazil very very thanks for your quick cooperation and help

but please there is minor different between what i want and the code you give although your code is very useful

What i want that Google Adsense appear as it is threads
like the below pictures in vb 3.8 the Google Adsense appear as threads in thredlist
can we do the same thing with vb 4


http://www.vbulletin.org/forum/attac...9&d=1186315438

like this mod do in vb 3.8

http://www.vbulletin.org/forum/showthread.php?t=154361

i wait for your help if it's possible

khalled 05 Mar 2010 22:36

1 Attachment(s)
also the attached pictures can clear more what i main

http://www.vbulletin.org/forum/attac...4&d=1267828523

baghdad4ever 07 Mar 2010 16:35

is that against google policy or not??

please can you tell me

khalled 07 Mar 2010 22:19

Quote:

Originally Posted by baghdad4ever (Post 1999133)
is that against google policy or not??

please can you tell me

NO it'snot , google answer by that
if any one can catch required code

khalled 08 Mar 2010 12:17

Dear ,Leo Brazil i wait you

baghdad4ever 08 Mar 2010 16:58

thanks khaled to confirm that

so can i install the other mod of Leo Brazil (post inside thread ) with this mod?????



see this if you want it i will pm you

http://www.baghdad4ever.net/vb/forumdisplay.php?f=175

khalled 09 Mar 2010 09:26

Quote:

Originally Posted by baghdad4ever (Post 1999862)
thanks khaled to confirm that

so can i install the other mod of Leo Brazil (post inside thread ) with this mod?????



see this if you want it i will pm you

http://www.baghdad4ever.net/vb/forumdisplay.php?f=175

yes you can
and good site

Leo Brazil 09 Mar 2010 12:25

Quote:

Originally Posted by baghdad4ever (Post 1999133)
is that against google policy or not??

please can you tell me

No, that's for sure. If the ads are clearly visible and you don't change Google's script, you'll be 100% clear with that.

Quote:

Originally Posted by baghdad4ever (Post 1999862)

so can i install the other mod of Leo Brazil (post inside thread ) with this mod?????

see this if you want it i will pm you

http://www.baghdad4ever.net/vb/forumdisplay.php?f=175

You can use both of my mods without any problems, I've tested them together.
Great site by the way, good to see my mod installed and work good on RTL language.

Quote:

Originally Posted by khalled (Post 1998017)
dear Leo Brazil very very thanks for your quick cooperation and help

but please there is minor different between what i want and the code you give although your code is very useful

What i want that Google Adsense appear as it is threads
like the below pictures in vb 3.8 the Google Adsense appear as threads in thredlist
can we do the same thing with vb 4

i wait for your help if it's possible

Khalled, I've got your idea and will see what I can do, OK ? Just give me some time, this week I'm terrible busy with a lot of things but I'll do it OK. :up:

khalled 10 Mar 2010 01:33

Quote:

Originally Posted by Leo Brazil (Post 2000357)


Khalled, I've got your idea and will see what I can do, OK ? Just give me some time, this week I'm terrible busy with a lot of things but I'll do it OK. :up:


Very thanks Leo Brazil , i think you forget me , take your time and thanks again for your cooperation

YankForum 12 Mar 2010 19:34

if u need it to be just like threads , u need to copy ALL contents of threadbit and paste it in forumdisplay in appropriate area as mentioned above by leobrazil , and just replacing title by adsense coe and inset some random values for replies and vies and last post

Leo Brazil 12 Mar 2010 20:34

Khalled,

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

https://www.vbulletin.org/forum/external/2010/03/56.jpg


All times are GMT. The time now is 01:54.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.