Forum Activity for @michael

michael
@michael
05/28/20 12:18:03AM
7,816 posts

Charts acting strange after 6.5 Upgrade


Using Jamroom

The issue in this case was the charts run on the daily mantanence, so just after midnight on the 17th the charts were being calculated, but they were being calculate for the 15th. The result was that there was no data for the 16th and the 1 day charts wanted that info.

What changed was that instead of calculating for the previous day they now calculate for the actual day 17th. Give it a day and it should come right.

If you want something to check, check that data is being recorded in the 'charts_history' table. The 'chart_date' is in the format YYYYMMDD so 2020 05 22 would be 20200522.

Check that each day that column is getting new data into it.

ACP -> DEVELOPER TOOLS -> TOOLS -> DATABASE ADMIN -> jr_charts_history
(click the SELECT button to see the table, then click on chart_date a couple of times until the newest shows at the top)
michael
@michael
05/28/20 12:12:08AM
7,816 posts

A - Z Artist / Profiles page - Audio Pro


Design and Skin Customization

We've got a "Custom Project Form" here:
https://www.jamroom.net/form/project_overview

If you want to hire someone on our team to do the development for you.
michael
@michael
05/28/20 12:09:34AM
7,816 posts

Audio issues : An Error Was Encountered Loading The Media URL


Installation and Configuration

First things first:
* Run the integrity check ACP -> SYSTEM CORE -> CORE -> TOOLS -> INTEGRITY CHECK -> check all boxes -> START
* see if all the system lights are greeen ACP -> SYSTEM CORE -> CORE -> TOOLS -> SYSTEM CHECK
* Try pausing the queues and resuming them.
* check the error log and activity log for any notices.
michael
@michael
05/26/20 06:45:11PM
7,816 posts

Adds & Banners on Follow Me Skin


Design and Skin Customization

You can use the "Template Name in Source" developer tool to understand which templates control those locations:

Docs: "Developer Tools: Template Name in Source"
https://www.jamroom.net/the-jamroom-network/documentation/modules/932/developer-tools#template-name-in-source
image.jpg image.jpg - 1.7MB
michael
@michael
05/26/20 06:39:15PM
7,816 posts

hoping for clue with loading chat attached images


Using Jamroom

ok, cool, so the url is ok, and the image is ok, great. What we need to figure out is what is interfering with the javascript in his instance that is causing the lightbox to break.

First thoughts:
* Are there any available updates for his phone laptop, if yes, install them.

Is the issue also there if he visits:
https://(YOUR SITE).com/chat/mobile

Can you get him to take a video of it happening with the CONSOLE open (hit F12 and navigate to the CONSOLE tab in chrome or firefox)

Somethings blocking it, just searching for clues as to what that may be.
updated by @michael: 05/26/20 06:40:36PM
michael
@michael
05/25/20 09:08:14PM
7,816 posts

An error was encountered loading the media URL


Using Jamroom

because its a strange thing to ask:
* "Here is a list of songs to play, some of them don't work."

Why are you asking the player to play a list of songs where some of them don't work.

The default player is JPlayer:
https://www.jplayer.org/latest/demo-02/?theme=0

The adjustment would need to be done by them.
michael
@michael
05/25/20 05:25:13PM
7,816 posts

An error was encountered loading the media URL


Using Jamroom

If this is a common issue for you try different hosting. Files should not go bad after they've been uploaded.
michael
@michael
05/25/20 04:10:00AM
7,816 posts

A - Z Artist / Profiles page - Audio Pro


Design and Skin Customization

One thing that helped me get started were the developer books by O'Reilly publishing. Really like the way they get straight to the point.

Recommend this one:
Amazon: "Learning Php"
https://www.amazon.com/Learning-PHP-Introduction-Popular-Language-ebook/dp/B01E9LU2BM

Jamroom has a bit more to it than that, but it comes at the problem of: "How do I build a community website and keep it customizable" from the developers perspective.

Wordpress is a bit more focused on making configurations and customizations available in a non-developer setting.

In Jamroom the skins determine what functionality is available to the end user as well as the colors and fonts.

So areas that are useful for studying are:
* php
* html
* css

Thats the bones/skeleton of the system, then customization begins at:
* smarty (which is VERY similar to php, just slightly different syntax)
michael
@michael
05/24/20 07:04:43PM
7,816 posts

A - Z Artist / Profiles page - Audio Pro


Design and Skin Customization

Same thing as the ABC's put a link on the column headers with a sort by parameter
{$base_url = jrCore_strip_url_params(jrCore_get_current_url(), array('sort_by'));}
<a href="{$base_url}/sort_by=genre_desc">Genre</a>
That $base_url will be whatever the current url is, but will have the sort_by parameter stripped out of it.

Its better to do that kind of logic stuff in a module on the php side of things before getting to the template in order to keep the templates simpler, but it will work in a template too.

Then you'll need a couple of IF/ELSE to determine whether the link should be DESC or ASC

Docs: Template Blocks
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/3126/template-blocks

{if $_post['sort_by'] == 'genre_desc' }
<a href="{$base_url}/sort_by=genre_asc">Genre</a>
{else}
<a href="{$base_url}/sort_by=genre_desc">Genre</a>
{/if}

and use that sort_by in the jrCore_list

Docs: jrCore_list: Order By
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/89/jrcore-list#order-by

{jrCore_list ....... order_by="audio_genre desc"}
using the post variable:

{if $_post['sort_by'] == 'genre_asc'}
{jrCore_list ....... order_by="audio_genre asc"}
{elseif $_post['sort_by'] == 'genre_desc'}
{jrCore_list ....... order_by="audio_genre desc"}
{else}
{jrCore_list .......}
{/if}

updated by @michael: 05/24/20 07:06:42PM
michael
@michael
05/24/20 06:48:52PM
7,816 posts

Idea for an option in polls


Using Jamroom

You don't care that anybody could build a bot that just cycles their pole choice up to a million while they're sleeping. Turning your poll system into an open invitation to start a DDoS attack on your site?

Guy 1:
* builds a bot to make his and win, sets the amount of votes to 10,000.
* wins

Guy 2:
* didn't win last time, so also build a bot and sets it at 20,000
* wins

Third time you have a battle and instead of your server loading your site for your real visitors it now splits that time between visitors and bots thereby slowing it down for your actual users.

That's not a concern?
  66