Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
GTSmiliebox - Move Smilies Below Editor Details »»
GTSmiliebox - Move Smilies Below Editor
Version: 3.7.0.0, by Princeton Princeton is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.7.0 Rating:
Released: 05-05-2008 Last Update: Never Installs: 673
Uses Plugins Auto-Templates
 
No support by the author.

GTSmiliesBox - move smilies below editor similar to how it is on vbulletin.org!

Brought to you by vbulletin.org.
Custom modification brought to you by Joe Velez (aka Princeton vbulletin.org Admin).
NEW 3.7.0.0 VERSION (download GTSmiliesBox_3700.zip) Instructions:
  1. Install product via Product Manager. If upgrading from a previous version please uninstall before installing this version.
  2. Show Your Support by Donating.
  3. Don't forget to click "Mark As Installed", Nominate for MOTM, and rate the modification.
History:

May 6, 2008 : Modification released (3.7.0.0)


Questions:

Q)__ Is this version different from earlier version?
A)__ Yes it is. I recommend uninstalling the previous version prior to installing this version.

Q)__ How do I display Smilies In 1 Row?
A)__ Edit "Smiliebox Smilies Per Row" found within the "Message Posting Interface Options" in ADMINCP / vBulletin options.

Q)__ How can I increase the width of editor?
A)__ To change editor width:Recently Released 3.7 Modifications:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 10-15-2008, 05:39 AM
lelo lelo is offline
 
Join Date: Sep 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'am chinese, so excuse me for my english ....

If change the $stylevar[formwidth] variable, the message area will not change with it.
I found the editor_toolbar_on_GTSMILIEBOX_3700 template must be add width="$stylevar[formwidth]"
origine:
PHP Code:
$vBeditTemplate[clientscript]

<!-- 
GTSMILIEBOX_3700-->

<
table cellpadding="0" cellspacing="0" border="0">
<
tr>
    <
td id="$editoridclass="vBulletin_editor" width="100%">
        <
div id="{$editorid}_controls" class="controlbar">
            <
table cellpadding="0" cellspacing="0" border="0"
added:
PHP Code:
$vBeditTemplate[clientscript]

<!-- 
GTSMILIEBOX_3700-->

<
table cellpadding="0" cellspacing="0" border="0" width="$stylevar[formwidth]">
<
tr>
    <
td id="$editoridclass="vBulletin_editor" width="100%">
        <
div id="{$editorid}_controls" class="controlbar">
            <
table cellpadding="0" cellspacing="0" border="0"
However a good job! and I have installed ....
Reply With Quote
  #73  
Old 11-12-2008, 10:36 AM
WoodiE WoodiE is offline
 
Join Date: May 2002
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could this hack please be made to be compatible with PNG Editor Buttons mod?

Adding the Smilies hack stoped the PNG icons from displaying and only shows the gif icons.
Reply With Quote
  #74  
Old 11-13-2008, 04:30 AM
Nadeemjp Nadeemjp is offline
 
Join Date: Aug 2008
Location: Japan
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will this work with 3.7.4?

and we are not supposed to make any edits in the templates right?
Reply With Quote
  #75  
Old 11-13-2008, 05:34 PM
effeff70 effeff70 is offline
 
Join Date: Nov 2008
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good.....Thanks a lot
Reply With Quote
  #76  
Old 11-17-2008, 05:41 AM
dmknights dmknights is offline
 
Join Date: Jul 2007
Location: UK
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Installed*
Works perfect
Reply With Quote
  #77  
Old 11-24-2008, 03:20 PM
msolano msolano is offline
 
Join Date: Oct 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The product is great, but:

If anybody have vbadvanced and this plugin installed, and you have problems with the vbadvanced multipage feature you need to add the bold text to "Replace Templates - editor_smiliebox & editor_toolbar_on"

