Forum Activity for @ultrajam

SteveX
@ultrajam
07/31/14 03:10:31PM
2,589 posts

Profiles created using OneAll


Using Jamroom

ouviste:
SteveX, yeah I cleaned it out but I can do everything on it.

What I meant was: maybe it isn't listing because there is nothing at all to list (apart from a profile pic).

That was the obvious thing which was different to the other two profiles, they both had something to list.
SteveX
@ultrajam
07/31/14 12:13:31PM
2,589 posts

Profiles created using OneAll


Using Jamroom

What happens if you do something on the eddy_costa profile? Anything at all? Like create a blog post, or follow another profile.

There is an obvious difference between the eddy_costa profile and the other two: there is absolutely nothing to show on the eddy_costa profile.

Probably not a solution, it's just a guess, but seems worth a try.
SteveX
@ultrajam
07/29/14 03:44:21PM
2,589 posts

Jamroom's 11th birthday - 25% off special


Announcements

That's a nice special.

Thanks Brian and the Jamroom Team!

And happy birthday Jamroom :)
SteveX
@ultrajam
07/28/14 01:47:10AM
2,589 posts

contact us form not working,


Using Jamroom

Is it working when you are logged in?
SteveX
@ultrajam
07/27/14 03:30:46PM
2,589 posts

contact us form not working,


Using Jamroom

To the contact form, not a link to something else.
SteveX
@ultrajam
07/27/14 03:30:24PM
2,589 posts

contact us form not working,


Using Jamroom

So do you have a link?
SteveX
@ultrajam
07/27/14 03:27:32PM
2,589 posts

JrCore_list order with multiple facters


Using Jamroom

There is no possible way to place them in the 3 snips of code.

1 and 3 assign to a single variable.

You need to find each jrCore_list function that they are providing $order_by to, and change them to use order_by1 and order_by2
updated by @ultrajam: 07/27/14 03:29:29PM
SteveX
@ultrajam
07/27/14 12:41:28PM
2,589 posts

contact us form not working,


Using Jamroom

What have you done to your templates and/or configuration which might have broken it?

Was it working before?

Do you have a link?
SteveX
@ultrajam
07/27/14 06:02:11AM
2,589 posts

Banned items question


Using Jamroom

You could try a bit of jquery to check for the banned address on blur. Something like this might get you started:
<script>
jQuery(document).ready(function() {

	$('#user_email').on("blur",function() { 
		var inputVal = $(this).val(); // the email input value
		var bannedAddress= /aol.com/; // the regex to test
		if(bannedAddress.test(inputVal)) {
			alert("No AOL Email Addresses");
			$(this).val(""); // remove the email from the input
		}
	});

});
</script>

updated by @ultrajam: 07/27/14 06:14:49AM
SteveX
@ultrajam
07/27/14 04:25:36AM
2,589 posts

JrCore_list order with multiple facters


Using Jamroom

Your "Setup 1" is smarty shorthand for assign, so Setup 1 and Setup 3 are the same - they both assign a string to a variable. They would both then use that variable in jrCore_list as order_by=$order_by, so there is no real difference between all 3 setups.

Looks like your code is ok, but you aren't understanding what the code does or what ratings are. audio_rating_overall_average can be 4.33.

Your audio will be listed by the rating (specifically rating_1, but there can be many), and then by the number of times the item has been rated (for all ratings for the item if there are many).

If you really want to list all items with a 4 star rating and then order those by the number of times they were rated 4 stars you are going to have a lot of work to do. But bear in mind that you won't end up with useful results - something which has a 4 star rating might have zero actual 4 star ratings but plenty of 3 star ratings and plenty of 5 star ratings. And something with 10 rates and an average rating of 4.33 with one 5 star rating will still list above something with an average of 4.32 and 10000 5 star rates.

If you really do want to do that, you can access the number of 5 star ratings using audio_rating_1_5

It would be sensible to spend some time looking at the database using phpmyadmin to see what is recorded when an item is rated and get to understanding of how ratings work.

This would list by rating, and then order by the number of 5 star ratings
order_by1="audio_rating_overall_average numerical_desc"
order_by2="audio_rating_1_5 numerical_desc"
BUT, as said above, audio_rating_overall_average can be 4.33, and the second order_by will only apply when items have the same audio_rating_overall_average...
  145