Forum Activity for @michael

michael
@michael
03/29/16 08:27:48PM
7,832 posts

Videos Uploaded Problems And Other Problems


Using Jamroom

supportteambillyukco:.....It is saying that our highest maximum upload can only be set at 600MB And on our jamroom 5 setings at billyukap.co.uk , It is saying that our highest maximum upload can only be set at 250MB ?.
Docs: "How do I increase PHPs Upload Limit"
https://www.jamroom.net/the-jamroom-network/documentation/problems/748/how-do-i-increase-phps-upload-limit


supportteambillyukco:
CRI: Error connecting to MySQL Server: User WE-Have_Left_This_Bit_Out_jamr412 already has more than 'max_user_connections' active connections (#1203) - the site owner should contact their hosting provider for assistance.
That looks like a server issue which jbservers will probably get sorted out for you. An integrity check may make it better if you choose check all the advanced options:
ACP -> SYSTEM CORE -> TOOLS -> INTEGRITY CHECK -> (check ALL the checkboxes) -> RUN

supportteambillyukco:
After this we had to close the site down and come back and go to profile/video, And see the below messsage on the video page.
This video file is currently being processed and will appear here when complete.
That will appear until the system is able to convert the file into all the necessary formats.

If the file didn't get uploaded that might never complete. Make sure you have enough space on your server. after a file gets uploaded it gets moved to the correct location, maybe that your server is full.


supportteambillyukco:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at WE-Have_Left_This_Bit_Out@billyukcmap.co.uk to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Thats a server issue, something went wrong that is unrelated to the code. Lets see what jbservers say. :)
michael
@michael
03/29/16 07:56:12PM
7,832 posts

Hiding Menus when items are not present


Design and Skin Customization

Looks like that's in your skins profile_index.tpl page.

Seams like you're asking how to check that there is anything in the list created by jrCore_list before displaying the section.

Makes me guess you're probably doing something like this:
<h1>Photos</h1>
{jrCore_list module="jrGallery" profile_id=$profile_id}
So even if there are no photos, the photos heading is being displayed.

An easy way to change it would be to move the heading into the template that controls the photos so it only gets output if there are photos returned. Something like:

{jrCore_list module="jrGallery" profile_id=$profile_id template="profile_photos_row.tpl"}
and in
/skins/(YOUR SKIN)/profile_photos_row.tpl

copy the default item_list from the photos module to profile_photos_row.tpl then put your heading in there.

There are many ways to do it but that seams like one way that would work. Another would be to check using {debug} to see if there are any ?????_count items in the location where you're using {jrCore_list} and if there are, wrap the whole section in an IF block

Docs: "{debug}"
https://www.jamroom.net/the-jamroom-network/documentation/development/1477/debug

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

Docs: "Template Blocks"
https://www.jamroom.net/the-jamroom-network/documentation/development/3126/template-blocks
michael
@michael
03/27/16 06:17:51PM
7,832 posts

Wrong Metadata on New Module


Design and Skin Customization

This is the output of the og:stuff on kenrich.me/sales:
</script>
<meta property="og:url" content="http://indiegospel.net/sales" />
<meta property="og:see_also" content="http://kenrich.me" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Ken Rich (@ken-rich)" />
<meta property="og:description" content=" &nbsp; Ken Rich is the creator of the Indie Gospel&nbsp;network, and one of it&#039;s contributing artists. He currently serves as it&#039;s director and webmaster. He is a songwriter, home studio buff, aspiring video producer, and an author who writes on Christian issues. You can reach him..." />
<meta property="og:image" content="http://kenrich.me/profile/image/profile_image/1175/xxlarge" />
<meta property="og:image:width" content="512" />
<meta property="og:image:height" content="385" />
<meta property="og:site_name" content="indiegospel.net" />
<meta property="og:updated_time" content="1459127770" />
</head>

<body>

Its all there, just may need to adjust the template code as desired to get the desired output.
michael
@michael
03/27/16 06:14:39PM
7,832 posts

One Editable Space - Not Unlimited


