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 (with Close/Open thread switch) (https://vborg.vbsupport.ru/showthread.php?t=40380)

KuraFire 01-09-2003 10:29 PM

Shall I just release my own hack along with the new addition to go back to forum? :)

SemperFidelis 01-10-2003 12:54 AM

That sounds a good idea KuraFire
Looking forward to your release.

dotagious 01-10-2003 01:41 AM

you've got my vote! How about all three though? LOL

TECK 01-10-2003 03:29 AM

Quote:

Originally posted by KuraFire
Shall I just release my own hack along with the new addition to go back to forum? :)
Sure. :)
Any hack extra that have new features is good for all of us.

dotagious 01-10-2003 05:02 AM

I would be even better if you could add those options to this hack instead of making them check boxes. A drop down menu is much better IMO.

KuraFire 01-10-2003 07:53 AM

dotagious: I already have them as checkboxes on my own forum, I'm not gonna make it totally different and use a drop-down menu :p

*shrugs and goes write his sig-email-stick-close-forum/thread boxes hack*

Oblivion Knight 01-17-2003 12:33 PM

Any news on the "Add Signature?" option to this..?
It would be a much appreciated addon to the hack :)

KuraFire 01-17-2003 07:32 PM

Yeah, my computer at work is currently still with a New Hack window open and I'm getting together all the info (files & templates that need modification and what they're like in their default form) and writing the Hack release. Monday when I get back to work I'll finish the hack and release it right away :)

Oblivion Knight 01-19-2003 09:38 AM

I accomplished this myself with a simple template edit..

In the template showthread_replybox

Find:
Code:

<input type="hidden" name="signature" value="yes">
^ Delete This



Find:
Code:

<b>&nbsp;Quick Reply:</b></normalfont>
Add below:
Code:

<br /><br /><input type="checkbox" name="signature" value="yes" checked><smallfont>Show Signature?</smallfont>

AnaFreak 01-19-2003 08:40 PM

my box turned up green any ideas why?????

KuraFire 01-20-2003 07:11 PM

Oblivion: that's only the signature box thingy, which, yes, does not require file hacks.

KuraFire 01-23-2003 09:16 AM

I finished & released my hack, see my signature for the link :):up:

Mike Gaidin 02-02-2003 06:39 PM

How can I make it so that if I hit the TAB on my keyboard it will tab to the GO button instead of the forum banner?

KuraFire 02-03-2003 07:48 AM

Put

tabindex="#"

in the <input type="submit" ..> code in the template. And replace # with the number one higher than the tabindex of your Textarea field.

Doubledoom 02-24-2003 10:59 AM

I had some people at the board complaing they were getting errors with this quick reply box when i wasnt.

Turned out that if you have scipt debugging enabled, it reports that the script is bad. If you dont have debugging enabled, it appears to work fine.

Unfortunatly, i dont know how much about scripts so cant post any help

Doubledoom 02-24-2003 05:19 PM

OK, here is the script fix:

In showthread_replybox, a whole chunk of code is missing.

You need to add this at the top:

Code:

<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>

This will stop those with script debug turned on from getting errors on pressing the go button

L-Mane 03-02-2003 05:58 PM

I use 2.30 and well it works fine except

Quick Reply:

Close This Thread

won't show up unless you highlight it.

Also when I goto edit post the delete post is already checked and if I do try to delete it says that I chose not to delete.

AllMadden.net 03-14-2003 11:09 PM

I installed it and it works great...BUT the background of the box is GREEN! How do I change the color? It doesn't mesh all that well with my grey background board

AllMadden.net 03-14-2003 11:21 PM

Never mind...figured out that it was the spaces making it do that...

great hack...

However...I don't have a close thread check box...any idea why? I thought this hack was supposed to put that in there

AllMadden.net 03-15-2003 12:43 PM

Quote:

02-03-03 at 04:48 AM KuraFire said this in Post #94
Put

tabindex="#"

in the <input type="submit" ..> code in the template. And replace # with the number one higher than the tabindex of your Textarea field.

Which template is that info in? I can't seem to find it...

edit...Never mind...found it...

kevin_r1 03-21-2003 12:18 AM

Quote:

02-02-03 at 08:39 PM Mike Gaidin said this in Post #93
How can I make it so that if I hit the TAB on my keyboard it will tab to the GO button instead of the forum banner?
remove the tabindex attribute for the text area

this is a great hack. worked perfect for me the first time around. the go button looks a lot better than the submit button in my opinion.

hoahongtim 05-01-2003 02:41 AM

Quote:

if ($permissions[canpostattachment] and (!$safeupload or function_exists("is_uploaded_file"))) {
eval("\$attachmentoption = \"".gettemplate("newpost_attachment")."\";");
} else {
$attachmentoption="";
}

$vbcode_smilies = '';
$vbcode_buttons = '';
if ($foruminfo[allowsmilies]) {
if ($bbuserinfo[showvbcode] && $allowvbcodebuttons) {
$vbcode_smilies = getclickysmilies();
}
eval("\$disablesmiliesoption = \"".gettemplate("newpost_disablesmiliesoption")."\ ";");
} else {
$disablesmiliesoption="";
}
if ($bbuserinfo[showvbcode] && $allowvbcodebuttons) {
$vbcode_buttons = getcodebuttons();
}

getforumrules($foruminfo,$permissions);

eval("dooutput(\"".gettemplate("newreply")."\");") ;

}

