vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Show Thread Enhancements - Add Code Tag In Quick Reply (https://vborg.vbsupport.ru/showthread.php?t=154319)

Symbian Galaxy 08-03-2007 10:00 PM

Add Code Tag In Quick Reply
 
What does this hack do? : This will give you a code tag (https://vborg.vbsupport.ru/external/2009/07/3.gif) in your quick reply box!



In showthread_quickreply

Find

Code:

<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>

Add Under it


Code:

<!--- Code Tag --->
<if condition="$show['code_bbcode']">
                <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_code"><img src="$stylevar[imgdir_editor]/code.gif" width="21" height="20" alt="$vbphrase[wrap_code_tags]" /></div></td>
            </if>
<!--- Code Tag --->

Mark As Installed - If you use this hack! :)

vspro 08-06-2007 06:39 AM

there'r 6 place hav
Quote:

<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
???

Symbian Galaxy 08-06-2007 08:24 AM

Put it any where :)

lostgirl815 08-07-2007 05:50 AM

Is there any reason I couldn't add a different bbcode tag with this system, so long as I change the names and so on? (Like if I wanted to add a spoiler tag to the quick reply?)

Symbian Galaxy 08-07-2007 08:11 AM

What is the spolier tag?

lostgirl815 08-07-2007 08:29 AM

The code for it is on here somewhere (because that's where I got it) - basically a BbCode for a collapse table, and you put the spoiler inside it. It would be handy to be able to put some of the custom tags like that on Quick Reply.

Symbian Galaxy 08-07-2007 10:59 AM

You cant add that tag with this system!

lostgirl815 08-07-2007 05:16 PM

Ah ok - thanks for the reply!

ramco 08-25-2007 08:52 AM

I used this tag .. but it appeared like this
http://i15.tinypic.com/626jome.jpg
i'd like to have this tag at the left side of the editor , What should I do ?

malag 04-18-2008 02:36 PM

Good mod :)
Thanks!


All times are GMT. The time now is 09:19 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.01092 seconds
  • Memory Usage 1,728KB
  • 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_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
  • (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