Support Forum

Advanced Search
Forum Scope


Forum Options

Minimum search word length is 3 characters - maximum search word length is 84 characters
Subscriptions plugin bug
Jonathan Blyer
sp_UserOfflineSmall Offline
Apr 23, 2019 - 8:10 am

I've been working with the Subscriptions plugin and noticed there is a significant issue when a user unsubscribes from a forum.

On line 68 of sp-subscriptions-database.php in the function sp_subscriptions_remove_forum_supscription, both the $forumid and $userid are passed into the function. However the query that is run only passes the $forumid.

The result is that when a single user tries to unsubscribe, ALL users for that forum are unsubscribed.

this is fixed by changing line 68 to


This is possibly due to the fact that another function "sp_subscriptions_remove_forum_subscriptions" has this behavior intentionally and has a very similar name (note the 's' at the end).

Is there any possibility of getting this fixed applied to the code base?

Simple Press
sp_UserOfflineSmall Offline
Apr 23, 2019 - 1:21 pm


Nice catch.  We've applied your fix and pushed a new version to our repository and licensing server.  New version is 2.1.1. 

Thanks for reporting this!

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17348
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10120
Posts: 79607