vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [Tweak] New Reply Box (https://vborg.vbsupport.ru/showthread.php?t=84234)

08-16-2002 10:00 PM

[Tweak] New Reply Box
 
Since this is a hack i can only give you the template changes. If you do not have this hack installed please go here.

https://vborg.vbsupport.ru/showthrea...threadid=34597

I made this more COMPACT. if you like it use it!


REPLACE YOUR "SHOWTHREAD_REPLYBOX" with the following

ZiRu$ 08-17-2002 12:38 PM

Sorry for the bad quality.....I had to use paint but still....Check it out!

Tony G 08-17-2002 12:42 PM

I don't think your allowed to release Template hacks that edit vB.org hack templates...

Sean123 08-17-2002 01:20 PM

His seems different though .. it has the reply and reset button and then the printable version at the bottom and a couple more stuff .. it looks different to me ..

sphinx 08-17-2002 02:03 PM

looks good only problem I have is the widths,which I didn't get using the other version I have tried altering the widths but no luck,below is how it looks

ZiRu$ 08-17-2002 02:29 PM

Quote:

Originally posted by sphinx
looks good only problem I have is the widths,which I didn't get using the other version I have tried altering the widths but no luck,below is how it looks
Dont use the Other Verison...it wasnt by me...

Use Mine........

sphinx 08-17-2002 03:37 PM

all I did was to replace my showthread reply box with your txt from above post,thats when I got the error,when just using firefly's without your showthread reply box,the widths are fine

Tony G 08-18-2002 11:26 AM

Quote:

Originally posted by Bluehemp123
His seems different though .. it has the reply and reset button and then the printable version at the bottom and a couple more stuff .. it looks different to me ..
I know it's different, I am saying this edits a hacks template.

ZiRu$ 08-19-2002 04:20 PM

Quote:

Originally posted by Tony


I know it's different, I am saying this edits a hacks template.

yes.....and thats ok.....cause theres no hacking required

if i said edit a hack then there would be a problem

assassingod 08-19-2002 05:37 PM

Looks good:) Thanks ZiRu$

Attrox 08-20-2002 05:58 PM

Oh, I like this. Thanks, ZiRu$. :)

Vile 08-21-2002 03:10 AM

Nice work:)

Tony G 08-22-2002 07:42 AM

Quote:

Originally posted by ZiRu$


yes.....and thats ok.....cause theres no hacking required

if i said edit a hack then there would be a problem

But your supposed to edit the actual vB, not vB.org hacks.

Haven't you noticed that trend?

SgtSling 08-23-2002 04:47 PM

awesome dude

Brad 08-26-2002 07:56 AM

Quote:

Originally posted by Tony


But your supposed to edit the actual vB, not vB.org hacks.

Haven't you noticed that trend?


Well, i think it can still be posted because there was no hacking done by ZiRu$, he was only releasing a custom template.

Tony G 08-26-2002 10:25 AM

*shrugs*

Well None of the mods have done anything so I guess it can be allowed.

No skin off my nose. :p ;)

wolfe 08-27-2002 10:46 AM

here is another one guys made by me

Quote:

PHP Code:

Replace Everything In Your showthread_quickreply template with the following code.


// -------------QuickReply Revamp By Wolfe--------------------------------

