Forum Activity for @michael

michael
@michael
12/22/15 09:55:12PM
7,839 posts

jrAction_item_index


Jamroom Developers

Thanks, I'll write up a ticket on it and ask Doug to take a look at it.
michael
@michael
12/22/15 09:50:02PM
7,839 posts

Index Not Found


Installation and Configuration

I like the rebase tool of developer tools:
ACP -> DEVELOPER -> DEVELOPER TOOLS -> TOOLS -> REBASE MODULES

With the "delete old modules"

That will take all those modules installed via the marketplace and put them back on the base url
* jrElastic-release-1.2.12 will become:
* jrElastic

That makes life simpler because you dont need to think about any symlinks.
michael
@michael
12/22/15 09:46:30PM
7,839 posts

jrAction_item_index


Jamroom Developers

got the images, deleted them.

Not understanding the problem though.

The full contents of jrElastic profile_item_list.tpl is
{if $profile_disable_sidebar != 1}
<div class="col9 last">
{else}
<div class="col12 last">
{/if}
    {$profile_item_list_content}
</div>
Its only purpose is to wrap {$profile_item_list_content} with either a section the DOES ore DOES NOT contain the sidebar.

In your screenshots it does contain the sidebar.

What I'm understanding is your getting:
<div class="col8 last">
appearing somewhere in there that is not wanted.

is it coming in from with profile_item_list.tpl or outside or coiming in from {$profile_item_list_content}

Maybe change it to:
aaaaaaaaaaaaaaaaaaaaaaa
{if $profile_disable_sidebar != 1}
<div class="col9 last">
{else}
<div class="col12 last">
{/if}
bbbbbbbbbbbbbbbbbb
    {$profile_item_list_content}
cccccccccccccccccccccccc
</div>

and see where the class="col8 last" comes out relative to that:
* before aaaaaaaa then its coming from profile_header.tpl
* after bbbbbbbbbbb then its coming from $profile_item_list_contents

or turn on the "template name in source" option in Developer Tools module to get the template names output to source code.
michael
@michael
12/22/15 09:08:15PM
7,839 posts

Combined audio 'require image' code question


Design and Skin Customization

The problem is 'jrSoundcloud' there is no module by that name, so you get the error:
{jrSeamless_list} inactive module specified

The 'c' needs to be a capital to match the modules name.
<div class="block_content">
       {jrSeamless_list modules="jrAudio,jrSoundCloud" search="audio_image_size > 0,soundcloud_title LIKE %" pagebreak=10 page=$_post.p pager=true}
    </div>
michael
@michael
12/22/15 08:59:41PM
7,839 posts

Combined audio 'require image' code question


Design and Skin Customization

Educated guesses are a good first thing to try, but when they fail, then you need to go step by step and understand the problem.

So back to
{jrSeamless_list modules="jrAudio,jrSoundcloud"}
Q: does it work? yes = continue, no = try simpler.

I'll your above examples here and see what I get.
michael
@michael
12/22/15 08:56:14PM
7,839 posts

Index Not Found


Installation and Configuration

Last change to router was a while back:
Quote:router.php
2015-11-21
Fixes for XSS vulnerability in jrCore_page_table_pager()

router doesn't get changed much as its very integral. and even then the change was just a variable name and one in a series of checks that is pretty trivial.

Seams more likely that the data coming in is evaluating differently, and that could be the result of a module as they can tap into the flow and adjust variables all through the process.
michael
@michael
12/22/15 08:48:06PM
7,839 posts

jrAction_item_index


Jamroom Developers

ok, I'm missing the point by the looks of things.

To try to get the point, I've copied /modules/jrAction/templates/item_index.tpl to /skins/jrElastic/jrAction_item_index.tpl

Nothing unusual happens. I've added HERE IS THE SOMETHING to that template to confirm its working, it is.

My profile item list code looks like this (unchanged):
{if $profile_disable_sidebar != 1}
<div class="col9 last">
{else}
<div class="col12 last">
{/if}
    {$profile_item_list_content}
</div>

That is in that structure in case one of the modules wants to disable the sidebar by using the {jrProfile_disable_sidebar} function.

any of that useful? what am i missing to get me to understand what needs to happen/stop happening?
michael
@michael
12/22/15 07:57:38PM
7,839 posts

jrAction_item_index


Jamroom Developers

"profile_item_list.tpl is loading jrAction_item_index.tpl"... but the problem is the cache is not clearing out? Could it be there is a smarty error somewhere in jrAction_item_index.tpl thats causing the cached version not to be able to update.

Could try deleting via FTP all the stuff in:
/data/cache/*

So that we know old versions of the cache cant be used. That might drag a new error to the surface.
updated by @michael: 12/22/15 07:58:03PM
michael
@michael
12/22/15 07:32:10PM
7,839 posts

Combined audio 'require image' code question


Design and Skin Customization

What helps us out a lot is explaining the issue at each phase, then we can help with code.

What was the code you tried if it was just what paul pasted:
{jrSeamless_list modules="jrAudio,jrSoundcloud" search="audio_image_size > 0,soundcloud_title LIKE %" . . . }
that will fail because of those ....'s

DID THIS:
* ......
EXPECTED THIS:
* .....
GOT THIS:
* ......

Like your writing a test for kids in an exam that they have to figure out the answer to :)
michael
@michael
12/22/15 07:27:00PM
7,839 posts

Index Not Found


Installation and Configuration

What we need to figure out is why the router.php is not sending you to the index.tpl template for the url /

Is it a system I can log in to? Send me the login details if it is and I'll help with this issue.

What I would do would be to put stuff into router.php to find out where its exiting to.

So like we did above, put
echo 'got to SYSTEM INDEX part'
exit;

We need to figure out what path is being taken for /index vs what path is being taken for / and understand why a different path is being taken for each. Once we know that it will be obvious what needs fixing.
  446