vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Anyone know how to copy this code??? (https://vborg.vbsupport.ru/showthread.php?t=285758)

dsantana 07-20-2012 01:06 PM

Anyone know how to copy this code???
 
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
PHP Code:

  <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

Quote:

Originally Posted by Lynne (Post 2349870)
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 [DATE]1342881238[/DATE] at [TIME]1342881238[/TIME] ---------------

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

1 Attachment(s)
Quote:

Originally Posted by dsantana (Post 2350510)
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/mi...oundaries.html

and the like button blends better with VB 4.2 as shown in the pic attached


All times are GMT. The time now is 10:09 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
  • Page Generation 0.01107 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete