Forum Activity for @ultrajam

SteveX
@ultrajam
10/12/18 01:06:55AM
2,584 posts

check out error


Using Jamroom

What error is written into the error log?
SteveX
@ultrajam
10/12/18 01:06:14AM
2,584 posts

mp3 import tool


Using Jamroom

https://viewdns.info/reverseip/?host=www.dubmusic.com&t=1
You share that memory with others, there are 938 websites on your server. Sometimes they will be using all the memory and your website won't work. Other times you will be using all the memory and their websites won't work.
SteveX
@ultrajam
10/11/18 02:03:56AM
2,584 posts

mp3 import tool


Using Jamroom

If the servers aren't overloaded why are they running out of memory?
SteveX
@ultrajam
10/10/18 01:13:53PM
2,584 posts

mp3 import tool


Using Jamroom

Not very much. Are you on an overloaded shared hosting server?

Are both of the accounts you tried this on with the same hosting?
SteveX
@ultrajam
10/10/18 12:51:19PM
2,584 posts

mp3 import tool


Using Jamroom

Then either the memory doesn’t really exist, or someone else is using all the memory at the time you tried to upload.
SteveX
@ultrajam
10/10/18 01:52:32AM
2,584 posts

limited profiles with premium modules


Using Jamroom

You'd need to build module which records what everyone reads to a datastore, then check that data against the date each time a user visits a blog post. If they pass the check show them the article, otherwise hide the article.
SteveX
@ultrajam
08/20/18 03:57:35PM
2,584 posts

creating an unlisted admin Page


Using Jamroom

brian:
Based on what you're looking for, why not just use a template?

:)
SteveX
@ultrajam
07/31/18 04:13:12AM
2,584 posts

X-Frame-Options header set in jrCore_send_response_and_detach()


Jamroom Developers

I want to allow profile owners to specify where a page from their profile can be embedded - whitelisted iframe embeds.

Currently I have to allow all pages throughout the site using jrCore_disable_xframe or none because of 'X-Frame-Options: SAMEORIGIN' being overridden in jrCore/lib/form.php jrCore_send_response_and_detach()

In my default view function I want to check HTTP_REFERER against the whitelist and set the X-Frame-Options header to allow the page to appear in an iframe.

So would it be possible to allow for a check in jrCore_send_response_and_detach to see if X-Frame-Options have already been set? There is already a check for Content-Type so it would work the same as that.

        if ($_tmp && is_array($_tmp)) {
            foreach ($_tmp as $header) {
                if (stripos($header, 'Content-Length') !== 0) {
                    header($header);
                    if (stripos($header, 'Content-Type') === 0) {
                        $cont = true;
                    }
                    if (stripos($header, 'X-Frame-Options') === 0) {
                        $xframe = true;
                    }
                }
            }
        }
        else {
            $_tmp = array();
        }
        if (!$cont) {
            header("Content-Type: text/html; charset=utf-8");
        }
        if (!isset($_conf['jrCore_disable_xframe']) && !$xframe) {
            header('X-Frame-Options: SAMEORIGIN');
        }

Thanks!
updated by @ultrajam: 11/01/18 10:23:31PM
SteveX
@ultrajam
07/31/18 01:16:57AM
2,584 posts

list chart by genre


Design and Skin Customization

Yes, you can use search and other jrCore_list parameters: https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/89/jrcore-list
Quote: search="audio_genre = Rock"
  5