Forum Activity for @michael

michael
@michael
05/24/22 01:30:45PM
7,717 posts

How do I use Templets from one skin to another.


Jamroom Developers

Players should be interchangeable with not so much difficulty I would expect but the rest of the skins are all custom, so in some cases it could be thought about as each is a book. and trying to grab a section of one book and put it into a location in another book might work but would take some re-writing to get the story to flow correctly.

We've had the idea for a while to create one base skin and just customize it via CSS but its not so easy to get things looking as diverse as they currently do.

The skins are more than just colors, they are the whole scaffolding of your site. The easiest way is probably to see if put in a project request to support and get a quote for one of the team to do it for you i reckon.

Or post a forum question for where you get stuck and we can help out a bit at a time.
michael
@michael
05/18/22 07:27:30PM
7,717 posts

Mass Deleting of Accounts


Using Jamroom

Not built in to the admin interface, but you can access the database directly via:
ACP -> MODULES -> DEVELOPER -> DEVELOPER TOOLS -> TOOLS -> DATABASE ADMIN

Where you can run SQL commands to delete big chunks at a time.

Very easy to destroy your system in this area though, so needs to be done carefully.
michael
@michael
05/18/22 01:49:28AM
7,717 posts

IP Address???


Using Jamroom

What shows in the popup modal when you click on the ipaddress? anything?

Can't ban on that in its current form so need to locate something else to ban against.
popup3.png popup3.png - 157KB

updated by @michael: 05/18/22 01:54:27AM
michael
@michael
05/18/22 01:18:37AM
7,717 posts

Upgrading an ancient Jamrooom


Installation and Configuration

I bet. "Why didn't you design it with mobile phones in mind first?" "Because mobile phones were just phones when this was built."

I'm downloading the SQL file now to see if there's anything salvageable in it.

--edit--
The jamroom_band_info table has very clean data that looks very importable into JR6.

The chart history looks like the largest table, its about 300MB of the 400MB total.

The jamroom_user table also looks like it has good clean information.

Paul is the one who knows the most about imports, I'll show these to him. Would you want to import the users and profiles?
updated by @michael: 05/18/22 01:38:10AM
michael
@michael
05/15/22 03:40:03AM
7,717 posts

Mass Deleting of Accounts


Using Jamroom

check the checkbox then click DELETE CHECKED USERS from DASHBOARD -> PENDING
pending.png pending.png - 295KB
michael
@michael
05/10/22 10:42:56PM
7,717 posts

Custom Video Tag Player


Design and Skin Customization

Here's the start of a module to get plyr going. Their git code is in the /modules/jrPlyr/contrib/plyr-master folder.

The work player code needs to go into /modules/jrPlyr/templates/jrPlyr_video_player.tpl

You can see that player on the web at:
http://yoursite.test/plyr/demo/video_id=2

Where video_id=2 is a video that exists on your site somewhere. substitute 2 for whatever video actually exists.

That should get you going, if you need it more fleshed out we have the "Sponsor a module" system:
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/4931/sponsor-a-module

To reduce development costs to whoever wants stuff that also benefits the community. Maybe of interest, maybe not.
jrPlyr.zip - 385KB

updated by @michael: 05/10/22 10:43:12PM
michael
@michael
05/10/22 10:04:08PM
7,717 posts

Custom Video Tag Player


Design and Skin Customization

There's two basic concept angles to come at it from:
1) include it as part of your skin.
2) create it as a stand alone module.

The first is probably simpler to get setup but not as flexible the second takes more effort to get setup but is much more reusable/distributable.

An example of it in a skin is: Take a look through the code base search for 'jrPost_video_action_player' You will find it in /skins/jrPost/include.php in the _init() function and also as a file in /skins/jrPost/jrPost_video_action_player.tpl

then in use like this
{jrCore_media_player type="jrPost_video_action_player" module="jrVideo" field="video_file" item_id=$item.action_item_id autoplay=false}
Thats an example of a skin over-ride of the player code with new player code.

(I haven't looked at this area in a few years)

The second method involves creating a module, i'll need to get refreshed on how this would work.
michael
@michael
05/08/22 06:09:27PM
7,717 posts

Custom Video Tag Player


Design and Skin Customization

Not sure the location your talking about, got a URL?

Almost everything is controlled by a template (.tpl files). These are mostly in your skin /skins/(your skin)/*.tpl

In some instances these can be in modules like this /modules/jrVideo/templates/some_template.tpl you can over-ride that by copying it to your skin and giving it the name /skins/(your skin)/jrVideo_some_template.tpl Use that naming convention to over-ride module templates with the custom version in your skin. You can then adjust that however you like and it will survive an update to the module.

--edit--
Then to locate which template is in use in a certain area of the system there's a developer tool at
ACP -> MODULES -> DEVELOPER -> DEVELOPER TOOLS -> GLOBAL CONFIG -> Template names in source.

Enable that then look at the source code to find out what template is in use.
updated by @michael: 05/08/22 06:10:51PM
michael
@michael
05/02/22 11:39:57PM
7,717 posts

wondering about the user data with profile info, template (follow me skin)


Design and Skin Customization

if you want 'user_group' its probably within the $_user array so to use it you'd put {$_user['user_group']}.
michael
@michael
05/02/22 03:22:47PM
7,717 posts

wondering about the user data with profile info, template (follow me skin)


Design and Skin Customization

This is the doc you're after

Docs: {debug}
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1477/debug

It explains how to use the {debug} function to get a popup of all the variables available to you in the template. Put that in and you'll see whats available.
  23