Adsense in last thread of search results
This modification is in the archives.
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']"> <script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js"></script> <script type="text/javascript"> <!-- vB_AJAX_Threadlist_Init('threadslist'); //--> </script> </if> </if> Add below Code:
<if condition="is_member_of($bbuserinfo, 1,2)"> <tr> <td height="60" class="alt1"> <img src="$stylevar[imgdir_statusicon]/image.gif" alt="" border="" /> </td> <td height="60" align="center" class="alt2"> </td> <td height="60" align="center" class="alt1"> <div> **YOUR ADSENSE CODE HERE** </div> </td> <td height="60" align="center" class="alt2 smallfont">Sponsored Link</td> <td height="60" align="center" class="alt1"></td> <td height="60" align="center" class="alt2"></td> <if condition="$show['inlinemod']"><td height="60" align="center" class="alt1"></td> </if> </tr> </if> Change this line to set usergroup permission Code:
<if condition="is_member_of($bbuserinfo, 1,2)"> Download No files for download. |