Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Breadcrumbs link to groups
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 22, 2018 - 10:59 pm

we also do some caching of group view, so want to do some testing there too...

Avatar
Christine Baker
NW Arizona - high desert
Member

Silver Members
sp_UserOfflineSmall Offline
Jun 22, 2018 - 11:55 pm

Ok, I checked out the control panel and there was some "supercaching" that was active and I tried to make sure that EVERYTHING was turned off now.

But, the problem didn't go away 🙁

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2018 - 12:19 am

yeah, I am beginning to think there is an issue with our group view query when using single group ids... seeing some weird stuff in my testing...

would you be willing to try a couple code changes?  note, keep copies, this is fully untested but think it might help you...

in file simple-press/forum/content/classes/sp-group-view-class.php, around line 225 find this line

if (!$records) {

and change it to

if (!$records || !empty($groupids)) {

and then around line 258 find this line

if ($records) sp_add_cache('group', $records);

and change it to

if ($records && empty($groupids)) sp_add_cache('group', $records);

now, this will not be the final change if this turns out to be a problem, but for your specific case, it might work...   probably very premature to ask for this change, but will be very good data for us...

Avatar
Christine Baker
NW Arizona - high desert
Member

Silver Members
sp_UserOfflineSmall Offline
Jun 23, 2018 - 12:40 am

I made the changes, cleared the forum cache, but still no go ...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2018 - 12:48 am

did you adjust the group view query in your child theme?

also, you might need to clear the group view cache on forum - toolbox - housekeeping to reset everything...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2018 - 1:03 am

might be easier if you could give us ftp access so we can mod files and look at stuff... understand if thats not doable...  if so, pm the details to both andy and steve...  

Avatar
Christine Baker
NW Arizona - high desert
Member

Silver Members
sp_UserOfflineSmall Offline
Jun 23, 2018 - 1:59 am

I just sent you the info.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2018 - 3:17 am

I dont see the changes that I had requested... I made them, plus one more..

Can you take a look?  seems to be working now... 

Avatar
Christine Baker
NW Arizona - high desert
Member

Silver Members
sp_UserOfflineSmall Offline
Jun 23, 2018 - 4:20 am

YES, it works!  I must have made the changes in the wrong file 🙁

I'm so glad, hopefully it'll still work tomorrow!

THANKS!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 23, 2018 - 2:20 pm

me too!  please let us know... knew it was caching 😉 just not ours cool 

will roll this change into next release...

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: 79605