<script language="javascript">
<!--
var 
postmaxchars $postmaxchars;
function 
validate(theform) {
    if (
theform.message.value=="") {
        
alert("Please complete the message field.");
        return 
false; }
    if (
postmaxchars != 0) {
        if (
theform.message.value.length $postmaxchars) {
            
alert("Your message is too long.\n\nReduce your message to $postmaxchars characters.\nIt is currently "+theform.message.value.length+" characters long.");
            return 
false; }
        else { return 
true; }
    } else { return 
true; }
}
function 
checklength(theform) {
    if (
postmaxchars != 0) { message "\nThe maximum permitted length is $postmaxchars characters."; }
    else { 
message ""; }
    
alert("Your message is "+theform.message.value.length+" characters long."+message);
}
//-->
</script>
<
form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post">
<
input type="hidden" name="s" value="$session[sessionhash]">
<
input type="hidden" name="action" value="postreply">
<
input type="hidden" name="threadid" value="$threadid">
<
table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000"  width="100%" align="center"><tr><td><table cellpadding="4" cellspacing="1" border="0"  width="100%"><tr><td width="175" bgcolor="{firstaltcolor}" valign="top" nowrap><b>QUICK REPLY:</b><br><normalfont>Please note that this is only a fast text reply.<br><br>For replies including imagesfontscolourssmileys etc plz use the "post reply" button below.<br><br><input type="submit" class="bginput" value="Submit quick reply" accesskey="s" tabindex="3"></normalfont></td><td width="45%" bgcolor="{firstaltcolor}">&nbsp;<textarea name="message" rows="10" cols="$textareacolswrap="virtual" tabindex="1"></textarea><br><smallfont><a href="java script:checklength(document.vbform);">[check message length]</a></smallfont></td><td width="*" bgcolor="{firstaltcolor}" valign="top"><smallfont><b>OPTIONS:</b></font><br><smallfont><input type="checkbox" name="parseurl" value="yes"> <b>Automatically parse URLs: </b>Automatically adds <a href="http:// and " target="_blank"> and </aaround internet addresses.<br><input type="checkbox" name="email" value="yes" CHECKED> <b>Email Notification: </b>Emails sent to you whenever someone repliesOnly registered users are eligible.<br><input type="checkbox" name="disablesmilies" value="yes" > <b>Disable Smilies in This Post:</b>
<
br><input type="checkbox" name="signature" value="yes" CHECKED> <b>Show Signature: </b>Include your profile signatureOnly registered users may have signatures.<br><br><br><b><i>Quick Reply Design By Wolfe</i></b></select></smallfont></td></tr></table></font></td></tr></tr></table></td></tr></form>

// -------------QuickReply Revamp By Wolfe-------------------------------- 


http://www.vbulletintemplates.com/mo...s=&postid=5145

Tony G 08-27-2002 11:41 AM

Documenting it would be good.

platoon 08-28-2002 08:20 PM

Do u have to make new templte for this mod, i have not got a file called SHOWTHREAD_REPLYBOX??

wolfe 08-29-2002 10:39 AM

or you could just add the code in the Showthread Template

Tony G 08-29-2002 10:44 AM

Quote:

Originally posted by platoon
Do u have to make new templte for this mod, i have not got a file called SHOWTHREAD_REPLYBOX??
Do you have Quick Reply installed?

sphinx 08-29-2002 04:01 PM

Quote:

Originally posted by wolfe
or you could just add the code in the Showthread Template
yep and thats how I added it works just fine

Arabs Emperor 09-01-2002 09:57 AM

thanks
it's cool

Orfejs 01-30-2003 03:26 PM

great

sslight 02-12-2003 08:24 PM

hey thanks *clicks install*

Erwin 04-03-2003 04:06 AM

To mods - this thread is probably in the wrong forum. :)

Tony G 04-03-2003 05:05 AM

Thanks Erwin! Moving to Template Modifications.

+Fares+ 04-05-2003 11:06 PM

Nice :) like it

Hermit 04-09-2003 06:53 PM

Quote:

Originally Posted by sphinx
looks good only problem I have is the widths,which I didn't get using the other version I have tried altering the widths but no luck,below is how it looks

It's because his template modification doesn't conform to the default hack tables in the SHOWTHREAD template.

His mod ends too many tables before the $replybox variable... which in turn takes away the spacer td's on both sides of the postbit.

There are 2 possible templates that could be causing your width problem.

1) the quick reply template
2) the showthread template

Quick Reply Template:
If this template starts off by:
</td></tr></table> in some fashion, get rid of it.

OR

Showthread Template:
If you have a couple of these:
</td></tr></table>
</td></tr></table> right before the $replybox variable, get rid of one of them.

Problem solved.

If you need further assistance, simple attach txt files of your Showthread template and Quick Reply template and I'll edit it for you ;)


All times are GMT. The time now is 04:31 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.01375 seconds
  • Memory Usage 1,815KB
  • 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
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete