SMFHacks.com

SMFHacks.com => News => Topic started by: SMFHacks on January 09, 2021, 09:38:05 pm

Title: Forum ToolBox
Post by: SMFHacks on January 09, 2021, 09:38:05 pm
New product launched called Forum ToolBox which features four addons for SMF for $24.99.

•  Topic Ban (SMF 2.0.x) - Allow members to ban other people from posting in their topic
•  Multiple Accounts Detector (SMF 2.0.x, SMF 2.1.x)  - Detects users who have multiple accounts
•  Member Likes (SMF 2.0.x) - Allow members to like other members
•  Miserable Users  (SMF 2.0.x, SMF 2.1.x) - Discourage a user from using a forum useful against trolls


For more information on Forum ToolBox visit https://www.smfhacks.com/forumtoolbox.php

This package is also included in our Community Suite product at no extra cost.
Title: Re: Forum ToolBox
Post by: Nicole on January 10, 2021, 04:49:15 am
Hello, can the likes function be seen onliune as a demo? Is this some kind of thank o matic / post reactions like mod or more of a karma mod? Would like to try this first to see if I need it.
Title: Re: Forum ToolBox
Post by: SMFHacks on January 10, 2021, 09:04:13 am
Yes, I put it on https://www.smfhacks.com/demos/
Title: Re: Forum ToolBox
Post by: Nicole on January 10, 2021, 12:00:59 pm
Hello, I have liked your profile but could not see any changes occuring. The only things I noticed is taht I try to click "like" more than once it will give me an error saying I already like that member - in which case I feel it should not provide a like link on the profile anymore.

Cany ou please add some screenshots of what the mods is supposed to change? I was looking for some sort of like count but couldn't find it.
Title: Re: Forum ToolBox
Post by: SMFHacks on January 10, 2021, 12:13:42 pm
Added some more screenshots https://www.smfhacks.com/index.php?action=gallery;cat=23
Title: Re: Forum ToolBox
Post by: Nicole on January 10, 2021, 02:09:44 pm
I see the purpose now.

I would go for that mod if it had a match option that is so a member can show members whom they liked and got liked back as well. A member should then also receive a message once there is a match.
Title: Re: Forum ToolBox
Post by: Monocero on January 11, 2021, 12:57:24 pm
Quote
Add a unique cookie to user's devices when they browse your forum. The cookie expiration date is set to one year and its unique string associated with the users device will be saved to a table. So even if the user deletes their cookies, it won't matter.

How do I add this cookie?
Title: Re: Forum ToolBox
Post by: SMFHacks on January 11, 2021, 01:48:50 pm
The mod adds it automatically. When you have the Multiple Accounts Detector  installed.
Title: Re: Forum ToolBox
Post by: Monocero on January 11, 2021, 02:16:26 pm
For the test, I set up two accounts from the same IP address and unfortunately this system did not detect that there are two registered accounts from the same IP address.
Title: Re: Forum ToolBox
Post by: SMFHacks on January 11, 2021, 05:41:08 pm
Did you use the same browser? And where they new accounts?
Title: Re: Forum ToolBox
Post by: Monocero on January 12, 2021, 02:26:03 am
Did you use the same browser? And where they new accounts?

Yes, I set up two accounts on the same browser. I'm testing this tool on a clean test forum.

So this tool doesn't work properly for me.
Title: Re: Forum ToolBox
Post by: Nicole on January 12, 2021, 06:25:57 am
I see the purpose now.

I would go for that mod if it had a match option that is so a member can show members whom they liked and got liked back as well. A member should then also receive a message once there is a match.


Is tzhat possible?
Title: Re: Forum ToolBox
Post by: SMFHacks on January 12, 2021, 11:25:42 pm
Did you use the same browser? And where they new accounts?

Yes, I set up two accounts on the same browser. I'm testing this tool on a clean test forum.

So this tool doesn't work properly for me.
Will run some tests. I am assuming SMF 2.0.x?
Title: Re: Forum ToolBox
Post by: Monocero on January 13, 2021, 02:15:01 am
Yes, I am using SMF 2.0.17
Title: Re: Forum ToolBox
Post by: SMFHacks on January 14, 2021, 12:08:21 am
Posted an update still have some more tests to run but dupe IP protection should be better
1.0.1
+Updates to IP detection code
+Caching added to cookie check query
Title: Re: Forum ToolBox
Post by: Monocero on January 14, 2021, 05:50:20 am
Now v1.0.1 system detects associated IP addresses/accounts but does not detect devices.

