Forum Activity for @paul

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


Ning To Jamroom

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
paul
@paul
10/03/15 03:35:38AM
4,335 posts

Empty Title in Like notification emails


Using Jamroom

There have been a couple of reports of this recently so I created a ticket for it - https://www.jamroom.net/the-jamroom-network/tracker/1691/empty-item-title-in-like-email

Now I come to check it out I'm not seeing an issue.

Can anyone who has this issue let me have some further details so that I can replicate it? Ie. Is it just on particular items? Is it just likes, or dislikes? etc etc.
Thanks

updated by @paul: 01/10/16 12:54:28PM
paul
@paul
10/01/15 01:19:39AM
4,335 posts

Looking For A Sports Related Skin


Design and Skin Customization

Or even Lucid - Just change that image splashed across the top to somethinf sports related and you're half way there ;-)
paul
@paul
09/30/15 05:00:52PM
4,335 posts

working through the changes


Ning To Jamroom

There isn't an 'about me' section in the Ning archive. There are 'location', 'country', 'zip' and the answers to any 'signup questions' though, and these are all imported to the Jamroom 'profile_location', 'profile_country', 'profile_zip' and 'user_signup_question_x' fields (x is numeric for each answer) so user these in your profile templates to show the data.
hth
paul
@paul
09/30/15 04:46:34PM
4,335 posts

I'm back. Past purchases?


Installation and Configuration

Have just replied to your support ticket asking the same question -

Everything you'll likely need to rebuild your JR4 sites is in our SuperPack bundle for $199 - https://www.jamroom.net/the-jamroom-network/bundle/9/super-pack - which offers a saving of over 50%. We also offer licences JR4 users a further $50 discount on this bundle, so $149.
All JR5 licences are good for two domains.

Alternatively, signup for one of our hosting packages to run both your sites on and get access to all of our modules and skins free of charge - https://www.jamroom.net/hosting

Hope that helps
Paul
  265