Forum Activity for @michael

michael
@michael
12/18/15 09:33:54PM
7,839 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,839 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.
michael
@michael
12/18/15 07:28:58PM
7,839 posts

Can't log in. I create an account but I'm not redirected.


Using Jamroom

nahiding:....I want to know how the VIP support is ♥ ....
Its about the same as the support here in the fourm. Just gives you the option of sending it privately if it contains sensitive info you don't want to be public.

Have you got a URL to your site, I can try to make an account from here and see if there is anything unusual going on.

If its a private issue, send the info to 'support at jamroom dot net' with a link to this thread so we know what the issue is about.
michael
@michael
12/18/15 01:19:39AM
7,839 posts

'Share This' at top of Page


Suggestions

Got the docs updated to include using the code directly from sharethis so you can add it to pages that are not items of a particular module.

Docs: "ShareThis"
https://www.jamroom.net/the-jamroom-network/documentation/modules/2598/sharethis

Let me know if its still missing anything or unclear.
michael
@michael
12/17/15 09:41:33PM
7,839 posts

No SoundCloud Tracks found


Using Jamroom

I've done a bit of debugging on this and its an issue on soundcloud's side.

The url being used to try to retrieve the info is:
http://api.soundcloud.com/tracks.json?client_id=(YOUR SOUNDCLOUD CLIENT ID HERE)&q=Newb&offset=0&limit=10
When I open that url in a browser it displays as expected, a json encoded array of information.

I've added some debug code to your soundcloud module so the returned response shows in your debug log in the ACP and it returns:
Array ( 

[what] => trying to find out why soundcloud not responding 

[$_sc] => 

[$res] => <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>403 - Forbidden</title> </head> <body> <h1>403 - Forbidden</h1> </body> </html> 

[$url] => http://api.soundcloud.com/tracks.json?client_id=(YOUR SOUNDCLOUD CLIENT ID HERE)&q=Newb&offset=0&limit=10 

)

The key point to note is:
403 - Forbidden

For whatever reason, soundcloud is not letting your server contact it. Its not a problem you can solve by doing anything on your end. Your server appears to be banned.
michael
@michael
12/17/15 09:15:56PM
7,839 posts

No SoundCloud Tracks found


Using Jamroom

Got your login details. I can see that it is not working on your site.

Checks I did.
#1: I put your soundcloud credentials into my system to see if they worked, they did. This means your credentials are not the problem.

#2: I put my soundcloud credentials into your system. They did not work. This means it has nothing to do with soundcloud credentials.

#3: I downloaded your version of jrSoundCloud and put it on my server. It does work on my server. This points to there being no problem with the module although does leave space that it might be another jamroom function that could still be to blame.

Conclusion: My best guess at this point is the server. My guess is that your server is not letting the jrCore_load_url() function out to go and get the response from soundcloud.

I would have expected to see errors in the activity log showing this though. Firewall perhaps. Does your server have any server level logs, access or error? maybe some more clues in there.
michael
@michael
12/17/15 08:48:54PM
7,839 posts

Profile Tweaks not pointing to the selected page


Jamroom Developers

The Elastic skin has this in its profile_index.tpl (/skins/jrElastic/profile_index.tpl)
{* default index for profile *}

<div class="col9 last">
    {jrCore_include module="jrAction" template="item_index.tpl"}
    {jrComment_form module="jrProfile" profile_id=$_profile_id item_id=$_item_id}
</div>

Perhaps you want to put a list of something on that index page, use:

Docs:"{jrCore_list}"
http://www.jamroom.net/the-jamroom-network/documentation/development/89/jrcore-list

Whatever you put on that profile_index.tpl page will show as the default index page for that skin.
michael
@michael
12/17/15 08:45:51PM
7,839 posts

'Share This' at top of Page


Suggestions

Docs: "ShareThis"
https://www.jamroom.net/the-jamroom-network/documentation/modules/2598/sharethis

Let me know if there is something that needs to be added.
michael
@michael
12/17/15 07:38:52PM
7,839 posts

installing aparna modules on other sites


Using Jamroom

Id download the module so its in my IDE (probably already is anyhow), rename all the function names manually or with a replace function, re-upload it.

The datastore prefix isn't changing so should go smoothly.
michael
@michael
12/17/15 07:36:03PM
7,839 posts

'Share This' at top of Page


Suggestions

@perrie had the same question here:
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/36045/share-this-position-question

It is going to require template alteration.

The way the module system ties in with the skin system is that the skin system puts a (modules add your stuff here) location beneath the main details. That allows modules like the 'share this' module to get their stuff out to the page without any "To install this module, make these changes to your template....." type instructions.

Since you're not wanting it to come out where the other stuff is, you'll need to make the adjustments via the templates.

Instructions included in the other post.
  449