Forum Activity for @michael

michael
@michael
12/24/17 11:58:14AM
7,826 posts

Cyber Monday - up to $200 off Jamroom Premium and Pro!


Announcements

nope not seeing kittens steve. what is the URL of the kitten. is it coming from jamroom.net?

--edit--
Merry christmas @mm Nice logo! :)
updated by @michael: 12/24/17 11:58:50AM
michael
@michael
12/23/17 12:57:06PM
7,826 posts

Create New Jamroom Site refreshes to home page


Jamroom Hosting

Brian's quick to the solution as usual. it was a "referrer" of same-origin meta tag added to the site header for security reasons recently that caused the issue.

Should be working now.

Thanks
michael
@michael
12/23/17 12:26:16PM
7,826 posts

Create New Jamroom Site refreshes to home page


Jamroom Hosting

what the hell.... I see it too.

Thanks.
michael
@michael
12/23/17 12:03:49PM
7,826 posts

Reordering Threaded Comments


Jamroom Developers

The other option is for us to adjust the jrComment_db_search_items_listener to add a way to tell it to not fire. Which we could do if there was a clean place to do it.

You could also fire your listener after that listener and give it a lower priority so you know it fires last, but that would mean the comments listener fires and does all its processing, so you'd be doing it twice.

Your goal is to have a way for that listener NOT to fire (as I understand it).

Having a module working, but turning off part of it via another module might need a bit of creative thinking to get you there. :)

The above is not a recommendation, but just a suggestion of a possible angle that might work.

See what you come up with.
michael
@michael
12/22/17 04:38:52PM
7,826 posts

Reordering Threaded Comments


Jamroom Developers

looks to me like one angle would be to find a way to remove the jrComments_db_search_items_listener from firing, then fire your own in its place.
instead.jpg instead.jpg - 752KB
michael
@michael
12/22/17 03:45:25PM
7,826 posts

Reordering Threaded Comments


Jamroom Developers

your question is how to change jrComment_thread_comments to that structure?

If it is, I would say dont bother, replace that template call with your own modules comment system. Take whatever you need from jrComment and create a new module tgHybridThreadedComments_comments() or whatever.

That would give you more freedom to build as you like. You can always import the existing comments into your own modules datastore, or write to jrComments datastore direct, whichever suits.
michael
@michael
12/22/17 12:00:45PM
7,826 posts

The Meaning of "updated" in lists?


Using Jamroom

from jrCore 6.1.6 going forward, the listener will only need to be this:
/**
 * Increment the _update key when a comment is added
 */
function xxAudioOrder_db_increment_key_listener($_data, $_user, $_conf, $_args, $event)
{ if (isset($_data['key']) && $_data['key'] == 'audio_comment_count') { $_data['update'] = true; } return $_data; }
because the position of the listener has been moved to before the update so only 1 query now needs to be run which will be quicker.
michael
@michael
12/22/17 11:21:18AM
7,826 posts

Create New Jamroom Site refreshes to home page


Jamroom Hosting

The redirect should be going to 'referrer'
jrCore_location('referrer');

If you're dropping to the top level then somethings not working with the referrer. Guess: many tabs open. browser cookie blocker of some sort. .... ??

Just tested here in the other direction from a real domain back to .jamroomhosting.com domain MAKE ACTIVE and landed on the same page after.
after_make_active.jpg after_make_active.jpg - 268KB
michael
@michael
12/21/17 08:12:56PM
7,826 posts

Christmas Decorations


Using Jamroom

try adding this to your css:
#snowstormArea {
    display: block;
    position: relative;
}

snowing.jpg snowing.jpg - 631KB
  163