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)
-   -   Quick Reply Box (https://vborg.vbsupport.ru/showthread.php?t=34597)

Skyrender 03-17-2003 07:23 PM

Aurore, yes you can use the quote
Just put [*Quote]whateveryouwant[/quote*]
I'll try and and make this easier give me you s/n to msn or aim and i'll help you.

Achaeon ask Firefly he could help you or maybe i'll try.

Skyrender 03-17-2003 07:30 PM

Ok here is the code Aurore. Just add this to showthread_quickreply

PHP Code:

<script language="Javascript" src="vbcode.js"></script>
<
script language="Javascript" src="vbcode_language.js"></script>
<
style>
#codebuttons input { font-family: verdana, arial, helvetica; font-size: 11px; }
#codebuttons select { font-family: verdana, arial, helvetica; font-size: 11px; }
.smilieTable border-width2pxborder-styleoutset; }
</
style>

<
tr id="codebuttons">
    <
td bgcolor="#E8ECF0" valign="top"><font face="tahoma" size="1"><b>vB Code</b></font>
    <
font face="tahoma" size="1">
    [<
a href="misc.php?action=bbcode#buttons" target="_blank">help</a>]<br>
    <
input type="radio" name="mode" value="0" title="Normal Mode: (alt+n)" accesskey="n"
    
onclick="setmode(this.value)" onmouseover="stat('norm')" checkedNormal Mode
    
<br>
    <
input type="radio" name="mode" value="1" title="Enhanced Mode: (alt+e)" accesskey="e"
    
onclick="setmode(this.value)" onmouseover="stat('enha')" Enhanced Mode
    
</font></td>
    
    <
td bgcolor="#E8ECF0">

    <
table cellpadding="0" cellspacing="0" border="0">
    <
tr>
        <
td nowrap><font face="tahoma" size="1">
        <
input type="button" class="bginput" value=" B " onclick="vbcode(this.form,'B','')" onmouseover="stat('b')" title="BOLD (alt+b)" accesskey="b" 
        
><input type="button" class="bginput" value=" I " onclick="vbcode(this.form,'I','')" onmouseover="stat('i')" title="ITALIC (alt+i)" accesskey="i" 
        
><input type="button" class="bginput" value=" U " onclick="vbcode(this.form,'U','')" onmouseover="stat('u')" title="UNDERLINE (alt+u)" accesskey="u" >
        &
nbsp;

        <
select id="sizeselect" 
        
onchange="fontformat(this.form,this.options[this.selectedIndex].value,'SIZE')" onmouseover="stat('size')">
        <
option value="0">SIZE</option><option value="1">small</option>
<
option value="3">large</option>
<
option value="4">huge</option></select

        
><select id="fontselect" 
        
onchange="fontformat(this.form,this.options[this.selectedIndex].value,'FONT')" onmouseover="stat('font')">
        <
option value="0">FONT</option><option value="arial">Arial</option>
<
option value="times new roman">Times</option>
<
option value="courier new">Courier</option>
<
option value="century gothic">Century</option></select

        
><select id="colorselect" 
        
onchange="fontformat(this.form,this.options[this.selectedIndex].value,'COLOR')" onmouseover="stat('color')">
        <
option value="0">COLOR</option><!-- you should edit this list to remove the colors you don't want -->
<option value="skyblue" style="color:skyblue">sky blue</option>
<option value="royalblue" style="color:royalblue">royal blue</option>
<option value="blue" style="color:blue">blue</option>
<option value="darkblue" style="color:darkblue">dark-blue</option>
<option value="orange" style="color:orange">orange</option>
<option value="orangered" style="color:orangered">orange-red</option>
<option value="crimson" style="color:crimson">crimson</option>
<option value="red" style="color:red">red</option>
<option value="firebrick" style="color:firebrick">firebrick</option>
<option value="darkred" style="color:darkred">dark red</option>
<option value="green" style="color:green">green</option>
<option value="limegreen" style="color:limegreen">limegreen</option>
<option value="seagreen" style="color:seagreen">sea-green</option>
<option value="deeppink" style="color:deeppink">deeppink</option>
<option value="tomato" style="color:tomato">tomato</option>
<option value="coral" style="color:coral">coral</option>
<option value="purple" style="color:purple">purple</option>
<option value="indigo" style="color:indigo">indigo</option>
<option value="burlywood" style="color:burlywood">burlywood</option>
<option value="sandybrown" style="color:sandybrown">sandy brown</option>
<option value="sienna" style="color:sienna">sienna</option>
<option value="chocolate" style="color:chocolate">chocolate</option>
<option value="teal" style="color:teal">teal</option>
<option value="silver" style="color:silver">silver</option></select>
        <br>
        
        <input type="button" class="bginput" value="http://" title="Insert Hyperlink" onclick="namedlink(this.form,'
