Forum Activity for @michael

michael
@michael
08/01/21 06:33:03PM
7,816 posts

Make white blocks transparent.


Design and Skin Customization

Its probably in list.css, you can also use the "Search Selector" field under STYLE -> BASIC RULE EDITOR -> SEARCH SELECTOR to type in "item" and then look for the one that has ".item"

Alternatively in the Custom Editor at
STYLE -> CUSTOM EDITOR -> CUSTOM CSS
enter
.item{
 background-color: transparent;
}
michael
@michael
07/29/21 09:39:13PM
7,816 posts

Found bug in metatag module


Design and Skin Customization

The facebook debugger is reporting that page's og:image is fine, its complaining you're missing other different tags.
face.jpg face.jpg - 1.6MB
michael
@michael
07/29/21 01:53:13AM
7,816 posts

Found bug in metatag module


Design and Skin Customization

We've updated the meta.tpl in the next version of the jamroom skins, the change is:
{if isset($meta)}
{foreach from=$meta key="mname" item="mvalue"}
<meta name="{$mname}" content="{$mvalue}">
{/foreach}
{/if}
got changed to this:
{if isset($meta)}
{foreach from=$meta key="mname" item="mvalue"}
<meta name="{$mname}" property="{$mname}" content="{$mvalue}">
{/foreach}
{/if}
michael
@michael
07/27/21 06:41:06PM
7,816 posts

M3U parsing?


Off Topic

ah, gotcha. Yeah that will take some experimenting.

One issue you'll have is that the .m3u file and all the files it points to are probably all in the same directory, something like
list.m3u
file1.mp3
file2.mp3
file3.mp3

but those files are not inside jamroom, so I think you'd need to build a way to import them into jamroom and during that import system you could use the values in the .m3u file to build some jamroom playlists.

You might also consider making a module that takes a jamroom existing playlist and exports it to .m3u.

Just ideas.
michael
@michael
07/27/21 03:30:07AM
7,816 posts

How to easily figure out which .tpl to edit?


Design and Skin Customization

Here's some generalizations of where things could be:

site.com/avacardo
if there is a module that uses the module url 'avacardo' then the template that shows that page will most likely be
/modules/xxAvacardo/templates/index.tpl
But if there is no module then the template will probably be at
/skins/(YOUR SKIN)/avacardo.tpl

if the URL is on a profile then its probably controlled by a module, so if the url is
site.com/michael/avacardo
then the template will most likely be
/modules/xxAvacardo/templates/item_index.tpl
but that could have an over-ride template in place at the skin level, so if
/skins/(YOUR SKIN)/xxAvacardo_item_index.tpl
that will be over-riding the modules version.

if there is a number in the URL on a profile then you're likely not looking at a list, but at the DETAIL page of a single item, eg
site.com/michael/avacardo/24
then the template will likely be
/modules/xxAvacardo/templates/item_detail.tpl
but could have an over ride at
/skins/(YOUR SKIN)/xxAvacardo_item_detail.tpl

--edit--
ah yeah on that URL the template names is not so much help. What you have here:
https://example.com/forum/activity/10/username/p=2

is the forum module, so jrForum and the page we're looking at has another / after the module name so its most likely a function. the visibile functions are stored in the index.php file of a module, so
/modules/jrForum/index.php
is the file, then the function name is /activity/ so open that file and look for
function view_jrForum_activity() to see whats going on with the page.
updated by @michael: 07/27/21 03:34:26AM
michael
@michael
07/27/21 01:32:14AM
7,816 posts

How to easily figure out which .tpl to edit?


Design and Skin Customization

Why doesn't it help much, it should take you right to where you want to go.

For me the way I like to edit the templates is not from within jamroom at all, I like to do it from an editor that works on my computer.

I store a copy of my website on my computer and the software keeps the two in sync. I use "PhpStorm" but if you're only editing occasionally it might not be the best for you.

When I want to figure out what template I need to be working on I find some code that looks unique-ish on the page, usually a class="something-unique-looking" then do a search with phpstorm for "something-unique-looking" to see which-of-all templates it could possibly be.

If I'm lucky there are only 2 or 3 location, from there if I dont know which one it is I'll write something to all of them

class="something-unique-looking 111"
class="something-unique-looking 222"
class="something-unique-looking 333"

Then go look again to see which one shows up on the page I want to know about. if its 222 then I know thats the location to edit.

Also another thing to turn on when making edits is DEVELOPER MODE so you dont need to reset the caches each time. its at
ACP -> MODULES -> DEVELOPER -> DEVELOPER TOOLS -> GLOBAL CONFIG
developer.png developer.png - 62KB
michael
@michael
07/26/21 06:48:16PM
7,816 posts

M3U parsing?


Off Topic

There is a playlist module in jamroom, its called "Playlists"
https://www.jamroom.net/the-jamroom-network/networkmarket/56/playlists

The way it works is when someone is logged in to jamroom and they are browsing your site and they locate a song they like, they click ADD TO PLAYLIST button then create a new playlist or add it to an existing one. Then those playlists will show on their profile.

Its not an M3U playlist. Im not sure how an M3U playlist would work within jamroom now since files are not uploaded via FTP anymore.

How are you hoping an M3U playlist would work?
michael
@michael
07/22/21 08:30:23PM
7,816 posts

Family Tree API


Genosis

That sucks, I was interested to see what you were going to build.

Time to change hosting companies if they don't provide backups.

Thanks for trying Jamroom.
michael
@michael
07/21/21 07:28:59PM
7,816 posts

Unable to process your request


Using Jamroom

Check your ERROR LOG and ACTIVITY LOG to see what the error is.
michael
@michael
07/19/21 06:56:05PM
7,816 posts

What is highest PHP version for Jamroom 4 ?


Installation and Configuration

php 5.2 is the last one that ran Jamroom 4 correctly. Something changed in php that screwed up the Newsletter system if I recall correctly.
  44