Forum Activity for @michael

michael
@michael
06/24/21 01:11:16AM
7,822 posts

Just Installed the New Core and Got a Red Dot Warning About Uploads in System Check


Installation and Configuration

Try uploading something, see if it works.

The function that goes and gets that info for the warning is the jrCore_get_max_allowed_upload() function and it hasn't changed since 2017 so the warning doesn't seem like a likely cause of issue.

To get the values of your post_max_size and the upload_max_filesize the code is:
   $php_pmax = (int) ini_get('post_max_size');
    $php_umax = (int) ini_get('upload_max_filesize');

Seems unlikely that ini_get() function would be blocked by the server.
michael
@michael
06/17/21 10:12:51PM
7,822 posts

Timeline post showing blank text.


Design and Skin Customization

You'll want to make sure your skins templates are up-to-date. If you're using a custom skin, try changing to a default jamroom skin thats been un-altered and see if the issue exists there.

Posting to the timeline works for me here.
michael
@michael
06/17/21 10:09:29PM
7,822 posts

What are your best practices, tips, tricks regarding validation/approval of new members?


Ning To Jamroom

Here on jamroom.net we use email validation along with the 'Spam Blocker' module. Whenever a new user signs up and posts anything that contains a link outside the site all admins get notified.

When we check it if it looks like spam we go to:
* Dashboard -> whos online
locate the spammer and click LOG OFF, then BAN IP, then
* DASHBOARD -> USER BROWSER -> BLOCK
* DASHBOARD -> USER BROWSER -> DELETE (choose user account and profile)
That will delete their account and all posts they have made.

If the link is to somewhere I often paste that users credentials in that sites "contact us" box along with a message something like
Quote: You've hired a spammer to do your SEO for you. Fire them immediately. They're spamming your links around the internet, this will get your site added to spammer blacklists which will make it harder for you to appear in search engine rankings. Fire them immediately

To let the owners know. A lot of the time they've hired an "SEO expert" who's trying to use your site as link validation to improve their rankings.

There's no other reason they'd post stuff like "Hey I love this article, (link to essay writing site)".
michael
@michael
06/15/21 07:48:37PM
7,822 posts

jrAudio_1089_audio_file.mp3.original.mp3


Using Jamroom

Not sure, download one, unzip it. Whats in it?

--edit--
Guess is its probably a 'Bundle' of some separate items that have been grouped for sale.
updated by @michael: 06/15/21 07:50:01PM
michael
@michael
06/12/21 04:06:13PM
7,822 posts

What are the possibilities with tags?


Ning To Jamroom

only in the Timeline and only in some skins. Its the @ button at the top of a users profile that will show all timeline posts they are mentioned in.

A module could be built to make it work in other locations by scanning the contents then building a list.
atmention.png atmention.png - 792KB
michael
@michael
06/09/21 03:11:35PM
7,822 posts

What are the possibilities with tags?


Ning To Jamroom

Sure, anythings possible. You'd just need to figure out what info you want, then where you want to display it then its just a matter of figuring out the right templates to adjust.
michael
@michael
06/08/21 07:35:32PM
7,822 posts

jrAudio_1089_audio_file.mp3.original.mp3


Using Jamroom

I'm don't feel comfortable saying "Yes, its fine to delete the .original. files" because I have not done enough research on it to know the consequences for sure. Don't like the thought of a week from now you saying "You told me it was fine to delete the files now.............. has happened."

If I was going to delete the original files from my server I think something like a recursive delete function with a wild card would probably work, something like

rm -rf /path/to/the/data/directory/data/*.original.*
Something like that probably works, need to find the right syntax, 'rm -rf' can wipe out the whole server if used wrong. Careful.
michael
@michael
06/07/21 07:17:57PM
7,822 posts

jrAudio_1089_audio_file.mp3.original.mp3


Using Jamroom

If after that I go to: ACP -> PROFILES -> AUDIO -> TOOLS -> CONVERT AUDIO FILES -> "Force Reconversion" -> SUBMIT

Then the non .original. version is rebuilt from the original version and the player works again and the download works again.

so the .original. version is the one any required formats are built from.
michael
@michael
06/07/21 07:14:50PM
7,822 posts

jrAudio_1089_audio_file.mp3.original.mp3


Using Jamroom

.mp3 files are the only ones that will play over the web so files like .wav need to be converted after uploading so they can play in the audio players.

If someone then went and purchased that file they'd want to get the good copy so the .wav would be delivered. That's why there are 2 versions of files.

From a quick check here if I delete the .original. version the download still works and the player version still works, but if i delete the other one the one without the .orignal. in the file name then the player does not play and the download button does not work.
michael
@michael
06/07/21 07:02:36PM
7,822 posts

search bar


Jamroom Developers

That's a hard one to do in my head.

The jrCore_list function is just a wrapper for the jrCore_db_search_items() function.

If order is important take a look in /modules/jrCore/lib/datastore.php for a function _jrCore_db_search_items() and check out all the events that happen in there.

A solution could be that after the search results have been found you use a 'listener' to re-apply the order.

The events in that function are:
* 'db_search_params'
* 'db_search_cache_check'
* 'db_search_simple_keys'
* 'db_search_count_query'
* 'db_search_items_query'
* 'db_search_items'
* 'db_search_results'

So there's a lot of locations to choose from in that flow.
  47