Forum Activity for @michael

michael
@michael
12/07/14 04:20:59PM
7,839 posts

templates that add profile menu items and user control to hide them


Installation and Configuration

That's the issue then. The json you have is not valid so it can't be read.

The json you have came from ning? I've read its sometimes not valid.

eg: This is valid json:
["apples","pears","carrots"]
but put one extra " in there and it all breaks. No 'sort of broken', it either all works or all doesn't work.
["apples","pears","carr"ots"]

Need to figure out why its breaking or get it not broken. Not sure how to advise you to do that though sorry.

--
I think @paul has built some checks into the importer for broken things. It might be a case of you having found a new thing that needs checking for.
updated by @michael: 12/29/14 09:23:54AM
michael
@michael
12/07/14 04:05:23PM
7,839 posts

Need examples of modules/skins in marketing.


Suggestions

Give us a bit of time on this. We'll try to come up with a system that allow you to get more involved in a way that can expand as we all grow.

Need to think on the how some more. For now, any way you can think of to let people know what jamroom is really helps us out.
michael
@michael
12/07/14 03:48:20PM
7,839 posts

Issue with message appearing in ProJam5 in videos


Using Jamroom

The page is this one:
http://1940snetwork.com/video_charts

The issue at this point is:
* the $item.chart_direction variable is empty.

You've got that alt text issue fixed up. (and the next version of the skins are fixed up too.) The issue now is that since there is no chart direction coming out, there is no image showing.

First guess is do you have the jrCharts module installed?
https://www.jamroom.net/the-jamroom-network/networkmarket/23/advanced-charts
michael
@michael
12/07/14 03:42:56PM
7,839 posts

Missing Events


Using Jamroom

The search box was added to the event module.
/modules/jrEvent/templates/index.tpl

Which shows up at:
your-site.com/event

some skins have an events.tpl file which will show up at
your-site.com/events

That would be provided by the skin.
michael
@michael
12/07/14 03:37:20PM
7,839 posts

How do you change the wording on tabs in the main navbar


Design and Skin Customization

in projam, thats in the
/skins/ProJam/header_menu_desktop.tpl

file around line 71. It looks like this:
{jrCore_lang skin=$_conf.jrCore_active_skin id="30" default="gigs/events"}

But its also run through the language system, so you could change it that way too.

You can find it in the Admin Control Panel at:
ACP -> SKINS -> ( your skin ) -> LANGUAGE -> (search) 'gig'

One thing to note is that if you are building a skin just for you and you don't want to use the language system, you can just add language into the templates if its easier for what your doing.
michael
@michael
12/07/14 03:29:28PM
7,839 posts

templates that add profile menu items and user control to hide them


Installation and Configuration

soaringeagle:...now if i could only figureout why my members wont import id be happy...
Haven't done any imports myself, so not much help on that one sorry.

One tool I do use sometimes is this one:
http://jsonviewer.stack.hu/

You paste the json into the 'text' area, the change to the 'viewer' area to see whats in it. It will tell you if the json is broken.
updated by @michael: 12/29/14 09:23:54AM
michael
@michael
12/06/14 11:23:01PM
7,839 posts

how do I choose a random quota_id from a set?


Using Jamroom

I'll read them to you, first mine:
Quote:Store these items ( '7' and '7' and '6' ) in a box called $options.
Randomly select the position in the $options box. use that position to determine the item. Store the value of the item in $wanted. (now $wanted is either '7' or '7' or '6' ).
Give $wanted to {jrCore_list.....}

The second one, pauls one, reads:
Quote:Choose a random number not lower than 6 and not higher than 8. If the random number turned out to be 8 then change it to 7. Store it in $weighted_quota_id. (now $weighted_quota_id is either '7' or '7' or '6' ).
Give $weighted_quota_id to {jrCore_list.....}

So both are ways to pick a random number. {jrCore_list} doesn't care which way you chose to select that number. It only cares that it gets a number.

--edit--
Paul chose to name his variable $weighted_quota_id, I chose to use $wanted. That name makes no difference and you can use whatever you like as long as no other location around there is using it.
updated by @michael: 12/06/14 11:24:50PM
  622