Forum Activity for @ultrajam

SteveX
@ultrajam
07/02/14 07:21:17AM
2,589 posts

pre tag in pages


Installation and Configuration

It might be better to have your guitar tabs in a field of their own rather than mixed in with the general text area. That way you can control the formatting of the tab separately.

You could also try getting rid of the br within pre tags using css.
Something like this might work:
pre br {
    display:none;
}
SteveX
@ultrajam
07/02/14 07:15:30AM
2,589 posts

Embed Audio


Using Jamroom

ujTogether isn't strictly a chat module, more collaboration, so cometchat is probably more suitable. It's been up there for quite a while now.
SteveX
@ultrajam
07/02/14 05:10:34AM
2,589 posts

Embed Audio


Using Jamroom

How about a custom form designer field on the blog post (visible to admin only). Custom field accepts an artist id.

Then, if the field contains an id, include a template above/below/alongside the blog post with a jrCore_list of all songs (or vids/photos/gigs/etc). Could be more of a featured mini profile alongside the blog post rather than a list of songs.
updated by @ultrajam: 07/02/14 05:11:22AM
SteveX
@ultrajam
07/02/14 02:45:04AM
2,589 posts

This forum stripping code tags on create thread


Using Jamroom

It didnt strip the code on this post though:
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/12198/php-error-log-bug

EDIT - Yes it did - the php was posted correctly, but all the html tags were stripped out of the php. The html tags are saved without being stripped out on an update.
updated by @ultrajam: 07/02/14 02:52:05AM
SteveX
@ultrajam
07/02/14 02:44:09AM
2,589 posts

php error log bug


Using Jamroom

The php error log shows the span tags and isn’t coloured correctly due to jrCore_entity_string() being used in the wrong place.
Existing code from line 5528 of jrCore/index.php:
            while ($cnt > 0) {
                $index = md5(substr($_er[$idx], 27));
                if (!isset($_ln[$index])) {
                    $level = str_replace(':', '', jrCore_string_field($_er[$idx], 5));
                    $_ln[$index] = "<span class=\"php_{$level}\">" . $_er[$idx];
                    $_nm[$index] = 1;
                }
                else {
                    $_nm[$index]++;
                }
                unset($_er[$idx]);
                $cnt--;
                $idx++;
            }
            $out = '<div id="error_log"><br>';
            foreach ($_ln as $k => $v) {
                $out .= jrCore_entity_string($v) . ' [x ' . $_nm[$k] . ']</span><br><br>';
            }

That is fixed by moving jrCore_entity_string to within the html:

             while ($cnt > 0) {
                $index = md5(substr($_er[$idx], 27));
                if (!isset($_ln[$index])) {
                    $level = str_replace(':', '', jrCore_string_field($_er[$idx], 5));
                    $_ln[$index] = "<span class=\"php_{$level}\">" . jrCore_entity_string($_er[$idx]);
                    $_nm[$index] = 1;
                }
                else {
                    $_nm[$index]++;
                }
                unset($_er[$idx]);
                $cnt--;
                $idx++;
            }
            $out = '<div id="error_log"><br>';
            foreach ($_ln as $k => $v) {
                $out .= $v . ' [x ' . $_nm[$k] . ']</span><br><br>';
            }

updated by @ultrajam: 09/03/14 02:33:36AM
SteveX
@ultrajam
07/02/14 02:06:39AM
2,589 posts

This forum stripping code tags on create thread


Using Jamroom

I've seen this a couple of times now, and it just again happened here: https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/12196/nova-typo

This forum strips things out after the opening code tag on create thread. Its fine on update and on following posts, just seems to be on creating a new thread.
updated by @ultrajam: 08/16/14 12:52:49PM
SteveX
@ultrajam
07/02/14 02:03:09AM
2,589 posts

Nova typo


Using Jamroom

The link still works (in FF) but there is a typo in Nova header_menu_desktop.tpl line 67 (PHP Error Logs link):
</a</li>

updated by @ultrajam: 08/17/14 04:04:54AM
SteveX
@ultrajam
07/02/14 01:56:13AM
2,589 posts

glDatePicker offset/position


Jamroom Developers

Quote:So the problem is jamroom is using an older version of some plugin that needs updating?
Not necessarily, I can't see any way of configuring the plugin within jamroom regardless of the version.

It isn't a problem, I've changed the 1.3 script to use position() and that works for my site.
SteveX
@ultrajam
07/02/14 12:49:49AM
2,589 posts

glDatePicker offset/position


Jamroom Developers

I cant really ask gl, they use the current version of the plugin which doesnt have the same problems, and which has documentation available.

You can control this on the current version, and probably on the older version, but not how its used in jamroom.

Also, there doesnt seem to be any copyright notice on the minified plugin or anywhere else in the jr5 core. The unminified version (which you can find in the archive branch on github) does state that the notice is required, and it does make gl easier to find.
updated by @ultrajam: 07/02/14 01:06:36AM
SteveX
@ultrajam
07/01/14 06:26:58AM
2,589 posts

glDatePicker offset/position


Jamroom Developers

This is the change I made, just changed offset to position in two places:
			// If calendar doesn't exist, make one
			if($("#"+calId).length == 0)
			{
				target.after
				(
					$("<div id='"+calId+"'></div>")
					.css(
					{
						"position":settings.position,
						"z-index":settings.zIndex,
						"left":(target.position().left), 
//changed from left":(target.offset().left),
						"top":target.position().top+target.outerHeight(true) 
//changed from "top":target.offset().top+target.outerHeight(true)
					})
				);
			}

updated by @ultrajam: 07/01/14 06:27:42AM
  142