Support Forum

is there any way to resequence the subscriptions button?

KV kvr28
kvr28
Member

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

8 Answers

New Answer

MP Mr Papa
Mr Papa
Member

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…

KV kvr28
kvr28
Member

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

YS Yellow Swordfish
Yellow Swordfish
Member

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.

KV kvr28
kvr28
Member

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

MP Mr Papa
Mr Papa
Member

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…