Forum Activity for @ultrajam

SteveX
@ultrajam
10/17/13 01:42:30PM
2,589 posts

function jrCore_counter


Using Jamroom

OK thanks Brian.

I just got an error when leaving this forum page. When clicking the >> Forum >> link in the breadcrumbs above I saw a white page with the error
Quote: CRI: Query Error: Duplicate entry '6-0-using-jamroom' for key 'view_unique'
SteveX
@ultrajam
10/17/13 07:44:44AM
2,589 posts

jrUser_online_status returning "invalid unique_id (3)"


Using Jamroom

jrUser_online_status in Elastic profile_header.tpl is printing
Quote: invalid unique_id (3)

updated by @ultrajam: 12/13/13 02:20:02PM
SteveX
@ultrajam
10/17/13 07:00:20AM
2,589 posts

Bug: Profiles created without a profile owner


Using Jamroom

I can see what causes this to happen.

Creating artists it is possible to create the artist and not assign a profile owner - this seems to mess things up a bit.

/profile/create
Name the artist.
Change the profile quota to Artists.
Click in the "profile owner" field but enter no text.
Click create.

The profile is created with no warning.
You get the warning if you don't click in the "profile owner" field:
Quote: You have entered an invalid value for "profile owner" - value must be a whole number greater than 0 (zero)

So clicking in that field and not entering text before submitting bypasses the validation in some way, allowing a messed up profile to be created.

Verified on Nova and Elastic
SteveX
@ultrajam
10/17/13 06:43:10AM
2,589 posts

Bug: Profiles created without a profile owner


Using Jamroom

*** Edit
Skip this top post, found the reason for this behaviour in the post below.

Quote:
On a new 5.1.0 install, just the core, jrAudio and jrNova as the skin.

Cloned the admin quota, renamed it Artists, then created 5 profiles on the Artists quota.

Uploaded a song for Artist1. It appeared on the admin profile.

Looked at the other artist profiles (1 to 5), and they all list the same song.

Tried it again with another song, the same thing happened. So I have the two songs showing on the admin profile, plus on all 5 artist profiles.

updated by @ultrajam: 12/13/13 02:18:43PM
SteveX
@ultrajam
10/17/13 05:48:22AM
2,589 posts

Marketplace 1.0.2


Using Jamroom

I just tried updating my local site using the market "update all", but got "invalid license received" after the jruser update.

I then updated all the items individually, and that worked without error.

Quote:
10/17/13 01:43:09PM 127.0.0.1 [Ultrabubble] : successfully updated skin jrProJamLight from version 1.0.4 to 1.0.5
10/17/13 01:43:00PM 127.0.0.1 [Ultrabubble] : successfully updated skin jrProJam from version 1.0.4 to 1.0.5
10/17/13 01:42:46PM 127.0.0.1 [Ultrabubble] : successfully updated skin jrFlashback from version 1.0.1 to 1.0.2
10/17/13 01:42:28PM 127.0.0.1 [Ultrabubble] : successfully updated module jrSearch from version 1.0.1 to 1.1.0
10/17/13 01:42:23PM 127.0.0.1 [Ultrabubble] : successfully updated module jrAction from version 1.0.1 to 1.1.0
10/17/13 01:42:18PM 127.0.0.1 [Ultrabubble] : successfully updated module ujIpsumJam from version 1.0.0b to 1.0.2
10/17/13 01:42:11PM 127.0.0.1 [Ultrabubble] : created global setting for jrUser module: signup_notify
10/17/13 01:42:11PM 127.0.0.1 [Ultrabubble] : successfully updated module jrUser from version 1.0.3 to 1.1.0
10/17/13 01:39:38PM 127.0.0.1 [Ultrabubble] : successfully updated module jrUser from version 1.0.3 to 1.1.0
10/17/13 01:39:35PM 127.0.0.1 [Ultrabubble] : installing all marketplace updates

No errors were written to the logs.
SteveX
@ultrajam
10/17/13 02:17:23AM
2,589 posts

New Updated forum module now supports categories


Announcements

The subforums are nice, but I quite liked having the single view of all posts.

Could there be an additional view showing all new/updated threads from all sub forums? It would save quite a few clicks for people who visit the forum often.
SteveX
@ultrajam
10/17/13 02:09:15AM
2,589 posts

function jrCore_counter


Using Jamroom

Looking at the jrCore_counter function in jrCore/lib/misc.php I see that it has $unique as a parameter, but that parameter isn't used within the function.

Is support for counting every view (ie not unique to the ip address) going to be added into the function or should I create my own function to do this?

Thanks

/**
 * Count a hit for a module item with user tracking
 *
 * @param string $module Module to check unique hit for
 * @param string $iid Unique Item ID
 * @param string $name Type of count to store
 * @param int $amount Amount to increment counter by
 * @param bool $unique Check IP Address if true
 * @return bool
 */
function jrCore_counter($module, $iid, $name, $amount = 1, $unique = true){
    // Our steps:
    // - check IP status of hitting user
    // - if user passes IP check, increment daily count
    $iid = intval($iid);
    if (jrCore_counter_is_unique_viewer($module, $iid, $name)) {
        return jrCore_db_increment_key($module, $iid, "{$name}_count", intval($amount));
    }
    return true;
}

updated by @ultrajam: 12/09/13 04:52:58PM
SteveX
@ultrajam
10/16/13 05:00:55PM
2,589 posts

New Updated forum module now supports categories


Announcements

I just revisited these forums, and the announcements forum showed as unread.

But the last post was the one above, nothing posted since.
SteveX
@ultrajam
10/16/13 04:33:00PM
2,589 posts

New Updated forum module now supports categories


Announcements

When posting a new thread in a forum (it was the suggestions forum, and the first thread which may be a factor), it showed the unread coloured button for the category on the main forum page ( http://test.jamroom.net/the-jamroom-network/forum ).

I had definitely read it because I had just written it.
updated by @ultrajam: 10/16/13 04:36:36PM
SteveX
@ultrajam
10/16/13 04:29:23PM
2,589 posts

Forum for questions about jamroom.net


Suggestions

Maybe a forum for questions about using / bugs seen whilst using jamroom.net itself.

I wanted to ask, what will happen to the old forum? Will it be merged with this one, or archived as the "old" forum?

But I didn't know where to post it, so I made this suggestion instead.
updated by @ultrajam: 12/06/13 08:39:15PM
  237