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
[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
  #62  
Old 04-25-2003, 07:47 AM
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump for post:
https://vborg.vbsupport.ru/showthrea...776#post383776
Reply With Quote
  #63  
Old 07-22-2003, 04:21 PM
tmapm tmapm is offline
 
Join Date: Apr 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only thing that works for me is the sticky. Everything else refuses to update.. I've redid the hack, but still nothing. I figured out it was a conflict with Doublepost Guard -- http://www.vbulletin.org/hacks/index...threadid=40145 . I'll post up a fix as soon as I find it or if someone can enlighten me with the answer, that would be appreciated.

I know it has been 2 months, Sanjiyan and I bet you probably already dropped this hack or if you didn't get it working and your still trying... Try

Code:
    $emailchecked = ($bbuserinfo['emailnotification']==1) ? "checked" : ""; 

    if ($bbuserinfo[signature]!="") {
      $signaturechecked="CHECKED";
    }

    $textareacols = gettextareawidth(); 
    eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");
Reply With Quote
  #64  
Old 08-06-2003, 08:06 PM
jdmuniverse's Avatar
jdmuniverse jdmuniverse is offline
 
Join Date: Apr 2003
Location: Port St. Lucie FL
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be a great hack but, I too am getting db errors with 2.2.9

I tried installing twice.... same dealio

Database error in vBulletin 2.2.9:

Invalid SQL: UPDATE thread SET lastpost='1060203767',replycount=replycount+1,last poster='SIINSI',sticky='0',open='1' WHEREthreadid='12417'
mysql error: You have an error in your SQL syntax near 'WHEREthreadid='12417'' at line 1

mysql error number: 1064

Date: Wednesday 06th of August 2003 03:02:47 PM
Script: http://www.jdmuniverse.com/forums/forums/newreply.php
Referer: http://www.jdmuniverse.com/forums/sh...threadid=12417
Reply With Quote
  #65  
Old 08-10-2003, 07:58 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:
04-18-03 at 06:28 PM Sanjiyan said this in Post #59
I've edited the showthread.php

urm, I copied:

PHP Code:
$signaturechecked=iif($signature,"checked",""); 
and put it below:

PHP Code:
$emailchecked = ($bbuserinfo['emailnotification']==1) ? "checked" ""
So now it looks like

PHP Code:
    $emailchecked = ($bbuserinfo['emailnotification']==1) ? "checked" "";
        
$signaturechecked=iif($signature,"checked","");
    
$textareacols gettextareawidth();
    eval(
"\$replybox = \"".gettemplate('showthread_replybox')."\";"); 
But it still does not tick the Signature box nor add the signature.

Did I do it right? If not, where did I go wrong.

Thanks




Did you put $signaturechecked in the template? It has to be there in the right place, of course


jdmuniverse: you removed the space between WHERE and threadid in the query. Put the space back.
Reply With Quote
  #66  
Old 10-02-2003, 05:03 AM
Preech Preech is offline
 
Join Date: Aug 2002
Location: Fort Campbell
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

um yea im gettin the same problem with the unknown column sticky thing that a lot of other people are getting...whats the deal do we have a solution for that yet????
Reply With Quote
  #67  
Old 10-30-2003, 03:03 AM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome! =)
Reply With Quote
  #68  
Old 10-30-2003, 07:51 AM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think an upgrade of vB at some point deleted the sticky column...

But I've dropped support for vB2 hacks because I'm focusing on vB3-only hacks now (and have been for a while already). Sorry! :/
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 06:07 PM.


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.04747 seconds
  • Memory Usage 2,290KB
  • Queries Executed 22 (?)
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
  • (3)bbcode_php
  • (1)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
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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