It appears you have not yet registered with our community. To register please click here...

vbulletin-skins-forum
| Discussions: 2,538 | Messages: 7,331 | Members: 8,240 | Online: 24 | Newest : HellogsCorn (Welcome!)
Logo
All times are GMT -5. The time now is 07:58 AM.

Go Back   Forums Help - vBulletin, IPB, phpBB, SMF skins and community > Forum Areas > vBulletin Area > VB Technical Talk

VB Technical Talk The place to talk about vBulletin technical stuff

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 04-21-2007, 11:15 AM   #1 (permalink)
User Profile
beastybob
Junior Member
 

Join Date: Apr 2007
Age: 23
Posts: 3
Total Points: 189
Donate
My Photos: (0)
Adsense placment question

I'm trying to get my adsense to show at the bottom of the first post in a thread and the last post of each page.

I have got it displayed below the first post fine but I can not make it show on the last post of each page I can only get it to show on the last post of each thread.

I'm using this code:
Code:
<if condition="($post[islastshown] and $post[postcount] % $vboptions[maxposts] > 1 and !$GLOBALS[’vbulletin’]->GPC[’ajax’])">
    <div style="padding:6px 0px 0px 0px;margin-top:4px;">

    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
        <td class="thead" align="left">Sponsored Links</td>
    </tr>
    <tr>
        <td class="alt1" align="center">
        <br />
<my adsens code>
        </td>
    </tr>
    </table>

    </div>
Anyone know what I'm doing wrong?

My forum if it helps : Feed The Geeks - Technology News and Reviews Forum

Thanks
beastybob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-25-2007, 06:04 PM   #2 (permalink)
User Profile
ForumsHelp
Senior Member
 
ForumsHelp's Avatar
 

Join Date: Apr 2006
Age: 32
Posts: 968
Total Points: 295,344
Donate
My Photos: (1)
My Mood:
Send a message via ICQ to ForumsHelp Send a message via AIM to ForumsHelp Send a message via MSN to ForumsHelp Send a message via Skype™ to ForumsHelp
Can I ask what's the "</br>" tag for? the one just above your adsense code
ForumsHelp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-28-2007, 12:48 PM   #3 (permalink)
User Profile
beastybob
Junior Member
 

Join Date: Apr 2007
Age: 23
Posts: 3
Total Points: 189
Donate
My Photos: (0)
To be honest i have no idea why it's there. I haven't noticed it before. I must have been trying something an forgot to remove it
beastybob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-28-2007, 03:16 PM   #4 (permalink)
User Profile
ForumsHelp
Senior Member
 
ForumsHelp's Avatar
 

Join Date: Apr 2006
Age: 32
Posts: 968
Total Points: 295,344
Donate
My Photos: (1)
My Mood:
Send a message via ICQ to ForumsHelp Send a message via AIM to ForumsHelp Send a message via MSN to ForumsHelp Send a message via Skype™ to ForumsHelp
Try to alter your first line (if statment) to:
Quote:
<if condition="(($post[postcount]==1) or ($post[islastshown] and !$GLOBALS['vbulletin']->GPC['ajax']))">
ForumsHelp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-30-2007, 02:31 AM   #5 (permalink)
User Profile
beastybob
Junior Member
 

Join Date: Apr 2007
Age: 23
Posts: 3
Total Points: 189
Donate
My Photos: (0)
You are an absolute legend,

Not only did that put the adsense down the bottom but also put it at the top as well.

I had 1 bit of code for each lot of adsense. This does all of them in one.

Thank you very much
beastybob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-30-2007, 10:35 AM   #6 (permalink)
User Profile
ForumsHelp
Senior Member
 
ForumsHelp's Avatar
 

Join Date: Apr 2006
Age: 32
Posts: 968
Total Points: 295,344
Donate
My Photos: (1)
My Mood:
Send a message via ICQ to ForumsHelp Send a message via AIM to ForumsHelp Send a message via MSN to ForumsHelp Send a message via Skype™ to ForumsHelp
Glad that it worked for your
ForumsHelp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1
Points Per Thread: 15
Points Per Reply: 5



Links: Babyforum.com | Deejayforum.com | Hometalkcafe.com | Equineboard.com | Evboard.com


Forums Help: Forum Skin Design and Professional Services RSS Feeds



Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
Forums Help - All Rights Reserved