vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   BB Code Enhancements - Add Smiles box in quick reply [fixed] (https://vborg.vbsupport.ru/showthread.php?t=166832)

vietdjclub 01-02-2008 10:00 PM

Add Smiles box in quick reply [fixed]
 
open template showthread_quickreply
FIND:
Code:

<if condition="$show['url_bbcode'] OR $show['img_bbcode']">
                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
        </if>

ADD ABOVE

Code:

<!-- wysiwyg smilies -->
<script type="text/javascript" src="clientscript/vbulletin_smilies_qreply.js?v=$vboptions[simpleversion]"></script>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_popup_smilie" title="$vbphrase[smilies]">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_editor]/smilie.gif" alt="" width="21" height="20" /></td>
<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
<!-- / wysiwyg smilies -->


step 2: just download this file vbulletin_smilies_qreply.js then upload it to clientscript folder

All Done

iogames 01-03-2008 01:15 PM

This was a 'Long due' :D

Ranger375 01-03-2008 03:39 PM

Thank you....but I apparently have a drop down with no smilies.:confused:

jjuuaannk 01-03-2008 06:38 PM

nice installed

vietdjclub 01-04-2008 07:44 AM

Quote:

Originally Posted by Ranger375 (Post 1414706)
Thank you....but I apparently have a drop down with no smilies.:confused:

if you dont see any smiles in your drop down box.please check your "images/smiles" path.

semauae 01-04-2008 08:37 AM

Quote:

Originally Posted by Ranger375 (Post 1414706)
Thank you....but I apparently have a drop down with no smilies.:confused:

Same problem :(

Ranger375 01-04-2008 08:48 AM

How would I change the path in this code?

Quote:

<!-- wysiwyg smilies -->
<script type="text/javascript" src="clientscript/vbulletin_smilies_qreply.js?v=$vboptions[simpleversion]"></script>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_popup_smilie" title="$vbphrase[smilies]">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_editor]/smilie.gif" alt="" width="21" height="20" /></td>
<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
<!-- / wysiwyg smilies -->

vietdjclub 01-04-2008 09:09 AM

Admin Control Panel
smile manager -- >Add new smile

sjb 01-04-2008 02:29 PM

hi all friands

this is good work on vb 3.7.X

Ranger375 01-04-2008 03:56 PM

no, I mean the path to change the smilies in this code, since I am getting a blank drop down box.

Quote:

<!-- wysiwyg smilies -->
<script type="text/javascript" src="clientscript/vbulletin_smilies_qreply.js?v=$vboptions[simpleversion]"></script>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_popup_smilie" title="$vbphrase[smilies]">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_editor]/smilie.gif" alt="" width="21" height="20" /></td>
<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
<!-- / wysiwyg smilies -->

Teknik4 01-04-2008 04:40 PM

i need smiley box add visitor messages :(

Berker Unluer 01-05-2008 05:01 PM

Thanx :)

Freak0204 01-05-2008 09:07 PM

No smilies here either.

aj8690 01-06-2008 09:45 PM

Works perfectly!

birdie 01-07-2008 01:18 AM

Will it work on 3.6?

vietdjclub 01-07-2008 01:32 AM

Quote:

Originally Posted by birdie (Post 1416868)
Will it work on 3.6?

yes it also work on 3.6

st1905 01-07-2008 08:59 AM

Works perfectly, thank you

OrionsMom 01-08-2008 04:39 PM

Quote:

Originally Posted by vietdjclub (Post 1415179)
if you dont see any smiles in your drop down box.please check your "images/smiles" path.

What exactly are we to check for? I too have a blank smilie box but I have never moved smilies or renamed the folder so it should be there right?

justino 01-12-2008 08:20 PM

Quote:

Originally Posted by sjb (Post 1415365)
hi all friands

this is good work on vb 3.7.X

Tks, work perfect :)

Magnumutz 01-13-2008 06:50 AM

Quote:

Originally Posted by sjb (Post 1415365)
hi all friands

this is good work on vb 3.7.X

I used that and it work just fine... and with the template mod, i had NO smilies.

Roxie 01-14-2008 10:22 PM

Quote:

Originally Posted by sjb (Post 1415365)
hi all friands

this is good work on vb 3.7.X

Thank you! Works perfectly. :)

waller99 01-17-2008 07:21 PM

Quote:

Originally Posted by sjb (Post 1415365)
hi all friands

this is good work on vb 3.7.X

Works on 3.6.8. Thanks.

4seasonz 01-19-2008 06:40 AM

installed,,,thanks a lot

kimtown 01-20-2008 01:39 PM

Quote:

Originally Posted by vietdjclub (Post 1415179)
if you dont see any smiles in your drop down box.please check your "images/smiles" path.

I have the original theme for VB (so the path should be default or the same) and I have no smilies in my box either. Any suggestions? Thanks!

Ranger375 01-20-2008 02:00 PM

same here, I don't know what could possibly be wrong...

Deej510 01-20-2008 10:49 PM

Same here, no smilies.

I used the xml from the first page and it works.. but doesn't show up on visitor message editor. :confused:

When I used this, there was a smilie box on visitor message also.. but not smilies.

Would rather use the authors way being it put it on both but can't get it to work.

supersam1121 01-21-2008 05:36 AM

Quote:

Originally Posted by birdie (Post 1416868)
Will it work on 3.6?

Im pretty sure there was a version released for 3.6 ages back...

Great mod by the way, really usefull. :)

- Sam

Derekclarke 01-28-2008 11:16 PM

I do note that this is unsupported by the Author.....

So if anyone knows the solution to getting the Images to display... Please can you post it....

I have spent the last hour going through everything and reading the code to find where to edit the image path and cannot figure it out...

And their are more and more people like me who cannot get this to work...

It would be a great mod if we could sort it...

kimtown 01-29-2008 12:06 AM

Thanks Derekclarke...It would be nice if someone could help :(

vietdjclub 01-29-2008 11:03 AM

Quote:

Originally Posted by Derekclarke (Post 1431238)
I do note that this is unsupported by the Author.....

So if anyone knows the solution to getting the Images to display... Please can you post it....

I have spent the last hour going through everything and reading the code to find where to edit the image path and cannot figure it out...

And their are more and more people like me who cannot get this to work...

It would be a great mod if we could sort it...

Quote:

Originally Posted by kimtown (Post 1431251)
Thanks Derekclarke...It would be nice if someone could help :(

i think you miss this file vbulletin_smilies_qreply.js

just download this file vbulletin_smilies_qreply.js then upload the file to clientscript folder

vbulletin_smilies_qreply.js

and i'm sure that all problem will be fixed

kimtown 01-30-2008 02:27 PM

THANK YOU SOOOO MUCH!!!

Quote:

Originally Posted by vietdjclub (Post 1431593)
i think you miss this file vbulletin_smilies_qreply.js

just download this file vbulletin_smilies_qreply.js then upload the file to clientscript folder

vbulletin_smilies_qreply.js

and i'm sure that all problem will be fixed


Ranger375 01-30-2008 02:32 PM

Is there a trick to sites that have custom smilies? I tried modifying the js file but it didn't quite work with all the smilies.

avsunforum 02-05-2008 11:38 AM

thanks very much

avsunforum 02-05-2008 02:34 PM

but doesn't show up on visitor message editor????

vietdjclub 02-05-2008 10:37 PM

Quote:

Originally Posted by avsunforum (Post 1436765)
but doesn't show up on visitor message editor????

you' wrong it also show on visitor message editor :D

Derekclarke 02-09-2008 10:38 AM

Ok... downloaded the file and uploaded to clientscript... now the simlies appear.... however... when you select them they show in the quick reply box.... but they do NOT show in the post.

Any ideas?

JVSP 02-13-2008 05:43 PM

Quote:

Originally Posted by Derekclarke (Post 1439348)
Ok... downloaded the file and uploaded to clientscript... now the simlies appear.... however... when you select them they show in the quick reply box.... but they do NOT show in the post.


Any ideas?

same problem here

sensimilla 02-13-2008 06:25 PM

Theres a plugin that does it for vb 3.6 which works fine with vb 3.7 no need to realease that hack

No uploads no file edits and released by vb.org team

https://vborg.vbsupport.ru/showthread.php?t=161690

Ranger375 02-13-2008 09:06 PM

Quote:

Originally Posted by sensimilla (Post 1442408)
Theres a plugin that does it for vb 3.6 which works fine with vb 3.7 no need to realease that hack

No uploads no file edits and released by vb.org team

https://vborg.vbsupport.ru/showthread.php?t=161690

That is perfect. Even includes my smilies, rather than the stock ones. Thank you. Works fine for 3.7 B4

NeuroLancer 02-20-2008 11:15 AM

Yes this is good to have thank you. Also, it works nice with add-on for 3.7 called smilie popup+.

* Installed

EDIT:

Here is what I did to get the smilies to align to the left from the visitor message box on the profile page:

in showthread_quickreply template

Find:
Code:

<div id="{$editorid}_controls" class="controlbar">
Replace:
Code:

<div id="{$editorid}_controls" class="controlbar" align="left">


All times are GMT. The time now is 05:03 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.01489 seconds
  • Memory Usage 1,825KB
  • 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
  • (4)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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