Forum Activity for @paul

paul
@paul
03/21/16 07:09:04AM
4,335 posts

General approach of adding a sidebar into an existing skin?


Design and Skin Customization

There are various options. With SiteBuilder, create a column for the sidebar on the pages that require it, then create the widget(s) to go in it. Unfortunately there is no 'copy/paste' for widgets so they would need to be created for every page sidebar, but hopefully, with SB that is not too big a job.

To automatically place a sidebar on every page, build it in either the header.tpl template (for the left hand side) or the footer.tpl (for the right hand side). Use the column divs (class="colx") to define the width of the main content and the sidebar. Alternatively, create a template called side.tpl (say) then in the main template, set up the column widths as above (remember that total column widths must equal 12) then include the side.tpl template in them.
Take a look at some of the existing templates to see how to do this, jrSage/index.tpl for instance.
hth
paul
@paul
03/21/16 04:41:59AM
4,335 posts

Admin items still not seen in activity feed by members


Using Jamroom

I'm not seeing this, either on my test site or on fotmd.
I have a regular member account there (pasher) and when logged in as such I can see all the admin (starred) activities, the same as when logged in as master.
Can you point me to where there might be discrepancies?
paul
@paul
03/20/16 08:45:46AM
4,335 posts

We need to know something before we purchase the Super Pack


Using Jamroom

Have just heard back from Brian. If you can go ahead and purchase the SuperPack we will then refund you the difference.
hth
paul
@paul
03/20/16 04:48:37AM
4,335 posts

my name shows under another's avatar in some created group discussions.


Using Jamroom

Done - Thanks
Note that the fix isn't retrospective so some older discussions may still show the wrong name.
paul
@paul
03/20/16 04:43:02AM
4,335 posts

We need to know something before we purchase the Super Pack


Using Jamroom

Hi - We'll sort this out for you. Brian handles the accounts here so he'll decide the best way to do this. He'll be in touch later.
Thanks
paul
@paul
03/18/16 07:29:11AM
4,335 posts

how many users a user is following


Using Jamroom

Apologies - Wrong function!!
Use this in the profile templates -

{jrFollower_following_count user_id=$_user_id}
paul
@paul
03/18/16 06:38:39AM
4,335 posts

how many users a user is following


Using Jamroom

Try this in the template where you want the count to show -

{jrFollower_get_followed user_id=$_user_id}

($_user_id may vary dependent upon the template and how you are using it)

hth
paul
@paul
03/18/16 06:07:57AM
4,335 posts

add content depending on the url


Design and Skin Customization

Do the smarty concatenation in the URL like this -

{if $current_url == "`$jamroom_url`/`$murl`/settings/profile_id=`$_user.profile_id`"}

Note the use of the back-tics.

hth
updated by @paul: 03/18/16 06:09:59AM
paul
@paul
03/18/16 04:43:58AM
4,335 posts

Hide download button for a particular quota


Installation and Configuration

OK - In your jrAudio item_detail.tpl template find this code at about line 11 -

{jrCore_item_detail_buttons module="jrAudio" field="audio_file" item=$item exclude=$ex_dl}
and replace it with this -

			{$ex_dl = ''}
            {if $item.profile_quota_id == 2}
                {$ex_dl = 'jrAudio_item_download_button'}
            {/if}
            {jrCore_item_detail_buttons module="jrAudio" field="audio_file" item=$item exclude=$ex_dl}
Set the quota_id test value to the ID of the quota you want to exclude.

Similarly in the jrAudio item_list.tpl at line 35 or thereabouts.

hth
  226