Forum Activity for @michael

michael
@michael
06/01/15 11:05:29PM
7,839 posts

Audio module request


Suggestions

Profile tweaks should allow the user to decide which tab of theirs is the default, your talking about setting a default for everyone right?

Might be something for that already in:

"{jrProfile_menu}"
https://www.jamroom.net/the-jamroom-network/documentation/development/1997/jrprofile-menu

--
couldn't see anything directly in that function, so tried this out in:
/skins/YOUR SKIN/profile_index.tpl
{* default index for profile *}

<div class="col9 last">
    {jrCore_include module="jrAction" template="item_index.tpl"}
</div>

Thats what the default skin looks like, so i changed it to this:
{* default index for profile *}

<div class="col9 last">
    {jrCore_include module="jrAction" template="item_index.tpl"}

    this is something
    {jrCore_location('http://jr500.iixxii.cc/two/flickr')}
</div>

hoping that instead of displaying the default index page, the redirect would kick-in. It did.

So you could put a check for the quota id coming in, then redirect by depending on the quota id like that.

Would that work in your situation?
michael
@michael
06/01/15 10:53:03PM
7,839 posts

Profile Layouts


Design and Skin Customization

gary.moncrieff:...Always fall into the same trap when to use " or '.....

The general rule I go by is which is the easiest to read.
$a = "hello there cat, you aren't \"very\" playful today";
$a = 'hello there cat, you aren\'t "very" playful today';

$a = 'today is  '. $the_date.' and some other text';
$a = "today is {$the_date} and some other text";

The difference is " will look for variables inside the string, so if there aren't any then you don't need to use it, but if there are words with a ' inside them then it can trip up on those so sometimes its better......... either works.
michael
@michael
06/01/15 10:46:40PM
7,839 posts

Activity Timline


Design and Skin Customization

If your not using the editor, how are you getting the images into the timeline?
updated by @michael: 11/02/15 10:31:37AM
michael
@michael
06/01/15 10:45:54PM
7,839 posts

questions about new image resizer


Design and Skin Customization

Jamroom site was down because our servers servers had a power-outage. It effected a ton of people.
http://status.linode.com/

out for about 15 hours.
michael
@michael
06/01/15 10:41:46PM
7,839 posts

Listing in ProJam Light


Design and Skin Customization

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

{jrCore_list module="jrAudio" order_by="audio_file_stream_count desc"}
michael
@michael
06/01/15 10:39:11PM
7,839 posts

cdn module


Suggestions

Thought the whole purpose of a CDN was to catch the possibility of the user having already having a cached version of it on their browser so it didn't need to be loaded again.

If you cache it then deliver it I would have thought that would defeat the purpose of the CDN.

If you wanted a local copy of whatever you could download it, store it locally and change the links to it.

A module to save the CDN to a local URL does not currently exist.
michael
@michael
06/01/15 10:33:07PM
7,839 posts

How do we resize the image slideshow in the new site builder?


Using Jamroom

steps to reproduce please.

are you adding them via the "uploaded images" or the "gallery images".

If its the Gallery images, then you can set how many you want per row, but cant alter the size of them.

Uploaded images will stretch to fit the width of the box that contains them.
michael
@michael
06/01/15 10:28:13PM
7,839 posts

Tree Note


Genosis

nowhere that I can see, cant find that function anywhere in the codebase. What does it do?
michael
@michael
06/01/15 10:25:40PM
7,839 posts

TinyMCE tables adds line breaks


Using Jamroom

When your outputting whatever it is that the table is being saved to, you could blacklist the nl2br function

{$blog_description|jrCore_format_string:$item.profile_quota_id:false:"nl2br"}
function smarty_modifier_jrCore_format_string($string, $quota_id = 0, $whitelist = null, $blacklist = null)

as I suspect its the structure of the table being kept rather than compressed thats causing the default nl2br to be active on the table.

check to see if your table looks like this:
<tr><br>
<td></td><br>
<td></td><br>
....
  532