vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   smilie box in quick reply! (https://vborg.vbsupport.ru/showthread.php?t=87255)

idwf 07-28-2003 08:29 PM

smilie box in quick reply!
 
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

Quote:

Originally Posted by Faranth
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:

Code:

<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

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

Quote:

Originally Posted by MaDCaT75
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

Quote:

Originally Posted by Faranth
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:

Code:

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

imported_MaDCaT75 07-29-2003 09:08 PM

Quote:

Originally Posted by Tungsten
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


All times are GMT. The time now is 05:02 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
  • Page Generation 0.01193 seconds
  • Memory Usage 1,759KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)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