Forum Activity for @michael

michael
@michael
04/08/17 04:54:47AM
7,826 posts

Query Error: Field 'tree_notes' doesn't have a default value


Genosis

That doesn't seam related to "Field 'tree_notes' doesn't have a default value", seams like a separate issue.
michael
@michael
04/07/17 02:34:16AM
7,826 posts

Custom Module Libs


Jamroom Developers

Take a look over the codebase, you will see require_once used in a lot of places, eg:
require_once APP_DIR . "/modules/jrBackup/contrib/S3/S3.php";

The normal place to put libraries and external packages is in the /contrib/ folder of the module.

a common pattern used in multiple places is to see if the function you're after exits, if it doesn't but you expect it to be there, include the file, then recheck for the function eg:
        $func                        = "{$show_skin}_skin_init";
        if (!function_exists($func)) {
            require_once APP_DIR . "/skins/{$show_skin}/include.php";
            if (function_exists($func)) {
                $func();
            }
        }
michael
@michael
04/06/17 11:15:25PM
7,826 posts

The Video play button don't show


Using Jamroom

Douglas will know where to look, lets wait for him. :)
michael
@michael
04/06/17 08:17:53PM
7,826 posts

The Video play button don't show


Using Jamroom

Looks like you've customized the skin for the uploaded_videos. Try reverting whatever changes you made to default, then re-do your changes checking every step that the play button is still there.

Your site is totally under your control, so it is possible to break it. In order to know how to fix it its necessary to know what has been done. Then the solution is to un-do that.
michael
@michael
04/06/17 08:04:41PM
7,826 posts

Phasing out Oneall Login


Installation and Configuration

just turn it off. Their email address should be listed on their profile. They can use the FORGOT PASSWORD feature on the login screen to be sent a password reset email.

May want to send out a newsletter first saying thats whats going to happen.
michael
@michael
04/06/17 05:34:02AM
7,826 posts

Ability to use 2 jamroom sites connected to same database and file storage directories?


Using Jamroom

If you did get the database connected, how would you handle file system files? If you uploaded a song to siteA it would be at
siteA.com/data/1/(profile_id)/song_file.mp3

So when SiteB tried to retrieve it thinking that it is at
siteB.com/data/1/(profile_id)/song_file.mp3

Its not going to be there.

It may be possible to do what you're after but probably nobody has done it before you to be able to answer questions.
michael
@michael
04/05/17 06:16:58PM
7,826 posts

Adding NoFollow tag to Flickr photos


Design and Skin Customization

yes, very easily.

Just need to locate the template that is responsible for outputting that link, then change it.

locating it is going to be the part that takes the most effort. What I normally do is try to figure out if its a list, or if its a detail page.

List templates are in the module's item_list.tpl file and detail pages are in the modules item_detail.tpl.

From there I will take a guess at which it might be and put a sentence in the template to see if I can identify it: WHERE DOESE THIS COME OUTH????????? (spelling mistakes and all, its just to identify the location)

Docs: "Altering a Modules Template"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1051/altering-a-modules-template

Docs: "Using the Template Editor"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/3183/using-the-template-editor

See how you go, if you get stuck a url would help.
michael
@michael
04/04/17 07:45:45PM
7,826 posts

save changes button


Using Jamroom

try running the integrity check.
  238