Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
is there any way to resequence the subscriptions button?
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Dec 18, 2014 - 9:57 pm

when you click on the button, the pop up shows threads subscribed by forum order, I have several members tell me that they have a large subscription list and it is confusing sorting through it, they would prefer if it sorted by recent post, no matter which forum it is, is that even possible? Thank-you

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 18, 2014 - 11:05 pm

well, yes and no...  at least if I understand you...  its a relatively simple change to modify the ordering... but unfortunately, doesnt look like the control is exposed...

so maybe try editing one of the files and at least see if its what you want...

in the subscriptions plugin, subscriptions/ahah/sp-subscriptions-ahah-manage.php...  around line 75, change this line:

        $spListView = new spTopicList($spThisUser->subscribe, 0, true, '', $first);

to

        $spListView = new spTopicList($spThisUser->subscribe, 0, false, '', $first);

and let me know if that does what you want...  if so, then can work a way to expose it...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Dec 18, 2014 - 11:38 pm

thanks MP. I'll give it a shot!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 19, 2014 - 1:24 am

let us know...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Dec 19, 2014 - 2:39 am

it works, it's just slow on my live site, staging works well, not sure if the varnish cache is interfering with it, or if it's because I haven't updated wp or sp on the staging server yet, will have to test more in the morning

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 19, 2014 - 6:45 am

Have you updated everything - including the subscriptions plugin? I will let Steve deal with any specific questions on this filter but interested to know if the plugin has been updated as there should be performance gains with that.

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Dec 19, 2014 - 7:50 am

yep, updated everything

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Dec 19, 2014 - 10:11 am

it was a caching issue, after clearing everything, it works perfect

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 19, 2014 - 10:18 am

good to hear...  so have a ticket open to figure out good way to expose that so you dont have to edit the plugin itself...  should have it in next version...  but please note, you will lose your customization when you update it and will have to change to use the new method... can walk you through it at that time...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625