vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Template location request: "{vb:raw messagearea}" (https://vborg.vbsupport.ru/showthread.php?t=282227)

jeniverre 09-05-2012 12:10 PM

Quote:

Originally Posted by GateKeeper_ (Post 2324734)
I can't find the template anywhere, I've checked everywhere for it. :down:









...

westbam666 08-18-2014 06:29 AM

Hello!
I would also like to know in what template hidden content "{vb: raw messagearea}", because I would like to hide or remove it some BBcodes.
And on versions 4.1.Х can solve problems BBcodes, there is no 4.2.2.

tbworld 08-18-2014 08:00 PM

Quote:

Originally Posted by westbam666 (Post 2511806)
Hello!
I would also like to know in what template hidden content "{vb: raw messagearea}",

$template variable $messagearea contains the rendering of the editor. It is created in "functions_editor.php". See function "construct_edit_toolbar". This variable is used in many templates, to numerous to list.

Quote:

Originally Posted by westbam666 (Post 2511806)
Hello!
I would like to hide or remove it some BBcodes.
And on versions 4.1.? can solve problems BBcodes, there is no 4.2.2.

Sorry, I do not understand this question (maybe, due to translation software) to be of assistance. Try to reword if possible. :)

westbam666 08-19-2014 08:59 AM

Hi,
I'm from Russia, I am sorry for such a transfer.
I need to hide some of the bb codes, in which the template can do this?

Example 1:
https://vborg.vbsupport.ru/external/2014/08/7.jpg

Example 2:
https://vborg.vbsupport.ru/external/2014/08/8.jpg

ozzy47 08-19-2014 09:17 AM

No need to edit a template, go to ACP --> Settings --> Options --> BB Code Settings and disable the ones you don't want. :)

westbam666 08-20-2014 06:32 PM

thanks ozzy47, problem solved.

ozzy47 08-20-2014 06:36 PM

Not a problem, glad to help. :)

ExcelFox 08-20-2016 04:38 AM

I don't know if anyone is still looking for this. But since I was, and I wanted to have the Advance editor available in the Quick Edit section, I modified the SHOWTHREAD.PHP and now I have the advanced editor available in my quick reply section

Now, I don't claim that this is the best thing to do, but at least I got what I wanted. Here's what I did it

Search for the function
Code:

construct_edit_toolbar
in the showthread.php

Then make modification the below function. Basically, all you are doing is changing the string 'qr' to 'fe'

By the way, qr stands for quick reply, and fe stands for full edit(or).

PHP Code:

    $editorid construct_edit_toolbar(
        
'',
        
0,
        
$foruminfo['forumid'],
        
false,
        
1,
        
false,
        
'fe',
        
'',
        
$attachinfo,
        
'forum',
        
'vBForum_Post',
        
0,
        
$threadinfo['threadid']
    ); 

I don't take any responsibility for any issue you may face because of this, but I thought it may help those who do not want to use an add-on template or MOD.


All times are GMT. The time now is 01:58 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.01206 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)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
  • (8)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