vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - Collapsable Postbits (https://vborg.vbsupport.ru/showthread.php?t=218587)

Cyricx 07-13-2009 10:00 PM

Collapsable Postbits
 
1 Attachment(s)
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.

Basically, what this hack does is it takes all the extra user info like join date, location, age, posts etc and slaps them into a table that can be collapsed or expanded. If you collapse it, it'll store that setting in your cookies and all user infos will be collapsed fro then on til you expand it again :)

Your selection WILL carry over to private messages as well :)

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






Updates:
  • Version 1.2.0
    • Update for 3.8.x
  • Version 1.1.0
    • Fixed code to enable collapse in private messages
    • added functionality to be able to apply modification to both postbit and postbit_legacy templates
  • Version 1.0.0
    • Initial release

SirHappy 07-14-2009 08:43 PM

wrong section

Cyricx 07-14-2009 08:46 PM

The modification is seen on showthread.php so not sure why this is the wrong section..

Alfa1 07-14-2009 11:02 PM

the screenshots are too smal to see anything.

lazydesis 07-14-2009 11:22 PM

Quote:

Originally Posted by Alfa1 (Post 1848859)
the screenshots are too smal to see anything.

double that

Cyricx 07-15-2009 11:53 AM

Uploaded new screenshots. I wrote this modification back when I was running a different forum that had awards, rpg, pets etc. So it was crazy insane everything we wanted to put into the postbit.

This let us do it, without it being crowded for those that didn't want to see all that.

The forum I'm working on now isn't doing all that stuff yet, but it should still give you an idea what it does :)

lostgirl815 07-16-2009 08:10 PM

Is there any chance that someone who uses Cpanel could tell me what I use to open the vbulletin_global.js file to edit it? (Encoding, and which edit function - code editor?) What I've got right now is the code in one huge long line - is that what I'm supposed to be seeing?

Cyricx 07-17-2009 12:09 PM

I noticed the same thing when I opened the new JS script. It's fine if you do see it in a line, just go to the spot the install text mentions and add a few extra lines and then paste in the code and it'll be fine :)

lostgirl815 07-18-2009 07:10 AM

Thanks so much, I appreciate the help. :)

lostgirl815 04-05-2010 07:20 PM

I had this working fine but upgrading to 3.8.5 messed it up: now instead of collapsing the tables, the collapse button works as a 'go to top' link. Does anybody happen to know why, offhand?
----------------------
Figured it out, sorry - I should have checked this before posting. For whatever reason, the upgrade took out the change that has to be made to vbulletin_global.js.


All times are GMT. The time now is 03:10 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.01023 seconds
  • Memory Usage 1,729KB
  • 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_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