Forum Activity for @ultrajam

SteveX
@ultrajam
02/17/14 12:13:59PM
2,589 posts

CSS broken after update/migration


Jamroom Developers

Developer mode works like this:
Quote: Enabling the "Run in Developer Mode" option will change the information displayed in the "Info" tab for a module to include information about Module Triggers and Listeners, as well as force all template and cache items to be built on every access.

Warning: Enabling Developer Mode will make your system run much slower than normal!
Default: off

Template Variable: {$_conf.jrDeveloper_developer_mode}

That is in the inline help button next to the "run in developer mode" checkbox in jrDeveloper global config. It's the on/off switch which is the first item in jrDeveloper config and you need to check that box in order to run in developer mode. I count that as pretty good notification because I always read the inline help when installing a new module.

If you are already adding the files in meta then all is fine. You only add them through the core if you need them to be minified for you, (you can always add a pre-minified version if you want to reduce the number of calls from meta.tpl, there will be no comments removed).

The main benefit of adding them through the core is that when you format those comments correctly they are used to automatically add user editing of the css in the skin editor - that's the really cool part!!! Check it out! It's an awesome (and easy) way to make your 3rd party css editable in the jamroom acp.
updated by @ultrajam: 02/17/14 12:16:10PM
SteveX
@ultrajam
02/17/14 11:42:47AM
2,589 posts

CSS broken after update/migration


Jamroom Developers

For files with comments use css_href - then they aren't processed by the core, so you'd want to link to the already minified version. Either in meta.tpl {for a skin) or in a module function using jrCore_create_page_element:

    $_tmp = array('source' => "{$_conf['jrCore_base_url']}/modules/jrAction/contrib/mentions/jquery.mentionsInput.css?v={$_mods['jrAction']['module_version']}");
    jrCore_create_page_element('css_href', $_tmp);

I admit my initial reaction when I first came up against this was exactly the same as yours, but having now used the skin designer I think the trade off (slight inconvenience vs great functionality) is worth it.
SteveX
@ultrajam
02/17/14 07:54:53AM
2,589 posts

SOLVED - Hide or Delete past events


Design and Skin Customization

Different strokes for different folks, whatever works for you.

I'd remove past events from the jrCore_list pages using search="$smarty.now < $event_date". Then adapt Pauls module to only remove the media from the past event, and make a smarty function to go on each event detail page which shows a "Gig is done . Click here for current gigs" notice. That way you keep all the links to your gigs live (including the internal links in your activity streams), save the server space, and have all the historical data of user activity in case you ever need to have your site valued.
SteveX
@ultrajam
02/17/14 07:23:33AM
2,589 posts

SOLVED - Hide or Delete past events


Design and Skin Customization

All good stuff!

But what happens when you promote your gigs online, people find it and link to the event page, tweet it etc and then you delete the content after the gig?
People will stop linking to your site if they realise they are going to have a bunch of dead links to remove the day after the gig.

I guess you'll be making a very interesting 404 Not Found page to go with this! ;)
SteveX
@ultrajam
02/16/14 08:18:37AM
2,589 posts

ujCategories


Jamroom Developers

Sure Brian, if you can close this thread that would be great.
SteveX
@ultrajam
02/16/14 06:29:19AM
2,589 posts

Aparna Module and required fields


Design and Skin Customization

I tried deleting a profile name here and received the error:
Quote: You have entered an invalid value for "profile name" - value must be numbers, letters, spaces or punctuation and contain no HTML. and at least 3 character(s) long

I then clicked cancel, returned to the profile settings, and you are right the name doesn't show. But it is still in the database, and if you empty the form session table it reappears. So it looks like a form session cacheing problem.

This is on a slightly out of date dev site, logged in as admin. What versions are you running? Take a look in the db, empty the form session table and see if you see similar behaviour.
SteveX
@ultrajam
02/16/14 04:59:15AM
2,589 posts

Aparna Module and required fields


Design and Skin Customization

Take a look at the jrcore_form table in phpmyadmin, and check that the field actually has the value to start with. I dont think its possible that anything is being saved when clicking the cancel button.

Also, when I've been doing things with form designer and forms in custom modules I've been emptying the jrcore_form_session table between checking - you then need to refresh the form page.

Don't delete the fields in the jrcore_form table though, that will delete your form designer fields.
SteveX
@ultrajam
02/15/14 04:12:11AM
2,589 posts

How to re-arrange comment structure?


Design and Skin Customization

comment_form.tpl

Move the list div down below the form, and the comment_success div to wherever you want the success notice to appear.
<div id="comments">
    {jrCore_list module="jrComment" search1="comment_module = `$jrComment.module`" search2="comment_item_id = `$jrComment.item_id`" order_by="_created numerical_desc" limit="500"}
</div>
If your comment form is above the comments, you might need to change the order of the jrCore_list to suit.
SteveX
@ultrajam
02/14/14 10:39:23AM
2,589 posts

Free De La Soul downloads today 14th Feb


Off Topic

They were quite popular for a while.

Quote: Do I need this download to make my life complete?
Only if all that's missing in your life is a little more music, in which case: maybe!
  198