Forum Activity for @brian

brian
@brian
02/13/16 02:01:19PM
10,149 posts

Jamroom 5.3 is now out of beta!


Announcements

Strumelia:
1) Am I going to lose the hundreds of major and minor customizations that were done on both my old Core and on so many of my modules? (The customizations were done BOTH via ACP, and directly on the server...both by members of the JR Team and by myself.) What am I in danger of losing and what do I need to especially look out for?

I believe you are using a custom skin? If so no - nothing changes.

Quote:
2) would it be advisable to update only the Core first, and see how it behaves for a few days... before then slowly updating the modules maybe two or three at a time and checking that they haven't lost my tweaks?

You can, but I don't think there is a need to. JR 5.3 is not a NEW core - it's new features built on 5.2, so things that were working in 5.2 should continue to work the same (or better) in 5.3.

Quote:
3) what safety precautions can I take before updating? Is there a way to revert back if I see the Core update has wiped out lots of customizations, added custom functions, or style tweaks on my site? What's the worst that can happen?

The problem with reverting is that you can't revert the DB changes, so in this case your best bet would be to restore from a backup if you find it doesn't work for you.

We've updated A LOT of sites from 5.2.41 to 5.3.0 - we've seen a couple small issues (mainly around the Marketplace giving you a 404 not found or something - cache reset fixes it) but so far I feel the upgrade is a smooth one.
brian
@brian
02/13/16 01:57:22PM
10,149 posts

Signup form


Design and Skin Customization

Nmaster88:
That seems cool, but using my custom skin i have problems using the site builder am i missing something?

Your skin must be setup to use Site Builder - go into your templates section for your skin and use the "compare" tool to see the differences between your custom skin and the skin you cloned from.

Let me know if that helps.
brian
@brian
02/13/16 01:56:09PM
10,149 posts

Proxima Bridge: getting data from specific module


Proxima

amartins:
Let's say that I have a module called "myJrModule" with some fields that I need to retrieve to my mobile app, like a list. How can I link bridge to use it? What is the url structure?
Can you help me with this?

The URL structure is like:

yoursite.com/api/bridge/[module_url]

So if you wanted to GET audio items it would be a GET request to:

yoursite.com/api/bridge/audio

Let me know if that helps.
brian
@brian
02/13/16 01:55:07PM
10,149 posts

Showcase Member Sites


Announcements

johnchansa:
My JR site used to featured a while ago but not anymore.

You site is on page 2:

https://www.jamroom.net/showcase/sites/p=2
brian
@brian
02/11/16 12:57:40PM
10,149 posts

Comment Reply Notification


Using Jamroom

I'll get a ticket open on this - sounds like a good idea.
brian
@brian
02/11/16 12:54:47PM
10,149 posts

Lost comments


Using Jamroom

I have an idea what might be happening here and am checking it out.
brian
@brian
02/11/16 12:53:40PM
10,149 posts

Login with user name or email instead of user id


Proxima

amartins:
brian:
Ahh - got it - that makes sense. I just pushed out version 1.0.6 of the Proxima User module - you can now sign in by passing a "user_name", "user_email" OR "id" parameter, along with password. The response will now include the "_id" key - so even if they sign in using a user_name or user_email, you will now get the correct _id that should be used on the client.
Let me know if that works for you.
Hope this helps!
That's all that we needed. I tested it, working fine! Thanks very much.
I have a question about bridge, should I open new thread?

Yep - if you can that would be great.

Thanks!
brian
@brian
02/11/16 12:45:31PM
10,149 posts

Login with user name or email instead of user id


Proxima

amartins:
If I create a user I get the id in response, that works fine. But if user is created in website how can he/she login in my app without id? Because they don't know their IDs.

Ahh - got it - that makes sense. I just pushed out version 1.0.6 of the Proxima User module - you can now sign in by passing a "user_name", "user_email" OR "id" parameter, along with password. The response will now include the "_id" key - so even if they sign in using a user_name or user_email, you will now get the correct _id that should be used on the client.

Let me know if that works for you.

Hope this helps!
brian
@brian
02/11/16 12:36:21PM
10,149 posts

Login with user name or email instead of user id


Proxima

amartins:
Thanks! Is because I need it for mobile app and users won't get access to their unique ID.
I need to register users from app also, I tested with Chrome Advanced Rest Client to test creating users, and it keeps creating same user over and over. Do you intent to prevent duplicate users creation? I mean, unique email and unique user name registration?

It already enforces unique name/email - make sure in the ACP -> Proxima -> Proxima Users -> Global Config that you have selected "Require unique "user_name" and "user_email" fields" - that will enforce the uniqueness on those keys.

When you register a user in your app you will get back an "_id" key - you will want to store that key on the device and use that going forward - that's what I would recommend.

Let me know if that helps.
updated by @brian: 02/11/16 12:36:48PM
brian
@brian
02/11/16 12:31:42PM
10,149 posts

audio_album_download_count or something like that


Using Jamroom

dim:
Do I understand correctly, jrRating can not be used for the albums?

Correct - an album is a collection of ID's and doesn't have an idea of it's own.
  283