Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
[AddOn] Useful Additions For Quickreply (and normal reply page) Details »»
[AddOn] Useful Additions For Quickreply (and normal reply page)
Version: 1.00, by KuraFire KuraFire is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-19-2003 Last Update: Never Installs: 61
 
No support by the author.

HACK: [AddOn] Useful Additions to QuickReply box & Normal Reply page
BY: KuraFire [www.kurafire.com]
REQUESTED BY: My left brainhalf. *gives credit*
DESCRIPTION: Puts several small additions to the QuickReply box, as well as some to the normal Reply page.
DIFFICULTY: Medium
INSTALL-TIME: 10-15 minutes + time for FireFly/Chen's QuickReply box if you haven't installed that yet
STEPS: 7

!! NOTE: instructions updated on 22:19 CET* - make sure to clear your cache and re-download if you downloaded it already!

(* = see edit of this post timestamp for your own time)

EXTENDED DESCRIPTION:
What this hack do is simple: it adds a Signature checkbox, E-mail notification checkbox, and a Return-to dropdown box to your Quick Reply box (hack by FireFly). For Admins and Mods, it also adds two checkboxes: Close thread, and Stick thread (so that you can stick/unstick & close/open threads when you make a reply).
On the normal Reply page, it adds the same stuff minus Signature and E-mail checkboxes, of course (as they are already there ).


Files to hack: newreply.php, showthread.php
Templates to mod: showthread_replybox*, newreply, newpost_attachment


Instructions are in the Attachment

Show Your Support

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

Comments
  #12  
Old 01-20-2003, 04:19 PM
LOD-squa's Avatar
LOD-squa LOD-squa is offline
 
Join Date: Aug 2002
Location: Orlando, Florida
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can someone post the file has a txt file?
Reply With Quote
  #13  
Old 01-20-2003, 06:12 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The RAR has text files inside.

But here you go, anyway. Also, there are a couple of small fixes in there for the signature checked option and a parse error fix. I had to add some extra code to get the signature box to be checked if you had a signature in your options and not checked if you don't.
Reply With Quote
  #14  
Old 01-20-2003, 06:17 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

KuraFire, in step 7, you forgot to add a ; at the end of the line. I got a parse error, but all is well now.

Your code:

PHP Code:
$ugid $bbuserinfo['usergroupid'
What it should be:

PHP Code:
$ugid $bbuserinfo['usergroupid']; 
Reply With Quote
  #15  
Old 01-20-2003, 07:04 PM
LOD-squa's Avatar
LOD-squa LOD-squa is offline
 
Join Date: Aug 2002
Location: Orlando, Florida
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, Boofo. I shall be installing it soon ^^;
Reply With Quote
  #16  
Old 01-20-2003, 07:05 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're very welcome. Let me know how it goes.
Reply With Quote
  #17  
Old 01-20-2003, 07:17 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Boofo
The RAR has text files inside.

But here you go, anyway. Also, there are a couple of small fixes in there for the signature checked option and a parse error fix. I had to add some extra code to get the signature box to be checked if you had a signature in your options and not checked if you don't.
Ack, yeah, I forgot to update the parse error code in the zipfile, will do that right away tomorrow!

Boofo: I deliberately made it _not_ to check on whether you had a signature or not, to have it auto-checked or not. I *Hate* signatures for each post, I disabled sigs for 80% on my board (you really simply have to put effort into it if you want your sig to show more than once in a thread) and I would rather see _more_ boards use sigs off by default.

I also hate it that vb.org has sigs on if you use quickreply. It's yucky and hugely annoying (esp. for ppl on slow connections like me)


v-net: ack, yeah, I couldn't remember what the original template was (I overwrite my vB-Default templates instead of add my own for my style) but that's what I had.
Yeah, you have to replace both instances in that case

I'll update the hack instructions as well on that, tomorrow
Reply With Quote
  #18  
Old 01-20-2003, 07:27 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

s/tomorrow/2 minutes ago/

Yes, I updated the install file (attachment in first post)

Make sure to clean your cache before you re-download!
Reply With Quote
  #19  
Old 01-20-2003, 07:33 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by KuraFire


Ack, yeah, I forgot to update the parse error code in the zipfile, will do that right away tomorrow!


No biggie. It jumped right out at me, easy to fix.

Quote:
Boofo: I deliberately made it _not_ to check on whether you had a signature or not, to have it auto-checked or not. I *Hate* signatures for each post, I disabled sigs for 80% on my board (you really simply have to put effort into it if you want your sig to show more than once in a thread) and I would rather see _more_ boards use sigs off by default.

I also hate it that vb.org has sigs on if you use quickreply. It's yucky and hugely annoying (esp. for ppl on slow connections like me)
I was trying to follow how it is in the newreply, that's why I did the extra code for the signature. It's easy enough to turn it off in your options, but I kind of like having it follow suit. Just personal preference, I guess. I have a cable connection, so I don't get the slowdown. That probably makes a difference in my desire for this, too.

Great hack, though. Nice touch.
Reply With Quote
  #20  
Old 01-20-2003, 08:26 PM
LOD-squa's Avatar
LOD-squa LOD-squa is offline
 
Join Date: Aug 2002
Location: Orlando, Florida
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On the second step I don't find


Code:
<tr bgcolor="{secondaltcolor}">
Reply With Quote
  #21  
Old 01-20-2003, 08:26 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I should make a hack that gives you the option "only display user's sigs once per threadpage" I think....

cos I wanna see them, but only -ONCE- ffs
Reply With Quote
Reply

Thread Tools

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 08:51 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.09335 seconds
  • Memory Usage 2,314KB
  • Queries Executed 27 (?)
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
  • (1)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (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
  • (3)pagenav_pagelink
  • (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_postinfo_query
  • fetch_postinfo
  • 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