![]() |
[<a href="javascript:opensmiliewindow(240,280,'$sessio n[sessionhash]')">Smilies</a>]</smallfont>
I cot this from the vbcode_smilies_getmore template :confused: For some reason it says "error on page" |
Thats because I believe the Javascript for the Smilies open box thingy is in the newthread/newreply template;)
Satan |
hmm.
The newpost and newreply templates have only the javascripts for the spellscheck and max message leght. |
i really need help on this one right i have gone 1 step further
right first off i added the tables to the 'user' table of my DataBase as seen here http://www.s2k2.com/db.gif then i added options to my templates Code:
modifyoptions_qrurl Code:
modifyoptions_qremail Code:
modifyoptions_dissmilie Code:
<tr> http://www.s2k2.com/qrop.gif then i edited the member.php file and added Code:
// Show Quick Reply Option Code:
if ($bbuserinfo[nosessionhash]) { then i added Code:
eval("\$showquickreplyoption = \"".gettemplate("modifyoptions_showquickreply")."\";"); Code:
eval("dooutput(\"".gettemplate("modifyoptions")."\");"); Code:
$showquickreply=iif($showquickreply=="yes",1,0); Code:
$nosessionhash=iif($nosessionhash=="yes",1,0); Code:
$DB_site->query("UPDATE user Code:
$DB_site->query("UPDATE user then in the quick reply template i got Code:
<smallfont><b> <font size="4">OPTIONS:</font></b><br> what i mean is showed here... http://www.s2k2.com/qr.gif |
Hello I saw this at aboard for their quick reply box, can you please tell me how to make it like that?
|
Sorry folks, this may be covered in this thread, but with 700+ posts I can't read thru them all. I added this quick reply feature and now some of my members are getting run time errors and errorn in line 460 expected object. I use the reply box and I NEVER see the error, why will some mebers but I never do. Her is the code I put in my SHOWTHREAD-REPLYBOX template....<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 Your Quick Reply to This Thread in Box Below</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> |
I do see that in my browser, down at the bottom that when the page is loading it pops up a DONE BUT WITH ERRORS mess. That is done in the status bar above my start button.
|
This one I dont't get, why the errors do not happen to me.
|
You can search this thread using the search box at the bottom right corner.
Runtime errors mean that there is a Javascript error. The javascript in the quickreply template is to do with counting the max number of characters. Make sure you copied and pasted it correctly. |
I looked over my code and repasted and appears to be working now, THANKS!!!!!! This site is GREAT!
|
All times are GMT. The time now is 04:04 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|