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)

GateKeeper_ 04-29-2012 10:23 PM

Template location request: "{vb:raw messagearea}"
 
I can't find the template anywhere, I've checked everywhere for it. :down:

kh99 04-29-2012 10:46 PM

I'm not sure what you're asking. Are you looking for the template that contains {vb:raw messagearea}? That appears in a number of templates, just use "Search in Templates" to find them.

GateKeeper_ 04-29-2012 10:59 PM

Quote:

Originally Posted by kh99 (Post 2324738)
I'm not sure what you're asking. Are you looking for the template that contains {vb:raw messagearea}? That appears in a number of templates, just use "Search in Templates" to find them.

Is there a way to edit the {vb:raw messagearea} I do not like how it looks like so I would like to add a custom design to it. And change the width, button images, and the background gradient it's using. I could not seem to find the template to edit {vb:raw messagearea}

kh99 04-29-2012 11:08 PM

Well, I think in older vb versions that used to correspond to the editor text area, but with the new editor I believe it's all created in javascript and {vb:raw messagearea} doesn't actually create it. I don't know much about how to change the editor look, but someone else might.

GateKeeper_ 04-29-2012 11:51 PM

Quote:

Originally Posted by kh99 (Post 2324743)
Well, I think in older vb versions that used to correspond to the editor text area, but with the new editor I believe it's all created in javascript and {vb:raw messagearea} doesn't actually create it. I don't know much about how to change the editor look, but someone else might.

That sucks, because the current 4.1.X messagearea doesn't look so good. Doesn't blend in with designs and etc. I checked the "Editor" templates already.

Currently using 4.1.11. Anyone know how to edit {vb:raw messagearea}

So it's created with javascript? There is no template or way to change it without editing the javascript file? I believe "{vb:raw messagearea}" creates the textarea because when I erase that text from the "showthread" it deletes the quick reply textarea.

kh99 04-30-2012 12:05 AM

OK, messagearea does have some of the html in it - it's template editor_ckeditor. Maybe that does have something you can change. But it includes a {vb:raw ckeditor} which is created by a function in vb/ckeditor.php. I still believe that in the end the look of the editor is created by some javascript.

But there definitely is a way to configure the editor, I just don't know how to do it offhand.

GateKeeper_ 04-30-2012 12:06 AM

Quote:

Originally Posted by kh99 (Post 2324749)
OK, messagearea does have some of the html in it - it's template editor_ckeditor. Maybe that does have something you can change. But it includes a {vb:raw ckeditor} which is created by a function in vb/ckeditor.php. I still believe that in the end the look of the editor is created by some javascript.

But there definitely is a way to configure the editor, I just don't know how to do it offhand.

Yeah, thanks anyways. I'll be waiting for more responses. I checked that template already.

kh99 04-30-2012 12:25 AM

I looked at it a little more - you might check out the editor.css template, that may be how it's done.

GateKeeper_ 04-30-2012 12:36 AM

Quote:

Originally Posted by kh99 (Post 2324753)
I looked at it a little more - you might check out the editor.css template, that may be how it's done.

Yep thanks appreciate your help, I checked it. There is no way to change the border-radius or edit the button arrangement on there. I'm also trying to change the popup's on the buttons so that it would display easier. Hopefully someone has a good idea of how I can do this.

--------------- Added [DATE]1335817875[/DATE] at [TIME]1335817875[/TIME] ---------------

This is really frustrating. I can't seem to find it anywhere. Is it possible to create something out of javascript without any html involving as a template?

GateKeeper_ 05-02-2012 02:10 PM

bump

jeniverre 09-05-2012 11:10 AM

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 05: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 07: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 07: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 08: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 05:32 PM

thanks ozzy47, problem solved.

ozzy47 08-20-2014 05: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:49 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.01684 seconds
  • Memory Usage 1,762KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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