Quote:
if ($toolbartype AND ($vbulletin->options['smtotal'] > 0 OR $vbulletin->options['wysiwyg_smtotal'] > 0) AND !defined('VBA_SCRIPT'))
{
// replace templates
$vbulletin->templatecache['editor_smiliebox'] = $vbulletin->templatecache['editor_smiliebox_GTSMILIEBOX_3700'];
$vbulletin->templatecache['editor_toolbar_on'] = $vbulletin->templatecache['editor_toolbar_on_GTSMILIEBOX_3700'];
}
This is to disable this hack into vbadvanced, until somebody find a real fix.
Thanks Brian (vbadvanced) for your support.
Reply With Quote
  #78  
Old 11-30-2008, 06:05 AM
Brother Malachi Brother Malachi is offline
 
Join Date: Jun 2008
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this mod work with https://vborg.vbsupport.ru/showthrea...10#post1669210 ?
Reply With Quote
  #79  
Old 12-07-2008, 10:08 AM
eglyntine eglyntine is offline
 
Join Date: Jun 2008
Location: Nevada
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lelo View Post
I'am chinese, so excuse me for my english ....

If change the $stylevar[formwidth] variable, the message area will not change with it.
I found the editor_toolbar_on_GTSMILIEBOX_3700 template must be add width="$stylevar[formwidth]"
origine:
PHP Code:
$vBeditTemplate[clientscript]

<!-- 
GTSMILIEBOX_3700-->

<
table cellpadding="0" cellspacing="0" border="0">
<
tr>
    <
td id="$editoridclass="vBulletin_editor" width="100%">
        <
div id="{$editorid}_controls" class="controlbar">
            <
table cellpadding="0" cellspacing="0" border="0"
added:
PHP Code:
$vBeditTemplate[clientscript]

<!-- 
GTSMILIEBOX_3700-->

<
table cellpadding="0" cellspacing="0" border="0" width="$stylevar[formwidth]">
<
tr>
    <
td id="$editoridclass="vBulletin_editor" width="100%">
        <
div id="{$editorid}_controls" class="controlbar">
            <
table cellpadding="0" cellspacing="0" border="0"
However a good job! and I have installed ....
Thanks for posting this, it's been bugging the hell out of me for a while now that my smilie box keeps pushing everything outside of the message form.
Reply With Quote
  #80  
Old 12-07-2008, 09:49 PM
eglyntine eglyntine is offline
 
Join Date: Jun 2008
Location: Nevada
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I haven't tested this but I was running into problems this morning trying to add a Photoplog Gallery Insert button onto the Message Editor Toolbar. I use TMS so it's not that hard to add and remove modifications so I was playing around with it and for the life of me I couldn't get it to show up. It would show up on the Quickreply message editor toolbar but not the advanced message editor toolbar.

Well after about an hour of ripping my hair out, I remembered seeing that there was a GTSmiliebox editor template (editor_toolbar_on_GTSMILIEBOX_3700) separate from the editor_toolbar_on template.

Long story short, I think this mod takes priority over the original vBulletin editor_toolbar_on template with it's own and that's why you aren't seeing your PNG buttons from Wayne's Mod.

I downloaded Wayne's xml file just to see what it actually modifies and it is modifying the original editor_toolbar_on. Perhaps if you were to replace the line in his xml file that calls out the editor_toolbar_on template and use the editor_toolbar_on_GTSMILIEBOX_3700 template instead, it will show your PNG buttons?

In Wayne Luke's PNG Editor Buttons editor-png.xml file:

Find:

Code:
template name="editor_toolbar_on"
Replace with:

Code:
template name="editor_toolbar_on_GTSMILIEBOX_3700"
I haven't tested it and I could be totally off but I thought I would share what I found out this morning in the hopes that it could be helpful to you all having problems with the PNG buttons.

Thanks,

E.
Reply With Quote
  #81  
Old 12-08-2008, 04:50 PM
SatSeeker SatSeeker is offline
 
Join Date: Sep 2008
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much!:up:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04774 seconds
  • Memory Usage 2,331KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete