View Full Version : someone for the love of god please help me with adding smilies to quick reply
MaDCaT75
09-02-2003, 02:16 AM
Ok every addon I come across for the quick reply box is for firefly's version and I have mist's hackless version which is here (https://vborg.vbsupport.ru/showthread.php?s=&threadid=48399). Now I have tried to install firefly's version and have had many admins go over the code but it doesnt want to work. So I am forced to use mist's version instead. I would like to know very badly how to add:
E-mail notification
Clickable smilie box
thread subscription
to the quick reply box but nobody has told me how to do this yet except for "look it up". And every time I do look it up it is for firefly's version! Someone please just tell me right here in this thread the PHP code to add to the showthread template! Please!
EvilLS1
09-02-2003, 02:40 AM
The instructions posted in FireFly's thread should work fine with Mist's version.
Anyway,
In showthread.php find:
$textareacols = gettextareawidth();
Below it add:
$clickysmilies = getclickysmilies();
Then in your showthread template find:
<! -- hackless quick reply -->
<br />
Below it add:
<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>
Still in the showthread template find:
<normalfont color="{pagetextcolor}"><b>Your Reply:</b></normalfont>
</td>
Replace it with:
<normalfont color="{pagetextcolor}"><b>Your Reply:</b></normalfont><br>
$clickysmilies
</td>
Find:
<input type="hidden" name="email" value="">
..and delete it.
Find:
<input type="reset" class="bginput" name="reset" value="Reset Form" accesskey="r" tabindex="3">
Below it add:
<input type="checkbox" name="email" value="yes"><smallfont>Email Notification</smallfont>
MaDCaT75
09-02-2003, 03:14 AM
That worked really great! Thanks! But I still dont understand why the smilie box isnt showing up in the box.... I did everything exactly as showed..... I dont understand :ermm:
EvilLS1
09-02-2003, 03:35 AM
Ok, try this..
In the showthread template find and delete this code (you just added it):
<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>
Find:
<tr>
<td bgcolor="{tableheadbgcolor}" colspan="2">
<normalfont color="{tableheadtextcolor}"><b>Post Reply:</b></normalfont>
</td>
</tr>
Below it add:
<form enctype="multipart/form-data" action="newreply.php" name="quickreply" method="post" onSubmit="return validate(this)">
<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>
A few lines below that find:
<form enctype="multipart/form-data" action="newreply.php" name="quickreply" method="post" onSubmit="return validate(this)">
..and delete it.
That should do it.
MaDCaT75
09-02-2003, 04:00 AM
Ok I really dont know whats wrong with this thing it doesnt seem to work at all! If you want an admin account to my forum you are welcome to have one to see what is wrong with my stupid forum! PM me if you want to look into it!
Dean C
09-02-2003, 10:24 AM
Boofo's version worked. You're obviously applying it wrong MadCat75 - i'll have to dig that up and make an addon's list in the thread I think...
EvilLS1
09-02-2003, 07:04 PM
Today at 06:00 AM MaDCaT75 said this in Post #5 (https://vborg.vbsupport.ru/showthread.php?postid=430610#post430610)
Ok I really dont know whats wrong with this thing it doesnt seem to work at all! If you want an admin account to my forum you are welcome to have one to see what is wrong with my stupid forum! PM me if you want to look into it!
Yeah I can add it for you. Just PM or email me when you get online.
MaDCaT75
09-02-2003, 08:20 PM
Today at 12:24 PM Mist said this in Post #6 (https://vborg.vbsupport.ru/showthread.php?postid=430682#post430682)
Boofo's version worked. You're obviously applying it wrong MadCat75 - i'll have to dig that up and make an addon's list in the thread I think...
I swear to god I applied it just like EvilS1 said to. I went over it again and again and it makes no sense.
@ EviLS1 you have a new PM
EvilLS1
09-02-2003, 08:42 PM
MadCad, check your PMs please.
MaDCaT75
09-02-2003, 09:56 PM
Thank you EviLS1 it worked wonderfully :)
Edit: one small thing though:
How do I make the smilie box like the new reply one shown in the screenshot below:
MaDCaT75
09-02-2003, 10:08 PM
And heres my quick reply one:
How do I make the quick reply have that border like the newreply one? :confused:
EvilLS1
09-02-2003, 10:48 PM
Check your PMs again. ;)
MaDCaT75
09-02-2003, 10:54 PM
Well.... border="1" puts a border around each smilie which I dont want.... I just want a border around the edges like in new reply :ermm:
EvilLS1
09-02-2003, 11:03 PM
Well, the same vbcode_smilies template is used for both your quick reply and your new reply. So if you change anything in that template it'll show up in both places. I think if you'll go to your showthread template and change the background color of your quickreply box to something else it'll contrast more and you'll see the outline of the box. Try changing it to the same bg color as the one in new reply. Just experiment a little until it looks how you want. Its just HTML so you can't hurt anything.
MaDCaT75
09-02-2003, 11:10 PM
Okee dokee :)
Edit: here it is :cheeky:
http://www.sims2forums.com/quickreply.jpg
VPREATR
02-29-2004, 05:01 PM
MaDCaT75:
Did you solve your smilies question, I too am looking to create a "smaller" smilies window for my quick reply; such as you have in your attached picture. If you have a solution and/or link to such a solution, please post.
Thanks!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.