1
Skype-Fr
Choice of editors for the Newbb module
  • Yesterday 21:13

  • Skype-Fr

  • Just popping in

  • Posts: 36

  • Since: 2006/4/27


Hi all,

I'm using Newbb v5.1.0 beta; is this the right version for Xoops 2.5.11?

It seems to work but I'd like to know what I need to do to ensure that the choice of editor is only :
1/ Basic
2/ Dhtml5

Because at the moment there is a choice of 4 editors for all users! I don't want the ‘wysiwyg’ editors to be visible (because the existing posts are XoopsCode).

Of course, the ‘System’ parameters are set: Dhtml5 editor for modules.

Thank you for your assistance

2
Mamba
Re: Choice of editors for the Newbb module

You can set in the module permissions:
see: https://xoops.gitbook.io/newbb-tutorial/2administration

Just disallow: "Can use and disable/enable HTML in posts"

You have two options:

1) Set "default" template for all forums/groups:
Resized Image


2) Set by group:

Resized Image


You can also set the DHTML for yourself as a Webmaster, if that's your preference.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
Skype-Fr
Re: Choice of editors for the Newbb module
  • Today 17:13

  • Skype-Fr

  • Just popping in

  • Posts: 36

  • Since: 2006/4/27


Thank you Mamba,

Unfortunately, that's what I'd already set up and I've just checked ! This has no effect because users still have a choice of 4 editors ...

That's not the only problem, the moderators don't have their privileges; at the moment only the administrator has moderator functions. However, the moderators are declared in the module parameters !

I should point out that the site runs under PHP 7.3.33, is that the problem?

Regards / G.

4
Mamba
Re: Choice of editors for the Newbb module

I don't know if PHP 7.3.33 is the problem.

When you turn on the Debug (inline mode), are you getting any errors. If yes, please post them here for each problem, especially those that point to a file and line number, and I'll look into it.

Please also include info about your current NewBB configuration to make sure that I can reproduce the issues here.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

5
Skype-Fr
Re: Choice of editors for the Newbb module
  • Today 18:52

  • Skype-Fr

  • Just popping in

  • Posts: 36

  • Since: 2006/4/27


No real errors, just a few reports of obsolete code ... like :

"XoopsTpl::get_template_vars is deprecated, please use getTemplateVars trace: /class/template.php:654 /modules/newbb/viewtopic.php:179"

I know how to correct this kind of error but I don't think it will have a different result ...


6
Skype-Fr
Re: Choice of editors for the Newbb module
  • Today 19:28

  • Skype-Fr

  • Just popping in

  • Posts: 36

  • Since: 2006/4/27


For the time being, I'm going to leave the choice up to the publishers, because it's not a blocking issue.

As for the missing moderation, while waiting for a ‘clean’ solution, I've modified the function newbbIsAdmin() to force ‘Admin’ status for 2 uid ... and it works.

Login

Who's Online

126 user(s) are online (73 user(s) are browsing Support Forums)


Members: 0


Guests: 126


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jan 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits