The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

special text limiter

View previous topic View next topic Go down

special text limiter

Post by okami125 on December 19th 2011, 3:11 am

what i would like to do is make it so only admins and moderators can use the images, link, flash, video, text size, color and font for posting or private messaging it would be greatly appreciated if some one could get/make me a code for this or at least lead me in the right direction. oh and i forgot to add that i am using punbb.

okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

Re: special text limiter

Post by SLGray on December 19th 2011, 3:32 am

Do you mean the buttons in the text editor?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: special text limiter

Post by okami125 on December 19th 2011, 3:34 am

yes

okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

Re: special text limiter

Post by SLGray on December 19th 2011, 3:36 am

I believe there is no option/feature to block users from using those buttons. There could be a code.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: special text limiter

Post by okami125 on December 19th 2011, 3:39 am

yea i looked through the codes and found the code to display the buttons but i can't figure out the code to add before it to limit it to only the admins and moderators

okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

Re: special text limiter

Post by SLGray on December 19th 2011, 3:40 am

I do not believe you can limit it to certain groups.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: special text limiter

Post by okami125 on December 19th 2011, 3:42 am

what about user names its only me and my friend

okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

Re: special text limiter

Post by SLGray on December 19th 2011, 3:43 am

What about usernames?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: special text limiter

Post by okami125 on December 19th 2011, 3:46 am

in the code like for other languages you could do if username="" or username="" then do this, is this possible with html?

okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

Re: special text limiter

Post by LGforum on December 19th 2011, 4:44 am

If you use widgets then this could be done pretty easily. Simply by including the needed code to hide these buttons in a widget with the permissions set to members only and not more and admins, therefore not hiding the buttons for mods and admins.

By the way, even if you hide the buttons, the users can still use the bbcode by just typing it in.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: special text limiter

Post by okami125 on December 19th 2011, 4:49 am

yes i do know that now is it possible to just turn off the bbcode if they are not mod or admin i don't really care if they can't use the other things right now.

okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

Re: special text limiter

Post by LGforum on December 19th 2011, 5:46 am

Yes that again would be possible by using widgets.

It wouldn't be too hard to write a script which when the form
Is submitted it replaces any of the BBcodes which you don't want used.

I wont be writing any script right now as I'm on my phone and about to go to sleep.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: special text limiter

Post by okami125 on December 19th 2011, 5:55 am

ok i think i might be able to figure it out from here but if not is it ok if i pm you?

okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

Re: special text limiter

Post by LGforum on December 19th 2011, 8:42 am

Good luck. And yes of course it is.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum