FlexHub Forum

How to BLOCK pingers porn and hackers.

How to BLOCK pingers porn and hackers.
« on: September 28, 2014, 20:23:24 »
Hi,
i'm running Flexhub and am new at this, there are a few things i would like to ask, First is is there a BOT i can add that can scan for adult material? Second is there any way of being able to set each users level? So if someone new just joined and wanted to search and download they would have no choice but to register and to have that user when registered to be on the lowest profile limited to just being able to search and download?
And third is there any commands to block command line and info admins want to use ie say to see a users info without anyone else being able to see it except the admins? Thank you

Adam.

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
Re: How to BLOCK pingers porn and hackers.
« Reply #1 on: September 28, 2014, 21:11:58 »
Hi Adam, welcome to the FlexHub forum!

The hub itself doesn't download filelists and there's no bot that can be added on the serverside, FlexHub doesn't have a Lua API yet to add scripts yourself. There probably are clientside scripts (that can run in your DC client) that can take care of downloading filelists and scan them for certain content, but I don't have experience with them. You could also use ADL search to help with that, you can create automated actions for certain matches in a filelist. But they tend to generate false positives also, so be careful trying to fully automate it.

To allow only registered users to download use:
!set unregged_download false

When a user selfregisters, he will have the profile 'Reg', you can see the profile with !showprofile reg and you can specify the rights for that profile with the allow and override commands. Use !allow -h  or !override -h for help with those commands, or check the manual. There's also the !modprofile command for some extra profile settings.

With those commands you can also modify the profile that admins use.
« Last Edit: September 28, 2014, 21:14:44 by FlipFlop™ »
Check the new FlexHubList!           Add awesome statistics like this for your hub!

This post is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.

Offline sergius_s

  • *
  • 236
  • Be yourself...
Re: How to BLOCK pingers porn and hackers.
« Reply #2 on: October 02, 2014, 18:24:13 »
Hi, Adam!

Perhaps my translator too bad... I do not understand what it means "adult material"?
If you mean scan porn, then read it -->http://www.flexhub.org/forum/index.php/topic,50.msg1916.html#msg1916 (specific patterns SE, you can also add them to the patterns SR), more info - http://www.flexhub.org/forum/index.php/topic,50.msg114.html#msg114
- I'm sorry for my terrible english...