(https://i.imgur.com/kw7uH4u.png)
Title: Re: Forum ToolBox
Post by: SMFHacks on January 14, 2021, 08:01:49 am
Did that work before? I added a caching function which I can remove/tweak.
Title: Re: Forum ToolBox
Post by: Nicole on January 14, 2021, 01:12:21 pm
Hello, if you had a match option for the like mod I'd bu this package as well
Title: Re: Forum ToolBox
Post by: SMFHacks on January 14, 2021, 01:16:37 pm
Not right now but maybe one day.
Title: Re: Forum ToolBox
Post by: Monocero on January 14, 2021, 03:21:47 pm
Did that work before? I added a caching function which I can remove/tweak.

This feature also didn't work before. You can check it?

I added a caching function which I can remove/tweak.

Where can I check it in the admin panel?
Title: Re: Forum ToolBox
Post by: Monocero on January 15, 2021, 01:33:13 am
Lots of errors appear in the error logs.

https://i.imgur.com/d7xPdDM.png

Undefined index: topic_ban_message_text

How to fix it?
Title: Re: Forum ToolBox
Post by: SMFHacks on January 15, 2021, 09:09:24 pm
For Topic Ban new update:
Version 1.0.1
!Fixed undefined notice for topic_ban_message_text
!Better language check support to fallback to english if custom not present.
Title: Re: Forum ToolBox
Post by: Monocero on January 16, 2021, 01:25:14 am
It's great that another fix is available.

Now the log has these errors.

https://i.imgur.com/DghbCGr.png

And it would be good if devices were displayed in the Devices tab.

I noticed a typo in the word "selceted".

(https://i.imgur.com/po5WpIA.png)
Title: Re: Forum ToolBox
Post by: SMFHacks on January 18, 2021, 07:23:17 pm
For TopicBan
Fixed "I noticed a typo in the word "selceted"."

For other mod still looking into the devices logging.
Title: Re: Forum ToolBox
Post by: SMFHacks on January 18, 2021, 11:46:32 pm
Multiple Accounts Detector Update:
1.1  Updates to device key tracking
Title: Re: Forum ToolBox
Post by: Monocero on January 19, 2021, 12:51:22 pm
1. Why is the username displayed dozen times in the Devices tab? Why doesn't the username display only once? When the user has only one account, the name of this account should be displayed only once, and not e.g. 30 times. However, if the user would create a second account and log in to the other account, then the second account name should be displayed next to it. Take a look at this screen (https://images92.fotosik.pl/465/af4a51430aa5778f.png). And the screen shows 32 pages, but each page is the same page as the previous one. Same users. This is a mistake?

2. I logged into the forum from a smartphone that has Android and this modification detected that I logged in from Linux x32. In some users, the modification shows Linux x64. Can you explain that?
Title: Re: Forum ToolBox
Post by: SMFHacks on January 19, 2021, 01:30:39 pm
Posted another update check it should fix.
2. It depends on the user agent. I added arm64 as part of the detection might help.
Title: Re: Forum ToolBox
Post by: Monocero on January 20, 2021, 01:55:20 am
Now this error appears:

https://i.imgur.com/MiNSilc.png

And now no data is displayed in the Devices tab.
Title: Re: Forum ToolBox
Post by: SMFHacks on January 21, 2021, 10:10:41 pm
For MultiAccountDetector
1.2
+Added index for member_ip column faster searching
+Improving paging for duplicate devices, and ip addresses which also fixes an error log for devices.
Title: Re: Forum ToolBox
Post by: Monocero on January 22, 2021, 05:00:04 am
Still the tool Multi Account Detector does not detect devices from which users are logging in. This Devices tab is still empty.

Errors in log are currently not generating.

And I have such a question. I have a user on the forum who probably created a second account with Opera. Its host name is: n15-02-07.opera-mini.net - but unfortunately the Multi Account Detector tool did not detect the connection between the two accounts.

I understand that different IP and host from Opera are used here, but after entering the IP of this account it shows me this IP associated with this user who was once logged in from that Opera because then he added a post from that IP.

Can this tool work better to detect something like this?
Title: Re: Forum ToolBox
Post by: SMFHacks on January 22, 2021, 08:35:48 am
It won't detect if you use different browsers on the same device  in the devices area. I did test creating multi accounts from the same browser that is detected and if the user logs in to the same browser that will be detected. This works since it is cookies based. If they use private mode then it won't be detected as the cookies don't transfer.

The user would be picked up though under multiple ip addresses area though.
Title: Re: Forum ToolBox
Post by: Monocero on January 22, 2021, 10:33:03 am
Ok, I checked it thoroughly. So when I enter the forum with cookies cleared in my browser and set up a test account and log in to this account and then log out and clear cookies in the browser and then log in to my official administrator account, unfortunately in the Devices/Multiple Accounts Detected tab it was not detected is the account from what device it was created from. But in the Ip Addresses tab I see this account that it is associated with my other account.

I understand that the device detection system works using cookies, but the fraudster, when he wants to set up, for example 2 accounts, will clear the cookies each time and it will not be detected which device he logged in from.

If I create a test account and then log out and log in to my official account (without clearing cookies in the browser), then the device from which I logged in is detected in the Devices tab.
Title: Re: Forum ToolBox
Post by: SMFHacks on January 22, 2021, 10:34:06 am
Yes, if cookies are cleared no way to track devices.
Title: Re: Forum ToolBox
Post by: Monocero on January 23, 2021, 02:59:00 am
I understand. Currently, there are such errors:

https://i.imgur.com/iQTpB7m.png
Title: Re: Forum ToolBox
Post by: SMFHacks on January 23, 2021, 09:13:12 am
I understand. Currently, there are such errors:

https://i.imgur.com/iQTpB7m.png
Posted update that should help
Title: Re: Forum ToolBox
Post by: Monocero on January 23, 2021, 11:47:48 am
Okay, I installed it.

It would be nice if you would enter commas between usernames in the Aliases Found table. What do you think?

For the modification Member Likes, you can enter the on/off function? Now, if I want to disable this modification, I need to uninstall this mod.
Title: Re: Forum ToolBox
Post by: SMFHacks on January 26, 2021, 01:56:12 pm
Quote
It would be nice if you would enter commas between usernames in the Aliases Found table.
I can do that.


On off? For members likes
Not sure if needed like you said you can just remove the mod if not needed.
Title: Re: Forum ToolBox
Post by: SMFHacks on January 26, 2021, 03:17:33 pm
Added the comma separated for alias table for Account Detector mod.
Title: Re: Forum ToolBox
Post by: Monocero on January 27, 2021, 02:36:45 am
Added the comma separated for alias table for Account Detector mod.

Great. But the comma doesn't show up precisely. It should look like this: Nickname, Nickname2 - and now it looks like this: Nickname ,Nickname2 - Can you improve it?

Quote
On off? For members likes
Not sure if needed like you said you can just remove the mod if not needed.

I understand, right, but why generate file changes if can disable and re-enable the mod at any time. :)
Title: Re: Forum ToolBox
Post by: SMFHacks on January 27, 2021, 09:48:55 am
Change made
Title: Re: Forum ToolBox
Post by: Monocero on January 27, 2021, 12:01:16 pm
Great. Thanks.
Title: Re: Forum ToolBox
Post by: Monocero on February 02, 2021, 02:16:27 pm
Appeared such error in the log. The forum works on SMF 2.0.18

https://i.imgur.com/00T4FOV.png
Title: Re: Forum ToolBox
Post by: SMFHacks on February 02, 2021, 03:40:35 pm
Copy this file to your sources folder and see if it helps.
Title: Re: Forum ToolBox
Post by: Monocero on February 04, 2021, 02:30:40 am
This file helped and these errors are not generating now. So you will release an update for this mod?
Title: Re: Forum ToolBox
Post by: SMFHacks on February 04, 2021, 10:25:11 am
Have posted the update
Title: Re: Forum ToolBox
Post by: Monocero on February 04, 2021, 01:33:47 pm
Great. 8)
Title: Re: Forum ToolBox
Post by: Monocero on February 11, 2021, 03:54:02 am
Hi SMFHacks,

