Forum Activity for @strumelia

Strumelia
@strumelia
01/21/17 11:48:54AM
3,605 posts

Recovering a small skin customization I lost when I moved to jr6


Using Jamroom

Douglas- one question for safety before I try applying this suggestion-

I see the "search2" part addition you suggest I add (as I expected)
BUT- will I create any "jr5-to-jr6 problems" if I make your suggested change in the "order by" part?

current version is:
order_by="_item_id desc" pagebreak=50 page=$_post.p}

and the older version is:
order_by="_item_id numerical_desc" template="index_activity.tpl" pagebreak=50 page=$_post.p}

Just want to be sure first about that 'order by' part of the code changing- that it won't screw something up. ?
updated by @strumelia: 01/21/17 11:49:32AM
Strumelia
@strumelia
01/21/17 11:05:58AM
3,605 posts

Recovering a small skin customization I lost when I moved to jr6


Using Jamroom

Before I moved from jr5 to jr6, I had a customization in my active skin that i suspect got lost when the 'array' issue got fixed up. This customization was I believe in my skin's Index.tpl, the the section concerning the home page activity feed. I think I see the code lines in an old skin backup, but I want to be careful about adding them back lest I BUST something. L O L

My Index page activity feed had two things customized so they would NOT show up in the activity timline: 1) when a member 'follows' another member (which still seems to be working just fine!) and 2) when a member leaves a Comment on another member's Profile page comment wall...like the terribly repetitive "Hi, welcome to the site!" type comments that get so tiresome to see all day long on the site's main page. This customization stopped working when I moved to 6, and I'd like to recover the bit of code that keeps those 'welcome comments' from appearing in the Index page timeline.
Here is my active skin's CURRENT (jr6) index.tpl section code for my activity section:
{* BEGIN Activity Section *}
            <div class="col8">

                <div class="title m10">
                    <h2>{jrCore_lang skin=$_conf.jrCore_active_skin id="20" default="Latest"} {jrCore_lang skin=$_conf.jrCore_active_skin id="27" default="Activity"}</h2>
                </div>

                {* BEGIN Activity Section *}
                <a id="activdiv" name="activdiv"></a>
                <div id="activitydiv" style="margin: 10px 10px 0 10px;padding-bottom: 10px;">
                    <div class="item"{if !jrCore_is_mobile_device()} style="max-height:916px;overflow-y:auto;overflow-x:hidden"{/if}>
                        {jrCore_list module="jrAction" search1="action_module != jrFollower" order_by="_item_id desc" pagebreak=50 page=$_post.p}
                        <br>
                        <div style="width:100%;text-align:center;padding:10px">
                            <a href="{$jamroom_url}/timeline">View More</a>
                        </div>
                    </div>
                </div>

            </div>
            {* END Activity Section *}

and here is my older (November) jr5 comparison of the same template and section, which I assume has the code line that will keep those profile page comments OFF the timeline on Index page:
{* BEGIN Activity Section *}
            <div class="col8">
                <div class="title m10">
                    <h2>{jrCore_lang skin=$_conf.jrCore_active_skin id="20" default="Latest"} {jrCore_lang skin=$_conf.jrCore_active_skin id="27" default="Activity"}</h2>
                </div>
                {***jrCore_list module="jrAction" search1="action_module != jrFollower" search2="action_data NOT_LIKE %\"comment_module\":\"jrProfile\"%" order_by="_item_id numerical_desc" template="index_activity.tpl" pagebreak=50 page=$_post.p***}
                {jrCore_list module="jrAction" search1="action_module != jrFollower" order_by="_item_id numerical_desc" template="index_activity.tpl" pagebreak=60 page=$_post.p}
            </div>
            {* END Activity Section *}

Can anyone tell me if I've focused on the right area and have the right idea here- and if so, what line of code to take from the old version and WHERE exactly it should be placed in the new version?
Thanks for any help! I have to be a bit careful here, because this is my main live site, and I'm not that good at this stuff. ;)
updated by @strumelia: 05/05/17 07:41:09AM
Strumelia
@strumelia
01/21/17 10:37:53AM
3,605 posts

Oddness since latest updates?


Using Jamroom

michael:
Can see the background color is different for #wrapper. The cause of the issue is in this CSS:

#wrapper {
    background-attachment: fixed;
    background-color: #d3c58d;
    background-image: url("http://fotmd.com/image/img/skin/mdFOTMD_Jan1_2017/wrapper_bckgrnd.png");
    background-position: left top;
    background-repeat: repeat-x;
    background-size: initial;
    margin: 0 auto;
}
Remove the background-color: #d3c58d; to fix the issue. Im not sure where that is in your site, can help locate it if you cant find it.

Michael, thank you. I've got things fixed now. :)

Through my ACP/active skin/style/ html.css and site.css settings, yesterday I had removed/updated only one or two references to the 'old' color #d3c58d (which had been changed months ago but popped back up oddly yesterday). But this didn't fix anything as per last night. (I should add that all along, my wrapper .png image has stayed correct color, as has my top wrapper and bottom footer color. Only the middle background on either side reverted to an old color.)

The solution was: just now I actually downloaded both my html.css and site.css files via FTP, and when I opened them on my desktop I saw there were like FIVE places for 'background' where it was still set as #d3c58d. (even though these were not seen this way in my skin 'Style' tab settings.) I changed them manually and uploaded those -and that worked...old color background is now gone.
What I can't figure out is WHY that popped up yesterday that way when i haven't used that color in my site background in MONTHS now. whattheheck?? Truthfully, I can't imagine ever figuring these 'yesterday bizarrities' out... as to why they happened. Just going to try to fix things back again and hope it doesn't happen again.

THANKS for your help here, I'm marking this particular color issue solved but I'll be starting new threads for the other two oddnesses that suddenly happened yesterday that I may need suggestions on how to fix back again.
Strumelia
@strumelia
01/21/17 09:59:41AM
3,605 posts

Oddness since latest updates?


Using Jamroom

michael:
Now it really sounds like you reverted the whole site, not just a skin.

Perhaps that happened, it's hard to tell cause things were slow last night on my site.
But I can say with absolute CERTAINTY that when i used to Restore function, I had ONLY restore Skin checked, and had the previous day jan 19 checked in the dropdown choice. In fact I TRIPLE-checked one last time before pressing the Restore button- that I had ONLY the skin option checked, definitely NOT to restore any other database or site restore option. Perhaps you can check on this to be sure the Restore module Tool is indeed restoring ONLY a skin when it's used to restore a skin? If by chance it's not working correctly, it could cause a huge problem for someone at some point.
Strumelia
@strumelia
01/21/17 09:51:59AM
3,605 posts

glitch when posting links to site media urls in comments/posts


Using Jamroom

Is there any solution for this, to have the 'link' editor icon ONLY create 'plain' hotlinks? BUT I'd like to still RETAIN the 'card' creation ability when just pasting a link (like say a link to a youtube video url) straight into my comment in the editor ..(when just pasting it, not using the editor's 'link' button to insert a link) ?
I love the cards that automatically open a player right in the post and that is working fine... but apparently when using the editor's 'link' button with the intent to create a simple hotlink that doesn't 'do' anything other than function as a live link, the card-triggering feature creates a badly malformed post that cannot be deleted or edited when a card is created.
There are occasions when i want to insert a link to a YT url in my post in a discussion, but I don't necessarily want it to have a big 'in yer face' player/card video right there in my post.
Thanks if there's any help-
I like the cards overall, and it's handy to have a simple 'link' button too... but I need to prevent these malformed posts from messing up discussions and group pages.
Assuming I want to keeps cards when pasting directly into a post, so far the only solution I'm seeing is to remove the editor's 'Link' button altogether, but I'd hate to do that, I know of lot of my members and myself use it.
Can I get the Editor's Link button to stop making cards without disabling the Media URL scanner option altogether?
Strumelia
@strumelia
01/20/17 09:54:47PM
3,605 posts

How do i let users have multiple profiles?


Using Jamroom

You mean a Power User has a Plus button to add another profile but the button doesn't work? What happens when you click the button?- does it not take you to yoursite.com/profile/create ?
Strumelia
@strumelia
01/20/17 09:32:39PM
3,605 posts

Oddness since latest updates?


Using Jamroom

One last thing- just now got a notice (right after midnight) that all of this morning's site updates were now waiting for me to apply, including the Core update. So....I went and RE-applied all the very same updates that i already APPLIED successfully this morning. Does this happen simply because i restored a skin from yesterday's skin backups? Feel like I'm losing my mind. =8-o G'nite!
Strumelia
@strumelia
01/20/17 09:25:23PM
3,605 posts

Oddness since latest updates?


Using Jamroom

The new clone seems to be there now. I'm thinking that maybe the skin 'restore' restored my cautionary backup skin form tonight instead of restoring to Jan 19th (yesterday's) skin backup? that might explain why the glitches didn't get fixed...but seems unlikely. Getting more confusing yet. Why was my previous skin clone from an hour before ..gone?
Ok- I'm JUST going to keep focusing on getting the background color thing fixed up! =8-p But right now it's after midnight so will have to get back to this tomorrow! lol At least my site is up and running, so I dont have to panic. ;)
Strumelia
@strumelia
01/20/17 09:14:58PM
3,605 posts

Oddness since latest updates?


Using Jamroom

New wackiness to report-
The skin CLONE I just made for safekeeping before restoring to yesterday's skin- is not there. I KNOW I just made a clone, and named it carefully. Now it's not there, and in looking on my server via FTP I see it's not there under skins. Going to make another custom skin clone right now and will see if it sticks.
Strumelia
@strumelia
01/20/17 09:02:55PM
3,605 posts

Oddness since latest updates?


Using Jamroom

Ok, I restored my active skin to the Jan 19 version using the DB Restore. Strangely, none of today's new oddities were fixed.
I can't understand it.
Guess I'm just going to concentrate on fixing the color of the background at the right and left sides of my site so they once again match the wrapper and footer. I thought that was in one of my custom skin css files- like site.css or html.css ....but I've checked/changed all those and it still stays stuck with the old color. Hmm, I thought my custom skin would override anything else for that kind of setting. Either I'm having a senior moment that's lasting for hours, or there's something wacky going on.
  101