vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   BB Code Enhancements - Give Custom BBCodes Icons their Own Row (https://vborg.vbsupport.ru/showthread.php?t=313295)

ShawneyJ 07-27-2014 10:00 PM

Give Custom BBCodes Icons their Own Row
 
1 Attachment(s)
Just while its fresh on me mind. Theres most likely an edit out there like this, feel free to remove if thats the case. Client of mine has many BBCodes added to her forum. I just installed "quick Reply in Full" addon, and now her forums quick reply looks like my test forum! :eek:


So for anyone using the Quick Reply in Full.
Search in template quickreply_full:

Code:

$vBeditTemplate[extrabuttons]

Add this above:
Code:

<table cellpadding="0" cellspacing="0" border="0">

Anyone that wants the same for normal toolbar:
This is a quick edit in template editor_toolbar_on:

Find:
Code:

                        <if condition="$vBeditTemplate['extrabuttons'] != '' ">
                                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>       
                                $vBeditTemplate[extrabuttons]


And Replace with this:

Code:

<table cellpadding="0" cellspacing="0" border="0">
                        <if condition="$vBeditTemplate['extrabuttons'] != '' ">
$vBeditTemplate[extrabuttons]
                                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>

Not sure why its not asking for the end </table>. But Clients happy i guess. :erm:


Tested on my Test Site to and added screenshot of my normal tool bar.
That end </table> tags on me mind though. Everytime i add it...it just messes everything up. Anyways, cheers.

tbworld 07-28-2014 11:13 PM

Thanks for sharing @ShawnyJ :)


All times are GMT. The time now is 05:26 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.01117 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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