Forum Activity for @michael

michael
@michael
04/02/15 01:38:17AM
7,832 posts

Call for help to other Ningsters


Ning To Jamroom

You can have the Forum be a central piece of your site without locating it on the top level of your site. Just like we do here on jamroom.net. Setup a profile to act as the top level and direct links to that from your top level menu.

Look at the menus at the top of this page:
SUPPORT -> SUPPORT FORUM goes to https://www.jamroom.net/the-jamroom-network/forum/new_posts

That is the Forum module on the profile of 'the-jamroom-network'. So you could setup a profile in its own quota the same. Perhaps 'community' so the url becomes your-site.com/community/forum

The location to turn the WYSIWYG editor on in the forums is at:
ACP -> PROFILES -> PROFILE FOURM -> GLOBAL SETTINGS -> ENABLE EDITOR
michael
@michael
04/02/15 01:31:24AM
7,832 posts

How to use the text editor? It looks like WYSIWYG but does not behave that way


Using Jamroom

researchcooperative:
In my Ningja skin, Page making tool, (maybe other skins too?) the text editor looks like a WYSIWYG editor, with an option to look at the source code directly.

In the WYSIWYG I see the single-line spacing that I want, but when the text is saved, it gets converted to paragraph spacing on every line.

Maybe that is because I have chosen the 'paragraph' style rather than header style or preformatted style. I do not want every line to be a header in bold!

So I tried preformatted text, copy and pasted from MS word document. That worked as far as font size and style was concerned, but the lines were all spaced with paragraph spacing. How can I get the line spacing I want? And why is there no way to control font size other than using a range of header styles?

The other problem I have is that the text alignment tool doesn't seem to work. I can align a text in the WYSIWYG view, but after saving, it always reverts to hard left justified style. This also happens to inserted photos when I try to align them on a page with text.

What are the rules here? How can I use the text editor as an actual WYSIWYG editor?

Thanks
The WYSIWYG editor will apply all the rules you tell it to apply then output that to the skin. If the skin has other CSS rules that IT applies these will over-ride anything that is in the WYSIWYG editor. So the skin is more powerful than the editor.

If you want to have all editor be able to do anything, then remove all the formatting for that section provided by the skin.

researchcooperative:
Thanks. Now I have the problem of a sticky title when editing a section of my page using the widget. When I delete the title, and try to save the result, it reappears and sticks, even when I refresh the page.
Delete the widget and add a new one without a title. (see that trash icon in the lower right, drag the widget there, then add a new one with the content your after.)

tinyMCE is the name of the WYSIWYG editor that is in use in the system. WYSIWYG is a generic term to describe all text editors. The one we use is this one: http://tinymce.com
michael
@michael
04/01/15 01:19:33AM
7,832 posts

How to add a contact link to the profile?


Installation and Configuration

davej56:....Okay Paul, where do I insert the code? I don't know how to put a link on a profile....

How long is a piece of string? (the correct place to insert it is where you want it to go)

The first part is finding somewhere close to where your after. My first guess is if your using Ningja, then try the profile_sidebar.tpl file right at the bottom.

put this in before the last two div closers.

Locate the code that looks like this at the very bottom of that file:
    </div>
</div>

Add some text to know where you are:

WHERE DOES THIS COM EOUT?
    </div>
</div>

Then refresh the caches and go and look at the page. If you like where that comes out and want to put the link there, then swap that out for this code:
<a href="{$jamroom_url}/note/new/user_id={$_user_id}">Send Private Note</a>
    </div>
</div>

updated by @michael: 04/01/15 01:23:36AM
michael
@michael
04/01/15 01:06:17AM
7,832 posts

adding a module template


Jamroom Developers

That looks good to me @blindmine.

Try this:
function profile_view_agTask_pending($_profile,$_post,$_user,$_conf)         {
    return 'hello world';
}

then go to:
your-site.com/SOME USER/task/pending

It should spit out "HELLO WORLD".

