Forum Activity for @michael

michael
@michael
12/23/17 12:26:16PM
7,823 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,823 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,823 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,823 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,823 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,823 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,823 posts

Christmas Decorations


Using Jamroom

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

snowing.jpg snowing.jpg - 631KB
michael
@michael
12/21/17 01:41:15PM
7,823 posts

Christmas Decorations


Using Jamroom

either of those locations would work. add it to one, then move it to a different one if its snowing in the wrong location.
michael
@michael
12/21/17 11:37:18AM
7,823 posts

Christmas Decorations


Using Jamroom

so what you want to do is put an id on the div you want the snowstorm to appear in. That id can be anything, (but make it one word with no weird characters or spaces and it must be unique to the page.) ideas for some acceptable examples:
id="snowstormArea"
id="the_snowstorm_section"
id="i_want_the_snowstorm_here"

like that......

Once that id is in place on whichever div you want to snow, then use that id in the snowstorm.js
  163