Problem with the rights of any rank

Go down

Solved Problem with the rights of any rank

Post by cs_4ever on February 7th 2020, 3:01 pm

Technical Details


Forum version : #phpBB2
Position : Administrator
Concerned browser(s) : Google Chrome, Opera
Who the problem concerns : Yourself
Forum link : https://smurfa.bulgarianforum.net/

Description of problem

Hi I have already given Rank
https://smurfa.bulgarianforum.net/g2-group so far so good, but now is the problem. How to make a given rank not be able to delete posts but just move them.

I have another question for: How to put a link in the profile like Skype, Facebook, YouTube but to Discord In this days everyone use discord.
cs_4ever
cs_4ever
New Member

Posts : 16
Reputation : 1
Language : Bulgaria

View user profile http://photoshop.forumotion.eu/

Back to top Go down

Solved Re: Problem with the rights of any rank

Post by brandon_g on February 7th 2020, 3:55 pm

Hello,

What you are asking is not possible unfortunately. When you assign a group or user as a moderator of a section, they have all the moderation permissions for that section (move, lock, delete, split, merge, etc). There is no way to limit it to just one permission or another.

Sorry about this.

As for your other question, a code does exist for adding an instagram profile field and a youtube one but not discord.

@TheCrow made the code so maybe he will know a way to modify it to work for discord also. The code in question is here: https://help.forumotion.com/t156778-add-instagram-as-contact-field-to-your-forum . And I have a modified one that works for Youtube if you would like that.

-Brandon


Last edited by brandon_g on February 14th 2020, 2:42 pm; edited 1 time in total
brandon_g
brandon_g
Manager
Manager

Male Posts : 9210
Reputation : 845
Language : English
Location : USA

View user profile https://www.broadcastingduo.com

Back to top Go down

Solved Re: Problem with the rights of any rank

Post by cs_4ever on February 7th 2020, 4:08 pm

@brandon_g wrote:Hello,

What you are asking is not possible unfortunately. When you assign a group or user as a moderator of section, they have all the moderation permissions for that section (move, lock, delete, split, merge, etc). There is no way to limit it to just one permission or another.

Sorry about this.

As for your other question, a code does exist for adding an instagram profile field and a youtube one but not discord.

@TheCrow made the code so maybe he will know a way to modify it to work for discord also. The code in question is here: https://help.forumotion.com/t156778-add-instagram-as-contact-field-to-your-forum . And I have a modified one that works for Youtube if you would like that.

-Brandon
It would be very nice of you to share it.
And in the future, will there be a way to fix this with groups and be able to optimize your users the right way?
cs_4ever
cs_4ever
New Member

Posts : 16
Reputation : 1
Language : Bulgaria

View user profile http://photoshop.forumotion.eu/

Back to top Go down

Solved Re: Problem with the rights of any rank

Post by brandon_g on February 7th 2020, 6:36 pm

As far as I know, right now there are no plans to change the moderation rights system. Your welcome to check the suggestions section to see if it has been suggested though.

As for the script you want here it is, but please note all credit for the script goes to TheCrow and you still need to follow the instructions from the tutorial I linked you to for it to work. You will need change the icons and profile field stuff to your own, as they are currently set up to how I have it on my forum.

Code:
         
        **************** COPYRIGHTS ©️️ 2018, LUFFY - FORUMOTION.COM ****************
             
        - Please do not try to post a new tutorial using this code to your forum.
        - This code is written by Luffy for Forumotion.com forums only.
        - Please ask your questions at https://help.forumotion.com
        - Please do not remove these comments.
        - Tutorial Link: /t156778-add-instagram-as-contact-field-to-your-forum
        --------------------------------------------------------------------------- */
             
        $(function(){
             
          if(/\/?u(\d+)contact$/.test(location.pathname)) {
            $('dl#field_id10 dd a').attr('title','View the user\'s Instagram account');         
            $('dl#field_id11 dd a').attr('title','View the user\'s Youtube channel');
            if ($('dl#field_id1 dd a[href*="http://"]')||$('dl#field_id11 dd a[href*="http://"]')){
              var ifgr_instagram_src = $('dl#field_id10 dd a,dl#field_id11 dd a').attr('href').slice(7);
            }
            if ($('dl#field_id10 dd a[href*="https://"]')||$('dl#field_id11 dd a[href*="https://"]')){
              var ifgr_instagram_src = $('dl#field_id10 dd a,dl#field_id11 dd a').attr('href').slice(8);
            }
          }
             
          if (/t(\d+)/.test(window.location.pathname)) {
            $('a[title*="website"]').has('img[src*="https://i.servimg.com/u/f93/16/03/72/60/scree911.png"]').addClass('InstagramPage');
            $('a[title*="website"]').has('img[src*="https://i.servimg.com/u/f93/16/03/72/60/scree912.png"]').addClass('YoutubeChannel');
            $('a.YoutubeChannel').attr('title','View the user\'s Youtube channel');
            $('a.InstagramPage').attr('title','View the user\'s Instagram account');
            if ($('a.InstagramPage[href*="http://"]')||$('a.YoutubeChannel[href*="http://"]')){
              var ifgr_instagram_src2 = $('a.InstagramPage,a.YoutubeChannel').attr('href').slice(7);
            }
            if ($('a.InstagramPage[href*="https://"]')||$('a.YoutubeChannel[href*="https://"]')){
              var ifgr_instagram_src2 = $('a.InstagramPage,a.YoutubeChannel').attr('href').slice(8);
            }
          }
brandon_g
brandon_g
Manager
Manager

Male Posts : 9210
Reputation : 845
Language : English
Location : USA

View user profile https://www.broadcastingduo.com

Back to top Go down

Solved Re: Problem with the rights of any rank

Post by cs_4ever on February 8th 2020, 6:57 am

Ok, thanks you so much LOCK the topic Problem with the rights of any rank 1f600
cs_4ever
cs_4ever
New Member

Posts : 16
Reputation : 1
Language : Bulgaria

View user profile http://photoshop.forumotion.eu/

Back to top Go down

Solved Re: Problem with the rights of any rank

Post by skouliki on February 8th 2020, 8:01 am

Problem solved & topic archived.
Please read our forum rules: ESF General Rules
skouliki
skouliki
Manager
Manager

Female Posts : 9092
Reputation : 1188
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

Back to top


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