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

Reply
 
Thread Tools Display Modes
  #1  
Old 07-14-2011, 02:13 AM
techanalyst techanalyst is offline
 
Join Date: Jun 2011
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help Fixing Script for VB 4.1.4

Im using reinvigorate and I simply cant get it working right, anyone able to look at the script and tell me what im doing wrong?

Im trying to get this working, with invigorates advanced code plus username tracking, anyhelp would be awesome, is the below code right?

Code:
<vb:literal><script type="text/javascript" src="http://include.reinvigorate.net/re_.js"></script>
<script type="text/javascript">
try {
reinvigorate.url_filter = function (url) { return url; }
reinvigorate.track("XXXXXXXXX");
} catch(err) {}
</script></vb:literal>

<vb:literal><script type="text/javascript" src="http://include.reinvigorate.net/re_.js"></script>
<script type="text/javascript">
try {
var re_name_tag = "</vb:literal>{vb:raw bbuserinfo.username}<vb:literal>";
reinvigorate.track("XXXXXXXXXX");
} catch(err) {}
</script></vb:literal>
Reply With Quote
  #2  
Old 07-14-2011, 02:27 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's very hard to read code when you don't put it in code tags.

Also, you said nothing about where you added this code - exactly! And, what goes in the xxxxxx place? And what exactly is not working? What exactly is the result?

We need more information from you in order to help.
Reply With Quote
  #3  
Old 07-14-2011, 02:29 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have an extra bracket in your first line of code as well...

Code:
<vb:literal><<script type="t
Reply With Quote
  #4  
Old 07-14-2011, 09:55 AM
techanalyst techanalyst is offline
 
Join Date: Jun 2011
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im trying to get this working, with invigorates advanced code plus username tracking, anyhelp would be awesome, is the below code right?

Code:
<vb:literal><script type="text/javascript" src="http://include.reinvigorate.net/re_.js"></script>
<script type="text/javascript">
try {
reinvigorate.url_filter = function (url) { return url; }
reinvigorate.track("XXXXXXXXX");
} catch(err) {}
</script></vb:literal>

<vb:literal><script type="text/javascript" src="http://include.reinvigorate.net/re_.js"></script>
<script type="text/javascript">
try {
var re_name_tag = "</vb:literal>{vb:raw bbuserinfo.username}<vb:literal>";
reinvigorate.track("XXXXXXXXXX");
} catch(err) {}
</script></vb:literal>
I fixed that previously but still doesnt seem to work
Reply With Quote
  #5  
Old 07-14-2011, 11:45 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Put your code inside code tags please.
Reply With Quote
  #6  
Old 07-14-2011, 12:42 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Place it in one of the footer ad_location templates.. or place it directly in the footer.
Reply With Quote
  #7  
Old 07-14-2011, 06:50 PM
techanalyst techanalyst is offline
 
Join Date: Jun 2011
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Put your code inside code tags please.
Thanks for the response

What do you mean the code tags?

--------------- Added [DATE]1310673055[/DATE] at [TIME]1310673055[/TIME] ---------------

Quote:
Originally Posted by Brandon Sheley View Post
Place it in one of the footer ad_location templates.. or place it directly in the footer.
Thats how Ive been doing it
Reply With Quote
  #8  
Old 07-14-2011, 07:36 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by techanalyst View Post
Thanks for the response

What do you mean the code tags?
[CODE.]YOUR POSTED CODE HERE[./CODE] (obviously without the ".")
Reply With Quote
  #9  
Old 07-14-2011, 07:37 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by techanalyst View Post

What do you mean the code tags?
What Paul means is that when you post code it would be better to place it inside the code bb tags. For example:

Code:
Code posted inside code tags

Quote:
Originally Posted by techanalyst View Post


Thats how Ive been doing it
Where exactly and how have you added it? The best place to add it would be at the very bottom of the fotter template.
Reply With Quote
  #10  
Old 07-14-2011, 07:44 PM
techanalyst techanalyst is offline
 
Join Date: Jun 2011
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by borbole View Post
What Paul means is that when you post code it would be better to place it inside the code bb tags. For example:

Code:
Code posted inside code tags



Where exactly and how have you added it? The best place to add it would be at the very bottom of the fotter template.
Foot exactly as I have it above, its for invigorate but it doesnt do anything, should it be in div tags etc?
Reply With Quote
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 02:02 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.04386 seconds
  • Memory Usage 2,276KB
  • 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
  • (5)bbcode_code
  • (6)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
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete