Forum Activity for @ultrajam

SteveX
@ultrajam
02/18/14 01:49:02PM
2,589 posts

Problem with google sitemaps


Off Topic

I've done the same, everyone knows impatience. Especially google - I think they play on that a bit with their secret alg-rhythms and strange black cube ships.

Nobody can tell you if you are being penalised apart from google, and google won't tell you.

Why? Because they want you to make the sitemap, use their stuff, and rely on them. They don't care if you don't, they have plaenty of users. So a marketing strategy, a bit like apple, playing on people being impatient, applying attention to the things they are impatient about, encouraging insecurity as a means of gaining mindshare. Getting onboard with that is optional, but a sitemap is not.

2014 you need a sitemap. Just in case a sitemap becomes essential in 2015.
SteveX
@ultrajam
02/18/14 01:15:48PM
2,589 posts

Jr Actions


Jamroom Developers

I'm sure Michael's advice is best, but if you dont have time to set up a debugging enviro today, use
fdebug( 'it didnt make it to here', $_user['quota_jrAction_allowed'] );
instead of breakpoints, then check the output in the debug log. I open the debug log in Console (Console is in applications/utilities on a mac, I keep it open most of the time). So add the debug (or a series of them), submit the form, switch to Console to see the fdebugs. Slow, yet quick and dirty at the same time, which can be nice sometimes. :)

Nate, can you post the code you are using to get the action data into the db? So the lines from the init function registering the action, and the lines in the form save function.

I've been testing some module stuff with actions today, so the files are still open in my editor.
SteveX
@ultrajam
02/18/14 07:53:26AM
2,589 posts

jrFollower typo


Using Jamroom

jrFollower/email_approve_message.tpl
Quote: (or cut and paste it an enter it into your browser address bar):

updated by @ultrajam: 04/08/14 08:21:08AM
SteveX
@ultrajam
02/18/14 06:24:20AM
2,589 posts

Problem with google sitemaps


Off Topic

Probably best to use a sitemap if you want to be indexed by google.
SteveX
@ultrajam
02/18/14 06:21:53AM
2,589 posts

Edit skin mobile design


Design and Skin Customization

You could use the css media queries.
SteveX
@ultrajam
02/17/14 04:00:41PM
2,589 posts

Show emails for each account


Jamroom Developers

user_email is available in an item_list template (jrAudio, jrEvent for sure), using {$item.user_email}.

I dont think it is available in jrProfile though, not sure why. Seems like it should be there.
SteveX
@ultrajam
02/17/14 03:06:50PM
2,589 posts

Show emails for each account


Jamroom Developers

You could add a custom field to the profile settings and use that in the template.

That would be better than using the signup email in most cases, and would be simpler to add to your templates as you can choose the quota in form designer - you don't need to check for quota in your profile template (unless you only want users on a certain quota to see the email address, you'd still need to do that in the template if needed).
SteveX
@ultrajam
02/17/14 02:43:24PM
2,589 posts

Jr Actions


Jamroom Developers

Is the action being created in the database?
SteveX
@ultrajam
02/17/14 02:13:34PM
2,589 posts

Jr Actions


Jamroom Developers

You need to run jrAction_save at the point where you want the action to be saved.

jrAction_save function takes these params:
function jrAction_save($mode, $module, $item_id, $_data = null, $profile_check = true, $profile_id = 0)

So you'd need something like this, after the db save and before you'd reset the profile cache:
    $_data['mycustom1'] = 'joe blogs';
    $_data['mycustom2'] = '23';
    $_data['mycustom3'] = 'normal mixes';

    // Add to Actions...
    jrCore_run_module_function('jrAction_save', 'create', 'myModule', $_data);

    jrCore_form_delete_session();
    jrProfile_reset_cache();

The $_data array is where you add your custom stuff, you can save anything you need and then use it in the action template, item_action.tpl:
<span class="action_my_custom_stuff">  {$item.action_data.mycustom1} uploaded {$item.action_data.mycustom2} {$item.action_data.mycustom3} today:</span>
SteveX
@ultrajam
02/17/14 12:35:23PM
2,589 posts

CSS broken after update/migration


Jamroom Developers

JR5 does standards very well. Using core skin features is optional, and that particular feature uses comments in css as a form of code.

Pretty soon (this year) we have variables in css (goodbye less and sass), but until then we have some of those in JR5 (some smarty works in those css files), plus the skin designer stuff as well.

If you need it all (ability to add css files with comments in, plus the skin designer capabilities) use the standards: add your css files in head as normal, then add an override stylesheet to the core to make some of those css rules user editable in the acp. Best of both worlds, plus a bit more. When you've tried it all out I am sure you will agree.
  197