Forum Activity for @michael

michael
@michael
05/10/22 10:04:08PM
7,791 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,791 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,791 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,791 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.
michael
@michael
04/27/22 05:50:04PM
7,791 posts

Jamroom Installation Error (No tables being created)


Installation and Configuration

only thing that looks weirdish is that you're using nginx instead of apache2 other than that I would expect errors to be sent back from the install script during the install.

For absolute safety of expecting install to work I'd try Php: 7.4 with apache.

Here's my system install locally thats all working: (screenshot).

Also make sure you've set up a domain name in your /etc/hosts file. Jamroom doesnt run well on an ipaddress or 'localhost'.
check.png check.png - 169KB
michael
@michael
04/20/22 07:33:46PM
7,791 posts

Still Unable To Update Modules


Installation and Configuration

Do a manual upgrade. Something about the server you're on isn't co-operating with the jamroom marketplace system the permissions idea would be the correct way to fix it, but since that doesn't work you can download the latest version from here:

https://www.jamroom.net/products

Click "Download Open Source". Then un-zip that and use SFTP to upload it to your server. Over-write any files on the server and you will be upgraded.

After that run the integrity check from ACP -> MODULES -> CORE -> SYSTEM CORE -> TOOLS -> INTEGRITY CHECK

Then you can look at the ACP -> MODULES -> CORE -> SYSTEM CORE -> TOOLS -> SYSTEM CHECK to see if there are any orange lights for things that are not working on your server.

It could be that your server does not have 'symlink' enabled. Or something else, I'm just guessing.
michael
@michael
04/17/22 11:26:20PM
7,791 posts

Upgrading an ancient Jamrooom


Installation and Configuration

localhost is fine. All you're looking to do is get the data into a format that works with the current version.

I don't think I have even seen what JR2's sql data looked like. If you want to send the SQL file to support at jamroom dot net I can take a look at the structure you have to see if there are any shortcuts.
michael
@michael
04/17/22 06:57:14PM
7,791 posts

Upgrading an ancient Jamrooom


Installation and Configuration

another possible issue you might run into is PHP versions. I don't know what Jamroom2 required by Jamroom4 could only run on php 5.2 but JR5 needs 5.6+.

So likely you'd need either 2 servers to run the old site and the new.
  31