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)

blackice912 04-09-2003 05:29 PM

I've got a mother of a problem.

When I have a stuck thread and use the quick reply, it makes that thread not stuck anymore.

Anybody know how to fix this?

UPDATE: Oh yeah, it also unlocks threads that are locked.

SloppyGoat 04-11-2003 03:03 AM

I have one of my forums excluded from default autoparsing. Can anyone tell me how I can also apply this exclusion to the quickreply box? It seems to ignore my hack, which is this.

Replace this in newthread.php and newreply.php

PHP Code:

if (!isset($parseurl)) {
    
$parseurlchecked="CHECKED";
  } 

With this:

PHP Code:

if ((!isset($parseurl)) && ($foruminfo[forumid]!=22)) {
      
$parseurlchecked="CHECKED";
  } else {
        
$parseurlchecked '';
  } 

It's pretty slick, except for the quickreply. I assume it's because of this line?

Code:

<input type="hidden" name="parseurl" value="yes">
[edit] Nope, actually, I just tried setting it to no, and it still parsed.
But if I remove that line, it stops parsing globally. Hmmmm

Geminy 04-12-2003 08:37 PM

Questa ? la versione in Italiano.

This is the Italian Version.

blackice912 04-14-2003 09:55 AM

Quote:

04-09-03 at 07:23 PM blackice912 said this in Post #921
I've got a mother of a problem.

When I have a stuck thread and use the quick reply, it makes that thread not stuck anymore.

Anybody know how to fix this?

UPDATE: Oh yeah, it also unlocks threads that are locked.

So I guess noboby else has this problem?

Dangit, that means I have to figure out how to fix it on my own :p

ZiRu$ 04-14-2003 03:09 PM

Yo Firefly......I re-installed this hack :)

Alien 04-15-2003 07:38 PM

Works flawlessly on 2.3.0. Nice work!

blackice192: I don't have the problem you're experiencing.. Sorry. :(

SloppyGoat 04-16-2003 01:16 AM

Quote:

04-10-03 at 11:03 PM SloppyGoat said this in Post #922
I have one of my forums excluded from default autoparsing. Can anyone tell me how I can also apply this exclusion to the quickreply box? It seems to ignore my hack, which is this.

Replace this in newthread.php and newreply.php

PHP Code:

if (!isset($parseurl)) {
    
$parseurlchecked="CHECKED";
  } 

With this:

PHP Code:

if ((!isset($parseurl)) && ($foruminfo[forumid]!=22)) {
      
$parseurlchecked="CHECKED";
  } else {
        
$parseurlchecked '';
  } 

It's pretty slick, except for the quickreply. I assume it's because of this line?

Code:

<input type="hidden" name="parseurl" value="yes">
[edit] Nope, actually, I just tried setting it to no, and it still parsed.
But if I remove that line, it stops parsing globally. Hmmmm


neocorteqz 04-16-2003 04:19 AM

sorry, but this thread is a little too long to search through.

Does anyone know if this can be locked to specific parts of the forums.

I want to be able to use this hack in specified forums on the board.

thanks.:)

SloppyGoat 04-16-2003 04:56 AM

That would also solve my problem, if I could just exclude the quickreply from one forum. I'd much rather fix it as stated above though.

blackice912 04-16-2003 10:04 AM

Quote:

Yesterday at 09:38 PM Alien said this in Post #926
blackice192: I don't have the problem you're experiencing.. Sorry. :(
Yeah, I'm not the only site with this problem too... :ermm:

SloppyGoat 04-16-2003 11:21 AM

Please have mercy on us poor php challenged souls. :( I know there are some php gurus out there that can figure these things out in no time at all. :(
Think back to when you relied on others to help make things make some sort of sense for you. :(

ub3x 04-19-2003 05:33 PM

Quote:

07-31-02 at 08:37 PM Boofo said this in Post #553
Glad I could help. Enjoy. ;)

thanks alot buddy!

Michael Foster 04-25-2003 02:56 PM

Does this hack require the file_upload option on in the server's php.ini to be turned on? My host for my forums has the file_upload option in the server's php.ini turned off.

sjau 04-27-2003 03:47 PM

Will the signature be added when you make a quick reply? I note that on www.worldzonesupport.com the signature is not being added with a quick reply.

sjau

Michael Foster 04-27-2003 04:11 PM

It does on my forum. :)

Koutaru 04-27-2003 04:38 PM

You have the option of doing a lot of things

<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="action" value="postreply">
<input type="hidden" name="threadid" value="$threadid">
<input type="hidden" name="title" value="">
<input type="hidden" name="iconid" value="0">
<input type="hidden" name="parseurl" value="yes">
<input type="hidden" name="email" value="">
<input type="hidden" name="disablesmilies" value="">
<input type="hidden" name="closethread" value="">
<input type="hidden" name="hiddenreply" value="">
<input type="hidden" name="signature" value="yes">
<input type="hidden" name="rating" value="0">

just make this line
<input type="hidden" name="signature" value="no">

turn the value off and on :)

It's located in the quick reply template

sjau 04-27-2003 06:08 PM

Just installed it... thx guys!

krazymamma2831 04-27-2003 08:28 PM

umm i installed it now what do i do , i am not sure what to do or where to put it

mwhoob 04-28-2003 08:42 AM

thankx

Jacko 04-28-2003 09:15 AM

Quote:

Yesterday at 10:28 PM krazymamma2831 said this in Post #938
umm i installed it now what do i do , i am not sure what to do or where to put it

where to put what??

did you create the quick reply template?? and add "$replybox" to the "showthread" template??

peterjun 05-02-2003 05:29 PM

How do I alow unregistered/guests to use the quick response box?

They have permission to post, and the box shows up for them, but when they try to post, I get an error message: "You did not specify a username for your post"

Is there any way to have the reply box just default to unregistered when the user is not logged in/guest?

Thanks so much!

peterjun 05-02-2003 05:29 PM

How do I alow unregistered/guests to use the quick response box?

They have permission to post, and the box shows up for them, but when they try to post, I get an error message: "You did not specify a username for your post"

Is there any way to have the reply box just default to unregistered when the user is not logged in/guest?

Thanks so much!

mmmender 05-05-2003 01:11 PM

has anyone tested this in 2.2.9 or 2.3? i can't get it to work but i really want to!!!

Reno 05-05-2003 01:41 PM

Thanks for telling me about the experience mmmender. I was about to try myself also on vB 2.3.

So, anyone tried this on 2.3 and does it work (except mmmender)?

WEForums 05-05-2003 02:50 PM

It works for vB 2.3.0. No errors.

What error are you receiving?

Reno 05-05-2003 11:24 PM

No. I don't get any errors. Just checking to see if there are errors or not. Thanks WEForums.

[EDIT] I CAN'T FIND THIS!!! :alien:

3. In the "showthread" template add $replybox right after the following:
// ##################################################
<!-- first unread and next/prev -->
<table cellpadding="2" cellspacing="0" border="0" width="95%" align="center">
<tr>
<td><smallfont>$pagenav&nbsp;</smallfont></td>
<td align="right"><smallfont>
<img src="https://vborg.vbsupport.ru/images/prev.gif" alt="" border="0">
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
&nbsp;
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
<img src="https://vborg.vbsupport.ru/images/next.gif" alt="" border="0">
</smallfont></td>
</tr>
</table>
<!-- first unread and next/prev -->
// ##################################################

SVTBlackLight01 05-06-2003 07:29 AM

I tried using the smilie box with this and didn't like the way it affected the display of the QRB or how it took longer to load the page.

To solve this problem and still enable the use of smilies, I just added a link similar to the "get more" in the normal reply.

If anybody is interested, in the showthread_replybox template replace:

<td bgcolor="{ secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont></td>

with:

<td bgcolor="{ secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b><br><br>[<a href="javascript:opensmiliewindow(240,280,'')">Get Smilies</a>]</normalfont></td>

RDX1 05-06-2003 09:59 AM

I'm not gonna read through all the pages, but in my forums i keep getting this error in 2.3.0 (Both of my forums get it)

Fatal error: Cannot redeclare stripslashesarray() (previously declared in /home/*******/public_html/talk/global.php:31)

Boofo 05-06-2003 10:57 AM

Quote:

Today at 03:29 AM SVTBlackLight01 said this in Post #947
I tried using the smilie box with this and didn't like the way it affected the display of the QRB.

To solve this problem and still enable the use of smilies, I just added a link similar to the "get more" in the normal reply.

If anybody is interested, in the showthread_replybox template replace:

<td bgcolor="{ secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont></td>

with:

<td bgcolor="{ secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b><br><br>[<a href="javascript:opensmiliewindow(240,280,'')">Get Smilies</a>]</normalfont></td>

I couldn't get this to work. I joined the java and script and still it wouldn't work. You have an extra quote in your code, too. ;)

Reno 05-06-2003 12:30 PM

Does the following really exist in vB 2.3?

// ##################################################
<!-- first unread and next/prev -->
<table cellpadding="2" cellspacing="0" border="0" width="95%" align="center">
<tr>
<td><smallfont>$pagenav </smallfont></td>
<td align="right"><smallfont>
<img src="https://vborg.vbsupport.ru/images/prev.gif" alt="" border="0">
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>

<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
<img src="https://vborg.vbsupport.ru/images/next.gif" alt="" border="0">
</smallfont></td>
</tr>
</table>
<!-- first unread and next/prev -->
// ##################################################

brendanlim 05-06-2003 01:02 PM

I did everything on 2.3 and it does not show up for me. I checked everything over 4 times. Help? :(

Do I only have to replace the first set of code in showthread.php once?

SVTBlackLight01 05-06-2003 04:37 PM

Quote:

Today at 12:57 PM Boofo said this in Post #949
I couldn't get this to work. I joined the java and script and still it wouldn't work. You have an extra quote in your code, too. ;)
Sorry, I forgot to mention that you still have to have this after the closing form tag as explained on the second page of this thread.

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

Boofo 05-06-2003 05:56 PM

Dohh!!! I should have remembered that. Thanks for bailing me out on that one. ;)

Mr_Johnson 05-07-2003 02:06 AM

Just installed on 2.2.9... when modding the Showthread.php $templatesused =
decleration, just tack in the showthread_replybox,newthread_closeopen because the version in your showthread.php in the txt isn't the same as the one in my showthread that came with vbulliten. Wasn't working before but is working great now :D

mmmender 05-07-2003 05:05 AM

i'm using 2.2.9 and i've followed all the steps, including adding the step above and the quick reply box doesn't even show for me at all.

help?

:cry:

leesa

RDX1 05-07-2003 05:06 AM

Anyone? It seems it doesn't work properly in 2.3.0 since it gives me errors randomly

mmmender 05-07-2003 05:08 AM

Quote:

Today at 02:06 AM NerdNations said this in Post #956
Anyone? It seems it doesn't work properly in 2.3.0 since it gives me errors randomly

hmm, i wish i was at least getting errors! i don't see a damn thing! :paranoid:

RDX1 05-07-2003 09:39 AM

It works, just get errors in a few different places sometimes with it

Mr_Johnson 05-07-2003 10:28 AM

Quote:

Today at 07:05 AM mmmender said this in Post #955
i'm using 2.2.9 and i've followed all the steps, including adding the step above and the quick reply box doesn't even show for me at all.

help?

:cry:

leesa


Start from scratch, and do what I mentioned above. I had the exact problem, and it works fine now.

MajorGeek 05-07-2003 01:53 PM

This needs to be updated for 2.30. The line where you call the box is no longer in showthread.php and others are saying above. Need new line to insert the code $replybox


All times are GMT. The time now is 03:15 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.02748 seconds
  • Memory Usage 1,841KB
  • 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_code_printable
  • (4)bbcode_php_printable
  • (9)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