Forum Activity for @michael

michael
@michael
01/13/15 07:48:39PM
7,832 posts

WYSIWYG Editor In Forum Comments - Intermittant


Ning To Jamroom

The editor is loaded after the page loads. Thats just how it works. If it doesn't load it could have other javascript interfering with it before hand.

If its just slow to load, its server response time, internet connection and computer speed that are the probable causes.
michael
@michael
01/13/15 07:47:04PM
7,832 posts

Call to undefined function mb_internal_encoding() in /home/talkuniversal1/public_html/modules/jrCore/include.php on line 75


Installation and Configuration

That means your server has php compiled without PHP support. Ask your hosting company to activate multi-byte support for PHP and the issue will be resolved.

Its a server issue.
michael
@michael
01/13/15 06:41:47PM
7,832 posts

Undeleting profile


Using Jamroom

There is no way to undelete a profile except for a server database backup being restored.

You can link user accounts to profiles from
ACP -> PROFILES -> USER PROFILES -> TOOLS -> LINK USER ACCOUNTS

You can create new profiles from the TOOLS page too, "Create a Profile"
michael
@michael
01/13/15 06:01:44PM
7,832 posts

2 simple questions about private messaging/following


Ning To Jamroom

Strumelia:...think of it like this:
When you follow someone, it's like giving them a business card that enables them to contact you. But you would need THEIR business card (a follow) from them in order for you to contact them.

Fantastic explanation.
michael
@michael
01/13/15 05:52:12PM
7,832 posts

CSS and Stylesheets


Design and Skin Customization

Quote: ...OK, that helps, thank you.
Just to clarify, there is no where in the JR backend where this file is accessible?
I can live with ftp uploads and external editing but some users (i'm thinking less techy Ning refugees) are going to find this hard...
The skin designer can make stuff available to less techy users by adding tags to their style sheet.

eg: In the jrElastic site.css file:
/skins/jrElastic/css/site.css
You will see doc block style headers:
/* @title Site Wrapper */
/* @help This is the wrapper for the Site Content */
#wrapper {
    margin:0 auto; /* @ignore */
    padding-top:72px; /* @ignore */
    background-color:#EEEEEE;
    padding-bottom: 12px;
}
Because those headers are there, then the admin user will be able to edit them in the STYLE tab of the skin.

The @help text will show as help. the @title will be the title. @ignore stuff will be ignored.
(screenshot)
So the designer can help out the non-techy users. All the CSS is available in the UNTAGGED tab even if the skin designer has not used that functionality.
screenshot_style_editor.png screenshot_style_editor.png - 71KB

updated by @michael: 01/13/15 05:53:35PM
michael
@michael
01/13/15 05:42:27PM
7,832 posts

A few remaining issues in member images galleries


Ning To Jamroom

thechocolatelife:
Why do I want to do an if/else if I want to do is just permanently change the existing URL?

Because you only want to change the url for the jrGallery module right?
michael
@michael
01/13/15 05:04:31PM
7,832 posts

jQuery


Jamroom Developers

If you wanted to add another file to the skins /js directory you can get it included in the main compressed .js file by adding that file to the skins include.php file.

eg:
/skins/jrElastic/include.php contains this in the include.php files _init() function:
// Register our Javascript files with the core
jrCore_register_module_feature('jrCore', 'javascript', 'jrElastic', 'responsiveslides.min.js');
jrCore_register_module_feature('jrCore', 'javascript', 'jrElastic', 'jrElastic.js');
That tells the core to include a 'javascript' file found at
/skins/jrElastic/js/
into the main file.

So the first line includes a file called responsiveslides.min.js
/skins/jrElastic/js/responsiveslides.min.js
The second includes:
/skins/jrElastic/js/jrElastic.js

You can add whatever you need. CSS files are added the same but from the /css directory. You will see examples earlier in that _init() function.
updated by @michael: 01/13/15 05:05:24PM
michael
@michael
01/13/15 04:50:41PM
7,832 posts

Construction Tab in Embed Local Media page


Using Jamroom

It is visible only for admin users.
updated by @michael: 01/13/15 04:50:53PM
michael
@michael
01/13/15 04:08:14PM
7,832 posts

jrPoll embed and jrUpimg_allowed


Jamroom Developers

SteveX:...In item_category_index.tpl
{jrCore_lang module="jrDocs" id="53" default="Documentation" assign="lang_documentaton"}
{jrCore_page_title title="`$lang_documentaton` - `$category` - `$profile_name`"}
lang_documentaton looks like a typo, although obviously it works ok....

That looks fine to me. Its just a variable name. "Take the language string for jrDocs #53 and assign it to a variable called $lang_documentation.". Right after that $lang_documentation is used. No issue.


SteveX:...
jrDocs_item_index_order_button
we get alt="" on an a tag, fails validation
Where is this? I couldn't find it. Thanks.

The others are fixed.
michael
@michael
01/13/15 03:50:37PM
7,832 posts

jrPoll embed and jrUpimg_allowed


Jamroom Developers

SteveX:
Ok, thanks Michael and Brian. :)

I’ve got a few notes on things I’ve noticed looking through code and validation. None of them are important or cause errors (apart from validation) so I’ll post them here rather than creating separate threads (unless you really want separate threads):

———————

In each of the the section templates, if there is no title entered <a id=""></a> is printed in the html which causes a validation error.
This can be fixed with a check:
{if $doc_title_url}<a id="{$doc_title_url}"></a>{/if}

———————

In item_category_index.tpl
{jrCore_lang module="jrDocs" id="53" default="Documentation" assign="lang_documentaton"}
{jrCore_page_title title="`$lang_documentaton` - `$category` - `$profile_name`"}
lang_documentaton looks like a typo, although obviously it works ok.

———————

jrDocs_item_index_order_button
we get alt="" on an a tag, fails validation

———————

And a typo in jrEmbed
The language string in en-US.php is
$lang[1]  = 'Embed this Media';
Whilst the default text in tabs.tpl is
<title>{jrCore_lang module="jrEmbed" id="1" default="Insert Media"}</title>

Separate thread not required, I'll go get these fixed up now. Thanks steve.

SteveX:...Also, I’m wondering if jrBlog may be missing a quota.php file - it was there as a stub until jrBlog-release-1.0.10 but hasn’t appeared in the past 3 releases. Maybe other code has changed and a quota.php stub is no longer needed?...

Yeah if its only the 'active' setting for quotas, you can skip the quota.php file and just use an _init() function.

This is the init function for jrPoll (It has a quota.php file too.) but _init() looks like this:

    // Let the core System know we are adding action, pending, max item and quota Support
    $_options = array(
        'label' => 'Can Create Polls',
        'help'  => 'If checked, users in this quota will be able to create Polls.'
    );
    jrCore_register_module_feature('jrCore', 'quota_support', 'jrPoll', 'on', $_options);

That translates into the config variable $_conf['quota_jrPoll_allowed'] .

Any additional fields needed would go into the quota.php file. Or if you can use the quota.php file to not use that register feature function. Think the reason was to avoid having blank functions in quota.php, but there might have been another reason. Can't remember off the top of my head.
  607