vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Postbit Collapser/Arranger (https://vborg.vbsupport.ru/showthread.php?t=290770)

nhawk 11-14-2012 11:00 PM

Postbit Collapser/Arranger
 
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

voglermc 11-16-2012 01:33 AM

Will this use custom profile fields also?

DirtRider 11-16-2012 03:14 AM

Yes it does I have it running on my site and this is one of the cool features of it. It also has a postbit if you have photopost installed linking to that members gallery and this is a very cool feature, something I have wanted for a long time. Overall this is a very cool mod and it really give a finished neatness to the thread view and can save a load of space if you have a long postbit with a lot of info in it.

nhawk thanks for all the effort put into doing this mod really appreciated. I think having Robs code in it and mentioning it is a very nice tribute to Rob

nhawk 11-16-2012 10:58 AM

It will not only make your current custom profile fields available to be included in postbits, it will also detect when new custom profile fields are added and make those available too.

EDIT: I've attached a screenshot of the postbits containing the results of a radio button, single selection menu and checkbox custom profile field values. All types of custom profile fields can be used in postbits with this add-on.

Also other coders can include their postbit info so it's position can be changed in the postbit display. If not included, it will display in it's normal position and can't be moved. Instructions for coders are included in the .zip file.

Nirjonadda 11-16-2012 04:20 PM

Can you add Postbit Auto Collapser On/Off Option ?

nhawk 11-16-2012 04:31 PM

Quote:

Originally Posted by Nirjonadda (Post 2381605)
Can you add Postbit Auto Collapser On/Off Option ?

It's already there in settings.

Nirjonadda 11-16-2012 04:37 PM

Postbit Display Order does not found Thanks and Thanks Stats,How to fix ?

nhawk 11-16-2012 04:48 PM

Quote:

Originally Posted by Nirjonadda (Post 2381621)
Postbit Display Order does not found Thanks and Thanks Stats,How to fix ?

It can't change the order of another mod's postbits and they will appear where they normally would in the postbits. It says that in the description in the first post...

Quote:

Does not affect mods that add to the proper postbit hooks, but those items can not have their order changed.

If you want the post thanks stats to be included so it's postbit order can be changed, you need to contact the author and have them follow the instructions in the Programmers_ReadMe.txt file included with the postbit collapser.

As a matter of fact, the Programmers_ReadMe.txt file uses the Post Thanks mod as an example of what is needed to add that info to Postbit Collapser. ;)

Nirjonadda 11-16-2012 07:13 PM

Please Try to add option !

1. Postbit Collapser First Post in Thread
2. Use Collapser Postbit In These Forums
3. Use Collapser Postbit In These Threads
4. Auto-Collapse (This setting controls whether the bars added to the postbit should be collapsed by default)

Rich 11-16-2012 07:48 PM

The timing of this modification is uncanny. I popped over here just now to see if this mod existed or if I needed to write one for my site. This mod is much appreciated. ;)


All times are GMT. The time now is 12:40 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.01314 seconds
  • Memory Usage 1,743KB
  • 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
  • (3)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