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)

pHAZE_1 08-20-2002 02:20 AM

some of the members at my board and others are having this problem. i havent had it, but one user says

"when you click enter to send the post in quick reply, 75% of the time it reloads and doesnt submit"

Stylez 08-23-2002 01:03 AM

alright i got a problem with showthread.php in 2.2.6

first step says

1. In showthread.php find this bit of code:
// ##################################################
if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}

if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {
$pagenumber=1;
}

----------------------

my showthread shows

if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}

---------------------------------

but not the rest......the other part is in an entirely different place.

what should i do?

2 X Viverridae 08-23-2002 09:51 AM

Well - it could be because of any of a number of hacks you have previously installed. To make it easier to diagnose, post ALL the code, incuding what is between the first and last part - but put it in an attachment.

With a little more info, we may be able to help you make this work.

dwh 08-23-2002 04:48 PM

Quote:

Originally posted by Boofo
To add smilies to the quick reply box:

Add this line:

$clickysmilies = getclickysmilies();

to showthread.php right after this:

$textareacols = gettextareawidth();

then use $clickysmilies in the showthread_quickreply template to add the box with the smilies in it, but you will also need to add these two lines:

<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>

to the template right after the <form> tag. That should work.

I'm confused...this section does not even appear in showthread.php for 2.2.6
"$textareacols = gettextareawidth();"

Stylez 08-23-2002 05:05 PM

there it is.....

dwh 08-23-2002 05:17 PM

I was mixing two versions of this hack unknowingly...

Boofo 08-23-2002 05:51 PM

It is there. :) Did you find it all right?

Quote:

Originally posted by dwh


I'm confused...this section does not even appear in showthread.php for 2.2.6
"$textareacols = gettextareawidth();"


dwh 08-23-2002 06:15 PM

Nope...not even on a fresh install...I've put it away for now to look at it again later...but I think it's in the code hack not the original showthread code, is that right?

Anyways...I originally used another version of this hack as a basis for the idea and then wrote it my own way w/o modifying showthread.php...

What line is it supposed to be on?

Boofo 08-23-2002 06:23 PM

There's the problem. That code is in the code that you add for Firefly's Quick Reply box. That is why it is not on a fresh install of vb. You will only find it after adding the Quick Reply Box code. :)

Quote:

Originally posted by dwh
Nope...not even on a fresh install...I've put it away for now to look at it again later...but I think it's in the code hack not the original showthread code, is that right?

Anyways...I originally used another version of this hack as a basis for the idea and then wrote it my own way w/o modifying showthread.php...

What line is it supposed to be on?


snyx 08-23-2002 09:20 PM

Quote:

Originally posted by Boofo
To add smilies to the quick reply box:

Add this line:

PHP Code:

$clickysmilies getclickysmilies(); 

to showthread.php right after this:

PHP Code:

$textareacols gettextareawidth(); 

then use $clickysmilies in the showthread_quickreply template to add the box with the smilies in it, but you will also need to add these two lines:

PHP Code:

<script language="Javascript" src="vbcode.js"></script>
<
script language="Javascript" src="vbcode_language.js"></script

to the template right after the <form> tag. That should work.

that worked great man thx, but I use like 54 smilie display for new thread/reply, and for my quickreply box that FAR too much, is there anyway to have a smaller pick of smiles? thx boofo

Boofo 08-23-2002 09:29 PM

I basically did the same thing with the vbcode_buttons. I made a smaller set to use in my quick reply boxes (regular and pm) but that involved hacking the vbcode_buttons code, so I'm afraid that would have to be the case for a smaller amount of smilies, too. :)

Quote:

Originally posted by snyx
that worked great man thx, but I use like 54 smilie display for new thread/reply, and for my quickreply box that FAR too much, is there anyway to have a smaller pick of smiles? thx boofo

snyx 08-23-2002 09:38 PM

you said you have done this? or somthing along the lines, or am I reading this all wrong?

Boofo 08-23-2002 10:17 PM

Yes, I did it with the vbcode buttons. I would have to look at the smilie code to see how to do it. It involves a lot more than just transferring code from one to the other. :)

snyx 08-24-2002 12:35 AM

think ya could help me out?
I would forever be in your debt :)
lol, I can help ya out with any grfx ya need
icq me or sumthin :) 71926358

Boofo 08-24-2002 12:53 AM

Give me a couple of days to sort it out and see if it can even be done. I'm not sure what it all entails yet. :) I'll try to come up with something for you. :)

I don't use ICQ. Too many "Pretty Park Worm" viruses for me. :) I'm on Messenger.

Quote:

Originally posted by snyx
think ya could help me out?
I would forever be in your debt :)
lol, I can help ya out with any grfx ya need
icq me or sumthin :) 71926358


Stylez 08-24-2002 07:06 AM

can anyone help me? O_o

Boofo 08-24-2002 07:20 AM

Stylez, the code you are looking for starts on line 238 of an unhacked showthread.php for 2.2.6.

snyx 08-24-2002 08:42 AM

