vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Custom editor setting per user? (https://vborg.vbsupport.ru/showthread.php?t=155088)

PepiMK 08-13-2007 08:35 AM

Custom editor setting per user?
 
A forum I help administering (not the one in my profile ;) ) is currently in a quandary - some people like the WYSIWIG editor, some hate it.

I haven't found an option where users can set their own preference anywhere, so I added a custom field to their control panel. I know I can access that field through $post['field6'], but I have problems finding where exactly the editor is called (I miss a search-by-template-title search in the admin panel ;) ), so I have no idea where to insert it, so I can't even estimate what the problems would be once inserted.

My questions therefore:
  • Which template does contain the editor code?
  • Am I able to override the global editor setting in some template, or
  • Is there a tutorial on the vBulletin structure language ("if" I know, but I guess I need a bit more) somewhere?
  • (and while I'm at it, which mod does this forum use to have the smileys plus the help below this box? maybe I would be able to learn the required stuff from that one ^^)

Any hints would be much appreciated :)

bobster65 08-13-2007 12:21 PM

Quote:

Originally Posted by PepiMK (Post 1316402)
A forum I help administering (not the one in my profile ;) ) is currently in a quandary - some people like the WYSIWIG editor, some hate it.

I haven't found an option where users can set their own preference anywhere, so I added a custom field to their control panel. I know I can access that field through $post['field6'], but I have problems finding where exactly the editor is called (I miss a search-by-template-title search in the admin panel ;) ), so I have no idea where to insert it, so I can't even estimate what the problems would be once inserted.

My questions therefore:
  • Which template does contain the editor code?
  • Am I able to override the global editor setting in some template, or
  • Is there a tutorial on the vBulletin structure language ("if" I know, but I guess I need a bit more) somewhere?
  • (and while I'm at it, which mod does this forum use to have the smileys plus the help below this box? maybe I would be able to learn the required stuff from that one ^^)

Any hints would be much appreciated :)

Users can set which editor they want to use in the UserCP already..

PepiMK 08-13-2007 06:45 PM

Could you tell me where? Best, show me a screenshot?
I just cannot find anything that has to do with the editor there!

(believe me, I am not someone who posts questions before looking himself for an hour or two. And by the way, your post is the exact reason why we've disable the quote function in that forum ;) )

snakes1100 08-13-2007 07:12 PM

usercp --> edit options --> Message Editor Interface (all the way at the bottom of the page)

you must also set the correct editor options in the admincp so users have the option to pick what editor they want to use.

you can also mass update the users by running the query thru the admincp tools maintanence area.

PepiMK 08-13-2007 07:39 PM

Ouch!

Indeed another admin did set the editor to plain mode, knowing that otherwise the option would already be there. And I was searching and searching... :rolleyes:

Sorry for the questions then ;)

(and thanks for the mass update hint!)

And regarding my question 4, I already found the mods, so everything should be solved by now :)


All times are GMT. The time now is 07:35 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.01067 seconds
  • Memory Usage 1,720KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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