Forum Activity for @michael

michael
@michael
12/20/20 09:11:57PM
7,719 posts

phone version of tinymce text editor is limited?


Using Jamroom

That doesn't make sense.

--
I'm logged in as 'Chifmunk' on pennywhistle and do see the editor in the iPhone 8 simulator. Screenshot
chifmunk.jpg chifmunk.jpg - 160KB
michael
@michael
12/20/20 08:04:05PM
7,719 posts

phone version of tinymce text editor is limited?


Using Jamroom

It could be that something else is needed, im concerned that the:
...... disable_override=true}
is blocking it from working.
active.jpg active.jpg - 1.4MB
michael
@michael
12/20/20 06:12:44PM
7,719 posts

phone version of tinymce text editor is limited?


Using Jamroom

Looks like the details I have to login to your site as an admin user still work, is it OK for me to make the changes?

--edit--
On a side note, you have a lot of videos of playing the dulcimer, have you seen this software: soundslice.com

I've been using it to learn guitar and love the format of the keeping the score in time with the video so I can watch the finger movements. It can be integrated into websites and yours looks like a perfect fit if teaching songs is part of your sites goal.

--edit edit--
Attached a screenshot of the forums item_detail still showing the mobile block
mobile.jpg mobile.jpg - 2.9MB

updated by @michael: 12/20/20 06:22:15PM
michael
@michael
12/19/20 07:58:43PM
7,719 posts

phone version of tinymce text editor is limited?


Using Jamroom

That piece of code reads
* disable the side bar
then
* include the default item detail template

So your over-ride is overriding the default then including the default again after its turned off the side bar.

Fist thing to try is in the ACP -> MODULES -> (i forget the category, sorry) -> FORUM -> TEMPLATES -> item_detail.tpl -> MODIFY

Try adding HERE I AM!!! WHERE DOES THIS COME OUT?????, then SAVE
and see if that text appears on the forums location.

It might not because disable_override=true is set, but if it does then thats where to change. If it takes too long send the login details to support at jamroom ATTN; michael and along with a link to this thread and I'll get it fixed up.
michael
@michael
12/17/20 11:10:48PM
7,719 posts

Issue Tracker - Feature Request - External Bug Tracker Integration


Jamroom Developers

There's no reason you couldn't copy the jrTracker's function ( view_jrTracker_vcs_webhook() ) into your own module and use that to define your own triggers and actions.

The body of the view_jrTracker_create_save() function is the one that does all of the ticket creation so all the code needed to generate a ticket can be found in there. If you wanted to go that way.

That said, brian wrote the module so I've left a note for him to come take a look at this thread. He might want to include that in the module itself.
michael
@michael
12/15/20 07:55:33PM
7,719 posts

Block and unBlock of a User


Jamroom Developers

Changed the body of view_jrUser_block_save() to

    // Block a User
    if ($_post['mode'] == 'b') {
        jrUser_block($uid);
    }
    else {
        // UN-blocking a user
        jrUser_unblock($uid);
    }
from jrUser 2.9.3. Just needs to pass testing then will be in the next release.
michael
@michael
12/15/20 07:43:04PM
7,719 posts

Block and unBlock of a User


Jamroom Developers

The view_jrUser_block_save() function was added in 2016 and nothing has changed with it since. I think you'd be pretty safe copy+paste the innards to set the block.

SET THE BLOCK:
        // When blocking a user we set BOTH user and profile inactive and remove any sessions
        jrCore_db_update_item('jrUser', $uid, array('user_active' => 0, 'user_blocked' => 1));

        // Delete existing session and login cookie
        jrUser_session_remove($uid);

        $tbl = jrCore_db_table_name('jrUser', 'cookie');
        $req = "DELETE FROM {$tbl} WHERE cookie_user_id = '{$uid}'";
        jrCore_db_query($req);

        // Next - we need to get ALL profiles this user is linked to abd block the profiles
        $_pr = jrProfile_get_user_linked_profiles($uid);
        if ($_pr && is_array($_pr)) {
            foreach ($_pr as $pid => $user_id) {
                jrCore_db_update_item('jrProfile', $pid, array('profile_active' => 0));
                jrProfile_reset_cache($pid);
            }
        }

REMOVE THE BLOCK:

        // UN-blocking a user
        jrCore_db_update_item('jrUser', $uid, array('user_active' => 1));
        jrCore_db_delete_item_key('jrUser', $uid, 'user_blocked');

        // Next - we need to get ALL profiles this user is linked to abd block the profiles
        $_pr = jrProfile_get_user_linked_profiles($uid);
        if ($_pr && is_array($_pr)) {
            foreach ($_pr as $pid => $user_id) {
                jrCore_db_update_item('jrProfile', $pid, array('profile_active' => 1));
                jrProfile_reset_cache($pid);
            }
        }

If you're still feeling real nervous about it I'm sure we could separate those sections out into their own functions for next release.

--edit--
Actually, doing that is trivial, I'll get it added.
updated by @michael: 12/15/20 07:45:43PM
michael
@michael
12/14/20 06:27:23PM
7,719 posts

Any Override Options?


Jamroom Developers

You can over-ride a specific comment by use of a function, eg:
/somebody/comment/23
can be specifically addressed by creating a function:
profile_view_jrComment_23()
but I don't think that's what you're after here, you just want to run some type of catch to see if its a bot and throw it out if it is, so anywhere before the profile_view_jrComment_default() fires will work.

There's a listener that fires just before profile_view_jrComment_default() in the flow of things, its
'profile_data'

That looks to be the closest event.
michael
@michael
12/08/20 05:31:54PM
7,719 posts

Unable to initialize modules - verify installation


Installation and Configuration

ah, that would be why the error message reads "apache".

See what's in the error log, should give us a clue.
500_Internal_Server_Error.jpg 500_Internal_Server_Error.jpg - 395KB
michael
@michael
12/07/20 05:33:34PM
7,719 posts

Unable to initialize modules - verify installation


Installation and Configuration

Good place to check that's server related is, is 'mod_rewrite' enabled.

The expected flow is that any time any url is hit and the system is not found that mod_rewrite will redirect to the install.php location automatically, so if you're not turning up there automatically, that's my guess.
  45