DrewM
04-22-2006, 10:00 PM
//==========================\\
//Quick Profile Pup-up from postbit
//by Larrysw
//==========================\\
What does this do?
It adds a link in the postbit to open the users profile with out the header, nava bar, and footer.
Install
////////////////////////////////////////////////////////
Upload the product.
////////////////////////////////////////////////////////
Template Modifications
In the postbit_legacy or postbit template find:
<!-- post #$post[postid] -->
above that add:
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
then find:
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
below add:
<if condition="$show['profile']">
<tr><td class="vbmenu_option" onClick="MM_openBrWindow('member.php?$session[sessionurl]u=$post[userid]&do=quickprofile','','scrollbars=yes,width=600,heig ht=600')">Quick Profile</td></tr>
</if>
Close and save
/////////////////////////////////////////////////////////
In the MEMBERINFO template find:
$navbar
and replace with:
<if condition="$show['nava'] == false">
<!-- no nava bar --->
<else />
$navbar
</if>
Close and save
Done!
*Support Info
Support is only given to those who Click install!
//Quick Profile Pup-up from postbit
//by Larrysw
//==========================\\
What does this do?
It adds a link in the postbit to open the users profile with out the header, nava bar, and footer.
Install
////////////////////////////////////////////////////////
Upload the product.
////////////////////////////////////////////////////////
Template Modifications
In the postbit_legacy or postbit template find:
<!-- post #$post[postid] -->
above that add:
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
then find:
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
below add:
<if condition="$show['profile']">
<tr><td class="vbmenu_option" onClick="MM_openBrWindow('member.php?$session[sessionurl]u=$post[userid]&do=quickprofile','','scrollbars=yes,width=600,heig ht=600')">Quick Profile</td></tr>
</if>
Close and save
/////////////////////////////////////////////////////////
In the MEMBERINFO template find:
$navbar
and replace with:
<if condition="$show['nava'] == false">
<!-- no nava bar --->
<else />
$navbar
</if>
Close and save
Done!
*Support Info
Support is only given to those who Click install!