?>
Parse error: parse error in .......newreply.php on line 598


line 598 is here
Quote:

?>
can anybody help me

Mr_Johnson 05-03-2003 04:31 AM

hmmm with 2.2.9 I followed the instructions and not seeing any changes to my forum :(

KuraFire 05-03-2003 01:06 PM

try my hack for this :)

Doubledoom 05-03-2003 02:46 PM

It is virtually your hack anyway. Anyone installing this should be wary that there are bits missing which are mentioned in the thread but not corrected in the first post attachment.

Mr_Johnson 05-03-2003 05:57 PM

Quote:

Today at 04:46 PM Doubledoom said this in Post #105
It is virtually your hack anyway. Anyone installing this should be wary that there are bits missing which are mentioned in the thread but not corrected in the first post attachment.

That kind of concerns me. Good thing I backed everything up :) I'll just set it back to that and try andother hack. Any recomendations?

Mr_Johnson 05-07-2003 08:21 PM

I am getting some errors when I click the go button. Still posts, but getting erros when I click go, and I can not load the edit.php, gives a parse error (the other error was one that just prompts to inform of an error on the page, click ok, then continues on). I am going to go over the code more when I get home, but just wanted to know if anyone had similar experiences :(

Doubledoom 05-08-2003 07:33 AM

Quote:

Yesterday at 10:21 PM Mr_Johnson said this in Post #107
I am getting some errors when I click the go button. Still posts, but getting erros when I click go, and I can not load the edit.php, gives a parse error (the other error was one that just prompts to inform of an error on the page, click ok, then continues on). I am going to go over the code more when I get home, but just wanted to know if anyone had similar experiences :(

I posted a fix for that a page or two back.

Mr_Johnson 05-08-2003 09:58 AM

Thanks :)

Now I am running into some problems with vbhome and not showing the thread body for the article. Related to this you think?

Mr_Johnson 05-08-2003 10:10 AM

Update: I replaced the new editpost.php file with the old one and got rid of the parse error that was occuring. So I thought perhaps it was part of the script in newthread.php, so I tried editing the post on the home page an voila, body is there. Any idea what part of the newthread.php mod that could be causing this?

Doubledoom 05-14-2003 08:08 AM

Quote:

05-08-03 at 11:58 AM Mr_Johnson said this in Post #109
Thanks :)

Now I am running into some problems with vbhome and not showing the thread body for the article. Related to this you think?


I have vbhome 4.2 and this quick reply box installed on my test board now and they are working fine together. Not experiencing the same problem as you.

Shauk 05-27-2003 03:20 PM

ok when I went to sleep last night this hack was working, and in place. however, now,

I post, I click go, and nothing happens, it takes me back top the 1st post of the thread, and theres no new post at the end, also the open and close check boxing doesnt work for me.

I few users got the debugging error but after reading this thread I applied the fix.

but this is weird.

CorvetteMan 05-27-2003 11:39 PM

Great hack, thanks for putting it together!

www.digitalcorvettes.com

Shauk 05-28-2003 05:09 AM

ok please help me out a little.

i've done the hack and it works for some threads and not for some others, its sporadic, but if it works in one thread it tends to keep working in that thread.

however I 1st suspected it would only work on new posts after the hack was installed.

is there a way to get it to work on the older topics? is it supposed to be discriminating like this?

here are 2 examples

http://www.xoxideforums.com/showthre...&threadid=8418

this threads quick reply works

http://www.xoxideforums.com/showthre...&threadid=8383

this thread simply refreshes when you hit "go" and goes back to the top of the page.

the address bar then reads as

Code:

http://www.xoxideforums.com/showthread.php?s=&action=postreply&threadid=8383&title=&iconid=0&parseurl=yes&email=&disablesmilies=&signature=yes&rating=0&message=asd&x=18&y=12
had to put it in brackets to get it to show on this post.

after the refresh.

help!

Shauk 05-28-2003 05:37 PM

can anyone help me?

BaBa2002 05-31-2003 12:05 PM

wow thx

Bulleh 05-31-2003 04:01 PM

why is mine green? www.gamers-source.com/ check out a topic the reply box is green...lol

G20 Sport 2002 06-22-2003 03:57 PM

Im using 230 and it works fine except when I press close this thread it doesnt close the thread why?

spl33nboy 06-22-2003 04:54 PM

Hey folks,

I've had this hack installed - but it doesn't seem to post signatures - any ideas?

Noel 4 DMB 06-24-2003 10:57 PM

Fatal error: Call to undefined function: stripsession() in /home/virtual/sitexxx/fst/var/www/html/forum/newreply.php on line 122

Any idea what I missed? I feel confident that I followed your instructions, and I re-did each file.


All times are GMT. The time now is 12:51 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.01307 seconds
  • Memory Usage 1,821KB
  • 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
  • (5)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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