Forum Activity for @michael

michael
@michael
06/30/15 01:53:06AM
7,839 posts

Comments Module Settings


Design and Skin Customization

:) Nice one. Keep that guy in ukraines number :) Send him to the open jobs board when you've finished with him:

https://www.jamroom.net/job/open
michael
@michael
06/30/15 01:49:47AM
7,839 posts

auto integrity/optimize on daily trigger


Suggestions

What would be a better option is to add your own module and add your own 'daily_maintenance' listener then just do whatever you want to do without needing to run the integrity check.

The whole module only needs an include.php file, here it is here:
<?php
/**
 * @copyright You at wherever
 */

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

/**
 * meta
 */
function xxSomething_meta()
{
    $_tmp = array(
        'name'        => 'Something',
        'url'         => 'something',
        'version'     => '1.0.0',
        'developer'   => 'Nobody, &copy;' . strftime('%Y'),
        'description' => 'A module created to do somthing',
        'license'     => 'mpl',
        'category'    => 'site'
    );
    return $_tmp;
}

/**
 * init
 */
function xxSomething_init()
{
    jrCore_register_event_listener('jrCore', 'daily_maintenance', 'xxSomething_daily_maintenance_listener');
    return true;
}


/**
 * xxSomething_daily_maintenance_listener
 * @param $_data array incoming data array from jrCore_save_media_file()
 * @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 xxSomething_daily_maintenance_listener($_data, $_user, $_conf, $_args, $event)
{
    // do whatever you want to here......
    return $_data;
}

That would fire ever day at daily maintenance time.
michael
@michael
06/30/15 01:44:50AM
7,839 posts

Why is (invalid item ) showing ?


Using Jamroom

Its something you've done to the templates. Its not there in the default templates. Check what you've added against what the default versions show.
michael
@michael
06/29/15 08:56:34PM
7,839 posts

godaddy cpanel installation


Genosis

Or it could mean that your database exists, but is not on that server, its hard to know with GoDaddy.
updated by @michael: 06/29/15 08:58:20PM
michael
@michael
06/29/15 08:52:31PM
7,839 posts

auto integrity/optimize on daily trigger


Suggestions

There already is a process that runs daily that does maintenance stuff. Its called "Daily Maintenance" and has a listener if you really wanted to fire the full integrity check.

There is an event that fires for it:
'daily_maintenance'

"Events and Listeners"
https://www.jamroom.net/the-jamroom-network/documentation/development/1011/events-and-listeners

Lots of modules do cleanup on that event, eg:
jrBackup_daily_maintenance_listener
jrCharts_daily_maintenance_listener
jrCloudConversionServer_daily_maintenance_listener
jrCore_daily_maintenance_listener
jrFlickr_daily_maintenance_listener
jrFoxyCart_daily_maintenance_listener
jrImage_daily_maintenance_listener
jrKickbox_daily_maintenance_listener
jrMailer_daily_maintenance_listener
.....

Are all fired once a day on that 'daily_maintenance' event and do whatever clean up is necessary for those modules.
michael
@michael
06/26/15 08:50:28PM
7,839 posts

(bug report) getting passwordreset emails in my proivate notes inbox


Design and Skin Customization

do all of the accounts look legit? not names like 'xidfkleir' or other spammy type names?

They look like they are from real people.
michael
@michael
06/26/15 07:54:06PM
7,839 posts

404 from lightbox.min.map


Using Jamroom

Not sure why the code is being executed. By all things I know that looks like its been commented out.... TWICE.

I'll get it rid of it. Thanks Steve.
michael
@michael
06/26/15 07:51:19PM
7,839 posts

(bug report) getting passwordreset emails in my proivate notes inbox


Design and Skin Customization

Looks like the oneAll module will send a private note to the system admin (you) if the twitter account used to signup does not have a verified email address.

So since there is no valid email address to send the login details to, you get a copy of it to figure out what to do with.
michael
@michael
06/26/15 07:33:26PM
7,839 posts

iframe domains validation


Using Jamroom

Damn you people who don't use .com domains. ;)

We'll get that sorted out. Its an issue with the validation function.

--edit--
This is sorted in core 5.2.36 the next release version. If your desprate for it now you can adjust checktype.php to be this:

function jrCore_checktype_domain($input, $desc_only = false, $type_only = false)
{
    if ($desc_only) {
        return "a valid domain name (no www)";
    }
    if ($type_only) {
        return 'string';
    }
    // Make sure we get a good domain.tld
    if (strpos(' ' . $input, '.') && preg_match('/^[-a-z0-9]+\.[a-z]{2,14}$/', jrCore_str_to_lower($input))) {
        return true;
    }
    // or one of those double dot kinds uwe.ac.uk
    if (strpos(' ' . $input, '.') && preg_match('/^[-a-z0-9]+\.[a-z]{2,14}+\.[a-z]{2,14}$/', jrCore_str_to_lower($input))) {
        return true;
    }

    return false;
}

Thanks for finding that Steve. :)
updated by @michael: 06/26/15 07:43:04PM
michael
@michael
06/26/15 07:27:29PM
7,839 posts

godaddy cpanel installation


Genosis

If that's what they said to do, then try that.

I use godaddy for domain names, but don't use them for hosting. They don't use cPanel, but a custom setup they built themselves. From the reports we've had over the years GoDaddy is real hit and miss for hosting.

On the plus side they do have easily contactable support though. Many users like that.
  517