![]() |
Adsense in last thread of search results
I saw some people asking for this so here it is...quick and painless.
In template search_results find: Code:
<if condition="$show['ajax_js']"> Add below Code:
<if condition="is_member_of($bbuserinfo, 1,2)"> Change this line to set usergroup permission Code:
<if condition="is_member_of($bbuserinfo, 1,2)"> |
|
installed
|
Thanks for this!! How if i would like to have this as the first result in the search results? Thanks in advance.
|
Edit: Nevemind did that myself. Thanks for a nice addon.
|
If I want everyone to get the ad at the end of the search results, do I need the user group permission line at all?
|
Quote:
No just get rid of the code Code:
<if condition="is_member_of($bbuserinfo, 1,2)"> |
Quote:
|
nice,and you should add this;(bold)
Code:
<td height="60" align="center" class="alt1"></td> |
Fanstatic INSTALLED
|
Thanks for the mod.
Installing but I have no idea why the template page 'hands' (Loading...) when I add the content and try to save. |
Fixed the problem. Great template hack.
Quote:
|
Will this actually pull up proper adsense ads relavent to the search results? I thought adsense needed fairly static content to gather information for ads.
-vissa |
Mhm are you sure that this hack don't violate Adsense policy?
I'm fear to be banned for this. Users could become confused and click on adsense links thinking they are regular forum results. Of course this would probably be unuseful click for the publisher. |
installed...
but your hack use wrong template when showing search result as post. could you please fix it? |
I don't see any ad in the last search result - just a blank box with no ad and the "sponsored links" text next to it.
in template search_results I looked for: PHP Code:
PHP Code:
|
Did you ever get this debugged, what was the root cause for it not displaying Adsense?
One of the Posters feared it violated Google Adsense rules, do you think it does, or does not? |
All times are GMT. The time now is 06:07 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:
|