![]() |
Adsense below the last thread
I made this to fill a request. This is designed to use the 234x60 Half Banner or 468 x 60 Banner.
At the moment it is set to display for guests and unconfirmed accounts only. You can change this by changing the is_member_of line. 1. Edit your FORUMDISPLAY Template and find: PHP Code:
PHP Code:
|
very awesome idea. thanks for fulfilling the request, and whoever came up with it. this should get a lotta click thru's
thanks!~ |
great idea, and works great!!
*clicks install :) |
Thank you so much ;)
|
I want it to show for guest and resistered members and users awaiting email confirmation.
What would I change the conditional too, thanks On a side note, what template is the one that would need to be modified to edit the bottom of the forum to put a banner there, as the navbar does the top, but i cant remember the other one. Thanks if you can help me on these 2 questions. |
I think it may be against google's AUP to have 'sponsored link' in that right column.
just put a dash (-) in each column as you have with a forum link on forum home. |
Quote:
|
That's much better!
|
if mods can see your ad
replace Code:
<td class="alt1" align="center"></td> Code:
<td class="alt1" align="center"></td> |
Quote:
Quote:
|
Quote:
the thread has been updated. Quote:
PHP Code:
PHP Code:
Quote:
however, it is not advisable to put adsense in the navbar or footer templates unless you have a conditional set to hide the ads on non-content-based pages (such as newthread, your user control panel, etc). if you are showing the ads in non-content pages you are violating the Adsense guidelines. |
Has this been confirmed to work with "click for quick reply"?
This happened to be an issue with AJAX when using adsense and "click for quick reply" Quick reply would not work. |
Quote:
|
Quote:
Thankyou, and I may need to lookinto that conditional, as i Have a few adds that I put in my navbar that show on everypage, i may need to edit that before any of my advertisers find out ^^ thanks for the info |
Suggestion
Would it be possible to also show this banner as last thread in a search result? I think that would also be a nice place for a banner :D |
Very nice, installed! Is it possible to display this not at the end of the forumdisplay listing, but at the beginning? What would the resulting code look like then?
I believe the CTR would increase that way. |
But most likely your members would hate it
|
Quote:
Members would not get to see it, I have it set for unregistered or unconfirmed members only. |
Quote:
add the code after the following: PHP Code:
|
Quote:
Fantastic, thank you Moparx! |
Quote:
Let me know if you find out because I have the code ready to post for you if it's allowed. |
I can't get it to work at all.
|
Quote:
|
apologies
<--newbie is_member_of _Usergroup or (USERGROUP, 1,2)? +<if+condition="is_member_of($bbuserinfo,+1,2)"> |
Quote:
PHP Code:
|
i have gone to remove this and i got this error
The following error occurred when attempting to evaluate this template: Parse error: parse error, unexpected '\"', expecting ']' in /home/hrportal/public_html/forum/includes/adminfunctions_template.php(3519) : eval()'d code on line 475 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. |
that means you left part of a conditional in the code. go through the template & make sure that <if condition="is_member_of($bbuserinfo, x,y)"> and </if> were properly removed.
|
How would I make it so the google ads show up after so many threads?
|
Hi
How would i do this so that when the size of the window gets made bigger or smaller the imagig changes size to match please, as this is making the forum too wide???? Regards Bashy |
Quote:
|
Hi,
is there a variation of this hack so instead of having it displayed at the bottom, it would be displayed after XX threads starting from the top ? Thanks, Sharg |
Sorry for the late response. I'll see what I can come up with for you :)
|
Quote:
M |
Is it possible to put this in the New Posts search?
|
Installed...thanks Moparx! :)
I've placed it both above the first thread and below the last thread using the 468 x 60 Banner... it will be interesting to see how it goes. Thanks again Clancy |
I would like to show it maybe in the missle of the thread list. How can this be achieved???
|
What code do I need if I want to install this on 3.5.3? Is it the same coding or do I change anything? I would like for the ad to show below the FIRST post of a thread and below the LAST post of a thread on each page.
Thanks |
Quote:
|
I did what you said, but the ads are not showing up anywhere. Here is my FORUMDISPLAY code
PHP Code:
And you can look and see that it doesn't show up at all by going to the page at www.runeescape.com/Escape also Where would I insert the code if I wanted to have it show after the LAST POST in a thread but BEFORE the footer? |
I tend to agree with some of the other posters, the code simply doesn't work.
|
All times are GMT. The time now is 04:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|