Forum Activity for @ultrajam

SteveX
@ultrajam
05/10/14 12:35:11PM
2,589 posts

can i add a page to a module?


Using Jamroom

You'd just check the $_post as normal.

So you could use
if ($_post['month'] == "April") {
// do this...
// your code here:
}

Or check for $_post['_1'], $_post['_2'] etc.

Check out the docs on reading the post if you havent read them already:
https://www.jamroom.net/ultrajam/documentation/code/1683/reading-the-post
SteveX
@ultrajam
05/10/14 11:58:38AM
2,589 posts

Stats for site visits


Design and Skin Customization

Your skin (whichever it is) is taking care of displaying your stats to the site visitor. So look through your skin for the relevant smarty, css, html and php relating to stats.

In Nova skin config you have Show Stats which switches showing of stats on and off.

All stats registered by modules are available in the skin template in the $_stats variable, Nova reaches that using {foreach $_stats as $title => $_stat} so each stat is listed in a span with $title and $count.

In jrNova stats are output using a capture assign (from index.tpl):
{* SITE STATS *}
    {if isset($_conf.jrNova_show_stats) && $_conf.jrNova_show_stats == 'on'}
        <div class="row">
            <div class="col12 last">
                <div class="inner">
                    <div class="inner leader">
                        <span class="capital">{jrCore_lang  skin=$_conf.jrCore_active_skin id="42" default="stats"}</span> -
                        {capture name="template" assign="stats_tpl"}
                            {literal}
                                {foreach $_stats as $title => $_stat}
                                <span class="media_title">• {$title}: {$_stat.count}</span>
                                {/foreach}
                            {/literal}
                        {/capture}
                        {jrCore_stats template=$stats_tpl}
                    </div>
                </div>
            </div>
        </div>
    {/if}
It is also used in profile_header.tpl to display the profile stats (the code smarty html and css are a little different)

Modules each register their stats with the core so the stat appears in the template..
For example, from jrPlaylist_init in include.php:
    // Profile Stats
    jrCore_register_module_feature('jrProfile', 'profile_stats', 'jrPlaylist', 'profile_jrPlaylist_item_count', 21);
That gets the stat into the skin so it can be displayed.
updated by @ultrajam: 05/10/14 12:04:22PM
SteveX
@ultrajam
05/10/14 09:37:57AM
2,589 posts

background color


Using Jamroom

Nova doesnt use background images, where are you entering the image url?
SteveX
@ultrajam
05/10/14 08:24:46AM
2,589 posts

background color


Using Jamroom

What edit is it that you can do? What is that single edit?
SteveX
@ultrajam
05/10/14 03:01:19AM
2,589 posts

background color


Using Jamroom

I guess a consistent spelling mistake would produce a consistent error.

Could be simpler than that though. Are you sure you are remembering to click the save button after changing the css?
SteveX
@ultrajam
05/09/14 03:17:36PM
2,589 posts

background color


Using Jamroom

So how else is your css mistake constantly reloaded?

There must be an answer.

Are you absolutely sure your ftp app is successfully uploading your files? That has to be the first port of call.
SteveX
@ultrajam
05/09/14 11:48:02AM
2,589 posts

background color


Using Jamroom

Just a thought, could you be seeing some radical cacheing from your isp Izhmel?

If it generally works, but you can't ever make it work, maybe you are seeing some isp cacheing? I hear TalkTalk and PhonesRus are the worst, but even if so you should try it in Africa man, isps are sooooo crap. (I haven't had the same sort of problems that you have been having though, just a last straw kind of thought.)
SteveX
@ultrajam
05/09/14 11:27:37AM
2,589 posts

Module Ideas?


Off Topic

What's an Australia?
SteveX
@ultrajam
05/09/14 01:02:07AM
2,589 posts

background color


Using Jamroom

So, I think we need to figure out exactly how you are managing to copy your mistake into a new install over and over and over again.

Where are you downloading the files from?
SteveX
@ultrajam
05/08/14 05:48:48PM
2,589 posts

background color


Using Jamroom

Anything in your error logs?
  160