Forum Activity for @paul

paul
@paul
10/09/18 02:08:48AM
4,335 posts

Member lsiting with menu editor


Using Jamroom

Sorry, not really sure what you are asking, but guessing that you now want the page the menu item points to only visible to the same group that the menu item is visible to?
If so, create the page with SiteBuilder and add the widget(s). Click on the Widget Settings button and you'll see the same group options as in the menu item.
You also mention 'searchable'? How to add a search option to template code has been described above.
Sorry if I'm off-track here, but as I said initially, I don't really understand what you are asking.
Thanks
paul
@paul
10/08/18 11:58:22AM
4,335 posts

Member lsiting with menu editor


Using Jamroom

No. That setting decides who is going to see the menu item only. It doesn't control who sees the page that me menu item links to.
In your screenshot you have selected Normal Users and two Quotas. Normal Users is all users that are logged in, so that would also include the users in the two quotas. If you just want the two quota users to see the menu item, select just those.
Hope that makes sense.
paul
@paul
10/08/18 08:39:51AM
4,335 posts

Member lsiting with menu editor


Using Jamroom

In that case, use the Template Code widget and add a search form to your code - https://www.jamroom.net/the-jamroom-network/documentation/modules/950/search
paul
@paul
10/08/18 08:36:17AM
4,335 posts

New Module Releases


Announcements

This week we have a simple free module aimed at site developers - 'Database Loader' - https://www.jamroom.net/the-jamroom-network/networkmarket/621/database-loader

What it does is allows admin to quickly create multiple profiles, users and items in order to show a fully populated new site so that it can be laid out and tested as a fully populated site.

We used this a lot in the early days of Jamroom5 in order to do load testing on sites with millions of items and to be satisfied that Jamroom could handle this situation ok (it could :-) ).
paul
@paul
10/08/18 08:17:04AM
4,335 posts

Member lsiting with menu editor


Using Jamroom

In that case, set the menu label to 'My Experts' and the menu URL to 'my_experts' (for example). Then goto http://yoursite.com/my_experts and Site Builder will ask if you want to create a new page there. Say yes and configure the page layout. Then add a widget, select Template Code for it and add the {jrCore_list module="jrProfile" quota_id=1 order_by="_item_id desc" limit=5} there. Alternatively, select Item List as the widget type and configure that to show the profiles in the required quota.
hth
paul
@paul
10/08/18 07:18:34AM
4,335 posts

Member lsiting with menu editor


Using Jamroom

I'm wondering if you are expecting this to work differently to what it does?
In a previous topic you were asking how to show profiles only to users in a specific quota.
This menu item group option will only show the menu item to users in that group. Once clicked they will still see ALL profiles. You might also need to put a restriction on what they see, as described in your other topic.
hth
paul
@paul
10/08/18 02:41:24AM
4,335 posts

Member lsiting with menu editor


Using Jamroom

The URLs to show all Blogs and all Members are http://yoursite.com/blog and http://yoursite.com/profile respectively so use those as the menu links.
Where are you wanting to show these menu items? Dependent upon the skin you are using the chances are they are in the main menu already.
hth
paul
@paul
10/07/18 06:15:39AM
4,335 posts

How to confine search within module to one tag


Using Jamroom

Hi Ceri - Sorry for the delay on this.
Probably the easiest way to do this is to build a custom search results page just for these audio items, so change the form action url to "https://americymru.net/welsh-pronunciation-audio-results", say, the either using SiteBuilder or by creating a skin template of that name, include this jrCore_list call to show the search results -

{if isset($_post.search_string) && strlen($_post.search_string) >= 3}
    {jrCore_list module="jrAudio" search1="audio_title LIKE %`$_post.search_string`%" search2="audio_tags LIKE %welsh pronunciation audio%"}
{/if}

hth
paul
@paul
10/06/18 05:12:11AM
4,335 posts

limited profiles with premium modules


Using Jamroom

resif:
ok but i am asking also... not create a blog rights its about reading other blog rights....

In that case you'll need to edit the appropriate templates in order to conditionally test the quota that the logged in user is in and only show the content if they are allowed to see it. For instance, the Blog index.tpl template looks like this -

{jrCore_lang module="jrBlog" id=29 default="Blogs" assign="page_title"}
{jrCore_page_title title=$page_title}
{jrCore_include template="header.tpl"}

<div class="block">

    <div class="title">
        {jrSearch_module_form fields="blog_title,blog_text"}
        <h1>{jrCore_lang module="jrBlog" id=29 default="Blogs"}</h1>
    </div>

    <div class="block_content">
        {jrCore_list module="jrBlog" search1="blog_publish_date <= `$smarty.now`" order_by="blog_publish_date desc" pagebreak=10 page=$_post.p pager=true}
    </div>

</div>
{jrCore_include template="footer.tpl"}

so to only show it to logged in users in profile quote 1, say, change it to -

{jrCore_lang module="jrBlog" id=29 default="Blogs" assign="page_title"}
{jrCore_page_title title=$page_title}
{jrCore_include template="header.tpl"}

{if jrUser_is_logged_in() && $_user.profile_quota_id == 1}

<div class="block">

    <div class="title">
        {jrSearch_module_form fields="blog_title,blog_text"}
        <h1>{jrCore_lang module="jrBlog" id=29 default="Blogs"}</h1>
    </div>

    <div class="block_content">
        {jrCore_list module="jrBlog" search1="blog_publish_date <= `$smarty.now`" order_by="blog_publish_date desc" pagebreak=10 page=$_post.p pager=true}
    </div>

</div>

{else}

  // Add some code to tell the users how to see this page

{/if}

{jrCore_include template="footer.tpl"}

Note the addition of the conditional tests.

The same principle applies to other blog templates and any other content you only want to show to specific profile quotas.

Hope that helps
  81