Forum Activity for @michael

michael
@michael
03/12/17 09:59:43PM
7,826 posts

Custom Profile Template


Design and Skin Customization

Use the "Profile Tweaks" module. Enable it for those profiles. Set the default template for those profiles to a different skin. Build how you want those profiles to look into that second skin.
michael
@michael
03/12/17 09:56:41PM
7,826 posts

Activity logs


Installation and Configuration

Its probably some string in the skin that is using a variable from the address bar, but in one of the links on the site, that variable is not coming in. eg:

* search for a list of blog posts in the 'cats' category on site.com/a-profile/blog/cats
and the template has
search="blog_post = `$_post.option`"
where $_post.option is 'cats' from the address bar. when someone opens the url that is site.com/a-profile/blog/ and 'cats' doesnt come in, but the template search string is still firing, then you'll end up with

search="blog_post = "

which will trigger that error because you need to search on something.
michael
@michael
03/12/17 09:46:42PM
7,826 posts

Audio Pro


Design and Skin Customization

either in the template here:
ACP -> SKINS -> AUDIO PRO -> TEMPLATES -> index_top.tpl -> MODIFY
http://mysite.com/core/template_modify/skin=jrAudioPro/template=index_top.tpl

or in the language strings:
ACP -> SKINS -> AUDIO PRO -> LANGUAGE
http://mysite.com/core/skin_admin/language/skin=jrAudioPro?search_string=welcome
michael
@michael
03/11/17 06:12:30PM
7,826 posts

How do I restrict/sort Calendar Events from different profile Calendar?


Installation and Configuration

Docs: "Event Calendar : For Developers"
https://www.jamroom.net/the-jamroom-network/documentation/modules/276/event-calendar#for-developers
Quote:
For a small calendar there is a template included with the calendar module
{jrEvent_calendar month="3" year="2016" template="small_calendar.tpl" tpl_dir="jrEvent"}
so in your case, try
{jrEvent_calendar search="profile_quota_id = 1"  template="small_calendar.tpl" tpl_dir="jrEvent"}
michael
@michael
03/11/17 04:36:58PM
7,826 posts

Profile Tweaks not working in ESkin


Installation and Configuration

Glad you got it sorted. :) well done.
michael
@michael
03/11/17 04:34:16PM
7,826 posts

Site Builder Backups


Design and Skin Customization

It does have an EXPORT feature though which is the same as a backup. You can't choose to have it run any more frequently than 24 hours, but you can run it manually whenever you like.

ACP -> MODULES -> SITE -> SITE BUILDER -> TOOLS -> EXPORT BACKUP -> (bottom of the screen) -> EXPORT CHECKED
michael
@michael
03/11/17 04:27:53PM
7,826 posts

Currently Viewed ProfileID


Jamroom Developers

That will give you all the profile info in an array (screenshot of a paused debugger in phpstorm)
profile.jpg profile.jpg - 501KB
michael
@michael
03/11/17 04:25:01PM
7,826 posts

Currently Viewed ProfileID


Jamroom Developers

At that point coming in on $_data you have the url of the profile. (if it wasn't on $_data you could get it from post anyhow)

So use the profile_url that you know from the url to retrieve the profile info
$_profile = jrCore_db_get_item_by_key('jrProfile','profile_url', $_data['module_url']);
That will get the FULL profile along with quota info too, if you just want the profile_????? stuff skip the triggers
$_profile = jrCore_db_get_item_by_key('jrProfile','profile_url', $_data['module_url'], true);
michael
@michael
03/11/17 04:16:28PM
7,826 posts

How to edit JrDocs tabs


Design and Skin Customization

Those tabs are not put there by a template. They are put there by the module, so its not easy to edit them without via a module.

In the modules _init() function the tabs are registered like this:
    // Profile tabs
    if (!isset($_conf['jrDocs_show_toc']) || $_conf['jrDocs_show_toc'] != 'off') {
        $_tmp = array(
            'label' => 64, // Chapters
            'group' => 'all'
        );
        jrCore_register_module_feature('jrProfile', 'profile_tab', 'jrDocs', 'default', $_tmp);
        $_tmp = array(
            'label' => 54,  // Table of Contents
            'group' => 'all'
        );
        jrCore_register_module_feature('jrProfile', 'profile_tab', 'jrDocs', 'contents', $_tmp);
    }

So you could create a new module and add your own button to that location via the same setup.

To edit the .css file, you can put any css in any file in your skin and it will appear in the main compressed .css file for your site.
  251