New errors appeared in the log (Subs-MiserableUsers.php):

https://i.imgur.com/H5pD0JU.png

A lot of errors are constantly generated, there are already 1200 in the log.
Title: Re: Forum ToolBox
Post by: SMFHacks on February 11, 2021, 09:57:19 am
Fixed new release posted
Title: Re: Forum ToolBox
Post by: Monocero on February 11, 2021, 12:57:52 pm
Thanks.
Title: Re: Forum ToolBox
Post by: Monocero on February 24, 2021, 08:52:20 am
I had a user on the forum who was logged in all the time and did not take any activity. First, I banned him, but when I unbanned him, he was automatically logged in to the forum. So I banned him again and deleted him as a user. But it still generates a lot of errors from its IP. Over 400 errors.

Example errors:

/index.php?action=shoutbox;sa=get;msg_session=6713886;xml;row=53

/index.php?action=recenttopics;latest=1614169579;xml

So in mod "Miserable Users" I entered his IP, but he is still guest on my forum. Has not been redirected anywhere. So I set up a test account and banned this account with redirection to another site and unfortunately the redirection in "Miserable Users" does not work. Should be redirected to the page I entered for redirect.

Can you check the redirection in this modification?
Title: Re: Forum ToolBox
Post by: SMFHacks on February 24, 2021, 09:08:18 am
What's the error message though? I see urls above what does it say?
Title: Re: Forum ToolBox
Post by: Monocero on February 24, 2021, 09:26:37 am
After clicking on the link:

