PDA

View Full Version : smilie box in quick reply!


idwf
07-28-2003, 08:29 PM
hey. i was wondering if you could get rid of the

'Quote Message in Reply?
Include Signature? '

and instead have a clickable smilie box?

anyone hack this beauty?

BillaBongUSA
07-28-2003, 08:59 PM
I think all you'd have to do is add "$smiliebox" in the "showthread_quickreply" template...

imported_BarryA
07-28-2003, 10:15 PM
I can tell you right now you probably dont want to do that. The javascript in the smiliebox takes quite a while to download causing every thread to load slow.

You will be better off putting a text link to the popup window. Works much better.

Zachery
07-28-2003, 10:54 PM
ive never had any problems with the java script loadin on anyof my pages

imported_BarryA
07-28-2003, 11:04 PM
ive never had any problems with the java script loadin on anyof my pages
Do you have smiliebox in your quick reply? I tired and it just took a lot longer for the post pages to load.

imported_MaDCaT75
07-29-2003, 05:59 AM
I tried to do this also but I dont know where to add $smiliebox at in the quick reply template someone please help me?

BillaBongUSA
07-29-2003, 06:09 AM
Look for this:

<br /><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" checked="checked">Include Signature?</label>
</if>
</span>

And add it right under there.

imported_MaDCaT75
07-29-2003, 06:26 AM
I'll try it thanks!

Edit: Thats funny, it didnt seem to work.... I wonder what I did wrong... I put it in the exact same place you said to.... :(

and heres a screenshot of what I did

idwf
07-29-2003, 06:37 AM
no. that didn't work for me matey. ...

any other ideas?

imported_MaDCaT75
07-29-2003, 06:41 AM
I edited my message I put a screenshot in there to show what I did

idwf
07-29-2003, 06:44 AM
and did that work? its what i done...it didn't work for me!

imported_MaDCaT75
07-29-2003, 06:44 AM
No it did NOT work for me!

idwf
07-29-2003, 06:46 AM
and there ya have it ladies and gentlemen...that dont work. now onto plan 2!

imported_MaDCaT75
07-29-2003, 06:47 AM
Hey majik do you have any chat programs like IRC ICQ MSN AIM any of that stuff so we can figure this out on our own?

idwf
07-29-2003, 06:49 AM
msn = essexdaveuk@hotmail.com

imported_MaDCaT75
07-29-2003, 07:00 AM
Anyone else got any other ideas!?

imported_Tungsten
07-29-2003, 05:29 PM
Anyone else got any other ideas!?

You're not likely to make this work just by doing template edits. What you are seeking is going to require hacking the showthread.php file so that it calls the same functions and templates used to generate the "smiliebox" (hint - search for that in your PHP files to get a start on it) and parse the mouse clicks for clickable smilies.

I'm afraid it is going to add quite a few queries to your showthread.php file also which may incur a significant hit on performance for your users.

Personally, I just provided a link to the smilies listing in the quick reply box. It doesn't give my users clickable smilies but it does show them the legend for the smilies available. Zero queries added to the generation of the thread view that way. ;)

Zachery
07-29-2003, 05:30 PM
most users on a website know the smilies they want to post, and if they dont theres always go advanced.

imported_Tungsten
07-29-2003, 06:41 PM
most users on a website know the smilies they want to post, and if they dont theres always go advanced.
True, true. But we've got over 100 smilies on our site and the users sometimes forget the keystrokes for the more obscure ones.

I know, 100 smilies is insane. But the users love them and that's what matters I guess. :D

idwf
07-29-2003, 08:16 PM
how do you link to a legend showing all the smilies? whats the url i link to?

Zachery
07-29-2003, 08:19 PM
http://www.yoursite.com/yourforums/misc.php?do=getsmilies&wysiwyg=1&s=

imported_Tungsten
07-29-2003, 08:42 PM
I use this:


<a href="misc.php?$session[sessionurl]do=showsmilies" target="_blank">Smilies Help</a>

imported_MaDCaT75
07-29-2003, 09:08 PM
True, true. But we've got over 100 smilies on our site and the users sometimes forget the keystrokes for the more obscure ones.

I know, 100 smilies is insane. But the users love them and that's what matters I guess. :D

Yup. I really dont like to go into advanced mode just for smilies.

Zachery
07-29-2003, 10:17 PM
i figure he can make it anyway he wants but thats the direct link ;)

imported_BarryA
07-29-2003, 11:10 PM
Tungsten that works great... I tried going one step farther and poping up the clickable smilie box, but it just didnt work. That is how I had it working on vB2...

idwf
08-07-2003, 11:26 PM
have you had any luck with that? that would be great in vb3