Forum Activity for @michael

michael
@michael
09/10/20 10:04:48PM
7,816 posts

Custom CSS for each page


Design and Skin Customization

Docs: "Skin Design Guide"
https://www.jamroom.net/the-jamroom-network/documentation/skin-design-guide

First thing to do is to make your own skin, probably best to start by cloning an existing one.

Then in that skin you can add .css file to the /skins/YOUR-SKIN/css folder and adding that in to the include.php file so its active.
michael
@michael
09/08/20 06:31:47PM
7,816 posts

Disappearing Edit/Delete Icons In Comment Boxes (again)


Using Jamroom

Correct.

The order of over-rides from memory goes:
* (template, say ) item_list.tpl
* if there is a change at ACP -> MODULE NAME -> TEMPLATES -> item_list.tpl ->MODIFY ( this over-rides the above )
* if there is a template copied from /modules/(module name)/templates/item_list.tpl to /skins/(your skin)/jrModuleName_item_list.tpl ( this over-rides anything above )
* if there is a change at ACP -> SKINS -> TEMPLATES -> jrModuleName_item_list.tpl -> MODIFY ( this over-rides anything above )

So if I was building the site you'd find all of the changes in the files at /skins/(here) and I would never use the ACP for changes. But its a choice. If I was not setup for development the the ACP changes are quicker and you can use the compare to compare it against newer changes, but it means there's more places to check when you want to make a change.

In those cases I'd use the "WHERE IS THIS DDDDDDDDDDDDDD" technique. make a change and see if it comes out where I think it should. If it does, im editing the right template.
michael
@michael
09/07/20 11:28:31PM
7,816 posts

Disappearing Edit/Delete Icons In Comment Boxes (again)


Using Jamroom

For you on your site the cause of the issue was a module override at:
ACP -> ITEM FEATURES -> TEMPLATES -> item_list.tpl -> MODIFY

Because an over-ridden version of the modules code was being used, the update that got put in place to fix the issue was not applied to the modified template.

I've added the modules code into the modified template so it does work now.

The code on line 62 was:
<script>$(function () { $('#cm{$item._item_id}').hover(function() { $('#bc{$item._item_id}').toggle(); }); });</script>
its now
<script>$(function() { var bc = $('#bc{$item._item_id}'); $('#cm{$item._item_id}').hover(function() { bc.show(); }, function() { bc.hide(); } ); }); </script>

Should be good to go now.
michael
@michael
09/07/20 11:11:18PM
7,816 posts

Disappearing Edit/Delete Icons In Comment Boxes (again)


Using Jamroom

it is what I thought it was, the code on the buttons looks like this:
$(function () {
    $('#p{$item._item_id}').hover(function () {
	$('#m{$item._item_id}').fadeToggle('fast');
    });
});

But needs changing to this type of structure
$(function() {
    var mid = $('#m{$item._item_id}');
    $('#p{$item._item_id}').hover(function() {
		mid.fadeIn('fast');
	    }, function() {
		mid.fadeOut('fast');
	    }
    );
});

The first one reads: when the cursor hovers over this block toggle its visibility. But since its showing toggling it means hiding it.

That needs changing to: when the cursor is over this block show it, otherwise hide it.

Still need to locate where that code is in your site so its not fixed yet.
code.jpg code.jpg - 894KB
michael
@michael
09/07/20 01:53:06AM
7,816 posts

Disappearing Edit/Delete Icons In Comment Boxes (again)


Using Jamroom

I know what this is, your skin may need a tweak. Send us an email to support at jamroom dot net along with the logins to your site and a url to where you see it happening and I'll get it fixed up.

The issue was that the code was something like "on hover then toggle" from invisible to visible. which is fine if your cursor is off the page when the page is refreshed.

The issue arises when your cursor is over the buttons when the page is refreshed. in that case the toggle causes the opposite and hides it when you want to click.
michael
@michael
09/07/20 01:42:31AM
7,816 posts

my custom jrXCommentDelete module stopped working


Using Jamroom

don't delete anything else, we'll take a look at the module's code. something may have changed.
michael
@michael
09/06/20 07:16:54PM
7,816 posts

How do I delete missing media file from the player ?


Using Jamroom

Delete it from the profile then reset the caches.
michael
@michael
09/05/20 04:28:59PM
7,816 posts

Mobile Device Friendly Version


Using Jamroom

Browsers have developer tools built into them. for Firefox you hit F12 to open them, then there is a mobile button to simulate a mobile device.
mobile.jpg mobile.jpg - 1.8MB
michael
@michael
08/29/20 09:02:17PM
7,816 posts

I cant access URL from mobile device


Using Jamroom

I can access it from safari on iphone 8 simulator.
iPhone_8__13_6_.jpg iPhone_8__13_6_.jpg - 1MB
michael
@michael
08/29/20 08:56:35PM
7,816 posts

Multiple skins with one database


Using Jamroom

If you don't symlink the conf.php file then each of the sites can have their own base_url set in there.

symlinking the data directory seams like it would work. Hard to know without doing it then seeing what happens, then going from there. Take a step, debug, take another step. Unless someones built what you're building before the answers may be slim.
  58