Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-20-2012, 01:06 PM
dsantana dsantana is offline
 
Join Date: Dec 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 07-20-2012, 04:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 07-20-2012, 04:36 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 07-20-2012, 05:46 PM
Sarteck's Avatar
Sarteck Sarteck is offline
 
Join Date: Mar 2008
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 07-20-2012, 06:42 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked fine for me in firefox, maybe Sarteck has some add-ons preventing him seeing the stuff
Reply With Quote
  #6  
Old 07-20-2012, 10:40 PM
Sarteck's Avatar
Sarteck Sarteck is offline
 
Join Date: Mar 2008
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup. you're right; I disabled AdBlock and it showed.
Reply With Quote
  #7  
Old 07-21-2012, 01:29 AM
dsantana dsantana is offline
 
Join Date: Dec 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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?
Reply With Quote
  #8  
Old 07-22-2012, 06:08 PM
dsantana dsantana is offline
 
Join Date: Dec 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a mod for 4.2 to use that Heart with the "I like it" option?
Reply With Quote
  #9  
Old 07-22-2012, 06:19 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just search for like thread titles only

EDIT: https://vborg.vbsupport.ru/showthread.php?t=243510
Reply With Quote
  #10  
Old 07-22-2012, 06:43 PM
yamahapaul's Avatar
yamahapaul yamahapaul is offline
 
Join Date: Aug 2008
Location: UK
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dsantana View Post
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
Attached Images
File Type: jpg Capture thanks.jpg (68.9 KB, 0 views)
Reply With Quote
Благодарность от:
dsantana
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07168 seconds
  • Memory Usage 2,288KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete