vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   someone for the love of god please help me with adding smilies to quick reply (https://vborg.vbsupport.ru/showthread.php?t=56700)

MaDCaT75 09-02-2003 02:16 AM

someone for the love of god please help me with adding smilies to quick reply
 
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. 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:
Code:

$textareacols = gettextareawidth();
Below it add:
Code:

$clickysmilies = getclickysmilies();
Then in your showthread template find:
Code:

<! -- hackless quick reply -->

<br />

Below it add:
Code:

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

Still in the showthread template find:
Code:

<normalfont color="{pagetextcolor}"><b>Your Reply:</b></normalfont>
</td>

Replace it with:
Code:

<normalfont color="{pagetextcolor}"><b>Your Reply:</b></normalfont><br>
$clickysmilies
</td>

Find:
Code:

<input type="hidden" name="email" value="">
..and delete it.

Find:
Code:

        <input type="reset" class="bginput" name="reset" value="Reset Form" accesskey="r" tabindex="3">
Below it add:
Code:

<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):
Code:

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

Find:
Code:

<tr>
<td bgcolor="{tableheadbgcolor}" colspan="2">
<normalfont color="{tableheadtextcolor}"><b>Post Reply:</b></normalfont>
</td>
</tr>

Below it add:
Code:

<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:
Code:

<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

Quote:

Today at 06:00 AM MaDCaT75 said this in Post #5
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

Quote:

Today at 12:24 PM Mist said this in Post #6
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

1 Attachment(s)
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

1 Attachment(s)
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!


All times are GMT. The time now is 08:30 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.01315 seconds
  • Memory Usage 1,754KB
  • 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
  • (13)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete