vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [AddOn] Useful Additions For Quickreply (and normal reply page) (https://vborg.vbsupport.ru/showthread.php?t=47918)

KuraFire 01-19-2003 10:00 PM

[AddOn] Useful Additions For Quickreply (and normal reply page)
 
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 :p).


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


Instructions are in the Attachment :)

KuraFire 01-20-2003 01:26 PM

Screenshot:

NOTE: the Close Thread and Stick Thread boxes are only visible to Admins & Mods!!

SemperFidelis 01-20-2003 01:39 PM

Wohooo !
It gets released
Cheers KuraFire
:)

To use your addon, should I just :
1. outright remove Tecks quick reply with close
2. install fireflys quick reply
3. install your add-ons ?

KuraFire 01-20-2003 01:49 PM

Yeah, that'd be best cos I have no idea how Teck did his quickreply hack, so it's probably not compatible with my add-on to FireFly's hack.

In fact, I'm 99% sure that it's incompatible. So Install FireFly's instead ^_^

SemperFidelis 01-20-2003 01:53 PM

Ok
Thanks for the quick answer.
Will do.

One other question, can you possibly incorporate you add-ons to editpost as well ?

KuraFire 01-20-2003 01:57 PM

uhm, good idea :)

I'll update the hack later so that it incorporates that (and I'll update the zipfile in the attachment) :)

thx 4 tip ^_^

X-Fan 01-20-2003 01:57 PM

Kura, I can't extract the files from the RAR archive (and I've got WinRAR). Could you please just post the text files? Thanks! :)

KuraFire 01-20-2003 02:00 PM

Update your WinRAR to the latest version

SemperFidelis 01-20-2003 02:35 PM

Sweet
Ive now un-installed Tecks and installed Firefly's

Quick question though.
Your instructions say :
PHP Code:

FIND:
<
tr bgcolor="{secondaltcolor}">

REPLACE WITH:
<
tr bgcolor="{firstaltcolor}"

But the standard vb 2.2.9 newpost_attachment template contains :
PHP Code:

<tr>
    <
td bgcolor="{secondaltcolor}" valign="top"><normalfont><b>Attach file:</b></normalfont><br>
    <
smallfont>Maximum size$maxattachsize bytes</smallfont></td>
    <
td bgcolor="{secondaltcolor}" valign="top"><smallfont><input type="hidden" name="MAX_FILE_SIZE" value="$maxattachsize_temp">
    <
input type="file" class="bginput" name="attachment"><br>
    
Valid file extensions$attachextensions</smallfont></td>
</
tr


Do you mean replace both instances of : <td bgcolor="{secondaltcolor}" ?

Dean C 01-20-2003 03:42 PM

Nice hack buddy :)

Thanks for releasing

- miSt


All times are GMT. The time now is 11:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01189 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete