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.
  #211  
Old 20 Feb 2002, 12:30
Omero Omero is offline
 
Join Date: Oct 2001
I have a problem.... when i "shrink" the thread by clickin on the minus sign, the cell of the table with username, title, etc... isn't aligned with the normal unshrinked ones.

Check it out here: http://forum.ngx.sm/index.php

Any thread is just right, have a look.

Surely its a HTML bug, can someone help me out?
Reply With Quote
  #212  
Old 21 Feb 2002, 19:33
mADmAX` mADmAX` is offline
 
Join Date: Dec 2001
I just want to say that this is a great hack but...

It all works fine except for the old post are not being contracted. Every post is always expanded no matter what. I can expand all and contract all but for some reason the old post are not contracted. I get no errors, seems to work fine except for this. I am running 2.2.2....

Does anyone know what the cause could be, I followed each step to a T
Reply With Quote
  #213  
Old 24 Feb 2002, 17:26
Recon_Boy Recon_Boy is offline
 
Join Date: Nov 2001
Originally posted by inetd
Where exactly it is necessary to insert $post [shortmsg]?
I put mine right after $post[title]</b>
Reply With Quote
  #214  
Old 24 Feb 2002, 17:28
Recon_Boy Recon_Boy is offline
 
Join Date: Nov 2001
Originally posted by mADmAX`
I just want to say that this is a great hack but...

It all works fine except for the old post are not being contracted. Every post is always expanded no matter what. I can expand all and contract all but for some reason the old post are not contracted. I get no errors, seems to work fine except for this. I am running 2.2.2....

Does anyone know what the cause could be, I followed each step to a T
Did you upgrade from 2.2.1? If so, you need to re-apply the templates Bira provides in the installer then go to your user cp and make sure you have contract posts to 'Yes'.
Reply With Quote
  #215  
Old 25 Feb 2002, 04:37
pran's Avatar
pran pran is offline
 
Join Date: Dec 2001
I got this error after installing the hack:


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

Reply With Quote
  #216  
Old 03 Mar 2002, 20:36
kmoo kmoo is offline
 
Join Date: Nov 2001
FOr some reason I can not get mine to work. I know that it is me. I have reinstalled it several; times and started over from top to bottom several times....No Dice,,,,,

Update
===========
I added the files that I use to make mine go. I know without a doubt that it will be something I am doing but I can not fig out whjat it is. Please help
Attached Files
File Type: zip hidepost.zip (46.1 KB, 12 views)

Last edited by kmoo; 03 Mar 2002 at 20:55.
Reply With Quote
  #217  
Old 06 Mar 2002, 04:27
kidney kidney is offline
 
Join Date: Mar 2002
Thank you

One word "GENIUS" that all I can say...... Works great.
Reply With Quote
  #218  
Old 07 Mar 2002, 11:46
Figment Figment is offline
 
Join Date: Nov 2001
Is there a way of toggling this option on/off in a users profile via the Admin CP? Cant see a setting for it in there
Reply With Quote
  #219  
Old 08 Mar 2002, 12:31
cihangir's Avatar
cihangir cihangir is offline
 
Join Date: Nov 2001
i try to reinstall it on 2.2.3 but i can not find this code in new showthread.php

root/showthread.php

Step 1 of 2 FIND:


$pagenav = getpagenav($totalposts,"showthread.php?s=$session[sessionhash]&threadid=$threadid&perpage=$perpage");
__________________
www.zoque.com
Reply With Quote
  #220  
Old 08 Mar 2002, 20:59
Dalius Dalius is offline
 
Join Date: Oct 2001
Originally posted by FireFly

In functions.php, find:

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

and right after it add this:

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

You can reset 50 to your own number of first N chars to show.
It will show first line if it's shorter than 50 chars, or the first 50 chars in the line.

After you do this, place $post[shortmsg] in the posbit template.
I've tried this, where exactly does it go?
Reply With Quote
  #221  
Old 08 Mar 2002, 21:05
Dalius Dalius is offline
 
Join Date: Oct 2001
Nvm, fixed
Reply With Quote
  #222  
Old 15 Mar 2002, 15:57
cerebro's Avatar
cerebro cerebro is offline
 
Join Date: Jan 2002
Originally posted by cihangir
i try to reinstall it on 2.2.3 but i can not find this code in new showthread.php

same problem too me
Reply With Quote
  #223  
Old 15 Mar 2002, 16:15
cerebro's Avatar
cerebro cerebro is offline
 
Join Date: Jan 2002
root/showthread.php

Step 1 of 2 FIND:


$pagenav = getpagenav($totalposts,"showthread.php?s=$session[sessionhash]&threadid=$threadid&perpage=$perpage");
Just Overwritte the Pagenav sentence whit that!! and works!!



NICE Hacks!! I traslate to Spanish jeje really Simple!
Reply With Quote
  #224  
Old 15 Mar 2002, 22:19
dxb's Avatar
dxb dxb is offline
 
Join Date: Oct 2001
works like a charm with 2.2.4

anyway cihangir

just find this code :


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

and change it to this


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

hope it works for you
Reply With Quote
  #225  
Old 16 Mar 2002, 16:23
Arabian Arabian is offline
 
Join Date: Jan 2002
Wonderful Hack!!!

smooth installation on 2.2.4
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 04:22.

Layout Options | Width: Wide Color: