ElkArte Community

Elk Development => Feature Discussion => Topic started by: derived on January 30, 2016, 12:55:10 pm

Title: 2 subject- reg pre reqs and buttons
Post by: derived on January 30, 2016, 12:55:10 pm
In the case where there are requirements to be met, to join a board
is there some selectable way to let a person know up front, check the qualifiers before expending all the time of checking out the board/site.
maybe some sort of a flag next to the reg button.

the over 18 is a easy example.
on reg agreement a 2d button  for accept and under 18
then slapped with a denied banner.
should let a person know right up front, about any pre req qualifiers.


I'd also like to mention...
bit opposite scenario for all those buttons right above the smileys
average user has no use for about 1/2 those.
have heard complaints from some users about finding things, and so much is in the way, etc..

No offense, but most the average people don't have any use for those code related buttons.
insert a pic, link, fonts, text alignment is about all the common users will use. (& some them need their hands slapped for that!)
How about have about 1/2 of all those as selectable addins, like done with BB codes page?

maybe a linked (add more) page
and have the extra buttons and bbc's combined them all on a single page and the users can toggle them on/off


Title: Re: 2 subject- reg pre reqs and buttons
Post by: Spuds on January 30, 2016, 01:08:14 pm
You can disable as many BBC codes as you want, and then the buttons will not show up in the editor. 
Admin->Forum->Post and Topics->BBC codes
un-select the ones you don't want to use and the corresponding buttons should disappear.

Same for any smiles you don't want
Admin->Forum->Smileys and Message Icons->Edit Smileys.
For the ones you don't like, just select modify and set the location to hidden.  That will also remove it from the editor.

Can't quite follow what you were asking about registration, maybe someone else can help there.

Title: Re: 2 subject- reg pre reqs and buttons
Post by: emanuele on January 30, 2016, 05:21:40 pm
Well, those are not bbc tags, that's why.

But are you trying to remove all the buttons from the editor?
If so, why not just hide them via css?
Code: [Select]
.sceditor-toolbar .sceditor-group {
    display: none;
}

Or, for the single buttons:
Code: [Select]
.sceditor-toolbar .sceditor-group .sceditor-button-removeformat {
    display: none;
}
and similar for the others (you can use the inspect of your browser to find out the exact class names). ;)
Title: Re: 2 subject- reg pre reqs and buttons
Post by: emanuele on January 31, 2016, 12:49:16 pm
You can use the same trick for any other button. I don't remember the name of the classes, but with a right click and "inspect" (or similar) you should be able to find them quite easily.