Forum Activity for @michael

michael
@michael
06/13/25 06:12:24PM
7,814 posts

smarty_function_jrTracker_status_select no longer processes the classes parameter


Using Jamroom

here's the full function in case you don't want to wait for it to pass testing:
function smarty_function_jrTracker_status_select($params, $smarty)
{ if (!isset($params['item_id']) || !jrCore_checktype($params['item_id'], 'number_nz')) { return jrCore_smarty_invalid_error('item_id'); } if (empty($params['status'])) { return jrCore_smarty_missing_error('status'); } if (empty($params['type'])) { return jrCore_smarty_missing_error('type'); } $stt = $params['status']; $_as = jrTracker_get_tracker_statuses(); if (!isset($_as[$stt])) { return jrCore_smarty_invalid_error('item_id'); } $cls = ''; if (!empty($params['class'])) { $cls = $params['class']; } $iid = (int) $params['item_id']; $out = '<select id="tracker-status-sel" class="status_section status_section_' . str_replace(' ', '_', $stt) . ' ' . $cls . '" onchange="var v=$(this).val(); jrTracker_set_status(' . $iid . ', v)">'; $out .= '<option value="' . $stt . '" selected="selected">' . $_as[$stt] . '</option>'; $out .= '<optgroup label="Change Status To:">'; foreach ($_as as $k => $v) { if ($k == $stt) { continue; } // If our tracker is not a FEATURE REQUEST turn off "complete" if ($params['type'] != 'feature' && $k == 'completed') { continue; } $out .= "\n<option value=\"{$k}\">&raquo; {$v}</option>"; } $out .= '</optgroup></select>'; if (!empty($params['assign'])) { /** @noinspection PhpUndefinedMethodInspection */ $smarty->assign($params['assign'], $out); return ''; } return $out; }
michael
@michael
06/13/25 01:05:42AM
7,814 posts

smarty_function_jrTracker_status_select no longer processes the classes parameter


Using Jamroom

I see it. Back in 2022 the $class was added in. I'll get it added back in.
michael
@michael
06/13/25 01:03:09AM
7,814 posts

smarty_function_jrTracker_status_select no longer processes the classes parameter


Using Jamroom

Got some setup steps to look at, I'll try to debug.
michael
@michael
06/13/25 01:01:35AM
7,814 posts

smarty_function_jrTracker_status_select no longer processes the classes parameter


Using Jamroom

What are you seeing, it should do.

the smarty function is defined as:
function smarty_function_jrTracker_status_select($params, $smarty)
then its called as:
{jrTracker_status_select item_id=$item._item_id status=$item.tracker_status type=$item.tracker_type class="form_select status_section_`$class_status`"}

All the ???= should be in the $params as $params['class'] or $params['whatever']
michael
@michael
05/23/25 04:30:09PM
7,814 posts

Broken images and failed system check


Installation and Configuration

Try disabling modules that show up in the integrity check where it gets stuck, then re-run the integrity check. That will allow you to isolate where the issue is.

Try checking the server error logs for any error messages.

To fix the issue the first step is to locate the issue.
michael
@michael
05/19/25 01:09:10AM
7,814 posts

Broken images and failed system check


Installation and Configuration

My guess: Have you changed any code in the default modules? What happens when modules update is the old version gets removed and the new version gets put in place.

So for example, jrAudio.

Initially it is found at:
/modules/jrAudio

Then when you update it it gets moved to
/modules/jrAudio-1.0.0
and the new version gets put at
/modules/jrAudio-1.0.1

and
/modules/jrAudio turns into a symlink pointing to the newest version.

So if you've changed any module files to make your system work, you'll find those changes in the old module directory.

The correct/intended way to adjust a module's output is via the. "events and listeners" system that uses hooks in your own module to tap into data from other modules.

Since you have a module called jrImageOptim which 'jr' seems like it was made by 'the jamroom network' team but its not our module makes me guess that's a custom module (that really should be either your prefix spImageOpim or just 'xx' xxImageOptim). And maybe you've made some alterations to core modules to make that work possibly.
michael
@michael
05/15/25 01:11:39AM
7,814 posts

Broken images and failed system check


Installation and Configuration

jrImageOptim this looks like a custom module that's opening a queue but not saving or clearing properly.

You should see the queue at
ACP -> DASHBOARD -> QUEUE VIEWER

Find the offending queue and empty it.
empt.jpg empt.jpg - 260KB
michael
@michael
04/23/25 08:59:35PM
7,814 posts

Forums no longer accessible – being logged out?


Using Jamroom

If you're using it and its working then nothing needs to be done, you didn't HAVE to move to the newer system when it came out, but if you did then you did need to turn off the older system.

Send me the details and I'll see if there are any errors in the log that might point to what the issue is.

THE ISSUE: For some reason the integrity check does not complete.
michael
@michael
04/17/25 02:53:53PM
7,814 posts

Forums no longer accessible – being logged out?


Using Jamroom

You could delete it from the file system
/modules/jrSiteBuilderConstructionKit/

Not sure of the exact module name its been a long time gone. What slightly concerns me is if your site is using it then you won't want to delete it.

Site Builder used to be 3 or so modules then got combined into one module. If you had both of them on the site that could cause issues.

Might be better to copy it to a local folder rather before deleting so it can be restored.

If you want to send admin level user info to support at jamroom dot net I can take a look.
1