URL')" onmouseover="stat('url')"
        ><input type="button" class="bginput" value=" @ " title="Insert Email Address" onclick="namedlink(this.form,'
EMAIL')" onmouseover="stat('email')"
        ><input type="button" class="bginput" value="IMG" title="Insert Image" onclick="vbcode(this.form,'
IMG','http://')" onmouseover="stat('img')">
        
&nbsp;
        <
input type="button" class="bginput" value=" # " title="CODE" onclick="vbcode(this.form,'CODE','')" onmouseover="stat('code')"
        
><input type="button" class="bginput" value="PHP" title="PHP CODE" onclick="vbcode(this.form,'PHP','')" onmouseover="stat('php')"
        
><input type="button" class="bginput" value="List" title="Ordered List" accesskey="l" onclick="dolist(this.form)" onmouseover="stat('list')"
        
><input type="button" class="bginput" value="Quote" title="Insert Quote" onclick="vbcode(this.form,'QUOTE','')" onmouseover="stat('quote')"><br>
        
        <
input type="text" class="bginput" name="status" style="font-size:7pt" size="50" value="Use these controls to insert vBcode">

        </
font></td>
        <
td>&nbsp;</td>
        <
td><font face="tahoma" size="1">
        <
input type="button" class="bginput" value=" x " accesskey="c" title="Close Current Tag (alt+c)" style="color:red; font-weight:bold" onclick="closetag(this.form)" onmouseover="stat('closecurrent')">
        
Close Current Tag<br>
        <
input type="button" class="bginput" value=" x " accesskey="x" title="Close All Open Tags (alt+x)" style="color:red; font-weight:bold" onclick="closeall(this.form)" onmouseover="stat('closeall')">
        
Close All Tags
        
</font></td>
    </
tr>
    </
table>
    
    </
td>
</
tr

That adds all the buttons as in the normal replybox.

laycomp 03-18-2003 01:44 AM

Quote:

02-14-02 at 10:53 AM squawell said this in Post #127
Chen~did u ever think add the attach file option to ur quick reply

box if u can do that it will be great!!:D:D:D:D


Yes, this is a must hack for us sites that use a lot of attachments, it would really enhance the reply box.

Is there a possibility of doing this??

Thanks :)

kr?mel 03-18-2003 02:57 PM

great hack :D

Skyrender 03-18-2003 06:59 PM

Quote:

Today at 03:44 AM laycomp said this in Post #883



Yes, this is a must hack for us sites that use a lot of attachments, it would really enhance the reply box.

Is there a possibility of doing this??

Thanks :)

I'll try and do this.

laycomp 03-18-2003 09:10 PM

Quote:

Today at 08:59 PM Skyrender said this in Post #885


I'll try and do this.

Wow Skyrender, that would be awesome! :banana:

I'm surprised no one has yet done it.

Thank you. Look forward to news and any assistance I can provide you. (i am not a programmer though)

Perhaps it could work as an addon for all the many that already have the Quick Reply hack installed? Just a suggestion :)

Boofo 03-18-2003 09:40 PM

Come on, guys, the answer has been in the thread for a while now. The search box at the bottom really works. ;)

Just add this where you want it in the replybox:

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


Boofo 03-18-2003 09:43 PM

There's also a hack that allows you to turn attachments on or off for the quick replybox on a per forum basis. But I'll let you find it [high]using the search box[/high] at the bottom of this page. ;)

catocom2 03-19-2003 02:36 AM

I got this installed on 2.3.0 with the
smilies box, and attachments addins.

Works great. :)

I just have to add the custom smilies option,
and it's jammin'.

Thanks for the great hack.
LOL I've read through all 60 pages here. :D

Randomlove 03-19-2003 12:54 PM

Installed on 2.3.0.RC3, works fine so far. Some people complained about "No thread specified" error (just like post#871 up there). But not sure if this was because of the hack.


All times are GMT. The time now is 10:56 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.02321 seconds
  • Memory Usage 1,813KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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