Forum Activity for @paul

paul
@paul
02/16/17 12:11:18PM
4,335 posts

Testing the option to display answers to old sign up questions


Ning To Jamroom

Checkout the Ninja profile_sidebar.tpl template. About line 47 is the code that shows the questions and answers -
        {if jrUser_is_logged_in() && $_conf.jrNinja_profile_questions == 'on'}
            {jrNingImport_signup_questions user_id=$_user_id assign="ning_questions"}
            {if isset($ning_questions)}
                <div class="block">
                    <div class="block_content mt10">
                        {$ning_questions}
                    </div>
                </div>
            {/if}
        {/if}
If you put a {debug} in there and look at an imported Ning profile you'll see it has a $profile_ning_contributorname variable, so if you also test for the presence of this variable in the top line of this code ( && isset($profile_ning_contributorname) ) the Qs and As will only show for profiles imported from Ning.

Next look at the NingImport module signup_questions.tpl template. See of line 11 -
<h4>{$item.label}:</h4> {$item.answer}<br>
Wrap this in a conditional statement so as not to show if no answer given -
{if strlen($item.answer) > 0}

hth
paul
@paul
02/16/17 04:39:45AM
4,335 posts

Do activity log entries fall off the end of the list?


Using Jamroom

Hi Peter - There is no limit, except for the size of your server, of course!!
So yes, delete them now and then, downloading them prior if need be.
hth
paul
@paul
02/15/17 01:39:29PM
4,335 posts

How to determine user age of 13 y.o.?


Design and Skin Customization

Is $profile_birth_date in UnixTime or is it yyyymmdd ?
updated by @paul: 02/15/17 01:39:48PM
paul
@paul
02/15/17 01:37:14PM
4,335 posts

How to determine user age of 13 y.o.?


Design and Skin Customization

{if $profile_birth_date + (13 * 31536000) >= $smarty.now}

31536000 is the number of seconds in a year.
hth
paul
@paul
02/12/17 04:29:21AM
4,335 posts

How do I display Chart results in a table


Design and Skin Customization

They need to go in your skin /img/icons_black and/or /img/icons_white folders. Then call them with code like this (taken from the AudioPro skin) -
                            {if $item.chart_new_entry == 'yes'}
                                {$color = '339933'}
                                {$icon = 'chart_up'}
                            {elseif $item.chart_direction == 'same'}
                                {$icon = "chart_same"}
                            {elseif $item.chart_direction == 'up'}
                                {$icon = 'chart_up'}
                                {if $item.chart_change > 5}
                                    {$color = 'FF5500'}
                                {/if}
                            {else}
                                {$icon = 'chart_down'}
                                {if $item.chart_change > 5}
                                    {$color = '3393ff'}
                                {/if}
                            {/if}

                            {jrCore_icon icon=$icon size="24" color=$color title='hi'}

hth
paul
@paul
02/12/17 04:18:20AM
4,335 posts

Global Config>Site Index>Forum Profile URL>Help note - what does this note mean?


Design and Skin Customization

The link to your site forum is something like http://yoursite.com/community/forum where 'community' is the profile name.
If you are using SiteBuilder and want a link to the forum in your page header, use the SiteBuilder Menu option to add in 'Site Forum' (or whatever header text you want) with the link 'community/forum'
hth
paul
@paul
02/12/17 04:11:57AM
4,335 posts

Unable to download your product


Installation and Configuration

That's good. Let us know how you get on and if you have any more questions about Jamroom.
Paul
paul
@paul
02/11/17 08:11:55AM
4,335 posts

How do I display Chart results in a table


Design and Skin Customization

You'll need to create a template that uses html table tags.
Put the and tags outside of the {foreach} loop then inside the loop use the and tags putting the item data to be displayed for each row inside the td tags.
hth
Pa
paul
@paul
02/10/17 02:17:13PM
4,335 posts

No admin access after installation - only as a user


Installation and Configuration

See my post above. Please redownload and try again.
Thanks
paul
@paul
02/10/17 02:12:27PM
4,335 posts

No admin access after installation - only as a user


Installation and Configuration

Hi Randy
Sorry for the hassle - there was a bug in the download package causing this. Can you redownload the package, upload it again to your server, make sure and delete the /data/config/config.php file and try again?
Thanks
Paul
  164