Forum Activity for @michael

michael
@michael
12/22/15 01:51:02AM
7,832 posts

blog categories


Jamroom Developers

Seams like the right approach. Also use the group_by clause to get just one of each:


"{jrCore_list}"
http://www.jamroom.net/the-jamroom-network/documentation/development/89/jrcore-list
michael
@michael
12/22/15 01:49:47AM
7,832 posts

Rss Audio Reader Custom


Using Jamroom

Take a look at the source code for that XML page. Firefox will usually highlight any errors it sees in red.

Hard to tell what the error is on just the screenshot.

XML is very picky when it comes to formatting. You need to escape the output so that it matches XML requirements.

That might be as easy as adding |jrCore_entity_string to the variables you use, or it might require more. need to do lots of testing.

eg:
{$title|jrCore_entity_string}
michael
@michael
12/22/15 01:43:40AM
7,832 posts

Beta : Profiles - Deleting Profile 500 error Msg


Using Jamroom

Not able to get the first image to show. For me I can see the second image, then click continue and it returns me to the top page of the site.

Where are you seeing the first image?
michael
@michael
12/19/15 02:11:07AM
7,832 posts

Sharethis Twitter Image


Using Jamroom

This is a custom twitter card:
    <!-- Twitter -->
    <meta name="twitter:card" value="summary"/>
    <meta name="twitter:site" value="@roughneckcity"/>
    
    <meta name="twitter:creator" value=""/>
    
    <meta name="twitter:url" value="http://roughneckcity.com/roughneck-city/poll/1/usa-oilfield-poll"/>
    <meta name="twitter:title" value="Who Do You Support For President?"/>
    <meta name="twitter:description" value="Would Donald Trump have the balls to take on Saudi Arabia? Would Hillary Clinton ban fracking? who would be the best Oil & Gas President? Vote now and see the results"/>
    <meta name="twitter:image" value="http://s3-us-west-1.amazonaws.com/facebooklg/For-President-Finished.jpg"/>
    
    <meta name="tw-line" content="Who would make the best oil and gas President?"/>

twitter needs different META data to understand what its looking at. There is plans to put that in with the share this module in the same place that facebook has its meta data, its just not done yet.

The full version would look like:
<!-- Facebook OG -->
    <meta id="ogtitle" property="og:title" content="Who Do You Support For President?"/>   
    <meta property="article:publisher" content="https://www.facebook.com/DrillingAhead"/> 
    <meta property="og:type" content="article"/>
    <meta id="ogurl" property="og:url" content="http://roughneckcity.com/roughneck-city/poll/1/usa-oilfield-poll"/>
    <meta id="ogimage" property="og:image" content="http://s3-us-west-1.amazonaws.com/facebooklg/For-President-Finished.jpg"/>
    <meta id="ogdescription" property="og:description" content="Would Donald Trump have the balls to take on Saudi Arabia? Would Hillary Clinton ban fracking? who would be the best Oil & Gas President? Vote now and see the results"/>

    <!-- Twitter -->
    <meta name="twitter:card" value="summary"/>
    <meta name="twitter:site" value="@roughneckcity"/>
    
    <meta name="twitter:creator" value=""/>
    
    <meta name="twitter:url" value="http://roughneckcity.com/roughneck-city/poll/1/usa-oilfield-poll"/>
    <meta name="twitter:title" value="Who Do You Support For President?"/>
    <meta name="twitter:description" value="Would Donald Trump have the balls to take on Saudi Arabia? Would Hillary Clinton ban fracking? who would be the best Oil & Gas President? Vote now and see the results"/>
    <meta name="twitter:image" value="http://s3-us-west-1.amazonaws.com/facebooklg/For-President-Finished.jpg"/>
    
    <meta name="tw-line" content="Who would make the best oil and gas President?"/>

Thanks to @derrickhand300 for figuring it all out.
michael
@michael
12/19/15 12:58:45AM
7,832 posts

Nginx install dbase error


Installation and Configuration

Yeah its not a "somethings wrong with a module" problem by the looks of it, looks more like a "database not connecting correctly if tables cant be created" type problem.
michael
@michael
12/19/15 12:29:10AM
7,832 posts

Nginx install dbase error


Installation and Configuration

If url's aren’t working its probably the equivalent of .htaccess not being there. Not sure if ngix uses .htaccess as I think its an apache thing.

/user/signup should work as that provided by the jrUser module.
michael
@michael
12/18/15 11:21:50PM
7,832 posts

Nginx install dbase error


Installation and Configuration

Try removing the jrBlog module and see if it goes through.

That would eliminate the possibility that it could be an issue with the blog module.
michael
@michael
12/18/15 09:43:24PM
7,832 posts

audio_conversions page not found. after using Import Audio tool


Using Jamroom

Thanks. Guessing your on the jamroom 5.3 beta version?

The location of the queue viewer has moved from MODULES -> CORE -> SYSTEM CORE -> TOOLS over to DASHBOARD -> QUEUE VIEWER

So the url you'll be wanting is:
YOUR-SITE.com/core/dashboard/queue_viewer/queue_name=audio_conversions

This should naturally fix once 5.3 comes out of beta and lines up with all the STABLE modules, but I'll check just to be sure.

Thanks.
michael
@michael
12/18/15 09:33:54PM
7,832 posts

'Share This' at top of Page


Suggestions

What is happening with that facebook added dialog is that its being added, but it overflows the row box, so scroll bars are coming in.

If you click LIKE then scroll down over that section you will see the whole thing comes into view.

The problem is since its at the very bottom of that top row, (looks like a 12 col) the new stuff is hidden when it comes in.

If you were to put something underneath that section to give the facebook added section some space, it would show. Or if you added it above the images, it would show.

Are either of those options?
michael
@michael
12/18/15 07:32:03PM
7,832 posts

function to list users in a quota


Using Jamroom

That function is found in include.php about line 580 ish. It looks like this:
/**
 * Get all users that belong to a profile for ticket owner
 * @return mixed
 */
function jrTracker_get_profile_users(){
    global $_user, $_post;
    if (isset($_post['profile_id']) && jrCore_checktype($_post['profile_id'], 'number_nz')) {
        $profile_id = $_post['profile_id'];
    }
    else {
        $profile_id = $_user['user_active_profile_id'];
    }
    $tb1 = jrCore_db_table_name('jrProfile', 'profile_link');
    $tb2 = jrCore_db_table_name('jrUser', 'item_key');
    $req = "SELECT u.`value` FROM {$tb1} p LEFT JOIN {$tb2} u ON (u.`_item_id` = p.user_id AND u.`key` = 'user_name') WHERE p.profile_id = '{$profile_id}' ORDER BY u.`value` ASC";
    $_us = jrCore_db_query($req, 'value', false, 'value');
    if ($_us && is_array($_us)) {
        $_ln = jrUser_load_lang_strings();
        $_us['unassigned'] = $_ln['jrTracker'][72];
        return $_us;
    }
    return false;
}

You could use that as the base for a function you write yourself in a simple module.
  450