![]() |
Replace "Display Options" In Forum Display With "Google Adsense"
1 Attachment(s)
I searched all over Vb org for a mod to replace "display options" with a google ad in Forum Display. Sorry if there is some sort of mod out there, but i couldnt find one.
Im not sure if this mod will be at any use to anyone, but i wanted it, i seen it on a forum while searching the net. What i came up with was not spot on the same as the forum i seen it at, but i came damn close to it, if not spot on. Im also not sure if my code is %100 perfect but i have tested on IE and FF and it works like a charm. First you need to install kira's modification, Big thanks to him/her for that mod. After you have finished installing kira's mod, NEXT, Find In Forum Display Templates >> FORUMDISPLAY Code:
<!-- Simplified Active Users in this Forum (and sub-forums) and Moderators --> AND REPLACE THE ABOVE CODE WITH THIS: Code:
<!-- Active Users in this Forum (and sub-forums) and Moderators --> Replace Your Adsense Code With The Part In The Red. I am using a (336 x 280) google ad, so if you want to put in say a (468x60) ad, find in the code above: Code:
<td class="alt1" width="340"> Code:
<td class="alt1" width="470"> sorry if the code is a bit messy, i had to add the <div> tags around the google ad to make it display with IE :rolleyes: Anyway, just thought i'd share this, a good coder would have worked this out quick, but took me ages lol. cheers. DEMO: Teen Forums Screen Shot Below. P.S I Am Currently Running Vbulletin 3.8.7. |
Thanks for the tips. This will come in handy!
|
thank you
|
All times are GMT. The time now is 06:40 AM. |
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:
|