Forum Activity for @paul

paul
@paul
05/20/19 02:33:17AM
4,335 posts

where to find the newest Ninja changes please...?


Using Jamroom

Its in the profile_sidebar.tpl template.
Line 74 -
{jrCore_list module="jrFollower" search1="follow_profile_id = `$_profile_id`" search2="follow_active = 1" order_by="_created desc" limit="25" assign="followers"}
has been removed and replaced by
            {capture name="row_template" assign="followers_template"}
            {literal}
                {if isset($_items)}
                {foreach from=$_items item="item"}
                <a href="{$jamroom_url}/{$item.profile_url}">{jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="xsmall" crop="auto" class="img_shadow" alt="{$item.user_name}" title="{$item.user_name}" width="40" height="40" style="padding:2px;margin-bottom:4px;"}</a>
                {/foreach}
                {/if}
            {/literal}
            {/capture}
            {jrCore_list module="jrUser" follow_profile_id=$_profile_id  follow_active=1 order_by="_created desc" limit="25" template=$followers_template assign="followers"}

hth
paul
@paul
05/14/19 05:50:17AM
4,335 posts

modify profile export csv


Using Jamroom

Can you send the site url and admin login as a ticket so that I can check this out?
The Exporter module is still in beta so would like to see if this is an issue or not.
Thanks
paul
@paul
05/07/19 12:57:14PM
4,335 posts

Error: Query Error: Table 'database_name.jr_jrfollower_item' doesn't exist


Using Jamroom

soaringeagle:
is autofile compatab

The AutoFollow module is now compatible. Get it from the Marketplace.
The Friends module still needs to be made compatible. If you are running that I'd suggest disabling it for now.
Thanks
paul
@paul
05/05/19 11:25:19PM
4,335 posts

Error: Query Error: Table 'database_name.jr_jrfollower_item' doesn't exist


Using Jamroom

If you have the latest Follower module there has been a change to its database schema so the Integrity Check needs to be run with the verify option checked.
paul
@paul
05/05/19 12:15:05AM
4,335 posts

or statement not working


Design and Skin Customization

This works as expected for me -
{$x = 3}
{if $x == '3' || $x == '6'}
    {$x}
    <br>
{/if}
{$x = 6}
{if $x == 3 || $x == 6}
    {$x}
    <br>
{/if}
{$x = 9}
{if $x == 3 || $x == 6}
    {$x}
    <br>
{/if}
Even when adding the inverted commas around the numbers (which are not needed for numeric values btw).
I can only think that something before or after this code in your template is causing it to fail.
Anything in the error logs?
paul
@paul
05/04/19 09:53:47AM
4,335 posts

need help with pager


Design and Skin Customization

You need to include the page parameter in your jrCore_list call -

{jrCore_list module="jrProfile" search1="_user_id = {$_user_id}" search2="_profile_id != {$_profile_id}" pagebreak="12" page=$_post.p pager="true"}

hth
paul
@paul
05/04/19 09:50:23AM
4,335 posts

modify profile export csv


Using Jamroom

Quote: Whats the difference between members and profiles?

Both Jamroom profiles and their paired user are exported as a single json record so the term 'member' is just the name for this. This is because the Importer/Exporter modules are really designed to allow content from other CMS systems (Ning, Wordpress etc.) to be imported to Jamroom, and unlike Jamroom, most of them only have the concept of 'members' and not profiles and users.

Quote: so one thing i cant figure out is that the parsed json file has 972 records, but in the tunetrax dashboard I see 1703 profiles.

The only thing I can think of is that the quota mapping for the plugin isn't configured correctly so some profile/user pairs are not being exported. Check that first.

hth
paul
@paul
05/04/19 04:35:47AM
4,335 posts

live stream then save


Suggestions

Nice idea. We'll discuss it at our next team meeting but if its doable, it won't be for a while as we're all very busy with other major client projects atm.
Thanks
paul
@paul
05/02/19 11:06:05PM
4,335 posts

Redirect on first login


Design and Skin Customization

That was my first thought Michael but user_last_login does get set to the current time upon login
paul
@paul
05/02/19 02:13:37PM
4,335 posts

Redirect on first login


Design and Skin Customization

In that case try adding this at the top of your skin's profile_header.tpl template -

{if !isset($_user['user_has_logged_in'])}
	{jrCore_array name='_x' key='user_has_logged_in' value=1}
    {jrCore_db_update_item('jrUser', $_user['_user_id'], $_x)}
    {jrCore_location("`$jamroom_url`/new_user_welcome_page")}
{/if}

Its a bit of a sprag in that it updates the user's datastore directly, but it works!!
Set the jrCore_location URL to wherever your welcome page is.
hth
  60