View Full Version : Anyone know how to copy this code???
dsantana
07-20-2012, 01:06 PM
Check out the right side of this forum...
The "Stuff you should buy!" side block with the random ads...
I want to replicate this and just can't figure it out...
http://www.performanceboats.com/forum.php
Lynne
07-20-2012, 04:27 PM
Did you look at the page source? It's just javascript. I would guess he added some .js file in the headincludes that includes the javascript function. So, view the page source and I'm sure you'll find it.
Simon Lloyd
07-20-2012, 04:36 PM
It's just his google add stuff zoned <script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'> </script> <script type='text/javascript'>
GS_googleAddAdSenseService("ca-pub-xxxxxxxxxxxxx");
GS_googleEnableAllServices();
</script> <script type='text/javascript'>
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-1");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-1-b");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-1-c");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-1-d");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-1-e");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-1-f");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-1-g");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-1-h");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-1-i");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-1-j");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-1-k");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-2-a");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-2-b");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-2-c");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-2-d");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-2-e");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-3");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-3-Bottom");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-3-Jet");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-4");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-4-Jet");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-5");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-5-Second");
GA_googleAddSlot("ca-pub-xxxxxxxxxxxxx", "Zone-6");
</script> <script type='text/javascript'>
GA_googleFetchAds();
</script>
Sarteck
07-20-2012, 05:46 PM
Nothing displays in that for me on that site, and I get a bunch of JavaScript errors saying stuff doesn't exist. (Using FireFox 13.0 on Ubuntu.)
Just a warning if you do decide to use it--if it doesn't work on my browser, chances are it won't work on quite a few others as well. XD
Simon Lloyd
07-20-2012, 06:42 PM
Worked fine for me in firefox, maybe Sarteck has some add-ons preventing him seeing the stuff :)
Sarteck
07-20-2012, 10:40 PM
Yup. you're right; I disabled AdBlock and it showed.
dsantana
07-21-2012, 01:29 AM
Did you look at the page source? It's just javascript. I would guess he added some .js file in the headincludes that includes the javascript function. So, view the page source and I'm sure you'll find it.
I see what you mean... I saw it, but I'm sorry though because I just don't know what to do with it...
--------------- Added 1342881238 at 1342881238 ---------------
Is there a mod for 4.2 to use that Heart with the "I like this post" option?
dsantana
07-22-2012, 06:08 PM
Is there a mod for 4.2 to use that Heart with the "I like it" option?
Simon Lloyd
07-22-2012, 06:19 PM
just search for like thread titles only
EDIT: https://vborg.vbsupport.ru/showthread.php?t=243510
yamahapaul
07-22-2012, 06:43 PM
Is there a mod for 4.2 to use that Heart with the "I like it" option?
Try this-
https://vborg.vbsupport.ru/showthread.php?t=231666
which looks like this-
http://www.midlandsheritage.co.uk/midlands-heritage-boundary/1961-guide-forum-boundaries.html
and the like button blends better with VB 4.2 as shown in the pic attached
dsantana
07-22-2012, 09:10 PM
Thanks!!! That's what I was looking for...
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.