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
Quick Reply Box (with Close/Open thread switch) Details »»
Quick Reply Box (with Close/Open thread switch)
Version: 1.00, by TECK TECK is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-27-2002 Last Update: Never Installs: 327
 
No support by the author.

This hack will let your users post a Quick Reply, instead of going through the New Reply steps.
If you have permissions, it will show you a Close/Open Thread check box beside the Quick Reply. Also, the check box will show in New Thread, New Reply, New Post and Edit Post.

ESTIMATED INSTALL TIME: 10 minutes
REQUESTED BY: hellsatan
TESTED IN VERSION: 2.2.7

CREDITS: The hack includes one small code segment of FireFly's Quick Reply Box related to user permissions.
(9 lines of code)

[high]RELATED HACKS[/high]
Quick Delete Post
Quick Close/Open Thread (with reason)

You like this hack? Please click on the [high]Install[/high] button.
To download the latest version of this hack, click below:

Show Your Support

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

Comments
  #42  
Old 09-22-2002, 04:57 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ya, you are right... i added this to the file.
in showthread.php, find:
Code:
  $textareacols=gettextareawidth();
replace it with:
Code:
  if ($bbuserinfo['emailnotification']) {
    $emailchecked = 'yes';
  } else {
    $emailchecked = '';
  }
  $textareacols=gettextareawidth();
in template showthread_replybox, find:
Code:
<input type="hidden" name="email" value="">
replace it with:
Code:
<input type="hidden" name="email" value="$emailchecked">
now it will look in your default preferences, all done in the background, so there is no need for an ugly extra checkbox. if you have it set to automatically recieve email notifications, that change will allow you to do it from now on.
for those who installed the hack already, just change the code listed above.
Reply With Quote
  #43  
Old 09-22-2002, 05:28 PM
yzztik's Avatar
yzztik yzztik is offline
 
Join Date: Feb 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OMG! You are a god! Thank you, thank you, thank you!!!

*runs to edit*

EDITED: just made the changes. Works like a charm! Thanks a million!
Reply With Quote
  #44  
Old 09-24-2002, 04:09 PM
Dave-ahfb Dave-ahfb is offline
 
Join Date: Mar 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting reports of a JS error in IE5

PHP Code:
Line864 
Char

Error
Object expected 
Code

my line 864 is
PHP Code:
<form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post" onSubmit="return validate(this)"
Wish I knew javascript

Dave
Reply With Quote
  #45  
Old 09-24-2002, 04:12 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello dave. try this:
onSubmit="return validate(this);"

notice the ; an the end. let me know if it fix it.
it could also be because you have some javascript that you added in the header, that is not part of vBulletin.
in this case i cannot help you.

cheers.
Reply With Quote
  #46  
Old 09-24-2002, 04:18 PM
Dave-ahfb Dave-ahfb is offline
 
Join Date: Mar 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ill give it a shot

thanks

Dave
Reply With Quote
  #47  
Old 09-26-2002, 06:43 PM
K_2 K_2 is offline
 
Join Date: Sep 2002
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey TECH, I love this hack and would love to implment it into my Forum also. I am really new to this and I followed your directions to the T and I get this error..

Parse error: parse error, unexpected $ in /home/xxx/public_html/Forum/showthread.php on line 508

I am running 2.2.8.

Is there anything else that I can do?? Please?? hehe
Reply With Quote
  #48  
Old 09-26-2002, 08:56 PM
MultiSync MultiSync is offline
 
Join Date: Sep 2002
Location: Canada
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed the hack to my new site, but it didn't show up on the forum. It is weird. And I have check over for 4 times already. Any clue? Thanks!

Btw I am using v2.2.8
Reply With Quote
  #49  
Old 09-26-2002, 09:12 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

check your code. is nothing wrong with the hack.
Reply With Quote
  #50  
Old 09-26-2002, 10:41 PM
K_2 K_2 is offline
 
Join Date: Sep 2002
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TECK
check your code. is nothing wrong with the hack.
OK, checked it 4 times, replaced the phpfile, them redid it again, even had my 3 year old take a look at it also, still errors..

Oh well thanks anyways..
Reply With Quote
  #51  
Old 09-26-2002, 10:43 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello K2
Code:
Parse error: parse error, unexpected $ in /home/xxx/public_html/Forum/showthread.php on line 508
that a code typo... you probably typed something by accident there...
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 04:24 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.07526 seconds
  • Memory Usage 2,312KB
  • 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
  • (5)bbcode_code
  • (2)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
  • (4)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