cool man, thx
snyxmedia@hotmail.com ;)

meteore 08-27-2002 02:03 PM

is there a mean to add the vbcode buttons to the quick pm reply box?

meteore 08-28-2002 10:50 AM

no one can help me ?

Boofo 08-28-2002 10:59 AM

Add:

Quote:

$vbcode_buttons
where you want the buttons displayed.

meteore 08-28-2002 03:56 PM

thx

Learner29 08-30-2002 07:00 AM

I double checked that in my options, this option is set to yes

Use 'Email Notification' by default?
Using this option emails you whenever someone replies to a thread that you have participated in.

STILL, when I use the quick reply box, and then edit the post, I notice that the email notification little square at the bottom of the post is NOT checked.

Why is this ??

MarkL 08-30-2002 08:06 PM

I did this hack and it shows up, but when I post with it, a message comes up saying, 'No thread specified. If you followed a valid link, please notify the webmaster'. Does anyone know what I could have done wrong?

Learner29 08-31-2002 11:04 AM

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hm.... this cool thing doesn?t work for me with vb 2.2.7 :\

we used it till yesterday and after the update, the quick reply box was gone
:(

any ideas? :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
did you reapply the hack or not ?
if you did not reapply the hack, then you are simply now using the normal
templates of vb2.2.7 which of course do not include the quick reply box
functionality

Pro 08-31-2002 09:24 PM

i have 2.2.7. I installed the hack, but it's not working, can someone help me through aim? it's Pro Punchlines

freehtml 09-01-2002 02:15 AM

I am using 2.2.7 and is working fine...

Take a look at http://www.sgwebhostingtalk.com

Boofo 09-01-2002 02:17 AM

I just looked there and I didn't see it. Do you have to be registered to see it? Because it's not there. ;)

Quote:

Originally posted by freehtml
I am using 2.2.7 and is working fine...

Take a look at http://www.sgwebhostingtalk.com


Pro 09-01-2002 10:35 PM

^^^same for me

DanIAm 09-02-2002 01:24 AM

Weird Weird Weird...

I had this hack(quick reply box) installed on my 2.2.6 version board. I updated to 2.2.7. The hack(quick reply box) was not there. I then reinstalled the hack according to the instructions, went into a forum and the hack(quick reply box) WAS there. I made 3 test posts using the hack. I went into another forum and the hack(quick reply box) was NOT there.

I found this odd, choose then another (now third) forum, and the hack(quick reply box) still was NOT there.

I went back to the original forum in which I posted 3 times using the hack(quick reply box) and the hack(quick reply box) was NOT there too???

What's up with that?

Dan

ExAvIoUr 09-02-2002 06:03 AM

yea thx a lot very good work.
just one problem... with vbulletin 2.2.5 i get invalid thread specified when i hit post reply.
any ideas?

FleaBag 09-02-2002 01:31 PM

Working on 2.2.7. Thanks again! :)

Learner29 09-02-2002 09:04 PM

Quote:

Originally posted by FireFly
[B]If you want users who have the Use Email Notification option ON, to automatically subscribe to threads they reply to with this hack, see this post:
https://vborg.vbsupport.ru/showthrea...950#post253950


THANK YOU A MILLION !!!!

this is an excellent hack and it works very fine with vb2.2.7 !

I just installed it and it works and yes it DOES subscribe users to the threads they reply to via the quick box.....

a BIIIIIIG thank you to FireFly

Webmasta XT 09-02-2002 09:17 PM

works perfectly fine on vb 2.2.6

Learner29 09-03-2002 11:47 PM

Quote:

Originally posted by FireFly
To subscribe users to the thread if the option is on in their profile.

This is an EXCELLENT hack really.....

FleaBag 09-04-2002 07:16 AM

True. It's probably the most simple yet productive hack I have installed.

Greystang302 09-06-2002 02:01 AM

Working great on 2.2.6, then performed the upgrade to 2.2.7. Just had to re-apply the code to showthread.php, the templates were not changed by the upgrade. So far it's working great on 2.2.7 too! Will report any bugs found if we encounter any...

Learner29 09-06-2002 04:49 PM

Quote:

Greystang302

Working great on 2.2.6, then performed the upgrade to 2.2.7. Just had to
re-apply the code to showthread.php, the templates were not changed by the
upgrade. So far it's working great on 2.2.7 too! Will report any bugs
found if we encounter any...

I had exactly the same results. the upgrade did not change anything, and it
was as easy as reapplying the hack to showthread.php to get it back working.

I love this hack and wish to see you installed on future versions of
vbulletin.

DanIAm 09-06-2002 07:08 PM

brain fart... excuse me!

Learner29 09-06-2002 08:35 PM

Quote:

DanIAm
NOW, after doing nothing else after the install. The darn quick reply box is
gone? No where to be seen. Where did it go?
FTP to your server, and download the showthread.php that is on the server
......

now open this file and look for the code of the hack....

do you find it there ??


All times are GMT. The time now is 01:19 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.01943 seconds
  • Memory Usage 1,825KB
  • 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
  • (3)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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