Forum Activity for @paul

paul
@paul
02/22/18 04:15:49AM
4,335 posts

Sending an email when a solution is applied to a post


Jamroom Developers

I think this would be straightforward with a custom module that basically just 'listens' for a forum topic update that sets its 'forum_solution' key, then depebdent upon its value, takes the appropriate action sending email(s).
Use the project overview form - https://www.jamroom.net/form/project_overview - to start a ticket on this where we can pin down a spec. and quote you.
Thanks
paul
@paul
02/21/18 12:11:42PM
4,335 posts

RE: New Payments/Products etc Modules


Using Jamroom

Thay can be installed all at once but enabling them should be done in order because of their dependencies. The Payment first, then Subscription and Store.
You shouldn't be able to go wrong though as Subscription and Store will not enable if there is not an enabled Payment module.
hth
paul
@paul
02/21/18 12:24:07AM
4,335 posts

Cumulative likes on posts


Jamroom Developers

Start by putting a {debug} in your template to see what variables you have - https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1477/debug
paul
@paul
02/20/18 05:41:19AM
4,335 posts

Index Page Featured Profiles


Design and Skin Customization

Try my suggestion above. In the index.tpl template comment out the 'if' block and replace it with
{jrCore_list module="jrProfile" order_by="_profile_id random" search="profile_active = 1" template="index_artists_row.tpl" limit="4" require_image="profile_image"}
Note that for now I've taken out the quota condition. Add that back in if need be when its working.
paul
@paul
02/20/18 12:08:03AM
4,335 posts

Cumulative likes on posts


Jamroom Developers

You might be able to adjust the template showing the shared item so that any likes and ratings of it are attributable to the original item and not the 'share', but as Nate said, its getting a hairy doing that and might confuse your users ("Hey, I've just liked this but its not showing???").
Maybe somehow just share a link to the original item?
paul
@paul
02/19/18 01:00:39PM
4,335 posts

jrAparna module


Using Jamroom

blindmime:
Well I'll be. I've always just changed the template in the module folder. So doing it as outlined above makes aparna-generated modules behave badly?

No - What Michael was saying was that most recent skins like FollowMe override known/regular module templates. When someone creates a new module with Aparna, it then doesn't show up in the skin. Its not really possible to create skin templates that can cover all options of what users might create!!
paul
@paul
02/19/18 12:47:14PM
4,335 posts

Index Page Featured Profiles


Design and Skin Customization

Haven't looked but guessing that if the 'featured' field is blank, Flashback shows the four latest profiles by default, which lines up with what you describe.
Quote: But I would like these to interchange from all the profiles, is there an easy way of doing this
Are you asking to pick four random profiles?
Have just looked at the Flashback index.tpl template and see this code -
                    {if isset($_conf.jrFlashback_profile_ids) && strlen($_conf.jrFlashback_profile_ids) > 0}
                        {jrCore_list module="jrProfile" order_by="_profile_id asc" profile_id=$_conf.jrFlashback_profile_ids template="index_artists_row.tpl" limit="4"}
                    {elseif isset($_conf.jrFlashback_require_images) && $_conf.jrFlashback_require_images == 'on'}
                        {jrCore_list module="jrProfile" order_by="_profile_id numerical_desc" quota_id=$_conf.jrFlashback_artist_quota search1="profile_active = 1" template="index_artists_row.tpl" limit="4" require_image="profile_image"}
                    {else}
                        {jrCore_list module="jrProfile" order_by="_profile_id numerical_desc random" quota_id=$_conf.jrFlashback_artist_quota search1="profile_active = 1" template="index_artists_row.tpl" limit="4"}
                    {/if}
So that is where the template is checking for the featured field and showing either those profiles or the latest. But there looks to be a third 'random' option, so to get that, empty the featured field and turn the require images off.
Alternatively, if you permanently want random profiles WITH images, replace that whole section with -
{jrCore_list module="jrProfile" order_by="_profile_id numerical_desc random" quota_id=$_conf.jrFlashback_artist_quota search1="profile_active = 1" template="index_artists_row.tpl" limit="4" require_image="profile_image"}
hth
paul
@paul
02/19/18 04:57:18AM
4,335 posts

jrAparna module


Using Jamroom

blindmime:
What is a template override?

A skin template can 'override' a module template.
As an example, the jrBlog module includes a blog template called index.tpl. If you create a skin template called jrBlog_index.tpl, that skin template would be called and parsed instead of the module's.
hth
  112