Forum Activity for @michael

michael
@michael
08/20/19 09:36:52PM
7,816 posts

allow streaming from other sites (embedding players in other websites)


Installation and Configuration

Removed the docs the ALLOW_All_DOMAINS is no longer needed.
michael
@michael
08/20/19 09:04:03PM
7,816 posts

Alt Image Tag Issue


Design and Skin Customization

How would you ".....For instance if i upload an image of a Bear I would name the file 'This is a bear'....."

If you're using a Windows PC I believe they hide the file extension of files so you cant see them (not sure). Each file will still have a file extension.

What I think you're after is in jrUpImg in the jrEmbed_item_list.tpl file. Add:
|substr:0:-4}
to the variable used in the ALT tag to trim the last 4 characters off of whatever is there. Maybe do the same for the TITLE="" variable too.

This location is for when you open the upload an image editor and click on one of the existing images.
{$item.upimg_file_name|addslashes}
to
{$item.upimg_file_name|addslashes|substr:0:-4}

four.jpg four.jpg - 417KB
michael
@michael
08/20/19 08:37:43PM
7,816 posts

Lots Of Issues With Updates


Design and Skin Customization

Actually, your two issues appear to be connected. I was not seeing the issue with the BR's after paragraphs until I added an image with the upload image editor, then the extra line breaks appeared.

My guess is some change in the way the upimg module works is the cause of both the .jpg and the extra br's.

Will look into it.
brs.jpg brs.jpg - 295KB
michael
@michael
08/20/19 08:30:49PM
7,816 posts

Lots Of Issues With Updates


Design and Skin Customization

Sounds like 'nl2br' is the cause of the extra line breaks at a guess. Im not seeing it here, but the fix is probably:
* take a look in your template for wherever its displaying and if it did look like this:
{$item.blog_text|jrCore_format_string:$item.profile_quota_id}
Then block 'nl2br' by changing it to this:
{$item.blog_text|jrCore_format_string:$item.profile_quota_id:null:nl2br}

That code is for BLOG though, so it depends on what module your using as to whether the base variable is the same or not.

--edit--
not seeing the issue in blogs, where are you seeing it?
blog.jpg blog.jpg - 488KB

updated by @michael: 08/20/19 08:32:44PM
michael
@michael
08/19/19 06:42:17PM
7,816 posts

If/Else Loops in Templates: Question


Using Jamroom

Almost right

Docs: "{debug}: Arrays"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1477/debug#arrays

try
{if $_post['option'] == 'adjectives'}
blah blah
{/if}
or
{if $_post['_1'] == 'adjectives'}
blah blah
{/if}
michael
@michael
08/17/19 05:35:17PM
7,816 posts

Wishing Simple Podcast Fields For Audio Module


Suggestions

User side audio form will be added using the Form Designer.

Output is handled by the templates, so probably "Using the Template Editor" or skin customization.

Docs: "Using the Form Designer"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/1275/using-the-form-designer

Docs: "Using the template editor"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/3183/using-the-template-editor
michael
@michael
08/17/19 05:32:47PM
7,816 posts

Youtube Views On JR VS Views On Youtube?


Using Jamroom

Youtube has access to video length so can call a "play" watching 5 seconds of the clip or watching the whole thing. Jamroom has no way of knowing if the play button was actually clicked so plays on jamroom will be opens of the detail page ( I think from memory )
michael
@michael
08/17/19 05:19:42PM
7,816 posts

If/Else Loops in Templates: Question


Using Jamroom

You could just use your IF/ELSE to put the title in there at the top, then you dont need to add in any html to the title.
michael
@michael
08/16/19 09:09:01PM
7,816 posts

Wishing Simple Podcast Fields For Audio Module


Suggestions

Its all customizable. You can restructure it to have it in any format you like.
michael
@michael
08/16/19 09:05:04PM
7,816 posts

If/Else Loops in Templates: Question


Using Jamroom

Looks like item_category_index.tpl to me.
location.jpg location.jpg - 450KB
  81