Google Ads Integration :(

Hey all,

I have spent well over now 5 hours figuring this out.... I guess I am just too dumb :)

I want to put ads in the aqua-soft skin buit I have never been sucessful. If someone can please show me the actual coding for this ads it would be great.... (Look at the image)

post-58309-1169240127_thumb.png

gads.png
gads.png

#438649

Thats possible to do, you must edit the navbar template, also becareful if you put an ad there, since filling that white space might break the site for lower resolutions.

#438650

Yes it does.... What happens is that the background of that area becomes blues (as the overall background)..... I dont think putting ads on top would work..

Timan, can you please help me add ads after lets say first post or so please. I have tried every single Google Adsense mod on the vbulletin.org but it is just not working out in the vb 3.6.4.

#438653

Logout of these forums and go here, http://www.aqua-soft.org/board/index.php take a look at the top, did you want an ad up there like that?

#438667

yea that's exactly what i have been looking for...... in fact today right before i logged in.... i took this picture to ask you that question...

Timan can you please put the whole tutorial on how to put ads like that.

Thanks,

CP

post-58309-1169329183_thumb.png

gads.gif
gads.gif

#438811

Easy,

<if condition="!$bbuserinfo[userid]">
<div class="pin1 borderbottom" align="center" style="padding: 8px;">
<div align="center" style="padding-bottom:8px;"><b>Please Login or <a href="../../unavailable.html">Register</a>.</b></div>
<!-- Google Script -->
</div>
</if>

That'll show an ad with the propper padding/pinstripe background for GUESTS only... if you want it to show up for everyone, simply remove the tags.

You can put this at the bottom of the Navbar Template.

Navigation / Breadcrumb Templates > navbar

#438812

Thank you very much for your help! :) You rock!

#438816

adsenceur9.th.png

Manage

Upload hack

zerofh1.th.png

zero2ls8.th.png

Hey jim2,

This is something I've been looking for for a long time. It works perfectly for people who login. But how can I make it run for guests??

#442847

"But how can I make it run for guests??"

Sorry, I don't know

I have hack mod for guess only for "Archive"

archiveza4.th.png

#443081

Its easy to make anything Guest only... look at the post I made in this thread earlier.

Just wrap any bit of code you want (in templates) in this if statement and it'll only show up to guests.

Code

#443084

Its easy to make anything Guest only... look at the post I made in this thread earlier.

Just wrap any bit of code you want (in templates) in this if statement and it'll only show up to guests.

Code

is possible for id groups

example, only for id=3

how to? and wthat's template

FORUMHOME?

where?

$header

$navbar

HERE?

Code

#443103

You can use something like this

<if condition="is_member_of($bbuserinfo,1,3,7)">

Where 1 3 and 7 are usergroup id's.

(EXAMPLE not actual group id's for these groups)

1 = members

3 = mods

7 = admins

So if I used that ifstatement above it'll show content for ONLY those usergroups, if you want to show content for everyone BUT those groups, you need to put a ! in front of it so "is_member_of would be "!is_member_of

Read the posts in this thread, I've pretty much told you guys how to add google ads like on this site.

#443119

Ohh

I don't see google ads in your forum login my id

Only i see if guess

Thanks very much, you're muy rock

#443176