Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
User Info Collapsable Postbit in Legacy Details »»
User Info Collapsable Postbit in Legacy
Version: 1.00, by Cyricx Cyricx is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Version: 3.5.7 Rating:
Released: 08-10-2005 Last Update: 02-07-2007 Installs: 39
Uses Plugins Template Edits
Code Changes  
No support by the author.

This hack was originally released by Steve St.Lauren for vb3.0.x in this thread -


https://vborg.vbsupport.ru/showthread.php?t=68043

This is a port of that hack and ALL credit goes to Steve for this modification. I did nothing more then make one of the edits a plugin and add a phrase.

Please click da instally thinga magigy

O and you won't have to clear any cookies for this to work, or for it to remember your settings.

Things To Do:
1. Edit /clientscript/vbulletin_global.js (1 modification)
2. Import new product xml
3. Edit postbit_legacy template
4. Edit postbit template


Changes:
  • Version 1.1.0
    • Fixes bug with code not working in private messages
    • Adds instructions for modifying the postbit (horizontal) template as well.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 06-19-2006, 05:22 PM
Surviver's Avatar
Surviver Surviver is offline
 
Join Date: Feb 2006
Location: Bonn, Germany
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for this Hack

I have a question to this Hack: How can I use it in PM's too ?

I've edited the template, but then you cannot Collaps it.

Thank you ver ymuch !

mfg Surviver
Reply With Quote
  #33  
Old 11-19-2006, 05:05 AM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a very good function.

I would like to alter some font size such as the Additional Info. How do I make the Additional Info frame with smaller font size?

TIA

Reply With Quote
  #34  
Old 11-30-2006, 06:28 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight View Post
The fix is actually quite simple..
PMs don't use the $post[postcount] figure, so just create a false one. I used 99..

My button code:
Code:
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapseuserinfo('postbit_legacy_userinfo<if condition="THIS_SCRIPT == 'private'">99<else />$post[postcount]</if>')"><img id="collapseimg_postbit_legacy_userinfo<if condition="THIS_SCRIPT == 'private'">99<else />$post[postcount]</if>" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_postbit_legacy_userinfo].gif" alt="" border="0" /></a>
My tbody code:
Code:
<tbody id="collapseobj_postbit_legacy_userinfo<if condition="THIS_SCRIPT == 'private'">99<else />$post[postcount]</if>" style="$vbcollapse[collapseobj_postbit_legacy_userinfo]">
It seems to work fine for me anyway!

Ive tried this but still cant work.

Any kind soul to assist?

TIA
Reply With Quote
  #35  
Old 12-09-2006, 08:45 AM
Mysticales's Avatar
Mysticales Mysticales is offline
 
Join Date: Oct 2005
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey I am having the same issue he is.. the one where is you use "Quick Reply" after it posts the postbit will show all the additional info regardless if you had it hidden. My guess is this line:
<if condition="THIS_SCRIPT=='showthread' OR THIS_SCRIPT=='showpost'">

Which when you use quick reply, I think its called showthread_quickreply which has nothing linked to it. Thoughts?
Reply With Quote
  #36  
Old 12-09-2006, 05:29 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am still hoping some kind soul can assist this for us.

TIA
Reply With Quote
  #37  
Old 12-10-2006, 12:14 PM
Neutral Singh's Avatar
Neutral Singh Neutral Singh is offline
 
Join Date: Sep 2004
Location: Sikh Philosophy Network
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this plugin installed --> First post on every page of thread.

How can show this collapsable postibt in there? :tired:
Reply With Quote
  #38  
Old 12-11-2006, 02:30 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mysticales View Post
Hey I am having the same issue he is.. the one where is you use "Quick Reply" after it posts the postbit will show all the additional info regardless if you had it hidden. My guess is this line:
<if condition="THIS_SCRIPT=='showthread' OR THIS_SCRIPT=='showpost'">

Which when you use quick reply, I think its called showthread_quickreply which has nothing linked to it. Thoughts?

Thanks , but Does this work?
Reply With Quote
  #39  
Old 02-07-2007, 08:12 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boo!

I'm going to start reviewing this hack as I prepare to install it on a few 3.6 sites I am managing.

I'll look into how to add it in Private messages as well.
Reply With Quote
  #40  
Old 02-07-2007, 08:41 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good news, with some of the code from Oblivion's post above, I was able to get this working in Private messages

Workin on applying it to signatures and mods for both the vertical and horizontal postbit before I release it

Should be released tomorrow
Reply With Quote
  #41  
Old 02-08-2007, 03:24 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cyricx View Post
Good news, with some of the code from Oblivion's post above, I was able to get this working in Private messages

Workin on applying it to signatures and mods for both the vertical and horizontal postbit before I release it

Should be released tomorrow
great! been awaiting for new release on 3.5.4...
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:03 PM.


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.05277 seconds
  • Memory Usage 2,308KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete