Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Shrink Old Posts in Thread Details »
Shrink Old Posts in Thread
Mod Version: 1.00, by bira (Member) bira is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (2 votes - 5.00 average) Installs: 141
Released: 09 Dec 2001 Last Update: Never Downloads: 1
Not Supported  

Hi all,

This is a brand new addition to my own BB, so I don't even know how my own users will react to it, let alone how you guys would

Hack Description:
  • Posts you have already read in a thread, will show up with their header only (a row that includes the username, post subject and date only). New posts only will appear in full.
  • This is user selectable via the 'Edit Options' page: each user can decide if he wants this option on or not. (By default all existing and new users will have this turned Off).
  • A link at the top of the thread offers to "expand all" posts or "contact all" posts.
  • by clicking on the + sign on a shruk post, it will expand without the page reloading. By clicking on the - sign on an expanded post, it will shrink without the page reloading.
  • this option is available for your IE users only! Netscape users will see no difference and will not be affected anyway at all by the change
How to install:
  • Please download the attached zipfile.
  • Upload plus.gif and minus.gif to your images directory
  • Upload install_contractposts.php to your admin directory and run that script.
Note: there are quite a few changes to make (primarily additions, not replacements) to the vb scripts and templates. The process should take you several minutes, so I recommend you close your Bulletin Board while installing the hack.

Demo:

You are welcome to visit my Bulletin Board, at http://www.atlasf1.com , to see what the additions look like. To test it in full (ie, the option of old posts being shrunk by default), you will have to register and modify your options after you have received your password.

Cheers,

Bira

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 09 Dec 2001, 03:25
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
here's a screen capture of what it would look like if a user selected to contract old posts:



(This is on a clean, default vBulletin style/design. My BB has a slightly different style, which is why I am also including this image above)
Reply With Quote
  #3  
Old 09 Dec 2001, 03:27
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Wow Bira. Your going to town on these hacks lately.

Going to install tonight!
__________________
Cheers,
Hooper
Reply With Quote
  #4  
Old 09 Dec 2001, 03:31
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
All I can say is that it works and looks wonderful on your site.

Thank You.
__________________
Cheers,
Hooper
Reply With Quote
  #5  
Old 09 Dec 2001, 03:34
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
that's cool, thanks
Reply With Quote
  #6  
Old 09 Dec 2001, 03:54
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Bira, I registered on your site to see how it worked. Very cool!!
__________________
FWC
F5 Hosting
White Sox Interactive Forums
Reply With Quote
  #7  
Old 09 Dec 2001, 06:44
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
ok, if you installed this hack on 2.2.1 there's a small change.

If you haven't installed this hack, or installed it on 2.0.3, ignore this post.

In root/register.php

find this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And add to it the code highlighted in the above line.

Sorry about this - I initially tested this on 2.0.3, and having tested it now on 2.2.1 as well - I noticed the ',avatarid' md5()and ".'$avatarid'" are missing from this query

Last edited by bira; 09 Dec 2001 at 07:17.
Reply With Quote
  #8  
Old 09 Dec 2001, 10:06
Crinos's Avatar
Crinos Crinos is offline
 
Join Date: Nov 2001
Real name: Tolitz Rosel
Hmmm, I'm getting this error when I try to run install_contractposts.php:

Parse error: parse error in /home/username/public_html/forums/admin/install_contractposts.php on line 278
__________________
Open Tech Support
http://www.opentechsupport.net
Reply With Quote
  #9  
Old 09 Dec 2001, 10:14
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Sorry about that Crinos. Please download the zip file again - I corrected that mistake (forgot to espace the ' in that line :/)
Reply With Quote
  #10  
Old 09 Dec 2001, 10:55
Crinos's Avatar
Crinos Crinos is offline
 
Join Date: Nov 2001
Real name: Tolitz Rosel
Thanks bira ...

I just finished installing it on my test board, but now I get this error when I try to click a thread from forumdisplay.php:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I looked for that line, and this is what it contained (lines 398-408)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any idea what I did wrong on this one? Thanks in advance
__________________
Open Tech Support
http://www.opentechsupport.net
Reply With Quote
  #11  
Old 09 Dec 2001, 11:02
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Crinos,

This has nothing to do with my hack, which changes nothing in these lines.

However, looking at the code you posted, it looks like like 401 in your showthread.php has gone completely awry.

The correct (original) line should be:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #12  
Old 09 Dec 2001, 11:09
Crinos's Avatar
Crinos Crinos is offline
 
Join Date: Nov 2001
Real name: Tolitz Rosel
Thumbs up

duh! I didn't know what the hell happened to that code right there, but it was pretty whacked out ... thanks for the fix ...

The hack works great! Excellent work ... my users are gonna like this, hehe ... I'll install it on my main board tomorrow night ... you're right, this hack takes some time to install.

Great work, as usual
__________________
Open Tech Support
http://www.opentechsupport.net
Reply With Quote
  #13  
Old 09 Dec 2001, 11:16
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Thanks
Reply With Quote
  #14  
Old 09 Dec 2001, 11:18
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
My installation didn't work. I think I'm going to have to go back through this whole thing.

It doesn't expand and contract and the images are not showing up at all.

I have such a hacked up site it's hard to find the code to edit.
__________________
Cheers,
Hooper

Last edited by Hooper; 09 Dec 2001 at 11:20.
Reply With Quote
  #15  
Old 09 Dec 2001, 11:23
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Hooper,

1) Make sure you follow the instructions in the installer to a T

2) Remember that this will only work on IE. If you are viewing your forums with Netscape or any other browser than IE, you won't see any difference at all.

Cheers,

Bira
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 17:36.

Layout Options | Width: Wide Color: