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)

Chris M 05-05-2002 12:27 PM

Hopefully...

Contact me when done boofo...

Satan

deano1 05-07-2002 08:32 PM

help please someone
i did the hack
it dose work
but it's on the top of my forums
not the bottom
what i do wrong ???

Learner29 05-07-2002 09:31 PM

deano1, it is easy ... watch well.

As FireFly says:

In the "showthread" template add $replybox right after the following:

<!-- first unread and next/prev -->

Look for this statement well. You will find FOUR of it.

Put $replybox AFTER the last one, that is AFTER the fourth one.

deano1 05-08-2002 03:02 AM

thanks learner29
i was just coming back to say i fixed it
if i would have read all posts first in this thread
instead of jumping to the end
i would have found it before complaining

thanks anyway
now i will add the smily box

bonnmac 05-08-2002 05:38 PM

Another thanks is due. Works great on v2.2.5! :)

deano1 05-09-2002 12:25 AM

Quote:

Originally posted by FireFly
JTMON - Add this line:
Code:

        $clickysmilies = getclickysmilies();
to showthread.php right after this:
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:
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. :)

Wow this is even handier than I thought... :D

i am having a problem with the above stuff
adding smiley box
i got the first part
but i can't find where to put the second set of code
help please
this part

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

Boofo 05-09-2002 03:43 AM

Is there a way to do a smilies drop down box instead of the standard box of smilies for the quick reply box?

midad 05-09-2002 11:27 AM

Great Hack FF ;)
Installed.... :)

Elentari 05-09-2002 12:50 PM

I just got this installed! My very first hack! Yey! Thanks so much Firefly!! :D

Rapdis 05-09-2002 01:05 PM

Hmm... quick reply is good but no bv codes.... no smilies....

Webmasta XT 05-11-2002 08:15 PM

FireFly: When I click on [Get More] for the smilies box, the window opens but when I click on any smilies, they don't work, how come?? I mean it doesn't insert them in the box..

DFX 05-12-2002 05:01 AM

I just exported some of my tables over from my old board to a new board. I didn't include the post table, and The QRB still only works sometimes. When it doesn't work it bypasses the "Thank you for posting" redirection screen and in IE's url bar it shows

forum.com/forum/showthread.php?which=Y2A&action=postreply&threadid =6549&title=&iconid=0&parseurl =yes&email=&disablesmilies=&closethread=&hiddenrep ly=&signature=yes&rating=0&mes sage=adsa&submit=Submit+Reply

I can't think of why it would go through sometimes and not others when the tables (according to repair.php) are all ok.

Any help?

CJi 05-12-2002 03:52 PM

Quick question: is it possible to make this quick reply box subscribe people to threads if they opt for that as the default, and not if they don't? (not selectable or anything, just using their profile default settings).

Preasidium 05-12-2002 06:35 PM

I have read this entire thread. All 25 pages. And i am completely lost on this install...

Firfly can you do me a huge favor and email me step by step instructions or something? I cant seem to find whats in the text file you supplied. I am very new to this still. I only have a few hacks installed. and they took me a while to figure out lol.

I am sorry im such a moron sometimes ^_^

MartynJ 05-12-2002 11:00 PM

I would also like detailed instructions, I followed them as best as I could and still get weird parse errors, I can PM someone a copy of my edited Showthread PHP file?

Itworx4me 05-13-2002 10:15 PM

Anyway to add the smiles to the quick reply box?

Webmasta XT 05-13-2002 10:42 PM

Quote:

Originally posted by Webmasta XT
FireFly: When I click on [Get More] for the smilies box, the window opens but when I click on any smilies, they don't work, how come?? I mean it doesn't insert them in the box..

Can Someone Please Reply to me? with the answer..

deano1 05-13-2002 10:57 PM

no ones replying to anything

Pulsorock 05-14-2002 04:32 PM

Quote:

Originally posted by Pulsorock
What if I allow Guest/Unregistered users to post in my boards. Is there a way I can prevent them from using the quick reply box to post and in that way preventing that what they type appears with no name in the author field?
HELP Anyone? I allow Guest posts to my board and Unregistered users that use the QRB appear with no name. What can I do to prevent them to use the QRB if they are unregistered or maybe offer a field where they can type the Nickname or something.

Allstar DC 05-14-2002 08:12 PM

@itworx4me: do this:

[quote] quoted from firefly:
Add this line:

$clickysmilies = getclickysmilies();


to showthread.php right after this:

$textareacols = gettextareawidth();


then use $clickysmilies in the showthread_replybox 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. [/quote

Allstar DC 05-14-2002 08:14 PM

@Pulsorock:
Do a search in this thread, this topic is discussed allready

Allstar DC 05-14-2002 08:23 PM

@Webmasta XT:

did you added those 2 lines: <script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>

to the showthread_replybox template ???

cause mine does work

deano1 05-14-2002 08:40 PM

first of all
thanks for helping us

i don't have a showthread_quickreply template
all i have is a showthread_replybox

Allstar DC 05-14-2002 08:50 PM

i know, sorry thats a lil typo in the instructions

"showthread_quickreply" template is actually named
"showthread_replybox" add that stuff there

deano1 05-14-2002 09:10 PM

aw
thank you
i will try it then
and let you know
thanks for your wisdom

DFX 05-14-2002 09:16 PM

Quote:

Originally posted by DFX
I just exported some of my tables over from my old board to a new board. I didn't include the post table, and The QRB still only works sometimes. When it doesn't work it bypasses the "Thank you for posting" redirection screen and in IE's url bar it shows

forum.com/forum/showthread.php?which=Y2A&action=postreply&threadid =6549&title=&iconid=0&parseurl=yes&email=&disables milies=&closethread=&hiddenreply=&signature=yes&ra ting=0&message=adsa&submit=Submit+Reply

I can't think of why it would go through sometimes and not others when the tables (according to repair.php) are all ok.

Any help?

Think you can help me understand why it's doing that sometimes? maybe i messed up hacking the php file, I doubt that since I tried rehacking it several times. :ermm:

deano1 05-14-2002 09:32 PM

this is mine

can you add it , those two lines
and copy it bcak here ?
thank you
i tried but failed

<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" onSubmit="return validate(this)">
<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">

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Post Reply</b></normalfont></td>
</tr>
<tr>
<td bgcolor="{secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont></td>
<td bgcolor="{secondaltcolor}">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td><textarea name="message" rows="7" cols="$textareacols" wrap="virtual" tabindex="1"></textarea><br>
<smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>

<br>

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td align="center"><normalfont>
<input type="submit" class="bginput" name="submit" value="Submit Reply" accesskey="s" tabindex="2">
<input type="reset" class="bginput" name="reset" value="Reset Form" accesskey="r" tabindex="3">
</normalfont></td>
</tr>
</table>

</form>

Allstar DC 05-14-2002 09:50 PM

@DFX: i have to think about that one, im not that good at php.

@deano1 : download the attached "showthread_replybox" file
and replace the contents of your template with the one in the Attachment.

DFX 05-14-2002 11:07 PM

I've come to the conclusion that it's a database problem. I've tried the same php file and the same style ( with template) on a new install and it works perfectly. About it working when it wants to on my real board, It only works on certain threads. I've tried repairing and optimizing......nothing works. Does anyone know which tables would affect this, so maybe I can dump them?

deano1 05-14-2002 11:30 PM

yes
that worked
allstarDC

thank you for your help
you rock

http://www.deanosworld.net/vb/images/smilies/drules.gif

deano1 05-15-2002 12:06 AM

and i added my own twist to it too
with dream weiver
the text i added i mean

http://www.deanosworld.net/temp/desk2.jpg

DFX 05-15-2002 01:38 AM

It my continuous effort to try and understand why it's working on only certain threads I have found something else, on the quick reply box "check message lenght" option whenever i click it and it shows the amount of characters it works. However, on some threads when I click it it doesn't work and at the bottom of IE it gives me "Error" where it would say loading (5 documents left) etc. Maybe this will shed some light on it for you gurus out there. :confused:

deano1 05-15-2002 01:58 AM

it's all working fine for me

Allstar DC 05-15-2002 03:47 AM

DFX, you said that you "imported" some tables.

now the quickreply only works in some threads,
did you make all your forum sections before the import of tables or
did you add some new sections after the import too?

DFX 05-15-2002 03:54 AM

I imported the forums table and added some sections after, yes. Is that bad. At this point i'm willing to wipe everything out except for members and post counts. I don't want a buggy database, I'd rather get it out of the way now instead of having massive downtime in the future.

Allstar DC 05-15-2002 03:58 AM

ok, here is my next question:

when the quickreply does work, is that only in the section added after the import, or vice versa or.... ??

DFX 05-15-2002 04:00 AM

Misc. Discussion was there prior and after import. QRB works in all forums just not on certain threads. If you click on the check message length button sometimes it will pop up and other times it won't, i think it not connecting to whatever it's supposed to and on these threads that the box doesn't pop up are the ones that the qrb won't work on.

DFX 05-15-2002 04:11 AM

Here is a link that doesn't work with it.

http://www.dfusionfx.com/forum/showt...p?threadid=597

Allstar DC 05-15-2002 06:09 AM

mmm, i can't see what could cause that problem.

the best you probably can do is make new forums, and transfer all the posts to the new forums, and delete the old ones.

see if that fixes the prob

im affraid that there must be a problem with your imported tables

DFX 05-15-2002 03:02 PM

Thanks for the help Allstar. :)


All times are GMT. The time now is 11:38 PM.

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.02448 seconds
  • Memory Usage 1,830KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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