Forum Activity for @michael

michael
@michael
08/24/21 09:47:32PM
7,718 posts

searching multiple like patterns


Using Jamroom

That search WILL NOT SCALE. 'Like' queries are already slow and each time you add another % to it, its getting slower still.

ok, so given that whats the issue...... It looks like you have 2 types of datastore items listed. you have 'profile_name' which would be searching the jrProfile modules datastore and also 'audio_credits' which would be searching the jrAudio modules datastore. What does the
module=""
part of the request look like?
michael
@michael
08/14/21 04:58:23PM
7,718 posts

How do you track and remove users?


Using Jamroom

There's the DATA BROWSER in the DASHBOARD section, you can delete user and profile in one go from the 'user' list. You can also see if they've never logged in or their last login date.
michael
@michael
08/13/21 06:53:16PM
7,718 posts

JrCore Router using too much CPU power


Using Jamroom

If its still slow after that, send the URL of some of the slow pages to support at jamroom dot net along with a link to this thread and I'll go take a look at it, see if I can see anything obvious.
michael
@michael
08/13/21 05:34:11PM
7,718 posts

email from Soundcloud... anything to worry about?


Using Jamroom

Thanks for the heads up. Yes the soundcloud module does use api.soundcloud.com and it does use 'client_id'. This is something we'll need to get the module updated to take care of. I'll open a tracker.
michael
@michael
08/13/21 05:30:22PM
7,718 posts

Elastic2 - Banner Image not appearing in profiles


Using Jamroom

There's a new version of the jrProfile module that's just been moved from BETA into the STABLE channel just now.

Update your system and try again.
michael
@michael
08/13/21 05:26:22PM
7,718 posts

JrCore Router using too much CPU power


Using Jamroom

EVERYTHING goes through the router so its probably not the router itself thats the issue but the endpoint or something along the way.

Those load times do seem way too long for a well running system though.

Could be some stalled or continuiously looping processes that have hung possibly. A system reboot may clear those out.

Is caching turned on, it should be in a production system. Make sure its not running in "Developer Mode"
ACP -> MODULES -> DEVELOPER -> GLOBAL CONFIG -> Developer mode.

When a page loads on jamroom the router.php file will
* router.php -> load the page
* router.php -> load first image
* router.php -> load second image
* router.php -> load third image

so it gets called a lot. Need to figure out which process is the slow one.
michael
@michael
08/10/21 08:40:53PM
7,718 posts

Purging Obsolete Media Files


Jamroom Developers

if you're looking to expand the storage size but not the server capabilities we do have facility to add extended storage to your current hosting account. The advantages are bigger storage for the server without the price jump of an actual larger server.

Brian's set it up for a couple of people with large space requirements but not such a big demand on traffic.

Have a chat with him if that's something that could be useful in your case.
michael
@michael
08/10/21 07:29:27PM
7,718 posts

Can I disable "Followers" tab on Forum Profile?


Design and Skin Customization

I think what you're after is when someone arrives at the community profile that they are immediately redirected to the forum.

If that's what you're after, setup another quota, maybe call it 'community'
ACP -> MODULES -> PROFILES -> PROFILES -> TOOLS -> PROFILE QUOTAS -> "community" -> CREATE NEW QUOTA

Then move the /community profile into that quota. Do this by visiting it as an admin user then clicking the gear icon. At the bottom of the PROFILE page you will see the quota.

Next install the "Profile Tweaks" module from the marketplace then visit it at:
ACP -> MODULES -> PROFILES -> PROFILE TWEAKS -> QUOTA CONFIG

Change the "Selected Quota" to be "Community" and the "Allow Customization" to be ON and the "Default Profile Index" to be "Forum"

When ever anyone visits that profile they will go directly to the Forum.

Hiding the side bar and the FOLLOW button will probably take some skin customization or some clever CSS tweaks.
quota.png quota.png - 94KB
michael
@michael
08/10/21 07:14:44PM
7,718 posts

Purging Obsolete Media Files


Jamroom Developers

Worst case I can think of: the user sees an error that is meant for the developers and doesn't understand it. A file not being there when the database expects it to be is not going to topple the system or crash it.

Maybe the item still appears in a list of items then when clicked on it goes to a 404 not found page. You can log 404 errors to the activity log via a setting in the ACP if you want to watch for that.

I often download a database of a site that needs working on from production but do not download the /data/ folder. The result is the site still works but the images show the default image placeholders.
michael
@michael
08/09/21 08:01:40PM
7,718 posts

Purging Obsolete Media Files


Jamroom Developers

maybe follow this flow:
Upload a bunch of images to a single jrGallery then it will have a DELETE button for each. That would setup a structure where you can follow the flow of functions that work to delete a single file from a datastore item that contains multiple images.

Im guessing thats what you're after rather than deleting the datastore item itself.

--edit--
the path in the image should be /index.php not /image.php, sorry.
a-delete-flow.jpg a-delete-flow.jpg - 1.4MB

updated by @michael: 08/09/21 08:02:47PM
  33