Forum Activity for @michael

michael
@michael
09/26/16 09:17:23PM
7,826 posts

Wrong Meta Lang value in the Meta Tag


Using Jamroom

Most of the skins use this in their meta.tpl file:
<!doctype html>
<html lang="{jrCore_lang module="_settings" id="lang" default="en"}" dir="{jrCore_lang module="_settings" id="direction" default="ltr"}">

Check it for your skin.
michael
@michael
09/26/16 09:06:21PM
7,826 posts

Forum Widget Returns Empty Result


Ning To Jamroom

What are you wanting to show? The forums datastore is slightly different than other datastores in that it has replies too.

eg: ask for a site builder Item List of blogs and you get 1,2,3,4,5,6 blogs. Each one is a blog. But ask for the same list of fourms and you get a forum post with all of its replies each on their own _item_id. If you can say what your trying to build, it will be easier to build.

--edit--
At a guess, I reckon you're probably after this widget setup:
{jrCore_list module="jrForum" order_by="_created desc" limit="5" group_by="forum_group_id"}

Use the above code in the "Template Code" widget, or you can build the same in the "Item List" widget with:
LIST MODULE: forum
ORDER BY: _created | descending
GROUP BY: forum_group_id
updated by @michael: 09/26/16 09:12:42PM
michael
@michael
09/26/16 09:02:51PM
7,826 posts

Make a more compact Latest Activity list on my home page


Design and Skin Customization

Yes, the simplest is a custom template in Site builder.

Another way would be to use that same code and save it to your filesystem somewhere:
/skins/( YOUR SKIN )/your-custom-named-template.tpl

Then add that templates name to the Template Code section of the Site builder widgets like this:
{jrCore_list module="jrAction" template="your-custom-named-template.tpl"}
If you wanted to store it in the filesystem.
michael
@michael
09/26/16 08:56:55PM
7,826 posts

Add notification triggers?


Using Jamroom

by "option to be notified" you mean you want an email sent to you?

--edit--
Easiest way is to make a list using {jrCore_list} or the widget Item List and list up the newest created stuff.

--edit edit--
But then again, if you're following them, that stuff should be appearing on your timeline anyhow, so im uncertain of the question.
updated by @michael: 09/26/16 08:59:39PM
michael
@michael
09/26/16 08:51:48PM
7,826 posts

2 jamroom sites, 1 database


Installation and Configuration

That info should also show up in the $_SERVER variable array in your modules php files, so you can use that as a trigger to do some switching.

Just to be clear, we haven't built what you want build, so don't have any reference, these are just ideas that a programmer can work with to get the system set up. To have definite answers for you we'd need to build it then tell you how it was built. ( not going to do that :) )
screenshot_headers.png screenshot_headers.png - 259KB
michael
@michael
09/26/16 08:20:54PM
7,826 posts

Tinymce upimg Images and validation


Using Jamroom

Got that sorted in jrUpimg 1.1.6

- border gone
- alt image text from file name
- save dropdown settings choices.
michael
@michael
09/26/16 07:39:20PM
7,826 posts

Adding "View All" links beside selected Lucid list module titles.


Design and Skin Customization

Its not difficult, but with CSS you get a LOT of control that can be daunting at first.

CSS is Cascading Style Sheets which is what makes your site look the way it looks.

They are found at:
/skins/( YOUR SKIN )/css/

You will find many .css files in that directory you could put a new rule in any of them, but probably skin.css or style.css would be the most logical perhaps just because of the name of the file.

If you added a class called 'widget_header_links' that would be a descriptive name to use, you could use anything eg:'galan_gal' but it would be easy to forget the association to what it controls.

so your links would then become:
<a href="(the link location)" class="widget_header_links">View More</a>

Then in your css you define whatever you want that class to look like:
/skins/( YOUR SKIN )/css/site.css
.widget_header_links{
 color: pink;
}

And they would all be pink.
.widget_header_links{
 color: pink;
 font-weight: bold;
}
and they would be pink and bold.

.widget_header_links{
 color: pink;
 font-weight: bold;
 text-align: right;
}
and they would be pink and bold and aligned to the right............

The tool I use to mess around with CSS before writing a line of code is called "Firebug"

You can see it in action here:
Using firebug with the STYLE tab
michael
@michael
09/26/16 07:27:55PM
7,826 posts

jrImage with original size, width="original" appears in html


Using Jamroom

Fixed in the next version of jrImage 1.4.15

Added a check to make sure the width="" parameter was a number before setting it.
michael
@michael
09/26/16 06:57:19PM
7,826 posts

how to 'lock' main menu bar?


Design and Skin Customization

Strumellia brings up a great point, If you make some of the menu items nested so they only show when you hover over the main item, that would give you more space, so the menu would need to be HUGE for it to be pushed down.

The other option is putting a background color behind the menu so even if it is pushed down, its still the same color:
CSS:
#menu {
    background-color: #5a63c9;
    margin: 12px auto 0;
}
michael
@michael
09/26/16 06:22:51AM
7,826 posts

how to 'lock' main menu bar?


Design and Skin Customization

This is something that could be quite difficult to get right. Your talking about having a fixed header, but don't want to specify a height. If you decide on a height, then you can make the #wrapper element that same height from the top of the page so it starts where the top header finishes.

We're also not talking about the standard layout, we're talking about how a browser deals with increasing the size from the size decided by the skin designer, so that introduces a different element.

It would take a bit of playing around with Firebug and testing things to come up with a solution that works.
  340