vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Quick Profile v1.0.2 (https://vborg.vbsupport.ru/showthread.php?t=113794)

DrewM 04-22-2006 10:00 PM

Quick Profile v1.0.2
 
//==========================\\
//Quick Profile Pup-up from postbit
//by Larrysw
//==========================\\

[high]What does this do?[/high]
It adds a link in the postbit to open the users profile with out the header, nava bar, and footer.

[high]Install[/high]
////////////////////////////////////////////////////////
Upload the product.
////////////////////////////////////////////////////////
Template Modifications
In the postbit_legacy or postbit template find:
HTML Code:

<!-- post #$post[postid] -->
above that add:
HTML Code:

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

</script>

then find:
HTML Code:

        <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:
HTML Code:

        <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,height=600')">Quick Profile</td></tr>
        </if>

Close and save
/////////////////////////////////////////////////////////
In the MEMBERINFO template find:
HTML Code:

$navbar
and replace with:
HTML Code:

<if condition="$show['nava'] == false">
<!-- no nava bar --->
<else />
$navbar
</if>

Close and save

Done!

[high]*Support Info[/high]
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

Quote:

Originally Posted by Zia
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?


All times are GMT. The time now is 10:28 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.01156 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete