Mod Tools
3 posters
Page 1 of 1
Mod Tools
How can I create a new BBCode button for a drop down list, and as a button only for moderators to view. Like here on forumotion, the way the moderators use there Mod Colors.
!_NICK_!- Active Poster
-
Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.
Re: Mod Tools
Now how do I make them display only to Moderators and above?
Also, I can't insert <div> tags in the code without it changing it.
Also, I can't insert <div> tags in the code without it changing it.
!_NICK_!- Active Poster
-
Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.
Re: Mod Tools
By putting the codes needed in a widget and setting its permissions to Moderators and above 

Re: Mod Tools
I can't use widgets on my forum. It messes my whole design up. Any other way?
Could I possible make it display to only certain usernames?
Could I possible make it display to only certain usernames?
!_NICK_!- Active Poster
-
Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.
Re: Mod Tools
No. The only possible way is for you to put them in a widget and if you put it anywhere else, it'll appear for everyone, including the members. (Unless the topic is set to guests, the guests may use it as well)
Re: Mod Tools
Yes there is a way to do it by usernames. I've seen it done before, but don't know how to code it.
!_NICK_!- Active Poster
-
Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.
Re: Mod Tools
Oh I thought you meant the other part of the code.
Anyway, you have to put a class name for it or something.
Just like the background for staff options here, just manipulate the code: https://help.forumotion.com/t118328-staff-background#775891
Anyway, you have to put a class name for it or something.
Just like the background for staff options here, just manipulate the code: https://help.forumotion.com/t118328-staff-background#775891
Re: Mod Tools
Could I have an example code? I don't know how to code JavaScript.
!_NICK_!- Active Poster
-
Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.
Re: Mod Tools
- Code:
$.getScript("(SOURCE LINK IN .js FORMAT)",function(){
$('a[href="/u1"] strong')
That's just an example. Not sure if you can use that, have others suggest for it too.
Re: Mod Tools
Nick you can use widgets
if this gets to tough for ya. By doing the following
Place codes in left side (or right)
wrap the entire thing in a div
Then go to your TEMPLATES -->GENERAL --> viewtopic_body (quick reply)
search for
add below that
then add this jQuery to your javascript management
That will make it so they can see the buttons in Quick Reply, you can do the same thing to the regular reply just go to
TEMPLATES -->POST & PRIVATE MESSAGES -->posting_body
Add the div
Yes I know its alot to do, but hey it works I know this lol. and it really only takes 5minutes all in all.
Don't forget to set the permissions on that widget to Moderators

Place codes in left side (or right)
wrap the entire thing in a div
- Code:
<div id="mod_insert">
codes here
</div>
- Code:
#left{display:none;}
- Code:
#right{display:none;}
Then go to your TEMPLATES -->GENERAL --> viewtopic_body (quick reply)
search for
- Code:
<a name="quickreply"></a>
add below that
- Code:
<div id="mod_tools"></div>
then add this jQuery to your javascript management
- Code:
$('#mod_insert').appendTo('#mod_tools');
That will make it so they can see the buttons in Quick Reply, you can do the same thing to the regular reply just go to
TEMPLATES -->POST & PRIVATE MESSAGES -->posting_body
Add the div
- Code:
<div id="mod_tools"></div>
- Code:
<div id="text_editor_controls">
Yes I know its alot to do, but hey it works I know this lol. and it really only takes 5minutes all in all.
Don't forget to set the permissions on that widget to Moderators

» [Tools] - Tools Users Fórumotion
» asking about mod tools
» Can i ? (Mod Tools)
» mod tools
» Mod Tools
» asking about mod tools
» Can i ? (Mod Tools)
» mod tools
» Mod Tools
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum