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
  #52  
Old 03-22-2003, 01:18 AM
Skyrender's Avatar
Skyrender Skyrender is offline
 
Join Date: Jul 2002
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When ever anybody tries to post with the quick reply hack on my board it says: Invalid thread please contact webmaster.

Then I tried installing it again and I got the same thing.
Reply With Quote
  #53  
Old 03-24-2003, 08:08 PM
Yuber's Avatar
Yuber Yuber is offline
 
Join Date: Feb 2003
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
03-02-03 at 04:31 PM L-Mane said this in Post #48
I get this error when I use this

Database error in vBulletin 2.3.0:

Invalid SQL: UPDATE forum SET replycount=replycount+1,lastpost='1046640222',last poster='Leyonssio',sticky='0',open='1' WHERE forumid IN (18,4,-1)
mysql error: Unknown column 'sticky' in 'field list'

mysql error number: 1054

Date: Sunday 02nd of March 2003 04:23:42 PM
Script: http://www.allhiphop.com/community/c...y/newreply.php
Referer: http://www.allhiphop.com/community/s...threadid=16485
I am getting the same problem :

PHP Code:
Invalid SQLUPDATE forum SET replycount=replycount+1,lastpost='1048543014',lastposter='Yuber',sticky='0',open='0' WHERE forumid IN (5,3,-1)
mysql errorUnknown column 'sticky' in 'field list'

mysql error number1054 

Also the optinos for This Thread, This Forum, and Homepage do not work, Ialways am returned to the thread.
Reply With Quote
  #54  
Old 03-24-2003, 08:18 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:
03-21-03 at 09:18 PM Skyrender said this in Post #51
When ever anybody tries to post with the quick reply hack on my board it says: Invalid thread please contact webmaster.

Then I tried installing it again and I got the same thing.
Did you get that before installing this hack? Because there is a fix in the Quick Reply Box thread that addresses that very issue.
Reply With Quote
  #55  
Old 03-26-2003, 10:17 PM
Yuber's Avatar
Yuber Yuber is offline
 
Join Date: Feb 2003
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
03-02-03 at 04:31 PM L-Mane said this in Post #48
I get this error when I use this

Database error in vBulletin 2.3.0:

Invalid SQL: UPDATE forum SET replycount=replycount+1,lastpost='1046640222',last poster='Leyonssio',sticky='0',open='1' WHERE forumid IN (18,4,-1)
mysql error: Unknown column 'sticky' in 'field list'

mysql error number: 1054

Date: Sunday 02nd of March 2003 04:23:42 PM
Script: http://www.allhiphop.com/community/c...y/newreply.php
Referer: http://www.allhiphop.com/community/s...threadid=16485
I am getting the same problem :

PHP Code:
Invalid SQLUPDATE forum SET replycount=replycount+1,lastpost='1048543014',lastposter='Yuber',sticky='0',open='0' WHERE forumid IN (5,3,-1)
mysql errorUnknown column 'sticky' in 'field list'

mysql error number1054 

Also the optinos for This Thread, This Forum, and Homepage do not work, Ialways am returned to the thread.
Reply With Quote
  #56  
Old 03-27-2003, 01:11 AM
CodeDawg CodeDawg is offline
 
Join Date: Jun 2002
Location: Colorado
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, works great out of the box!!!!
Reply With Quote
  #57  
Old 03-29-2003, 07:13 PM
Yuber's Avatar
Yuber Yuber is offline
 
Join Date: Feb 2003
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*bump*
Reply With Quote
  #58  
Old 04-18-2003, 02:05 AM
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I get the Signature tickbox to stay ticked for those that use signatures? because at the moment its not being ticked by default.

If users use the normal reply buttons, it puts thier sigs in, but if they use the quick reply box, without ticking anything, its not putting their sigs in, but if they tick the Sig box, it does.

I've looked at the code, and it says this: (which I thought was the default tick, but its not)
PHP Code:
<p><smallfont><input type="checkbox" name="signature" value="yes" $signaturechecked> <b>Signature</b><br />
<
input type="checkbox" name="email" value="yes" $emailchecked> <b>E-mail notification</b
As you can see the 'yes' is there for both the sig and email values, now on the showreply...quick reply box, email is ticked which is brill, but signature isnt...

Is there a way to fix this?
Reply With Quote
  #59  
Old 04-18-2003, 01:08 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The var "$signaturechecked" doesn't get made in showthread.php. To do so, look in newthread.php or newreply.php, search the file for $signaturechecked, then copy the bit of code that creates the var and put it in showthread.php just before the piece where the quickreply box stuff is made.
Reply With Quote
  #60  
Old 04-18-2003, 03:28 PM
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 02:08 PM KuraFire said this in Post #58
The var "$signaturechecked" doesn't get made in showthread.php. To do so, look in newthread.php or newreply.php, search the file for $signaturechecked, then copy the bit of code that creates the var and put it in showthread.php just before the piece where the quickreply box stuff is made.
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
Reply With Quote
  #61  
Old 04-21-2003, 04:59 AM
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
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 11:08 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.05062 seconds
  • Memory Usage 2,332KB
  • 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
  • (6)bbcode_php
  • (4)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_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