Design and Skin Customization

Ah, this is the part I was not understanding 'to have an editable space on top just like the profile_index on the Ningja'

You're wanting to have only a single item be able to be created.

There are a couple of ways to do it, I would probably go with adding that editor to add the top of the sales page content to the profile update screen rather than the module itself.

Then output that in the sales modules
/modules/xxSales/templates/item_index.tpl

the same way the /skins/jrNingja/profile_index.tpl does it:

        {* If the Profile creates a "SALES HEADER" it will show here *}
        {if strlen($profile_sales_header) > 1}
        <div class="row">
            <div class="col12 last">
                <div class="block">
                    <div class="block_content">
                        <div class="item" style="margin-top:0">
                            {$profile_sales_header|jrCore_format_string:$profile_quota_id}
                        </div>
                    </div>
                </div>
            </div>
        </div>
        {/if}


Then under that list the jrCore_list that you want to list. Your module will not need an item_detail.tpl as it doesnt allow for creation as far as I can understand. Wont need an item_list.tpl either for the same reason.
michael
@michael
03/27/16 03:49:41PM
7,832 posts

One Editable Space - Not Unlimited


Design and Skin Customization

That's not 'my loop solution' its yours from your item_list.tpl
Quote:
Moreover, I changed the item_list.tpl to this:
{jrCore_module_url module="xxSales" assign="murl"}
{if isset($_items)}
    {foreach from=$_items item="item"}


              {jrCore_item_list_buttons module="xxSales" item=$item}              


{if strlen($item.sales_editor) > 0}     
{$item.sales_editor|jrCore_format_string:$item.profile_quota_id}
           {/if} 


    {/foreach}
{/if}

Have a feeling I'm still not understanding what you're trying to accomplish.
updated by @michael: 03/27/16 03:51:00PM
michael
@michael
03/27/16 12:32:38PM
7,832 posts

One Editable Space - Not Unlimited


Design and Skin Customization

Think you're meaning you want to show the $item.sales_editor for just the first item in the list.

If that's right then lets look at what's happening.

You have a {foreach} loop that displays that section for as many times as there are items in the array that you're looping over. You don't want that, you want to have a different layout for the first section.

What you can do is add a counter in there that gets counted for each iteration over the loop. Its a common technique.

A loop:
    {foreach from=$_items item="item"}
       // do stuff
    {/foreach}

A loop with an iterator:
{$i = 0}
    {foreach from=$_items item="item"}
       // do stuff
       {$i = $i+1}
    {/foreach}

Then you can use that iterator to only show some stuff for the first or X section.


{$i = 0}
    {foreach from=$_items item="item"}
       // do stuff
       {if $i == 0} 
           // do stuff just for the first time in the loop.
       {/if}
       {$i = $i+1}
    {/foreach}
michael
@michael
03/27/16 11:25:55AM
7,832 posts

One Editable Space - Not Unlimited


Design and Skin Customization

perfect explanation up til "I stripped away everything else that seemed to be superfluous in those templates since things I didn't want were showing up by default."

after that its thinking to your self. Try :

EXPECTED:
When I viewed the form I expected to see ...............

ACTUAL:
But what I saw instead was .......................

So I can understand what the goal is. Then we can work together to try ideas to get to the goal. :) still not understanding the issue sorry.
michael
@michael
03/27/16 11:19:42AM
7,832 posts

Pending user problem


Using Jamroom

Is it absolutely all of them, or are some getting through? do you have social login to create accounts via a facebook, twitter etc turned on? (the oneall module)
michael
@michael
03/27/16 11:15:32AM
7,832 posts

seemless pages display only asci charachters in chrome! (bug report)


Installation and Configuration

There are a couple of other ajax loaded URL's coming in on that page, try deactivating them and see if it makes a difference.

Narrow it down until it does work in chrome, then start bringing things back in until it works again. That way you can know exactly what the cause of the issue is.
screenshot_newest_photos.jpg screenshot_newest_photos.jpg - 109KB

updated by @michael: 03/27/16 11:15:52AM
  411