The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

special text limiter

3 posters

Go down

special text limiter  Empty special text limiter

Post by okami125 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
okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

special text limiter  Empty Re: special text limiter

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

Do you mean the buttons in the text editor?


special text limiter  Slgray10

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

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

special text limiter  Empty Re: special text limiter

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

yes
okami125
okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

special text limiter  Empty Re: special text limiter

Post by SLGray 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.


special text limiter  Slgray10

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

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

special text limiter  Empty Re: special text limiter

Post by okami125 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
okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

special text limiter  Empty Re: special text limiter

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

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


special text limiter  Slgray10

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

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

special text limiter  Empty Re: special text limiter

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

what about user names its only me and my friend
okami125
okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

special text limiter  Empty Re: special text limiter

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

What about usernames?


special text limiter  Slgray10

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

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

special text limiter  Empty Re: special text limiter

Post by okami125 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
okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

special text limiter  Empty Re: special text limiter

Post by LGforum 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
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

special text limiter  Empty Re: special text limiter

Post by okami125 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
okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

special text limiter  Empty Re: special text limiter

Post by LGforum 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
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

special text limiter  Empty Re: special text limiter

Post by okami125 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
okami125
New Member

Male Posts : 7
Reputation : 1
Language : English

http://thefunnyzone.forumotion.com

Back to top Go down

special text limiter  Empty Re: special text limiter

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

Good luck. And yes of course it is.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Back to top

- Similar topics

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