Forum Activity for @brian

brian
@brian
04/12/14 08:51:05AM
10,169 posts

Invalid License?


Genosis

ukdenny:Tried to install from 'Bundles' but get the message 'Invalid license received from market place -please try again

This should be fixed for you now Dennis - let me know if you still have any issues.

Thanks!
updated by @brian: 12/29/14 09:23:55AM
brian
@brian
04/11/14 10:06:36AM
10,169 posts

New item details not showing


Jamroom Developers

Do you have a profile.php file in your module? If you do, rename or remove it. Sounds like there is a profile.php router taking over and it is not setup.

Hope this helps!
brian
@brian
04/11/14 08:38:24AM
10,169 posts

Custom form field attributes in form designer


Jamroom Developers

You can store that data in the "options" attribute (and set the default in the "default" attribute), and then if the user wants to change it they can modify it in the form designer by placing those attributes one per line in the "options" textarea.

However, in your _display() function you will get the options attribute there, and you need to explode on a newline, then go through each and make sure it is an allowed attribute, and substitute defaults where the value is not correct - i.e you will need to validate it in your function.

Let me know if that helps.
brian
@brian
04/11/14 08:02:54AM
10,169 posts

Custom form field attributes in form designer


Jamroom Developers

SteveX:Thanks Brian.

Should that also work for a jrCore_register_setting function in config.php?

I already had an attributes function, but I'm not seeing any attributes in the fdebug.

No - that's not going to work as a core setting (since that is saved to a different table) - what attribute are you trying to save for a core setting?

Thanks!
brian
@brian
04/11/14 08:01:53AM
10,169 posts

Question about: banned items module / media url scanner module


Using Jamroom

This has been fixed in User Account module 1.1.16 - update and let me know if you see any issues.

Hope this helps!
brian
@brian
04/11/14 07:44:23AM
10,169 posts

Question about: banned items module / media url scanner module


Using Jamroom

OK let me check out the ban ip issue and see what's up.

Thanks!
brian
@brian
04/11/14 07:03:03AM
10,169 posts

New item details not showing


Jamroom Developers

It should use item_detail.tpl - make sure you are constructing the URL correctly to the item - it should be in the format:

jrCore_base_url / profile_url / module_url / item_id / item_title_url

Hope this helps!
brian
@brian
04/11/14 07:01:43AM
10,169 posts

Question about: banned items module / media url scanner module


Using Jamroom

boplive:data/cache/jrMediaProLight/5858510a1783b3818920ea1f1179565e
.css 202.46.56.147 04/11/14 01:53:50AM n/a
Chinese IP

This CSS file is the main CSS file for your skin - do not remove it or mess with it. You can ban the IP if you want. Where do you see a 404 error?

Quote:does this only work on the timeline on a profile or can i use this to add to the seamless module or any lets just say the event module.

it works with any text on the site - i.e. comments, timeline, etc.

Hope this helps!
brian
@brian
04/11/14 07:00:12AM
10,169 posts

Cannot Install


Installation and Configuration

ukdenny:I still get the same error (after clearing my cache) I was unable to download this bundle to install manually either.

Hmm - I just installed here on a new install and don't see any issues - can you contact me at brian [at] jamroom [dot] net so I can check it out on your site?

Thanks!
brian
@brian
04/11/14 06:41:17AM
10,169 posts

Custom form field attributes in form designer


Jamroom Developers

For any additional attributes that you want to make available in your custom _display() function, you need to create a separate _attributes() function - all it needs to do is return an array of allowed attributes - i.e.

function jrCore_form_field_live_search_attributes()
{
    return array('disabled', 'readonly', 'maxlength', 'onfocus', 'onblur', 'onselect', 'onkeypress', 'style');
}

So that's the attributes function for the "live_search" form field type. The array that it returns are going to be the additional attributes that are allowed to be passed into the the jrCore_form_field_create() function. So you would create that function, and return the array of attributes you want to support - then you would use them like your second example above.

Hope this helps!
  747