vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Smilies for Quick Reply (https://vborg.vbsupport.ru/showthread.php?t=60307)

catocom2 02-17-2004 06:27 PM

Quote:

Originally Posted by gmarik
- user favourite smilies

I've been wanting to do this one myself.
I haven't had time to do much side-coding lately.:(
If I get it done before someone else does, I'll post it here. ;)

GMfullsize 02-18-2004 07:34 PM

How can I make it so that it shows up for members using WYSIWYG?

horrordvds.com 02-23-2004 07:11 PM

Anyone know why my colors are off in the last row of Quick Reply Smilies? See attached image.

Here is the code snipped from view source:

Quote:

<!-- smiles quichreply par M?gatekno -->
<td class="panel">
<div class="alt2" style="padding:6px; border:1px inset; overflow:auto"> <script language="Javascript">
function open_smilie_window_pop(wysiwyg) { window.open
("misc.php?do=getsmilies&wysiwyg=" + wysiwyg, "open_smilie_window_pop", "statusbar=no,menubar=no,toolbar=no,scrollbars=yes ,resizable=yes,width=240,height =300,top=10,left=600"); }
</script>


<fieldset id="smiliebox" title="Smilies">
<legend>Smilies</legend>
<table cellpadding="4" cellspacing="0" border="0" align="center">
<tr align="center" valign="bottom" class="alt1">
<td><a href="#" onclick="smilie(':)'); return false;"><img src="images/smilies/smile.gif" alt="Smilie" border="0" /></a></td> <td><a href="#" onclick="smilie(':rolleyes:'); return false;"><img src="images/smilies/rolleyes.gif" alt="Roll Eyes (Sarcastic)" border="0" /></a></td> <td><a href="#" onclick="smilie(':eek1:'); return false;"><img src="images/smilies/eek6.gif" alt="Eek Smiley" border="0" /></a></td> <td><a href="#" onclick="smilie(':banana:'); return false;"><img src="images/smilies/banana.gif" alt="Banana" border="0" /></a></td> <td><a href="#" onclick="smilie(':cool:'); return false;"><img src="images/smilies/cool.gif" alt="Cool" border="0" /></a></td>
</tr><tr align="center" valign="bottom" class="alt1">
<td><a href="#" onclick="smilie(':cry:'); return false;"><img src="images/smilies/cry.gif" alt="Cry Smiley" border="0" /></a></td> <td><a href="#" onclick="smilie(':evil:'); return false;"><img src="images/smilies/evil.gif" alt="Evil" border="0" /></a></td> <td><a href="#" onclick="smilie(':p'); return false;"><img src="images/smilies/tongue.gif" alt="Stick Out Tongue" border="0" /></a></td> <td><a href="#" onclick="smilie(':fire:'); return false;"><img src="images/smilies/firing.gif" alt="Firing Smile" border="0" /></a></td> <td><a href="#" onclick="smilie(':lol:'); return false;"><img src="images/smilies/lol2.gif" alt="LOL Smiley" border="0" /></a></td>
</tr><tr align="center" valign="bottom" class="alt1">
<td><a href="#" onclick="smilie(';)'); return false;"><img src="images/smilies/wink.gif" alt="Wink" border="0" /></a></td> <td><a href="#" onclick="smilie(':glasses:'); return false;"><img src="images/smilies/bigglasses.gif" alt="Big Glasses" border="0" /></a></td> <td><a href="#" onclick="smilie(':nervous:'); return false;"><img src="images/smilies/xyxnervous.gif" alt="Nervous Smiley" border="0" /></a></td> <td><a href="#" onclick="smilie(':D'); return false;"><img src="images/smilies/biggrin.gif" alt="Big Grin" border="0" /></a></td> <td><a href="#" onclick="smilie(':confused:'); return false;"><img src="images/smilies/confused.gif" alt="Confused" border="0" /></a></td>
</tr><tr align="center" valign="bottom" class="alt1">
<td><a href="#" onclick="smilie(':sperm:'); return false;"><img src="images/smilies/tdo13.gif" alt="Sperm smiley" border="0" /></a></td> <td><a href="#" onclick="smilie(':o'); return false;"><img src="images/smilies/redface.gif" alt="Embarrassment" border="0" /></a></td> <td><a href="#" onclick="smilie(':eek:'); return false;"><img src="images/smilies/eek.gif" alt="EEK!" border="0" /></a></td> <td><a href="#" onclick="smilie(':++++:'); return false;"><img src="images/smilies/++++you.gif" alt="++++ smiley" border="0" /></a></td> <td><a href="#" onclick="smilie(':sleepy:'); return false;"><img src="images/smilies/sleep.gif" alt="Sleepy" border="0" /></a></td>
</tr><tr align="center" valign="bottom">
<td><a href="#" onclick="smilie(':('); return false;"><img src="images/smilies/frown.gif" alt="Frown" border="0" /></a></td> <td><a href="#" onclick="smilie(':mad:'); return false;"><img src="images/smilies/mad.gif" alt="Mad" border="0" /></a></td> <td><a href="#" onclick="smilie(':eek2:'); return false;"><img src="images/smilies/eek13.gif" alt="Eek smiley" border="0" /></a></td> <td><a href="#" onclick="smilie(':bs:'); return false;"><img src="images/smilies/bs.gif" alt="Bull++++" border="0" /></a></td>
</tr>


</table>
</fieldset>

</div> </td>
<!-- smiles quichreply par M?gatekno -->
Also, forgive me as I'm new at this, but am I right in assuming each style has its own set of templates. Therefore I have to implement this hack (at least the template portions of it) onto each and every style I put onto my forum?

Thanks for any help.

SoLo OnE 03-19-2004 02:10 PM

One thing I noticed is that smiliewindow_x and smiliewindow_y never get declared on the quick reply page.

So you have to add the following into the javascript header in the editor_smiliebox_quickreply template.

HTML Code:

var smiliewindow_x = 304;
var smiliewindow_y = 380;


maverick1236 03-26-2004 12:13 AM

Quote:

Originally Posted by gmarik
could you add functions:
- user favourite smilies
- random smilies

to use as the default selection
and
- smilies in one row under the header, not on the right side?>

for random smilies in quick reply box:

in showthread.php

change:

Code:

ORDER BY imagecategory.displayorder, smilie.displayorder
to

Code:

ORDER BY imagecategory.displayorder, RAND()

Oblivion Knight 03-26-2004 08:35 PM

Thanks! This is a great hack.. :D

I used M.C.'s template mod, but still had to change style="width:600px; in showthread_quickreply to style="width:540px; for everything to remain 800x600 friendly.

Oblivion Knight 03-29-2004 11:37 PM

Sorry to double post.. :o

I get a javascript error when clicking the [More] link for more smilies. The pop-up box does show, but the smilies shown on the Quick Reply box are no longer animated once the link is clicked.

Anyone have a fix for this before I spend hours going through templates and files to hunt out the problem?

M.C. 03-30-2004 12:13 AM

look just few post above:
Quote:

Originally Posted by SoLo OnE
One thing I noticed is that smiliewindow_x and smiliewindow_y never get declared on the quick reply page.

So you have to add the following into the javascript header in the editor_smiliebox_quickreply template.


HTML Code:
var smiliewindow_x = 304;
var smiliewindow_y = 380;

just will be cool to prevent animation STOP in javascript! ;)

Oblivion Knight 03-30-2004 02:43 AM

Quote:

Originally Posted by M.C.
look just few post above:


just will be cool to prevent animation STOP in javascript! ;)

D'oh.! :speechless:
That was exactly it, thankyou - you've just saved me a good hour or two.

Osterling 03-30-2004 04:53 AM

it says file is currpot, would anyone be willing maybe send it to me thro email, i really want this hack


All times are GMT. The time now is 11:07 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.01271 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
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete