vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - Collapsable user info (https://vborg.vbsupport.ru/showthread.php?t=188411)

mad@Max 08-17-2008 10:00 PM

Collapsable user info
 
This mod is cast here by it DI - BBCode [spoiler].

Installation is simple:
Upload all files from a folder upload in a root of a forum and to import a product.

History:
  • 1.0 - public release
  • 1.1 - added option choose collapse userinfo or not
  • 1.1.1 - working in PM too, bug fix
  • 1.1.2 - fixed path to jQuery,fixed little bit errors
  • 1.2 - fixed work with individual field of the user
  • 1.3 - finally fixed to work with individual fields of the users :)
  • 1.4
    • fixed ajax issue
    • loading jQuery happens only after first click
  • 1.4.1 - fixed some bugs, removed get-min.js (written own loader)

Troubleshooting
If to happen so, that together with the information of the user has collapse also its avatars (:)) then open a template postbit_legacy, find $template_hook [postbit_userinfo_left] and move it below a condition
HTML Code:

                        <if condition="$show['avatar']">
                                <div class="smallfont">
                                        &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                                </div>
                        </if>


DEMO


PS sorry for English:D

mad@Max 08-18-2008 12:20 PM

In new version fixed working mod without additional field, and add collapse in PM:)

Peterpan002 08-18-2008 12:50 PM

Will this work with postbit as well as legacy? Any other changes other than editing the postbit template rather than postbit_legacy template.

Peterpan002 08-19-2008 08:54 AM

I followed instructions for postbit legacy but the user info does not open a drop box and just the IM icons show?

Peterpan002 08-19-2008 09:51 AM

I moved the $template_hook[postbit_userinfo_right] position to below the IM icon display codes and that solves one problem. However the user info bock does not open and so now now additional information can be seen.

Is this mod supported?

mad@Max 08-19-2008 08:12 PM

Yes, supported:)
Mod is replace 2 variables: $template_hook[postbit_userinfo_left] (as starting tag collapse) and $template_hook[postbit_userinfo_right] (as ending tag collapse). So if you have not default style, put first variable under condition about avatar and second variable under $post[icqicon] $post[aimicon] and etc.
Soon i'm rebuild mod for postbit (not legacy) mode.

Magnumutz 08-20-2008 08:49 AM

This looks promising... will install later :)

Peterpan002 08-20-2008 09:02 AM

Quote:

Originally Posted by mad@Max (Post 1602574)
Yes, supported:)
Mod is replace 2 variables: $template_hook[postbit_userinfo_left] (as starting tag collapse) and $template_hook[postbit_userinfo_right] (as ending tag collapse). So if you have not default style, put first variable under condition about avatar and second variable under $post[icqicon] $post[aimicon] and etc.
Soon i'm rebuild mod for postbit (not legacy) mode.

Yes I understand that and as previously posted have moved the 2 variables within the template. This has resulted in the information being contained within the box, but the box drop open is not working.

mad@Max 08-21-2008 12:50 PM

In version 1.1.2 added collapse for postbit mode.
Peterpan002, its not can be:) Say address your board in my pm, i will see.

Peterpan002 08-21-2008 03:29 PM

I have installed on test site on my pc so no access possible. I have redone but same problem


All times are GMT. The time now is 09:14 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.01210 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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