Forum Activity for @michael

michael
@michael
07/23/14 07:04:33PM
7,832 posts

custom module shows double 'blank' images?


Design and Skin Customization

Yeah nothing in the docs, but break it once and you get a nice message:

Here is a small image of me :)
https://www.jamroom.net/user/image/user_image/4/small/crop=auto

and with a non-existant image size
https://www.jamroom.net/user/image/user_image/4/super-massive/crop=auto

The second one produces the useful error:
Quote: CRI: invalid image size - must be one of: 24,xxsmall,40,xsmall,56,72,small,96,icon96,128,icon,196,medium,256,large,320,larger,384,xlarge,512,xxlarge,800,xxxlarge,1280

You'll see they line up with what SteveX has provided above.

If you do manage to find error messages that are not useful, let us know.
michael
@michael
07/23/14 05:00:39PM
7,832 posts

custom module shows double 'blank' images?


Design and Skin Customization

Whenever your stumped, go look at how the other modules do it. Best place to see working examples.

The important thing is what you called the image field. If you called it news_image then thats the key to it.

{jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_image" item_id=$item._profile_id size="medium" crop="square" size="40" alt=$item.profile_name title=$item.profile_name class="imgborder"}

is the full code for a profile_image.

You want a news_image (or whatever you called it.) so the simplest code to get the image up there is:

{jrCore_module_function function="jrImage_display" module="dnNews" type="news_image" item_id=1 size="40"}

Try that.
michael
@michael
07/23/14 04:35:36PM
7,832 posts

jrCore_list search


Design and Skin Customization

Best way to test is to give it a go and see if you get back what you were expecting.

Easiest way to test is to put a new file in your current skin:

/skins/YOUR-SKIN/junk.tpl

and put what your after in there:
{jrCore_list module="jrAudio" search="audio_credits REGEXP ^project-5$"}

And see if it returns what your after. If you think its not working correctly, let us know:

WHAT I EXPECTED:
......

WHAT ACTUALLY HAPPENED:
.....

and we can look at getting it fixed up.
michael
@michael
07/23/14 04:18:23PM
7,832 posts

Troubleshooting Oneall feeds


Using Jamroom

I tried out the theory that 2 jamroom accounts cant be connected to a single twitter account. The result was false.

I created a jamroom account 'one', then another account 'simon'.

Logged into 'one'. Connected it to a twitter account. Posted to my activity log. The tweet showed on twitter. Logged out.

Logged into 'simon'. Connected it to the same twitter account. Posted to my activity log. The tweet showed on twitter.
michael
@michael
07/23/14 03:25:10PM
7,832 posts

Email Oddity - Any ideas?


Using Jamroom

Nice work. I wouldn't have got you to that answer. Glad you got it sorted.
michael
@michael
07/23/14 03:23:56PM
7,832 posts

Customize Register Page


Installation and Configuration

Take a look at the videos on the jrAparna page:
https://www.jamroom.net/the-jamroom-network/documentation/modules/853/jraparna

They walk you through creating a module via aparna, then adding custom form fields to the module.
michael
@michael
07/23/14 03:06:22PM
7,832 posts

jrCore_list search


Design and Skin Customization

The docs page is here:

"{jrCore_list}"
https://www.jamroom.net/the-jamroom-network/documentation/development/89/jrcore-list

% works. I've not tried REGEXP.

search="audio_credits like project-%"
Should work.

--update--
Looks like 'regexp' is in there. Take a look around line 1300 in the function jrCore_db_search_items()

/modules/jrCore/lib/datastore.php

There's a switch there with all the options available.

--update--
Got the docs updated with the Search Conditions
https://www.jamroom.net/the-jamroom-network/documentation/development/89/jrcore-list#search-conditions
updated by @michael: 07/23/14 03:20:58PM
michael
@michael
07/22/14 11:42:31PM
7,832 posts

Charts not updating


Using Jamroom

SteveX had some good tips in the comments of the jrCharts docs page:

"jrCharts"
https://www.jamroom.net/the-jamroom-network/documentation/modules/274/jrcharts

Quote: If you want to get a sense of how charts are working over time, add this to your song_chart_row.tpl
chart_count: {$item.chart_count}
chart_position: {$item.chart_position}
chart_new_entry: {$item.chart_new_entry}
chart_change: {$item.chart_change}
chart_direction: {$item.chart_direction}
michael
@michael
07/22/14 11:39:30PM
7,832 posts

Email Oddity - Any ideas?


Using Jamroom

Not sure what sendgrid is, but I use the mailgun module from my dev server and it works great. The server doesn't do any of the email sending, jamroom sends it to mailgun and mailgun sends it.

No need to worry about server mail authentication/setup etc.

--update--
"jrMailGun"
https://www.jamroom.net/the-jamroom-network/documentation/modules/282/jrmailgun
updated by @michael: 07/22/14 11:40:12PM
michael
@michael
07/22/14 11:29:38PM
7,832 posts

form designer/aparna


Design and Skin Customization

Good stuff. I've added that video to the jrAparna docs page to help who come later.

"jrAparna"
https://www.jamroom.net/the-jamroom-network/documentation/modules/853/jraparna
  678