Version: 1.00, by Keyser520
Developer Last Online: May 2009
Version: 3.5.3
Rating:
Released: 02-21-2006
Last Update: Never
Installs: 85
No support by the author.
So I've been playing around a bit with my new vb board, and figured out how to make it appear as if the "advertiser" has the second post on every page.
You can play around with the code some more to change some of the messages from the ones I have on there (i.e. posts: location:, etc)
For kicks, I have the "online" icon set to say "Google is online", so change this tag if you want it to say something else.
This was designed for "legacy". I do not know if it works for the new forum layout
You can also ad a custom ad "Avatar" as well. Just replace the "<!-- IF YOU WANT TO GIVE THE AD AN AVATAR, BUT IT HERE -->" with the code for the avatar.
Add this code to the END of your postbit_legacy template
<div class="smallfont"><div class="smallfont">Sponsored posting</div></div>
<div class="smallfont">
<br />
<!-- IF YOU WANT TO GIVE THE AD AN AVATAR, BUT IT HERE -->
</div>
<!-- icon and title -->
<div class="smallfont">
<if condition="$post['title']"><strong>Sponsored...</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
<!-- message -->
<div align="center">
<!--PUT YOUR ADSENSE CODE HERE -->
</div>
<!-- / message -->
I have opened the file postbit_legacy and at the very end of the file (after <!-- / post #$post[postid] -->) - I then added the code and inserted my adsence code. Then looked, but nothing!
so,
I then tried again but moved the code above the <!-- / post #$post[postid] --> - tried again and still nothing!
Nice Nice Nice idea. It works for me when I paste in the postbit. My only question is the image area on the lower left "user_online.gif" does not show a image I want. I even changed the name to "user_onlines.gif" in the code and uploaded my preffered image and nothing. Just the red X. I changed permissions from 644 to 777 and still 0. How do we get an image to appear.
THere are ways to do it in certain forums and to make it the last post etc, but I don't have those conditionals. The other adsense topics address those.
As far as the green "online" image goes, please right click on it and tell me it says the properties are? Or link me to your forum.
Works great, it's a nice personal touch to the site instead of just jamming the ads in. I am also getting the red-box-image-not-uploaded. My site is http://www.interbasket.net and the forums at forums.interbasket.net
Again, great hack... *clicks install
Stuart
P.S. Keyser520, have you emailed Google about whether this is a violation to their terms of service? This is a great install, but I don't want to risk my account being deleted because of it. I've actually taken out the parts that says sponsored posting and replaced it with advertisement, I think that'll help.