PDA

View Full Version : Quick Profile v1.0.2


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!

Atakan KOC
04-22-2006, 11:18 PM
Screen Pls.

DrewM
04-22-2006, 11:26 PM
sure just a sec.

DrewM
04-22-2006, 11:36 PM
it's there

Bandit8007
04-23-2006, 02:35 AM
Works perfect. Thanks!

Exitilus
04-30-2006, 02:58 AM
I've just noticed that it's completed removed the Nav Bar anytime you view a Profile. Regardless whether you use the Quick Profile

FunaGuy
04-30-2006, 08:17 AM
Install

Zia
04-30-2006, 09:20 AM
profile signature,vbux option etc etc...shown in scrn.shot
every option is included in this hack ?

DrewM
04-30-2006, 09:39 AM
profile signature,vbux option etc etc...shown in scrn.shot
every option is included in this hack ?
it just shows the members info templeat for what ever changes you made.


#Exitilus: Will update same problem!

moonclamp
04-30-2006, 04:08 PM
Great idea ... but what happens if you click links within the profile pop-up?

Will they still be constrained within the pop-up dimensions? (600x600/no toolbars) or will they break free?

DrewM
04-30-2006, 04:47 PM
it would stay in 600 by 600 (or what ever) with nothing.

alshehi
04-30-2006, 05:49 PM
oh thank you

its very very good

thank you

DrewM
04-30-2006, 09:31 PM
well thanks for this but please click the install.

DrewM
05-07-2006, 08:25 PM
UPDATE: the nava bar now does show up on the regular profile but doesn't in the pup-up