Forum Activity for @michael

michael
@michael
06/17/15 10:24:27PM
7,839 posts

Additional Subscription Request


Suggestions

suggestion noted, we'll talk about it. Thanks. :)
michael
@michael
06/17/15 10:18:55PM
7,839 posts

Profile Layouts


Design and Skin Customization

That question isn't "How do I build a slider?" is it ;)

Same way as normal I reckon, an
{if $quota_id == 5}
// show the slider for quota 5
{/if}

In the profile_index.tpl file. Is that the question?

--edit--

Or if you have a ton of quotas and what a few completely different layouts, then build a few profile_index include pages and include them depending on the quota

{jrCore_include template="quota_specific_id_`$quota_id`.tpl"}
to include
quota_specific_id_5.tpl

updated by @michael: 06/17/15 10:21:15PM
michael
@michael
06/17/15 10:16:05PM
7,839 posts

last forum reply admin icons act weird


Installation and Configuration

Not really much for me to go on to provide suggestions. Check the server logs for any errors perhaps.
michael
@michael
06/17/15 10:14:38PM
7,839 posts

Audio Error


Installation and Configuration

The error that is triggering that to display is that the stream cant be found:
http://www.r-m-n.com/uploaded_audio/stream/audio_file/573/key=HqcupGeSYK2x/file.mp3

Quote:Error: Invalid media id - no data found

Seams like the file is not on the server. Check the server to see if the file exists and the server logs (not the jamroom ones, but the server logs) to see if there are any issues related to saving files to the file system. First guess, server is out of diskspace.
updated by @michael: 10/29/15 12:49:53AM
michael
@michael
06/17/15 10:10:57PM
7,839 posts

Language issue [SOLVED]


Design and Skin Customization

If you are logged in then it should be going to whatever you have set at:
your-site.com/user/account
michael
@michael
06/17/15 08:53:32PM
7,839 posts

(Allow HTML ) TAGS


Using Jamroom

Its not allowed. Its a security risk. If you want to build a module to do it you can. Suggest calling it "xxAllowHackers" as that's what your trying to do.

Here's the code to put in your include.php file if you want to build that module.
<?php
/**
 * @copyright nobody
 */

// make sure we are not being called directly
defined('APP_DIR') or exit();

/**
 * meta
 */
function xxAllowHackers_meta()
{
    $_tmp = array(
        'name'        => 'Allow Hackers',
        'url'         => 'allowhackers',
        'version'     => '1.0.0',
        'developer'   => 'nobody',
        'description' => 'DANGER: This module makes it possible for users to add script to html input locations.',
        'category'    => 'site',
        'license'     => 'mpl'
    );
    return $_tmp;
}

/**
 * init
 */
function xxAllowHackers_init()
{
    jrCore_register_event_listener('jrCore', 'html_purifier', 'xxAllowHackers_html_purifier_listener');
    return true;
}

function xxAllowHackers_html_purifier_listener($_data,$_user,$_conf,$_args,$event)
{
    if (jrCore_module_is_active('xxAllowHackers')) {
        $_data->set('HTML.Trusted', true);
    }
    return $_data;
}

Its not a good idea. Put the script into the templates.
michael
@michael
06/17/15 07:02:01PM
7,839 posts

invalid search criteria in jrCore_db


Installation and Configuration

The issue is triggered by clicking the play button here:
http://www.r-m-n.com/power-rock-podcast/uploaded_audio/573/power-rock-podcast-interview-with-steve-boyles-and-jay-cee-of-american-bombshell

The song does not play. Try re-uploading the song.

--edit--

When looking at the streaming url for the song:
https://r-m-n.com/uploaded_audio/stream/audio_file/573/key=YfRiIokl1hra/file.mp3
It returns:
Quote:Error: Invalid media id - no data found

Seams like the song not being there is the base cause of the issue. Any idea as to why the songs not making it to the server? or being deleted from the server?
updated by @michael: 06/17/15 07:08:21PM
michael
@michael
06/17/15 02:58:56AM
7,839 posts

Problem Using The Meta Tag Manager


Using Jamroom

Your right, there is a problem when the amount of data input gets bigger than the field expects to contain.

we'll get this fixed up.

Thanks for finding it, sorry for the trouble.
michael
@michael
06/17/15 12:20:14AM
7,839 posts

(Allow HTML ) TAGS


Using Jamroom

I've located the source of the issue and its the HTML purifier. It requires an additional setting:
$config->set('HTML.Trusted', true);

to say that the incoming script is from a trusted source for it to let 'script' through. I'm not sure that's something we want to add in to the core system as the input is coming from users.

The site admin could always add any script they want to the templates and have it work, but this is from users.

Here's where the solution was found:
http://stackoverflow.com/questions/4135755/how-do-i-allow-script-object-param-embed-and-iframe-tags-in-htmlpurifier

need to check with the others to see if we will add this in. You need to understand that dangers are involved.
http://stackoverflow.com/questions/28857774/is-it-dangerous-to-allow-users-to-add-javascript-code-in-a-page-thats-supposed
Q:
Quote:Is it dangerous to allow users to add javascript code in a page...?
A:
Quote:If they are entering JavaScript code which you will then store and include when showing a page to other users, then yes, it's a security hole. It means that they can do anything you can do on that page, in the context of someone else's user account; this could be used to steal information from other users, etc....
michael
@michael
06/16/15 10:53:31PM
7,839 posts

last forum reply admin icons act weird


Installation and Configuration

soaringeagle:...wish someone would look into why my server locks up when i try to verrify the forum module in the inntegritycheck..

That sounds like a more serious issue. I usually only see the integrity check get stuck on an item when I am in the process of building that module and have made a mistake in the code that can't be processed.

Quite hard to locate the source of that issue without a debugging system setup but since we dont have that.... are there any errors in the error logs (I wouldn't expect any in the jamroom error log but there might be some in the server error logs right after the integrity check is run.)
  523