If it doesn't then check your module is turned on and run the integrity check.

If it does, then put what you had back and check that you have a file at:
/modules/agTask/templates/pending.tpl

--edit--
If your still having no luck, add a default output too to check
function profile_view_agTask_default($_profile,$_post,$_user,$_conf)         {
    return 'THIS IS THE DEFAULT OUTPUT';
}

and also check that the location of these functions is in the file:
/modules/agTask/profile.php
updated by @michael: 04/01/15 01:08:14AM
michael
@michael
04/01/15 12:59:11AM
7,832 posts

ShareThis Syntax Error


Design and Skin Customization

The problem is that smarty uses this format {something} so you need to put a space between { and the first letter.

try:
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({ publisher: "5665dd4a-015b-43d0-9b22-7439e1f35e76", doNotHash: false, doNotCopy: false, hashAddressBar: false });</script>
michael
@michael
04/01/15 12:57:23AM
7,832 posts

(share this)


Using Jamroom

izhmel:
How can I get the (share this icons ) on this page ?

http://www.dubmusic.com/the-scientist-sly-robbie-dub-explosion/audio

That page is controlled by this template:
/modules/jrAudio/templates/item_index.tpl

You can add your code in either via the TEMPLATE editor at:
ACP -> MEDIA -> AUDIO -> TEMPLATES -> item_index.tpl

OR by coping:
/modules/jrAudio/templates/item_index.tpl
to
/skins/YOUR SKIN/jrAudio_item_index.tpl

Either of those techniques will over-ride the default output and allow you to put whatever code you like in there.

The jrShareThis module requires a module and an id to create the code for share this, so you'd need to get the page share this code from that site to share the url.
michael
@michael
04/01/15 12:51:25AM
7,832 posts

trouble with all skin images (title updates)


Ning To Jamroom

spinners are working here. Check your System Check to see that imagemagick is installed
ACP -> SYSTEM CORE -> TOOLS -> SYSTEM CHECK

Its image magic that deals with moving gif conversion. But just uploading them they shouldn't need converting I don't think.

use the url:
http://your-site.com/image/img/module/jrCore/loading.gif

To check if the image is being replaced. That url runs through the image replacement system so if you've replaced jrCore's loading.gif you will see what it outputs at that url.

Same for other modules, just put their name and the name of the original image in to see the replacement.

--
As for 'proper' there isn't one way to do it. If your using an IDE and adjusting files via FTP, then the compare system in your IDE will be how you move changes into your new templates.

If your using the TEMPLATE editors, then I would compare the old version of the file with the new version of the file to understand what changed. THEN compare the new version of the file to your customized version of the file and selectively bring in the changes you want to keep.
michael
@michael
04/01/15 12:36:43AM
7,832 posts

Merchandise Store


Suggestions

The module needs love. Its due for an update and we'll try to look at it after we get Site Builder out of beta.

That's the main focus right now and this one needs some time dedicated to it.
michael
@michael
04/01/15 12:35:05AM
7,832 posts

Adding a menu the main menu of Projam5 Light


Design and Skin Customization

Strumelia:....I still don't see how we can ADD a NEW word or term and corresponding ID number to any of our language files, at least through our ACP. Is this possible, and how?.....

Its not possible right now to add new language strings to modules.

What I would suggest is to add it to your skin if its a cloned skin.

Skin language files appear at:
ACP -> SKINS -> YOUR SKIN -> LANGUAGE

And can be output with:
{jrCore_lang id="28" default="By"}
even in the modules .tpl files.

That protects you from any incrementation issues if they module does get new language strings added to it in future.

If your not using more than one language, then the best options is to justs go ahead and enter the text you want where you want it.
michael
@michael
03/31/15 03:03:30AM
7,832 posts

Menu titles & positions not sticking


Using Jamroom

Send me your login details to support at jamroom attn:michael with an outline of some steps to take to see it happening.

My first guess is that something in the menu titles or url's is screwing it up for the rest of them
  561