Forum Activity for @michael

michael
@michael
06/12/21 04:06:13PM
7,718 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,718 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,718 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,718 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,718 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,718 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.
michael
@michael
06/07/21 12:56:31AM
7,718 posts

search bar


Jamroom Developers

jrCore_list will go grab a list of whatever its been requested to get.

Jamroom has a system called 'events' and 'listeners':

Docs: Events and Listeners
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1011/events-and-listeners

in summary, there are a bunch of 'events' around the place that other modules can 'listen' for. This allows another module to manipulate the data without each module needing to know that the other exists.

During the jrCore_list call the jrSearch module registers a listener. When the point in the code is reached the query that the jrCore_list call is building is passed to the event which shares it around any module with a registered listener; they do what they want to with the data then pass it back into the flow.

After the jrSearch module has finished it's changed the SQL query that is being run. I think from memory what it does is it grabs a list of items that match the search term and then passes those ids into the main query in an
_item_id IN(1,2,3,4,8,67,95,124)
type structure, so only the items in the originally requested jrCore_list call that are also in the list of item_id's that have the search term in them are returned.
michael
@michael
05/25/21 11:30:17PM
7,718 posts

Social Sign in and the Terms of Servce (TOS) agreement


Using Jamroom

Just logged in to your site with Twitter and landed on the TERMS OF SERVICE (TOS) AGREEMENT. Could not get around not-checking that checkbox to continue.
michael
@michael
05/22/21 04:28:57PM
7,718 posts

Reinstall System Tools


Using Jamroom

What that's saying is: "The tools packaged with the jamroom system for use on your server are not compatible with your server"

Because those are all server tools. What you need to do is ask your hosing company where they are on your server then update their paths:

Docs: "How to use different FFMPEG binary"
https://www.jamroom.net/the-jamroom-network/documentation/howto/4641/howto-use-a-different-ffmpeg-binary

--edit--
Once you know the paths, you can enter them using this system to avoid the need to upload anything:

Docs: Advanced Config Keys
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/5106/advanced-config-keys
updated by @michael: 05/22/21 04:30:43PM
michael
@michael
05/09/21 04:54:54PM
7,718 posts

Add scroll bar to Blog Archive Template


Using Jamroom

Glad you got it working. :)
  37