Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by bira bira is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-08-2001 Last Update: Never Installs: 141
 
No support by the author.

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.
  • [high]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[/high]
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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 12-14-2001, 11:12 AM
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Posts: 387
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nafae,

It's a design issue. You need to design both parts in bostbit (the first div and the second div) to be the same width.

As for the register.php error - I just visited your site and had no problems
Reply With Quote
  #73  
Old 12-14-2001, 12:08 PM
rawnet's Avatar
rawnet rawnet is offline
 
Join Date: Oct 2001
Location: London, UK
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bloody hell!!

Haven't been spoken to like that since my undergraduate days!!



Fair enough though - you have been fantastic, and your support is great. Wouldn't blame you in any way - I'm grateful for the effort you've put in - I suspect the errors are due to problems I had uploading the changes whereby old files overwrote the changed files. Your instructions are very clear - although a few jokes and doctored images of Ralf Schumacher's girlfriend wouldn't go amiss.

Will go over the scripts again now,

Cheers,

Ross
Reply With Quote
  #74  
Old 12-14-2001, 02:00 PM
fineclicks's Avatar
fineclicks fineclicks is offline
 
Join Date: Dec 2001
Location: Shelby Twp, MI
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by bira


I'm guessing you're not running it in your forum's /admin/ dir.
Reply With Quote
  #75  
Old 12-14-2001, 03:11 PM
Bedhead Bedhead is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Once again a great hack!

Thanks Bira!
Reply With Quote
  #76  
Old 12-14-2001, 06:09 PM
nafae's Avatar
nafae nafae is offline
 
Join Date: Nov 2001
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I removed it after I found it didnt work, I didnt want people to see my bad hack install I will try again tonight.
Reply With Quote
  #77  
Old 12-14-2001, 08:23 PM
Bedhead Bedhead is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

First off I would like to say Bira you are the man.

Everything works great except for the member.php3.
I'm assuming that this is the problem.
I get the following error message when trying to use the member.php for logging out, usercp, or anything for that matter.
I have ran through all instructions numerous times and still a no go.

Here is the error:

Parse error: parse error in D:\Inetpub\users\dssheadquarters\forum\member.php3 on line 752

Any ideas Buddy?
Reply With Quote
  #78  
Old 12-14-2001, 08:27 PM
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Posts: 387
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bedhead, send me your member.php3 file, to goren@atlasf1.com so I can have a look at it
Reply With Quote
  #79  
Old 12-14-2001, 08:32 PM
Bedhead Bedhead is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for taking the time.

You have mail.
Reply With Quote
  #80  
Old 12-14-2001, 08:45 PM
nafae's Avatar
nafae nafae is offline
 
Join Date: Nov 2001
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bira a fresh install got it working just fine. Thanks for the hack, it is vewwy useful
Reply With Quote
  #81  
Old 12-14-2001, 09:36 PM
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Posts: 387
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bedhead,

1) You had an error in one location of pasting the code. The instructions said find

PHP Code:
    $newemailaddress=0;
  } 
And AFTER THAT paste a code. Instead, you pasted the code BEFORE the }

2) On three different locations, you have pasted the hack code on the same line as an existing code, which meant you were in effect COMMENTING OUT the existing code. Example:

your code:

Code:
  // Contract Old Posts in Thread (v1.0)
  if ($bbuserinfo[hideposts]) {
    $hidepostschecked="checked";
    $hidepostsnotchecked="";
  } else {
    $hidepostschecked="";
    $hidepostsnotchecked="checked";
  }
// Contract Old Posts in Thread (v1.0)if ($bbuserinfo[receivepm]) {
    $receivepmchecked="checked";
    $receivepmnotchecked="";
  } else {
    $receivepmchecked="";
    $receivepmnotchecked="checked";
  }
SHOULD BE:

Code:
  // Contract Old Posts in Thread (v1.0)
  if ($bbuserinfo[hideposts]) {
    $hidepostschecked="checked";
    $hidepostsnotchecked="";
  } else {
    $hidepostschecked="";
    $hidepostsnotchecked="checked";
  }
// Contract Old Posts in Thread (v1.0)

if ($bbuserinfo[receivepm]) {
    $receivepmchecked="checked";
    $receivepmnotchecked="";
  } else {
    $receivepmchecked="";
    $receivepmnotchecked="checked";
  }
I have edited your file and corrected your mistakes and will now e-mail it back to you.

However, I cannot stress enough to you and others - please follow installation instructions accurately or your scripts may be rendered useless.

Cheers,

Bira
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 05:26 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07770 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete