midPhase Web Hosting - $7.95/month - 500 GB B/W!
 
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read Web Directory

Go Back   Webmaster Forum > Designing and Developing Websites > Programming

Programming Discussions and help on web programming and scripting, PHP, ASP, ColdFusion, Ajax, Perl, etc...

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-15-2008, 11:27 PM
five-of-eight five-of-eight is offline
WMG Newcomer
 
Join Date: Jan 2008
Location: Delta Quadrant
Posts: 27
iTrader: (0)
five-of-eight is on a distinguished road
Send a message via MSN to five-of-eight
Question Reinvigorate name tags in MyBB

Hey all,

I'm wondering, does anyone know how to use name tags in Invigorate with MyBB. They gave the following sample code, but I'm not sure how to do it:

Code:
<script type="text/javascript" src="http://include.reinvigorate.net/re_.js"></script>
<script type="text/javascript">
var re_name_tag = "<?php
echo $is_logged_in ? $username : "";
?>";
re_("<snip>");
</script>
so would it be

Code:
<script type="text/javascript" src="http://include.reinvigorate.net/re_.js"></script>
<script type="text/javascript">
var re_name_tag = "
<?php
define inmybb(1)
$mybb->user['username'] = $username;
?>";
re_("<snip>");
</script>
Cheers,
Matt
__________________
Talk about the next version of Windows: http://www.windows7forums.com
Reply With Quote
Sponsored Links
Register and sign in to hide this ad block

Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT. The time now is 12:57 PM.



Freelance Web Designers
Work At Home Forum
Ad Marketplace
Online Deals and Bargains
HostGator Hosting Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0