Forum Activity for @pch

pch
@pch
06/18/16 03:31:01AM
328 posts

A Footer similar to the JR Footer on this site


Using Jamroom

Hello JR Team,

Would you mind sharing the code in your footer on this JR site? I like the way the footer looks, it is well done. I am trying to achieve the same.

Also, I have a question of curiosity: I have noticed on many websites that since HTML5, CSS3 and the Responsive design, footers are designed with a dark background with a text color (dark grey) that makes the text almost difficult to read. I always wonder why. Is there any reason for that?

Thanks

updated by @pch: 09/30/16 12:31:36PM
pch
@pch
06/18/16 01:20:04AM
328 posts

How to add the who is online for the entire site?


Using Jamroom

Woww Douglas!!!! You are a genius. Thanks a lot. That's what I have been talking about. :)

Now there are just few issues that need to be fixed:

1) I am still showing online after logging out. Even after refreshing the page from time to time, it takes something like 15 or 20 minutes (i guess so) before JR removes a logged out user from the Who is online. I have noticed the same here in the JR forum. Is it possible to reduce that delay?

2) There seems to be a duplication. I have been shown as myself then as a guest. (Admin profile icon) + 1 Guest. I doubt that it was a really guest. I think that, that guest was still me. I am more than sure that there wasn't anybody else on the site apart from me. I am the only one using it right now because it is under reconstruction. When JR removed me from the Who is online, the guess was gone too. I realized that I was probably that Guest. (I am not quite sure).
I have even noticed it here in the JR forum. There is a moment I was the only one logged in, the Who is online, displays my profile + 1 Guest.

By the way:

- Do Profiles with privacy set to "Shared - Profile Owners and Followers only" show on the Who is online?

- What about if a site has let's say 200 members and 120 of them are online simultaneously, Will all the 120 profiles (profile picture by profile picture) be displayed and an horizontal scrollbar be created in the Who i online? How will JR handle this scenario?

- I created a language string for the phrase: "user(s) currently active on this site" and it displays fine on the site but the language string for "Guest" doesn't display the text, it displays the code because "Guest" is hardcoded:

{if $visitor_count == 1}
{$gs = 'Guest'}
{else}
{$gs = 'Guests'}
{/if}

We probably need two language strings for "Guest": "Guest" in singular (when guest == 1) and "Guests" in plural. How to do that in the code you posted? (I am building a multilingual site)

Thanks


updated by @pch: 06/18/16 02:51:49AM
pch
@pch
06/16/16 09:34:51PM
328 posts

Changes through the Template editor not showing on the site


Using Jamroom

Thanks a lot Douglas, I've understood it very well now. Great support.

Thanks
pch
@pch
06/16/16 09:04:06PM
328 posts

How to add the who is online for the entire site?


Using Jamroom

Hello Douglas,

Thanks a lot your reply and the code.

I have tested the code. It is not close to the Forum who is online yet. Few things
still need to be fixed:

1) The profile image is not clickable, it should point to the profile url.

2) Even after logging out I am still shown in the Who is online. Does it take few minutes before the loggout user disappears rom the who is online list?

3) The following text should be added: "xx user(s) currently active on this site" or "There are currently xx user(s) in this site"

4) Guests are not shown in the Who is online.

5) Guest should be shown with the following mention:

E.g:

+ (Guests image here with the question mark) 2 Guests

6) The design is not like in the forum yet. It should be good to display the "Who is online" in box/widget exactly like in the JR forum with nice rounded corner.

Thanks a lot for helping.
updated by @pch: 06/16/16 11:10:29PM
pch
@pch
06/16/16 05:48:45AM
328 posts

How to change the capitalization of text?


Using Jamroom

douglas:
What skin did you clone?
You'll want to do this in an editor and not on the style tab.
I can tell you that the h1, h2 etc. tags all have text-transform:capitalize; in the skins html.css file.
Hope this helps!

Thanks Douglas, I have managed to find the html.css in the style tab and changed all the header (h1, h2 etc) - text-transform from "capitalize" to "none". It works.

Thanks a lot.
pch
@pch
06/16/16 05:44:00AM
328 posts

How to get an Header bar under the logo and menu?


Using Jamroom

Hello,

I am having a tough time to add a long text (h1 or h2) line just under the logo and the menu that will cross the header (from left side of the header to its right side - the full width) . It will be part of the header but it will have its own background color and and text color. (A kind of header bar)

The text I am planning to put there is:

            <b>{jrCore_lang skin=$_conf.jrCore_active_skin id="63" default="Header Text"}</b> - 
            <a href="?set_user_language=en-US"><img src="{$jamroom_url}/skins/{$_conf.jrCore_active_skin}/img/flags/us.png" alt="US" title="English US"></a>
            <a href="?set_user_language=es-ES"><img src="{$jamroom_url}/skins/{$_conf.jrCore_active_skin}/img/flags/es.png" alt="ES" title="Spanish"></a>
        </div>

I have already created the language string and I have been trying to add the code to the header.tpl but I can't get the text right under the logo and the menu. Either is getting displayed next to the logo or either under menu, not under both as a line break.

Also I can't find where in the Skin "Style" Tab of the Clone skin (from Elastic), I can edit the style.

Can someone help me achieve this. Where exactly in the header.tpl should I add the code and what css code (style) should I add?

I would like to show the same bar/text on mobile/tablet device. (I am not using the site Builder)

Thanks in advance.
updated by @pch: 09/30/16 12:31:44PM
pch
@pch
06/16/16 05:15:40AM
328 posts

How to add the who is online for the entire site?


Using Jamroom

Hi Paul,

Thanks for your reply.

I have created a whos_online.tpl for my clone skin with the code you posted above.
Then added the {jrUser_whos_online template="whos_online.tpl"} to my footer.tpl and profile_footer.tpl

It works fine. Thanks a lot.

The only problem is it looks very ugly. How to display it in a nice designed box/widget exactly like in the JR forum (horizontally)?

E.g:

10 user(s) currently active on this site:
(profile image) (profile image) (profile image) + (image) 5 Guests

I don't like the way it displayed the stats:

Master Admins: 1
Site Admins: 0
Members: 0
Visitors:

The "Who is online" model from the forum is really awesome.

Note: I am not using site builder and I have cloned my skin from Elastic.

Thanks
pch
@pch
06/16/16 04:50:11AM
328 posts

Changes through the Template editor not showing on the site


Using Jamroom

douglas:
There is a compare tool in your ACP > Skins > YOURSKIN > Templates section, you can use if there are updates to a "native" skin that you would like to add to your custom skin.

Thanks Douglas for explaining things. So if I understand well, JR uses both native and clone skin in order to work, right? It takes into consideration both files, so there is no need to keep on comparing files whenever you (the JR Team) roll out a template update, right?

Thanks
pch
@pch
06/16/16 04:33:08AM
328 posts

How to change the capitalization of text?


Using Jamroom

I have searched in the style tab of my clone skin but I couldn't find it.
pch
@pch
06/16/16 03:58:42AM
328 posts

How to change the capitalization of text?


Using Jamroom

Hello,

In JR, the first letter of almost every module header is being automatically capitalized. (e.g. on the home page). How to disable the automatic capitalization?

If you write let say: "Sr(a)s", it will output "Sr(A)S" or "Les plus récent(e)s" (The most recent), it will output: "Les Plus Récent(E)S".
"E" and "S" is treated as a single letter of a separate word.

Capitalization should be added manually by the writer whenever he/she feels necessary when entering/typing the text.

Thanks
updated by @pch: 09/15/16 05:49:04PM
  16