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
  #22  
Old 01-20-2003, 08:39 PM
LOD-squa's Avatar
LOD-squa LOD-squa is offline
 
Join Date: Aug 2002
Location: Orlando, Florida
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could also make this for new threads. Like you can make a thread sticky or close it or even both. Just a suggestion.
Reply With Quote
  #23  
Old 01-20-2003, 08:48 PM
PiotrasG's Avatar
PiotrasG PiotrasG is offline
 
Join Date: Sep 2002
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack nice job one question return to: forum forumhome doesnt want to work any ideas???


Also I get this from database

Database error in vBulletin 2.2.9:

Invalid SQL: UPDATE forum SET replycount=replycount+1,lastpost='1043104125',last poster='admin',sticky='0',open='1' WHERE forumid IN (28,37,-1)
mysql error: Unknown column 'sticky' in 'field list'

mysql error number: 1054

Date: Monday 20th of January 2003 05:08:45 PM
Script: http://www.polskieforum.com/forum/forum/newreply.php
Referer: http://www.polskieforum.com/forum/sh...p?postid=25366


the script its not located where its says to many /forum the strip should be

http://www.polskieforum.com/forum/newreply.php[/url]

any ideas
Reply With Quote
  #24  
Old 01-20-2003, 10:28 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gohanssj2: I can, but I'm not gonna.

PiotrasG: erm, wtf?!?!?!

How the h*** do you not have a sticky column?! o_O
Reply With Quote
  #25  
Old 01-20-2003, 10:33 PM
xevious xevious is offline
 
Join Date: May 2002
Location: Michigan
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get the same thing
Reply With Quote
  #26  
Old 01-20-2003, 10:38 PM
LOD-squa's Avatar
LOD-squa LOD-squa is offline
 
Join Date: Aug 2002
Location: Orlando, Florida
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it and it works fine for me.
Reply With Quote
  #27  
Old 01-20-2003, 10:40 PM
xevious xevious is offline
 
Join Date: May 2002
Location: Michigan
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i fixed it, it was this step:

Next, a little bit below this, you will find _TWO_ occurences of:
addslashes($postusername)."' WHERE

REPLACE BOTH WITH:
addslashes($postusername)."'$modbit WHERE

I accidently skipped one. Nice hack
Reply With Quote
  #28  
Old 01-20-2003, 10:51 PM
PiotrasG's Avatar
PiotrasG PiotrasG is offline
 
Join Date: Sep 2002
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by KuraFire
gohanssj2: I can, but I'm not gonna.

PiotrasG: erm, wtf?!?!?!

How the h*** do you not have a sticky column?! o_O
I have the sticky column


also for this step

Next, a little bit below this, you will find _TWO_ occurences of:
addslashes($postusername)."' WHERE

REPLACE BOTH WITH:
addslashes($postusername)."'$modbit WHERE

I did that
Reply With Quote
  #29  
Old 01-20-2003, 11:05 PM
djr's Avatar
djr djr is offline
 
Join Date: Nov 2001
Location: Amsterdam
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by KuraFire
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
Already done by TWTCommish here: https://vborg.vbsupport.ru/showthrea...threadid=36470

don't know if it works on 2.2.9 though (last post says not, but I didn't check)

- djr
Reply With Quote
  #30  
Old 01-20-2003, 11:13 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, I think a sticky for a new thread might not be a bad idea, but a close thread option for a new thread is ridiculous. Why would you want to close a thread you are just opening? LOL You have to be really bored to do that one.
Reply With Quote
  #31  
Old 01-20-2003, 11:24 PM
HiSquad's Avatar
HiSquad HiSquad is offline
 
Join Date: Feb 2002
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Hack

Thanks
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:48 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.04734 seconds
  • Memory Usage 2,306KB
  • 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_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