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.

bludhound 04-24-2011 09:40 PM

Any chance of making a 4.0.x version of this?

MyPeSePe 10-03-2011 07:09 PM

Any chance of making a 4.0.x version of this?

Max Taxable 10-03-2011 08:18 PM

Apparently not compatible with anything above 3.8.4? Installed on a 3.8.6 and have same issue as "lostgirl" above. Instead of collapsing the tables, the collapse button works as a 'go to top' link.

Is the OP still supporting this?

MyPeSePe 10-03-2011 08:36 PM

I need it in vb 4 there something like that?

Max Taxable 10-03-2011 08:43 PM

Upon investigation, I've found this mod is not much more than a standard vBulletin 3.x.x feature, re-purposed. The "Posting Rules" collapsible table at the bottom of every showthread page is the same thing almost verbatim and works the same way. In fact, this feature is the same wherever tables are collapsible anywhere in vB3.x.x.

MyPeSePe 10-03-2011 08:54 PM

I have a postbit very extensive and the truth is that I like to hide it xD

http://img171.imageshack.us/img171/8299/collapseo.png

Max Taxable 10-03-2011 08:59 PM

Can't say as I blame you.

MyPeSePe 10-05-2011 11:05 AM

solved I have done for me here

Max Taxable 10-08-2011 07:12 PM

Quote:

Originally Posted by Max Taxable (Post 2252869)
Apparently not compatible with anything above 3.8.4? Installed on a 3.8.6 and have same issue as "lostgirl" above. Instead of collapsing the tables, the collapse button works as a 'go to top' link.

Is the OP still supporting this?

I finally got this to work on my vB 3.8.6.

I went back to the client area of vB.com and downloaded the UNCOMPRESSED JAVASCRIPT FILES and followed the instructions here, for the modification of vbulletin_global.js, modifying the UNCOMPRESSED global.js file so I could see exactly what the hell to do. I then went ahead and uploaded this modified, uncompressed global_js file to the server for testing.

Anyone have any ideas on now, collapsing the global.js file? Is it necessary?


All times are GMT. The time now is 06: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.01139 seconds
  • Memory Usage 1,749KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete