Forum Activity for @paul

paul
@paul
10/08/15 01:40:06PM
4,335 posts

Change a member's location for them?


Using Jamroom

If you go to the User Account Form Designer you'll see that the location, country and user_signup_questions are only allocated to the Member quota. John Keane is in the 'Patron Member' quota. You'll need to enable those fields for that quota as well.
paul
@paul
10/08/15 10:38:02AM
4,335 posts

Change a member's location for them?


Using Jamroom

Your members' locations are a user field so they (and you, as admin) can do it by clicking on the update (gearwheel) button then the Account tab.
hth
paul
@paul
10/06/15 11:00:17AM
4,335 posts

Error with OneAll module


Installation and Configuration

Just a hunch but I often get errors like that on FB itself - the "please try again shortly" is a phrase they often use, so this might be a temporary problem their end.
paul
@paul
10/06/15 09:31:58AM
4,335 posts

Profile Options


Suggestions

If an admin makes a profile 'inactive' none of their content will show on the site (although it still will be there).
If a profile is deleted, all their content is also deleted.
There is an admin option to allow members to 'self-delete' their profile. By default, it is disabled. I recommend leaving it like this then if a member want to leave your site they need to apply. You can then transfer ownership of any of their content if you want to keep it (install the free 'jrChangeOwner' module to do this) prior to deleting them.
hth
updated by @paul: 10/06/15 09:32:38AM
paul
@paul
10/06/15 08:38:44AM
4,335 posts

New signups as followers


Installation and Configuration

OK - Do this

Create a folder in the modules folder called 'jrAutoFollow'
In that folder create two files named 'config.php' and include.php'

In the config.php file enter this code -
<?php
/**
 * @copyright 2012 Talldude Networks, LLC.
 * @author Paul Asher <paul [at] jamroom [dot] net>
 */

// make sure we are not being called directly
defined('APP_DIR') or exit();

/**
 * jrAutoFollow_config
 */
function jrAutoFollow_config()
{
    $_tmp = array(
        'name'      => 'followee',
        'label'     => 'Select Profile',
        'type'      => 'text',
        'help'      => 'Enter the ID of the profile that will be automatically followed upon signup',
        'validate'  => 'number_nz',
        'default'   => 1,
        'required'  => true
    );
    jrCore_register_setting('jrAutoFollow', $_tmp);

    return true;
}

?>

In the include.php file enter this code -
<?php
/**
 * @copyright 2012 Talldude Networks, LLC.
 * @author Paul Asher <paul [at] jamroom [dot] net>
 */

// make sure we are not being called directly
defined('APP_DIR') or exit();

/**
 * meta
 */
function jrAutoFollow_meta()
{
    $_tmp = array(
        'name'        => 'Auto Follow',
        'url'         => 'autofollow',
        'version'     => '1.0.0',
        'developer'   => 'The Jamroom Network, &copy;' . strftime('%Y'),
        'description' => 'Automatically follow specified profiles upon signup',
        'category'    => 'profiles',
        'license'     => 'jcl'
    );
    return $_tmp;
}

/**
 * init
 */
function jrAutoFollow_init()
{
    // Event Listener
    jrCore_register_event_listener('jrUser', 'signup_activated', 'jrAutoFollow_signup_activated_listener');

    return true;
}

//---------------------------------------------------------
// EVENT LISTENER
//---------------------------------------------------------

/**
 * Listen for the 'signup_activated' event and add user as a follower
 * @param $_data array incoming data array
 * @param $_user array current user info
 * @param $_conf array Global config
 * @param $_args array additional info about the module
 * @param $event string Event Trigger name
 * @return array
 */
function jrAutoFollow_signup_activated_listener($_data, $_user, $_conf, $_args, $event)
{
    $_tmp = array(
        'follow_active'     => 1,
        'follow_profile_id' => $_conf['jrAutoFollow_followee']
    );
    $_core = array(
        '_profile_id' => $_data['_profile_id'],
        '_user_id'    => $_data['_user_id']
    );
    jrCore_db_create_item('jrFollower', $_tmp, $_core);

    return $_data;
}

Goto your ACP then in the Profiles section enable this new module.
In its config section enter the ID of the profile to be auto-followed.

Done :-)
paul
@paul
10/06/15 06:23:19AM
4,335 posts

New signups as followers


Installation and Configuration

Hi Eddy - Welcome back.
There's no option to do this with Jamroom 'out of the box' but a pretty simple 'listener module' would do it.
The module will listen for the 'signup_activated' event then create the follower entry on the datastore.
Let me know if you need any help doing this.
Pa
paul
@paul
10/04/15 11:30:15PM
4,335 posts

account id vs email


Installation and Configuration

The general rule within our default templates is that if its a user action, such as a comment or a rating, say, then show the user image, if its a profile releated action, show the profile image. This all happens in the templates so you could go through them all changing user references to profiles, then disable the user image field in the user update form using the Form Designer.
paul
@paul
10/04/15 10:21:43PM
4,335 posts

Audio Module: Song Release Date and Featuring Support


Suggestions

As admin, open an audio create form then click on the Form Designer button top right. You can add a date (calendar) field to the form there for a release date. You can then modify the audio templates to check this field against the current date and not show the song, or not show the play button as appropriate.

You can do the same for featured artists but that might need something custom - I'll check that out.
paul
@paul
10/04/15 10:03:04PM
4,335 posts

account id vs email


Installation and Configuration

Separate Profiles and Users and fundamental to Jamroom. Profiles are not necessarily people, they can be venues, labels, companies, organisations, whatever. Users are always people.
One profile can have multiple users. One user can have multiple profiles.
Its one of the things that gives Jamroom its general purpose functionality.
paul
@paul
10/04/15 04:45:17AM
4,335 posts

working through the changes


Installation and Configuration

Only if you have been modifying templates and CSS directly on the module and skin files is there chance of them being overwritten when updating. Of course, this is not a recommended practice for this reason. If you want to edit skin templates, first clone the skin using the tool in the Developer module then work on the cloned skin, so updated to the original skin will not affect your work.
Alternatively, use the ACP template editors in each skin and module to make changes. Edited templates are then stored on the database and are therefore protected from any updated to the original. The same applies when editing CSS and images via their ACP editors.
hth
  264