Forum Activity for @michael

michael
@michael
09/21/17 09:53:34PM
7,832 posts

Using ffmpeg to make audio and video sprites for a profile


Jamroom Developers

Did a related project recently where uploaded audio gets overlaid with "this is some site" type tagging using 'sox'.

It took the uploaded "this is some-site.com" audio snipit, added some seconds of silence to it, then grafted that together until it was long enough to exceed the length of any uploaded song.

Sent invite to the channel if you want to take a look for anything useful in there. sent to s....@u....e.com
michael
@michael
09/21/17 09:45:48PM
7,832 posts

How to display a Power User's details in profiles they create


Using Jamroom

Try:
{$_u = jrCore_db_get_item('jrUser', $_user_id)}
{debug}

--edit--
oops, clicked wrong button.

I setup a power user who created some profiles. This code was put in the profile_header.tpl file and displayed while looking at 'power-three'

The profiles were:
power
power-one
power-two
power-three

Where "power" was the home profile.
power.jpg power.jpg - 69KB

updated by @michael: 09/21/17 09:47:07PM
michael
@michael
09/21/17 09:12:32PM
7,832 posts

profile domains since core update


Installation and Configuration

try deleting the profile domains, then re-adding them.
michael
@michael
09/21/17 09:11:57PM
7,832 posts

How to restore a JR site with the Database backup file only?


Installation and Configuration

No files are going to be magically created from an SQL database backup. only the database state will be returned.

What custom modules did you have?
michael
@michael
09/21/17 09:10:13PM
7,832 posts

How to restore a JR site with the Database backup file only?


Installation and Configuration

pch:....If I understand you well, I should try to install a clean JR 6.1 site, add the JR 5.3.xx database backup to that JR 6.1 site (by completely deleting the JR 6.1 database and restoring the JR 5.3.xx database backup via phpMyadmin), then run the repair.php script. Right ?
....
yes. This is the SECOND thing that I would try.

The FIRST thing that I would try would be to import the database into phpmyadmin without deleting the existing stuff. There are going to be no-anything there already, and its already there, so I'd try it while the option to try is there. Since your next thing to try would be deleting it anyhow, you're not loosing anything.
michael
@michael
09/21/17 07:42:16PM
7,832 posts

How to restore a JR site with the Database backup file only?


Installation and Configuration

There is no foolproof step by step guide for the situation you're in.

First thing I would try is adding the database to a 6.1 site, then running the repair.php script

Docs: "somethings wrong what do I do"
https://www.jamroom.net/the-jamroom-network/documentation/problems/114/somethings-wrong-what-do-i-do

It might work, might not.

Good thing is you have the backup and can try as many times as you like.
michael
@michael
09/21/17 04:33:12AM
7,832 posts

How to make poll votes stop showing in timeline?


Using Jamroom

Only things you write should appear on YOUR timeline.

--edit--
Not seeing any option to share a VOTE to a timeline at all. Something custom you've added?

updated by @michael: 09/21/17 04:39:13AM
michael
@michael
09/20/17 05:47:36PM
7,832 posts

Proxima Bridge List Users


Proxima

The profile module does not have an item_index.tpl because you dont list profiles on a profile.

you list audio files that belong to the profile on a profile. You list blog posts of that profile on a profile........ but no profile has a list of profiles on a profile so it doesn't need an item_index.tpl file.

The bridge module is expecting that you're wanting to get things FROM a profile, not PROFILES.

But if you drop an empty file with the file name item_index.tpl into
/modules/jrProfile/templates/item_index.tpl

that hack allows the proxima bridge to work. not great but it works if you really need it.
michael
@michael
09/20/17 12:05:12AM
7,832 posts

Error: Query Error: Lock wait timeout exceeded; try restarting transaction


Installation and Configuration

I've tried uploading your video to my site:
https://hostsaba.com/one/video/9/long-hair-by-regular-user
https://hostsaba.com/admin/video/8/long-hair-video

and it plays for me in Firefox and Chrome, but gives me an error and wont play in Edge browser.
michael
@michael
09/19/17 11:15:10PM
7,832 posts

tinyMCE on Mobile Devices


Jamroom Developers

I tried 'form_view' listener first, but that didn't work, so move it to an earlier listener 'module_view' and that kicks in effectively.

Here is the super simple module ( zip attached )
xxMobileEditor.zip - 1KB
  184