Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Postbit Collapser/Arranger Details »»
Postbit Collapser/Arranger
Version: 1.05, by nhawk nhawk is offline
Developer Last Online: May 2021 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.2.0 Rating:
Released: 11-14-2012 Last Update: 01-29-2013 Installs: 45
 
No support by the author.

THIS ADD-ON IS NO LONGER AVAILABLE AND IS NOT SUPPORTED

This add-on makes the text portion of postbits collapsable and allows the selection and arranging of what profile fields will be displayed in postbits.


Features
  • Select which profile fields to display in postbits.
  • Select which standard vB fields to display in postbits.
  • Set the order that the fields will be displayed in.
  • Detects new profile fields and adds them to the postbit order display for selection.
  • Detects deleted profile fields and removes them from the postbit order display.
  • Does not add any database queries to the vB frontend.
  • Adds Local Date and Local Time options to the available fields.
  • Detects and adds Photopost Gallery option to the available fields.
  • Does not affect mods that add to the proper postbit hooks, but those items can not have their order changed.
  • Support for other mods to add their postbits to this add-on so the order they are displayed in can be changed.
  • After editing a post or posting a quick reply, the entire postbit for that post is shown to the member that edited/posted the post.


NOTE: This add-on contains the Local Date/Time code by the late Rob Hindal (Boofo). If a large number of people think this should be removed from this mod I will remove it.

This add-on will not work with any mod that forces the use of the standard vB postbit_legacy template, or with any mod that requires manual editing of the postbit templates.

Known Mods that do this:
  1. [DBTech] Advanced Post Thanks Like v3.0.3 [Lite] (Due to double Blog This Post link)
  2. Info box on Postbit (may work with edits to that mod)
  3. Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO : (Due to manual edits)

A live demo of this can be seen on my site: http://snogssite.com


* INSTALLATION *
-----------------------
1) Upload the contents of the 'upload' folder to your forum's root.
(If your forum's location is http://www.example.com/forums/, the root is /forums/)

2) Import the product XML file (product-pbcollapse.xml) into the Product Manager in AdminCP.

3) Go to ACP->Postbit Collapser->Postbit Display Order and set the fields you want displayed.
The Postbit Collapser will be in the Thread & Posts area of the ACP Menu
Be sure to save the options even if you don't make any changes.
4) Go to ACP->Postbit Collapser->Collapser Settings and turn the system on.

If you want to use a different graphic for the expand/collapse button in postbits change these buttons:
/images/buttons/collapse_40d.png
/images/buttons/collapse_40d_collapsed.png



* History (Changelog) *
------------------------------
1.05 (January 30, 2013)(NO NEED TO IMPORT XML IF YOU ARE RUNNING 1.04, JUST UPLOAD FILES)
- Add support for CompletevB templates that use <div> instead of standard CSS <dt><dd> formatting to do the same thing.

1.04 (January 26, 2013)
- Fix comments not showing on CMS articles.

1.03 (December 18, 2012)
- Fix style detection with vB version 4.1.10.

1.02 (November 29, 2012)
- Fix mobile styles not working.

1.01 (November 23, 2012) (never released on vB.org)
- Added option to arrange and display postbits without collapsing them.
- Added Last Activity and Last Post dates to display options.
- Fix postbit collapser not working with Vault Wiki.

1.0.0 (November 15, 2012)
- Initial Release

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
K4GAP, livenetc

Comments
  #32  
Old 01-20-2013, 06:55 PM
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Location: Sunny Arizona
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent mod, thanks!!!!!
Reply With Quote
Благодарность от:
nhawk
  #33  
Old 01-26-2013, 12:32 AM
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Location: Sunny Arizona
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I may have found a bug. When enabled, my comments on articles won't show. Disabled they do.

Also is there a way to make the country flags work with this? My members are crying and want their flags back.
Reply With Quote
  #34  
Old 01-26-2013, 11:07 AM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GONUMBER6 View Post
I think I may have found a bug. When enabled, my comments on articles won't show. Disabled they do.

Also is there a way to make the country flags work with this? My members are crying and want their flags back.
Yes you did find a bug. Thank you!

I'll have the fix for that out shortly.

Which country flag mod are you using? If it's Boofo's country flags mod, you need to make this change to his 'Country Flags Template Edits' plugin...

Find...
Code:
$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_legacy' : 'postbit';
Replace it with...
Code:
if($vbulletin->options['pbcollapse_offon'])
{
	$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_collapse_legacy' : 'postbit_collpase_postbit';
}else{
	$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_legacy' : 'postbit';
}
Reply With Quote
  #35  
Old 01-26-2013, 12:34 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nhawk View Post
Which country flag mod are you using? If it's Boofo's country flags mod, you need to make this change to his 'Country Flags Template Edits' plugin...

Find...
Code:
$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_legacy' : 'postbit';
Replace it with...
Code:
if($vbulletin->options['pbcollapse_offon'])
{
	$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_collapse_legacy' : 'postbit_collpase_postbit';
}else{
	$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_legacy' : 'postbit';
}
Thanks for the fix
Reply With Quote
  #36  
Old 01-26-2013, 02:14 PM
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Location: Sunny Arizona
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nhawk View Post
Yes you did find a bug. Thank you!

I'll have the fix for that out shortly.

Which country flag mod are you using? If it's Boofo's country flags mod, you need to make this change to his 'Country Flags Template Edits' plugin...

Find...
Code:
$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_legacy' : 'postbit';
Replace it with...
Code:
if($vbulletin->options['pbcollapse_offon'])
{
	$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_collapse_legacy' : 'postbit_collpase_postbit';
}else{
	$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_legacy' : 'postbit';
}
It's this one: https://vborg.vbsupport.ru/showthread.php?t=229511

Thanks for your prompt reply!
Reply With Quote
  #37  
Old 01-26-2013, 03:03 PM
Lightmaster-AH Lightmaster-AH is offline
 
Join Date: Dec 2003
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hallo,

sorry of my bad english. I installed this addon in my testforum and its great, but in the mobile style it kills the posts. Nothing to see in showthread. How can I fix this?

Thanks!
Reply With Quote
  #38  
Old 01-26-2013, 04:38 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GONUMBER6 View Post
It's this one: https://vborg.vbsupport.ru/showthread.php?t=229511

Thanks for your prompt reply!
I won't be able to do anything with that until Monday. But I will take a look at it.
Reply With Quote
  #39  
Old 01-26-2013, 04:39 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lightmaster-AH View Post
Hallo,

sorry of my bad english. I installed this addon in my testforum and its great, but in the mobile style it kills the posts. Nothing to see in showthread. How can I fix this?

Thanks!
What version of vBulletin are you running?

Do you have the mobile style properly defined in ACP->Settings->Options->Style & Language Settings? (Default Style for Old Mobile Browsers and Default Style for Modern Mobile Browsers) They can't be set to 'None'.
Reply With Quote
  #40  
Old 01-26-2013, 04:54 PM
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Location: Sunny Arizona
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nhawk View Post
I won't be able to do anything with that until Monday. But I will take a look at it.
Can you link me to boofos country flag mod? I cannot find it, am interested in seeing if its a better mod that can do the job
Reply With Quote
  #41  
Old 01-26-2013, 04:57 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GONUMBER6 View Post
Can you link me to boofos country flag mod? I cannot find it, am interested in seeing if its a better mod that can do the job
His mod was a premium mod. You won't find it anywhere. After he passed away, his premium mods became unavailable.
Reply With Quote
Reply

Thread Tools

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 04:24 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09798 seconds
  • Memory Usage 2,323KB
  • Queries Executed 25 (?)
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
  • (6)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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