/index.php?action=shoutbox;sa=get;msg_session=6713886;xml;row=53

This is displayed:

{"banned":false,"reset":false,"count":0,"msgs":[],"newmsgs":false,"error":"","print_class":"mediumtext","hidden":"HIDDEN MESSAGE BY","click2view":"CLICK HERE TO VIEW","last":0}

These are the errors:

https://i.imgur.com/LZb1Hg8.png

So, if this user has been deleted and his IP banned, why are these errors generating? This is weird.
Title: Re: Forum ToolBox
Post by: SMFHacks on February 24, 2021, 09:29:59 am
Can you translate the screenshot? It just looks like something is being logged from either SMF or a mod.
Title: Re: Forum ToolBox
Post by: Monocero on February 24, 2021, 10:07:29 am
There is information on the screen that this former user has been banned. I entered Bot in the name of the ban.

Sorry Guest, you have been banned from this forum!
Bot
Your ban will not expire.

This is the first time I see such errors. I have a few banned users, but no errors are generated from any of them, only from the one I mentioned.
Title: Re: Forum ToolBox
Post by: SMFHacks on February 24, 2021, 10:38:52 am
Oh those are normal SMF  ban errors. I get thousands of those all the time.
Title: Re: Forum ToolBox
Post by: Monocero on February 24, 2021, 10:49:24 am
Ok, but the redirect in this mod doesn't work. It does not transfer the banned person to another page.
Title: Re: Forum ToolBox
Post by: SMFHacks on February 24, 2021, 11:04:38 am
So the user is banned? But not redirected? I think Bans override anything.
Title: Re: Forum ToolBox
Post by: Monocero on February 24, 2021, 11:23:10 am
Now I have run a test and added the test user's IP so that this user is redirected to another page and unfortunately the redirect does not occur. This test account is not banned.

How many seconds should I set in these fields?

https://i.imgur.com/3uaWq2z.png
Title: Re: Forum ToolBox
Post by: SMFHacks on February 24, 2021, 02:32:37 pm
What is your "Redirection Chances " set to? If it is set to 100 it should happen all the time.
Title: Re: Forum ToolBox
Post by: Monocero on February 25, 2021, 04:07:34 am
In "Redirection Chances" I am set to 30. But I had a problem on the forum. When I entered the number 100 and separated the entered IP addresses with commas, the forum was crashed, the forum was difficult to load, and when it was loaded it was a problem with logging in. What could be the cause? I had to restore a copy of the database.
Title: Re: Forum ToolBox
Post by: erkman77 on February 28, 2021, 03:59:20 am
At Multi Account Detector on the tab Ip Adresses i get only a white Page
Title: Re: Forum ToolBox
Post by: SMFHacks on February 28, 2021, 09:09:41 am
Anything in your error log? What SMF version?
Title: Re: Forum ToolBox
Post by: erkman77 on February 28, 2021, 09:51:01 am
Nothing in the Log, SMF 2.0.18
Title: Re: Forum ToolBox
Post by: Monocero on March 01, 2021, 05:41:08 am
SMFHacks,

I set up a test account, entered my IP address into "Miserable Users" and ok, after some time I am redirected to the entered page. I put 100 as you mentioned. But unfortunately the modification causes the server to crash. Logging in to the forum does not work. No one can log in to the forum. Even the second administrator cannot do this. So this modification has a serious bug. It is unacceptable that no one can login. Write me a workaround so that I can remove this IP from this modification. I cannot log in and I don't have access to the admin panel.

I changed the name of the Subs-MiserableUsers.php file on the server and logging into the forum is back! But I cannot access this field to delete the IP. How to solve it?
Title: Re: Forum ToolBox
Post by: SMFHacks on March 01, 2021, 09:18:19 am
SMFHacks,

I set up a test account, entered my IP address into "Miserable Users" and ok, after some time I am redirected to the entered page. I put 100 as you mentioned. But unfortunately the modification causes the server to crash. Logging in to the forum does not work. No one can log in to the forum. Even the second administrator cannot do this. So this modification has a serious bug. It is unacceptable that no one can login. Write me a workaround so that I can remove this IP from this modification. I cannot log in and I don't have access to the admin panel.

