Forum Activity for @michael

michael
@michael
04/13/20 03:36:40PM
7,791 posts

Javascript Form Message


Jamroom Developers

If you're talking about in a form then you can use the 'error_msg' parameter to define your own custom message, eg:
    $_tmp = array(
        'name'      => 'profile_id',
        'label'     => 'profile name',
        'type'      => 'live_search',
        'help'      => 'Select the profile to reset the business settings for',
        'validate'  => 'not_empty',
        'required'  => true,
        'error_msg' => 'You have selected an invalid Profile - please try again',
        'target'    => jrCore_get_base_url() . "/{$_post['module_url']}/search_business_profiles"
    );
    jrCore_form_field_create($_tmp);

if you're talking about an alert style thing then:
jrCore_alert('this is an alert message, but pretty')

You've said JAVASCRIPT so you probably dont want
// set a notice in php
 jrCore_set_form_notice('error', 'invalid something');
// get any notices that were set
 jrCore_get_form_notice();
any of that useful, im not sure.
michael
@michael
03/27/20 09:36:53PM
7,791 posts

Downloading web image directly into a media file


Jamroom Developers

Take a look at the jrUrlScan module, it sounds similar to what you're after. It scans text to look for URL's and if it finds one it queues it up to have that page checked for any og:tags in the page in order to get images and info out of that location. The images are then saved locally.

The function that does the getting is jrUrlScan_update_url_card() in the include.php file.
michael
@michael
03/24/20 01:51:36PM
7,791 posts

How do I make custom modules show to all users ?


Using Jamroom

In your screenshots the 'logged in as user' screenshot shows no menu AT ALL. Its not just the 2 menu items you're interested in, the entire menu is not there for that user.

Check it on a non-customzed skin.
updated by @michael: 03/24/20 01:52:45PM
michael
@michael
03/20/20 12:57:43PM
7,791 posts

How do I make custom modules show to all users ?


Using Jamroom

I can see that url when logged out.

--edit--
Try changing to a standard jamroom skin and see if you can see it then.
updated by @michael: 03/20/20 01:02:53PM
michael
@michael
03/19/20 06:56:32PM
7,791 posts

How do I make custom modules show to all users ?


Using Jamroom

Create some content there.

Example: If the BLOG module is enabled for a profile via the quota system, but the owner of the profile has yet to create any blog posts, then the BLOG tab will not show to visitors of the profile.

WHY: Because visitors don't want to click around a profile just to see if there may be content there.
michael
@michael
03/15/20 08:02:25PM
7,791 posts

Admin page not showing correctly after login


Using Jamroom

Take a look over all the customizations you've done recently, chances are something is a bit wrong there.

If all that looks, ok, then change to a default skin and see if it works there. If it does that points to the issue being something you've customized.
michael
@michael
03/09/20 02:02:45PM
7,791 posts

users still not getting download


Using Jamroom

Have you tested your system? Does it work when you try it? Makes me think the "Instant payment notification" may not be setup at paypal.
michael
@michael
03/09/20 01:55:24PM
7,791 posts

jamroom player dose not show correctly when placed line 128


Using Jamroom

Could you paste the solution here so anybody else who comes along and reads this thread understands how it was solved. Thanks.
  70