Forum Activity for @ultrajam

SteveX
@ultrajam
01/24/15 01:20:51PM
2,587 posts

jrcomment wont verify after update


Ning To Jamroom

Strumelia:
So if it's used by JR, and if I'm going to complain about my sucky mySQL to Arvixe, - is this suckiness their fault? Just want to not sound foolish.

I doubt that it's their "fault", just their calculation as to what they can provide across all accounts on a shared hosting server without either pricing themselves out of business (price too low) or driving away their customers (price too high). Database restrictions are coming into play for you because you are migrating a large ning site to jamroom and ironing out the kinks, probably an unexpected spike in demand for one account - they share resources so all accounts get a fair deal for their money (hopefully it's a fair deal), i.e. all sites are not suffering because one site makes an unanticipated demand on processor, ram, support, bandwidth etc.

Ideally arvixe would be able to temporarily put your site on a less restricted quota whilst you are taxing resources, and then move you onto a long term shared hosting quota once you working normally. (I'd expect to pay more for that)

As a long-term way around those restrictions you could get a $5 account with digitalocean, install virtualmin, play around with it for a year or two, then move your sites to that when you are confident (virtualmin seems to do a pretty easy migration of accounts from cpanel).
updated by @ultrajam: 01/24/15 01:22:37PM
SteveX
@ultrajam
01/24/15 12:27:56PM
2,587 posts

Profile Domain Module - Procedure not Recommended?


Using Jamroom

Maybe you are clicking the wrong link Ken, or maybe one of your links changed buth they are definitely 3 different pages. Anyway, I expect your server guy has already made sense of it, but just in case...

I linked to "Advanced Apache Configuration", which tells you the 5 ways that you can edit your apache config on your cpanel server. It says this near the top of the page:
Quote: Make certain that you only use the methods below to modify your Apache configuration. If you use a method that we do not support, cPanel & WHM and EasyApache can overwrite your custom configuration.
I think that the section I linked to would be the best place to start. You can run the cpanel script to check that the jamroom changes are not wiped out (and also the easyapache script, my mistake above, there are 2 scripts to run in order to be certain).

I interpret that as meaning you can run those 2 scripts and if the jamroom changes remain, then "bingo" you have your solution on your specific whm/cpanel server config. But if the changes are wiped out, you will have an unchanged server and might need to try one of the other methods. I'd give it a try myself but I don't have root access on my whm/cpanel server (its a reseller account). My more recent servers use webmin/virtualmin (which work better for my needs).

Your links lead to "Apache Configuration File and Building Apache" and "Global Configuration".
SteveX
@ultrajam
01/24/15 10:19:23AM
2,587 posts

Profile Domain Module - Procedure not Recommended?


Using Jamroom

Ken, the info is different on the page I linked to (although it is in the same manual).

You said that your server support said that the module will work but that they were worried about the changes being wiped out when cpanel updates the files.

The section of the page I linked to tells you how to run a cpanel script to see if the changes will be wiped out (very simple, only one line). If the changes to httpd.conf are gone after running the script then you will know that the module will not work for you. If the changes remain after running the script then you know that it will work for you.

Of course they need to run that as root, which may not be available if they are on a whm reseller setup.
SteveX
@ultrajam
01/24/15 06:48:13AM
2,587 posts

Profile Domain Module - Procedure not Recommended?


Using Jamroom

http://serverfault.com/questions/85959/does-webmin-virtualmin-overwrite-apache-conf-files-like-plesk
The dev's answer is informative although it is 5 years old. It sounds like the Jamroom module would work fine with webmin/virtualmin (which is equivalent to whm/cpanel), but the dev doesn't know of other systems which don't overwrite config files using templates.
SteveX
@ultrajam
01/23/15 10:45:24AM
2,587 posts

Broken URL in Forum listings on Home Page


Ning To Jamroom

You'd put this part into a separate template in your skin directory named (for example) index_forum_row.tpl
    {if isset($_items)}
        {jrCore_module_url module="jrForum" assign="furl"}
        {foreach from=$_items item="item"}

           {debug}

            <div class="container">
                <div class="row">
                    <div class="col2" style="padding-bottom: 12px;">
                        <a href="{$jamroom_url}/{$item.profile_url}">{jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="large" crop="auto" alt=$item.user_name width=false height=false class="iloutline img_scale"}</a><br>
                    </div>
                    <div class="col10 last">
                        <div class="p5" style="padding-top: 0px;">
                            {* <h3><a href="{$jamroom_url}/{$item.forum_updated_profile_url}/{$furl}/{$item._item_id}/{$item.forum_cat_url}/{$item.forum_title_url}#last">{$item.forum_title|truncate:60}</a></h3> *}
                            <h3><a href="{$jamroom_url}/{$item.profile_url}/{$furl}/{$item._item_id}/{$item.forum_cat_url}/{$item.forum_title_url}#last">{$item.forum_title|truncate:60}</a></h3>
                            <div class="normal" style="line-height: 15px;">
                                <strong>{jrCore_lang skin=$_conf.jrCore_active_skin id="45" default="Posted"}:</strong> {$item.forum_updated|jrCore_date_format:"%A %B %e %Y, %l:%M %p"}<br>
                                <strong>{jrCore_lang skin=$_conf.jrCore_active_skin id="46" default="By"}:</strong> <a href="{$jamroom_url}/{$item.forum_updated_profile_url}">@{$item.forum_updated_user_name}</a><br>
                                <strong>In: <a href="{$jamroom_url}/{$item._profile_url}/{$furl}/{$item.forum_cat_url}">{$item.forum_cat}</a></strong><br><br>
                                {$item.forum_text|strip_tags|truncate:200:"..."}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        {/foreach}
    {else}
    <div class="center p10">
        <h3>{jrCore_lang skin=$_conf.jrCore_active_skin id="26" default="No"} {jrCore_lang skin=$_conf.jrCore_active_skin id="19" default="Discussions"}!</h3>
    </div>
    {/if}

Then your test.tpl can be changed to this:
{assign var="selected" value="home"}
{* Include Header File *}
{jrCore_include template="header.tpl"}


    {* BEGIN Container *}
    <div class="container">

        {* BEGIN TEST CODE *}
        
        <div class="row">
         
         {jrCore_list module="jrForum" order_by="_created desc" template="index_forum_row.tpl" limit="10"}
        
        </div>
        {* END TEST CODE *}
	</div>
    {* END Container *}

{* Include Footer File *}
{jrCore_include template="footer.tpl"}
The {jrCore_list call might need search parameters etc to work exactly like it does on your index page.
updated by @ultrajam: 01/23/15 10:45:53AM
SteveX
@ultrajam
01/23/15 10:33:35AM
2,587 posts

Broken URL in Forum listings on Home Page


Ning To Jamroom

Glad you found it Clay!

{debug} doesn't work in a {capture} block with {literal}, it needs to be in a template.

Having the wrong variable name wont cause an error or exception, the variable just contains "" (nothing at all), so that's what ends up in the page.
SteveX
@ultrajam
01/23/15 10:25:19AM
2,587 posts

Broken URL in Forum listings on Home Page


Ning To Jamroom

or {$item.forum_updated_profile_url}
SteveX
@ultrajam
01/23/15 10:23:25AM
2,587 posts

Broken URL in Forum listings on Home Page


Ning To Jamroom

Ah, you are using capture - that won't work with debug.

Either move your row code into a separate template, or take a guess as to what variable might contain the profile url - try $item.profile_url, $profile_url, $_profile_url
SteveX
@ultrajam
01/23/15 10:20:26AM
2,587 posts

Broken URL in Forum listings on Home Page


Ning To Jamroom

That won't work - to contain the profile url for a profile item you need to put your jrCore_list call into the template to list those items. Take a look in your index template and copy that call into your test.tpl, then the debug needs to go in the index_item_list.tpl (or whichever template is specified in your jrCOre_list call.
  121