I changed the name of the Subs-MiserableUsers.php file on the server and logging into the forum is back! But I cannot access this field to delete the IP. How to solve it?

It's in the database in the smf_settings table. 
Fields:
miserable_ip
enable_miserable_ips_mod
Title: Re: Forum ToolBox
Post by: Monocero on March 01, 2021, 12:28:19 pm
Thank you for the information. I deleted the number 1 in these two fields: enable_miserable_users_mod, enable_miserable_ips_mod
thanks to this the modification was disabled. Are you going to check out this mod and fix it? This modification in version 1.1a is unusable by blocking login for all users and even other administrator, which causes the forum to crash.
Title: Re: Forum ToolBox
Post by: SMFHacks on March 01, 2021, 12:30:35 pm
What changed i thought it was just the redirect not working? Did the old version work fine?
Title: Re: Forum ToolBox
Post by: Monocero on March 01, 2021, 01:28:54 pm
Redirecting to another page does work, but after setting 100 in "Redirection Chances" unfortunately a modification causes the server to crash. Logging in to the forum does not work. No one can log in to the forum. Even the second administrator cannot do this. It is unacceptable that no one can login. Something is wrong that login for other users does not work, even administrator cannot login. Probably the bug is that when the administrator's IP is banned (My IP, I did it just for the test) it causes such an error that other users cannot log in and the other administrator also can't log in.
Title: Re: Forum ToolBox
Post by: SMFHacks on March 01, 2021, 01:31:36 pm
Yeah... then it won't work. If you ban your own ip that would cause it to always redirect...
Title: Re: Forum ToolBox
Post by: Monocero on March 01, 2021, 01:37:18 pm
Ok, but after banned my IP for the test, none of the users could log in, not even the second administrator.

Explain to me why nobody could log in? Even a second administrator. I just wanted to run a test to know if the redirect was working properly, so I banned my IP. Then I asked the other admin to unbans me in this mod, unfortunately he couldn't do it because he couldn't log in. No one was allowed to login, it is weird that this mod locks everyone, even the second admin. It is not working properly.
Title: Re: Forum ToolBox
Post by: SMFHacks on March 01, 2021, 03:06:54 pm
Couldn't recreate that issue tried a bunch of settings.
If you list your IP or the main ip that people use that could cause everyone just go get redirected.
Title: Re: Forum ToolBox
Post by: SMFHacks on March 01, 2021, 04:01:01 pm
Nothing in the Log, SMF 2.0.18
Give this a try. Trying to see if anything is generated. Copy to sources folder
Title: Re: Forum ToolBox
Post by: Monocero on March 02, 2021, 05:14:16 am
Couldn't recreate that issue tried a bunch of settings.
If you list your IP or the main ip that people use that could cause everyone just go get redirected.

I did the test. In these fields I set 0 as you showed in the screen.

Minimum Loading Delay (seconds)
Maximum Loading Delay (seconds)
Blank Page Chances
Connection Problems Page Chances

In "Redirection Chances" field I set 5 and then set 100 and it looks like everything is fine. Logging in for others users works fine, this error did not recur.

I have a question for you. After uninstalling this modification, the values from this modification are still visible in the database in the smf_settings table.

enable_miserable_users_mod
miserable_users
enable_miserable_ips_mod
miserable_ips
redirection_chances
redirection_url

Is there any tool for SMF that allows to clear such values from the database after uninstalling the modification?
Title: Re: Forum ToolBox
Post by: SMFHacks on March 02, 2021, 08:45:08 am
There is no tool that I am aware of.
Title: Re: Forum ToolBox
Post by: erkman77 on March 04, 2021, 01:57:09 pm

Give this a try. Trying to see if anything is generated. Copy to sources folder
Tried, same behavior,long loading, and then white page, nothing in the log
Title: Re: Forum ToolBox
Post by: SMFHacks on March 04, 2021, 02:08:41 pm
How big is the forum in terms of members and posts?
Title: Re: Forum ToolBox
Post by: erkman77 on March 05, 2021, 03:43:31 pm
If you mean me, 8144 Beiträge in 742 Themen von 2007 Mitgliedern
Title: Re: Forum ToolBox
Post by: SMFHacks on March 05, 2021, 04:01:03 pm
Give this file a try copy to sources folder.
Title: Re: Forum ToolBox
Post by: erkman77 on March 07, 2021, 03:38:04 am
Same issue, but the fault seems to be on me, with a fresh Forum install, it works. Some modification must produce thie error. I take a look