Forum Activity for @michael

michael
@michael
03/12/17 10:02:40PM
7,837 posts

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


Installation and Configuration

profile_id will only be one specific profile, not any profile in a specific quota. if thats what you're after sure.

The email message is saying you've not put your jamroom.net email account into the support module, so it cant look up jamroom.net to see what level of support you have to return the links to the locations you have access to, like the docs, the forums, vip support etc.
michael
@michael
03/12/17 09:59:43PM
7,837 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,837 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,837 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,837 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,837 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,837 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,837 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,837 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);
  252