Forum Activity for @michael

michael
@michael
01/13/15 04:08:14PM
7,839 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,839 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 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.
michael
@michael
01/13/15 03:44:34PM
7,839 posts

jrPoll embed and jrUpimg_allowed


Jamroom Developers

It was a typo. Fixed now in Polls 1.0.8. Its in the marketplace now.

Thanks Steve.
michael
@michael
01/13/15 03:33:47PM
7,839 posts

jrPoll embed and jrUpimg_allowed


Jamroom Developers

Thats an error. It should be jrPoll not jrUpimg. jrUpimg is a module for uploading images directly from the editor. Its unrelated to jrPoll.

We'll get that fixed up. Thanks.
michael
@michael
01/12/15 09:32:16PM
7,839 posts

A few remaining issues in member images galleries


Installation and Configuration

The stats is in profile_header.tpl and looks like this:
{capture name="template" assign="stats_tpl"}
{literal}
    {foreach $_stats as $title => $_stat}
    {jrCore_module_url module=$_stat.module assign="murl"}
    <div class="stat_entry_box">
	<a href="{$jamroom_url}/{$profile_url}/{$murl}"><span class="stat_entry_title">{$title}:</span> <span class="stat_entry_count">{$_stat.count|default:0}</span></a>
    </div>
    {/foreach}
{/literal}
{/capture}
{jrProfile_stats profile_id=$_profile_id template=$stats_tpl}

The capture section is the layout for each row. What it does is create a loop over each of the stats and link them to their url on the profile.

What you'll need to do to change the url is check for the one your interested in and create an IF/ELSE section.

eg:
{capture name="template" assign="stats_tpl"}
{literal}
    {foreach $_stats as $title => $_stat}
    {jrCore_module_url module=$_stat.module assign="murl"}
    <div class="stat_entry_box">
       {if $_stat.module == "jrGallery"}
    <a href="{$jamroom_url}/{$profile_url}/wherever/you/want/to/go/in/here"><span class="stat_entry_title">{$title}:</span> <span class="stat_entry_count">{$_stat.count|default:0}</span></a>
       {else}
	<a href="{$jamroom_url}/{$profile_url}/{$murl}"><span class="stat_entry_title">{$title}:</span> <span class="stat_entry_count">{$_stat.count|default:0}</span></a>
       {/if}
    </div>
    {/foreach}
{/literal}
{/capture}
{jrProfile_stats profile_id=$_profile_id template=$stats_tpl}

updated by @michael: 01/12/15 09:33:27PM
michael
@michael
01/12/15 09:23:42PM
7,839 posts

Home page CSS


Installation and Configuration

What you want to do is use Firebug. Its a free extension add-on for the FireFox browser that lets you fiddle with your site to figure out what needs to change.

Once you know what needs to change, then all that needs to be done is to make that change.

There are a few ways to use FireBug. One way is to use it to locate the class name of the section you want to change, then copy+paste that class name into the search box of the STYLE tab for the skin to locate the css to change.

Another way to use it is to find that class name directly in the CSS file in the file system, then change that and upload that change via FTP.

If you want a step-by-step walkthrough of firebug, this youtube vid looks pretty good.
The Firebug Tutorial Series: 01 - Introduction To Firebug

otherwise, that space between the "FAQs on useing the new site" looks to be put there by a double
<br><br>
not CSS. So look at the blog "item_action.tpl" file for over-rides.

The blog post seams to be controlled by the .blog-index-text class, but thats not in the STYLE tab because its unique to your skin.

If you need help locating something specific still, just reply and I'll try to help locate it.
updated by @michael: 01/12/15 09:24:26PM
michael
@michael
01/12/15 08:57:54PM
7,839 posts

line spacing in the Profile page "Bio" box still excessive


Installation and Configuration

Just a note:
When using the tinyMCE editor if you hit ENTER at the end of a line of text, it will put the next line into a new paragraph. However if you hold down shift and hit ENTER (shift+enter) then it will only put a line break.
michael
@michael
01/12/15 08:50:50PM
7,839 posts

Jb Servers Hosting , Are they still operational? My site is down and there not answering me


Jamroom Hosting

JB servers is not related to Jamroom. They were the recommended host for Jamroom 4. They used to be very active in the Jamroom forums, but are not affiliated with Jamroom.

Its a totally different company with different staff. You will have to contact them about the issue.

I do use a JB Servers reseller account personally and all my domains seam to be functioning normally.
updated by @michael: 09/03/15 09:43:46PM
michael
@michael
01/11/15 10:29:54PM
7,839 posts

Form Designer - Setup? Initialize?


Design and Skin Customization

Sure you can get rid of the signup questions, or change them to other questions. As to "What will happen?", its really up to you. What do you want to happen?

If it was me, I would view the situation like this:
* I have a bunch of data collected from users
* This info is displayed on their profile.
* I want to collect different data.

Seams like the question is: do I want to keep displaying the already collected info, or just hide it.

The form will collect the info, the template will display the info. What info you choose to display is totally up to you. You can collect it and not display it. Or you could check if it exists and only display it if it does.

Its your site, you get to decide. :)
michael
@michael
01/11/15 10:23:54PM
7,839 posts

searching seamless


Design and Skin Customization

Good idea. I've had the Site Builder in beta for a while and reported errors are very low. Im pretty sure as soon as its out of beta, all the errors I want to know about now will be reported as bugs.

Sometimes its just time to release.
  606