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.

Major Flaw in the tutorial "allow-only-administrators-to-delete-a-topic"

2 posters

Go down

Major Flaw in the tutorial "allow-only-administrators-to-delete-a-topic" Empty Major Flaw in the tutorial "allow-only-administrators-to-delete-a-topic"

Post by masesm March 14th 2018, 11:43 pm

I would like to mention that the tutorial not allow moderators to post has a major flaw. The moderator can simply disable javascript (or that part of the code using browser plugins) to proceed to delete posts. Such permissions should be handled internally through PHP and not javascript. Either that, or it can be paired with a method to not allow users to visit the website without enabling javascript. Cheers.

Link to the tutorial: https://help.forumotion.com/t155267-allow-only-administrators-to-delete-a-topic#1067499
masesm
masesm
Forumember

Male Posts : 75
Reputation : 7
Language : Java, C++, C#, Python, JavaScript, PHP, MySQL, AWS
Location : United States

http://sicktier.forumotion.com/

Back to top Go down

Major Flaw in the tutorial "allow-only-administrators-to-delete-a-topic" Empty Re: Major Flaw in the tutorial "allow-only-administrators-to-delete-a-topic"

Post by TheCrow March 15th 2018, 12:44 am

masesm wrote:I would like to mention that the tutorial not allow moderators to post has a major flaw. The moderator can simply disable javascript (or that part of the code using browser plugins) to proceed to delete posts. Such permissions should be handled internally through PHP and not javascript. Either that, or it can be paired with a method to not allow users to visit the website without enabling javascript. Cheers.

Link to the tutorial: https://help.forumotion.com/t155267-allow-only-administrators-to-delete-a-topic#1067499
Hello @masesm,

This tutorial was created for those who simply want this function to work for their moderators. If a member joins the forum and disables the javascripts then it's the Administration's decision whether that member is capable to have Moderation powers to that forum. Since we have no access to PHP this was the best way I could help those members who needed something similar to that. And lastly, if they disable the scripts using those browser plugins then all javascripts are useless. Wink

Sincerely,
Luffy.


Major Flaw in the tutorial "allow-only-administrators-to-delete-a-topic" Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Back to top

- Similar topics

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