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)
-   -   New Posting Features - GTSmiliebox - Move Smilies Below Editor (https://vborg.vbsupport.ru/showthread.php?t=178327)

lelo 10-15-2008 05:39 AM

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 ....

WoodiE 11-12-2008 10:36 AM

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.

Nadeemjp 11-13-2008 04:30 AM

will this work with 3.7.4?

and we are not supposed to make any edits in the templates right?

effeff70 11-13-2008 05:34 PM

Very good.....Thanks a lot

dmknights 11-17-2008 05:41 AM

*Installed*
Works perfect

msolano 11-24-2008 03:20 PM

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.

Brother Malachi 11-30-2008 06:05 AM

Will this mod work with https://vborg.vbsupport.ru/showthrea...10#post1669210 ?

eglyntine 12-07-2008 10:08 AM

Quote:

Originally Posted by lelo (Post 1645390)
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. :)

eglyntine 12-07-2008 09:49 PM

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.

SatSeeker 12-08-2008 04:50 PM

Thank you very much!:up:


All times are GMT. The time now is 03:34 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.01153 seconds
  • Memory Usage 1,767KB
  • 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_php_printable
  • (2)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