The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#12
|
|||
|
|||
im gona try this
|
#13
|
|||
|
|||
you have to change the name of the file that the update button refers to. it refers to admin_adsense.php but it the file is named adsese_admin.php
i just renamed the file and the reference to it in the xml file How does this thing work. how do i know its working for my members. and what exactly are channels? |
#14
|
|||
|
|||
Thanks for notice the error,
Please read the readme.txt file and do the needfull. channels are used by the google adsense, if you want to trace the imp. and click, you can track it with channels. Regards Jitender |
#15
|
|||
|
|||
The readme file refers to a few files that are not in the archive.
7. upload clicksor_share.php to /admincp 8. upload cpnav to /includes/xml also the form in the ACP refers to admin_adsense.php the actual file is adsense_admin.php just rename the file. |
#16
|
|||
|
|||
in the readme you add this code:
Code:
<if condition="$post[postcount] == 1"> <if condition="THIS_SCRIPT == 'showthread'AND ($post[postid] == $GLOBALS['qrfirstpostid']) AND (!$show[member] OR $bbuserinfo[usergroupid] == 2)"> <if condition="$show['spacer']"> $spacer_open <div style="padding:0px 0px $stylevar[cellpadding]px 0px"> </if> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead" $scrolltothis style="font-weight:normal"> Revenue Sharing Ads ( <a href="./showthread.php?p=POSTID">?</a>):</td> </tr> <tr> <td class="alt1" style="padding:0px"> <div class="smallfont" align="center"> <script type="text/javascript"><!-- google_ad_client = "$post[ad_client_id]"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_channel ="$post[ad_channel]"; google_color_border = "F6F6F6"; google_color_bg = "F6F6F6"; google_color_link = "000000"; google_color_url = "666666"; google_color_text = "333333"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> </td> </tr> </table> <if condition="$show['spacer']"> </div> $spacer_close </if> </if></if> |
#17
|
|||
|
|||
This hack really should be a plugin to negate the need for file edits.
Attached is a plug-in for anyone who does not wish to edit their files. In the plug-in code I have also added a check to make sure adsense adverts are never served to members with their own publisher-id (to prevent them clicking their own ads and violating google's t&c) You must also carry out the instructions as indicated in the hack download, but just import this plugin (NOT product) in place of the bit invloving hacking apart showthread.php Make sure you EDIT the plug-in to change the profile field numbers to the ones you are using. webmastershome: Please feel free to incorporate this into your hack/zip |
#18
|
|||
|
|||
Is this the same hack as http://www.keyconcept.org/vbulletin-...aring-hack-mod ?
|
#19
|
|||
|
|||
Not the same, but it's almost identical. oh...... and it's free
|
#20
|
|||
|
|||
Thanks rob30UK,
i will add this in new version.. |
#21
|
|||
|
|||
Secondly, you may wish to add the code to showpost....
Search engines can and do index showpost pages (if you allow them to).... this way there is also the incentive to reply to posts as well as start threads. In addition, it would be great to have them added to the archive 'thread view' pages because a heck of a lot of traffic comes in via the archives. You may also wish to let the client ID be taken from second post, third post, etc, etc until a clientID is found (not everyone fills it in) and then use that ID along with the boards own ID in a 50/50 formula. Just a suggestion because right now this mod is very basic, but it could be GREAT! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|