MyBB Community Forums

Full Version: Disable add signature image certain groups
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there,

I want to disable add signature image feature certain groups. For example Gold User (ID=10) can add image to signature but Standard users (ID=3) can't.

Is this possible? And how can I do? Can you help me?

Sorry my English I'm Turkish. I hope you understand me Smile
What is your forum link?
Yes you can do it, you can modify it in AdminCP > User and groups > Groups > Gold/Standard(i.e. Usergroup) > Users and Permissions > Can add a signature?
Tick or Untick depending on permission you want to give Smile

Regards
WallBB
(2016-08-21, 02:32 PM)izakgewdrick Wrote: [ -> ]What is your forum link?

blogkurdu.net/

(2016-08-21, 02:40 PM)WallBB Wrote: [ -> ]Yes you can do it, you can modify it in AdminCP > User and groups > Groups > Gold/Standard(i.e. Usergroup) > Users and Permissions >  Can add a signature?
Tick or Untick depending on permission you want to give Smile

Regards
WallBB

You don't understand me. I mean user can add signature but can't add image in signature
This plugin is a little outdated but you can give it a try. Remember to change the compatibility in the plugin file to 18.

https://mods.mybb.com/view/image-extensi...-signature

Once you've installed and activated it
Go to: Admin CP > Configuration > Image extensions in signature

Switch On/Off to "Yes"
In the second field type the Group ID(s) you don't want to have images
In the 3rd field type: .gif|.png|.jpeg|.jpg
(2016-08-21, 05:28 PM)Sharree Wrote: [ -> ]This plugin is a little outdated but you can give it a try. Remember to change the compatibility in the plugin file to 18.

https://mods.mybb.com/view/image-extensi...-signature

Once you've installed and activated it
Go to: Admin CP > Configuration > Image extensions in signature

Switch On/Off to "Yes"
In the second field type the Group ID(s) you don't want to have images
In the 3rd field type: .gif|.png|.jpeg|.jpg

Yes this pluging working. But I wanted to get more features later. Specific user groups allowed add signature URL and IMG. This plugin work only IMG. Than I search on internet found this plugin: https://mods.mybb.com/view/signature-limit

This plugin disallow signature img and links for specific groups. But I want more more more special feature. Example: Standard users can add signature but no link no images inside. Only text. First plugin disallow only images second plugin disallow images and link both. But I want some groups can add link but can't image. 

Example:
Standard group: Can add siganture only text. can't add link can't add image.
Bronze group: Can add signature, Can add links, can't add image.
Gold group: Can add signature, can add link, can add image.

Next, I tried to use first plugin with second. This solution works! But I have still a problem: 
When user try add URL or IMG without http:// this error appears: php syntax error [] tag not allowed

Next, I thought. And open second plugin sign_limit.php file and delete IMG settings, queries, IMG lang tags etc.
And that's work!

Now, standard users can add only text signature, bronze users can add text+urls, gold user can add text+links+images Smile


But I have still question:

Can I combine first plugin and second plugin only one plugin? 


(I hope you understand me. I'm Turkish and I know english a bit.)

I've got a problem again first plugin.

When standard users try to add the signature only text they see error message: I not allowed image because using this extensions: .jpg .png .gif etc.

But users not trying add image. When they write "hi I am signature and this is .png" got this error Big Grin when this plugin find image extensions give this error Big Grin

Is there any solution?
Bump.