Forum Activity for @michael

michael
@michael
05/09/16 10:20:15PM
7,832 posts

How To Build a Multilingual Site Using The Site Builder?


Using Jamroom

Part of the problem is we're not sure on the best way to do it. There are many different ways that this problem could be approached.

One way would be to use site builder for the structure, but instead of using the ITEM LIST widget, use the TEMPLATE CODE widget
{if $_user.user_language == 'en-EN'}
// load the english language version of a template file some_template_en.tpl
{else}
// load the other version of a  template file some_template_ja.tpl
{/if}

Then type the language strings directly into the separate templates. Is that better/worse than brian's idea of using {jrCore_lang ??????}. We don't know, its just different.

Each will have their advantages and dis-advantages.

Then there's the idea of using different site urls for each language:
your-site.com/en/??????
your-site.com/ja/??????

or different domains running off of the same database
your-site-en.com/??????
your-site-ja.com/??????

Thats also another valid way to approach the situation.

For the content, do you have one database for the english content and another for the other language content, or two separate sites. Either way would work but the work involved in maintaining them would be different.

The end result is: Yes it can be done. No there is no single way that is the correct way. There will be no step by step until someone builds it, then documents how they built it. Even then, that will still only be the documentation on one way to approach the problem.
michael
@michael
05/09/16 10:03:36PM
7,832 posts

suddenly 99% of all my images stopped working!


Installation and Configuration

soaringeagle:
this is the entire vhost log content
2016-05-09 16:32:39.987 [DEBUG] [/etc/apache2/sites-enabled//greentechnologyfssl.conf:26] processing directive: CustomLog ${APACHE_LOG_DIR}/access.log combi$
2016-05-09 16:32:39.987 [DEBUG] [/etc/apache2/sites-enabled//greentechnologyfssl.conf:34] processing directive: SuexecUserGroup greentechnologyf greentechno$
2016-05-09 16:32:39.987 [DEBUG] [vhost:APVH_208.82.131.131:443_dreadlockssite.com] set vhroot to: /home/greentechnologyf!
2016-05-09 16:32:40.958 [DEBUG] [208.82.131.131:443] HttpListener::handleEvents(), fd: 17, event: 1, revents: 1.
2016-05-09 16:32:40.958 [DEBUG] [17.138.57.91:37246] concurrent conn: 1
2016-05-09 16:32:40.958 [DEBUG] [208.82.131.131:443] 1 connections accepted!
2016-05-09 16:32:40.958 [DEBUG] [17.138.57.91:37246] NtwkIOLink::handleEvents() events=1!
2016-05-09 16:32:40.958 [DEBUG] [17.138.57.91:37246] [SSL] SSLAgain()!
nothin
well ..yea no errors

There is a double slash in your url:
/etc/apache2/sites-enabled//greentechnologyfssl.conf

Could mean somethings missing, or its just added by mistake, could be an issue i guess.

Also check where is defined for your log in your
/etc/apache2/sites-available/(YOUR SITE NAME).conf

mine looks like this:
<VirtualHost *:80>

    ServerAdmin 123456@hostsaba.com
    ServerName proxima.hostsaba.com
    ServerAlias www.proxima.hostsaba.com

    RMode stat

    DirectoryIndex index.php index.html index.htm
    DocumentRoot /home/thinkpad/sites/proxima.hostsaba.com/public_html
    <Directory /home/thinkpad/sites/proxima.hostsaba.com/public_html/>
         Options Indexes FollowSymLinks MultiViews
         AllowOverride All
         Require all granted
    </Directory>

    ErrorLog /home/thinkpad/sites/proxima.hostsaba.com/logs/error.log
    LogLevel error

</VirtualHost>
michael
@michael
05/09/16 09:57:20PM
7,832 posts

Removed Youtubes Not Deleted


Using Jamroom

Shouldn't be, thought I fixed it in jrYouTube 1.3.2
michael
@michael
05/09/16 09:46:32PM
7,832 posts

Site News text and images out of alignment


Using Jamroom

by 'the gaps appear' I assume your talking about the space above the right image which stops the right image from being inline with the top of the left image.

The reason for that is that you have a
<br>
in between each of the paragraphs.

On the front page page, your code is:
<p style="margin-bottom: 0cm; line-height: 100%;"><img width="171" height="178" alt="196" style="margin:1px;float:left;" src="http://zambia.musicportal.co/upimg/image/upimg_file/65/196"></p>
<br>
<p style="margin-bottom:0cm;line-height:100%;text-align:center;"><img width="310" height="173" alt="196" style="margin:1px;" src="http://zambia.musicportal.co/upimg/image/upimg_file/64/196"></p>

But on the profile page, there is no br, its just:
<p style="margin-bottom: 0cm; line-height: 100%;"><img width="171" height="178" alt="196" style="margin:1px;float:left;" src="http://zambia.musicportal.co/upimg/image/upimg_file/65/196"></p>
<p style="margin-bottom:0cm;line-height:100%;text-align:center;"><img width="310" height="173" alt="196" style="margin:1px;" src="http://zambia.musicportal.co/upimg/image/upimg_file/64/196"></p>
michael
@michael
05/07/16 12:36:28AM
7,832 posts

cant follow domained profiles (bug report?)


Installation and Configuration

could you copy+paste the error. A system error should be logged in the server logs.
michael
@michael
05/07/16 12:33:30AM
7,832 posts

Audio Thumbnails


Installation and Configuration

nduguseliphaz:How do i solve it?
The item is not there, it does not exist. To solve it you would need to request an item that does exist.

Could be that the link is pointing to something thats deleted maybe.
michael
@michael
05/06/16 11:49:51PM
7,832 posts

How to localize whole Jamroom project into other language?


Using Jamroom

There are actually a couple of ways to do it, and which way you do it depends on your skills. The way above is the way a web developer would probably want to do it.

If you're not a web developer, but want to localize your site, you can do it from the ACP.

Go to:
your-site.com/user/create_language

and add ja-JP

Then in each of the modules you will see a LANGUAGE tab. Switch to the ja-JP version and translate those strings.

Each user has an account settings page at:
your-site.com/user/account/profile_id=1/user_id=1

where they can select their language. Whichever language they select is the language that will be shown.
michael
@michael
05/06/16 11:11:15PM
7,832 posts

jamroom permissions settings


Installation and Configuration

when you start using it, just think of it as notepad (or any other text editor) and ignore 90% of the buttons.

That should make it easier.

You have your jamroom stuff stored somewhere on your local pc and that maps to the same files stored on your server.

So you need to do 2 things to start:
1. open phpstorm and go to FILE -> OPEN DIRECTORY and that will create a phpstorm project for whatever is in that directory.

then
2. go to TOOLS -> DEPLOYMENT -> CONFIGURATION and setup the server location

There are some screenshots of this step in this doc:

Docs: "Setting up a debugging environment"
https://www.jamroom.net/the-jamroom-network/documentation/development/129/setting-up-a-debugging-environment#c172

once you have your local able to upload to your server, then you can right click the 'projects' panel and chose "sync with deployed to ...."

It will show you all the local files that are different to the server files with an arrow. left to right means they will be copied local to server. right to left means they will be copied server to local.

If you KNOW that you want local to go to server, then use ctrl+a to select all then right click and choose "set copy to right" or whichever way you want to force it to go.

This is useful if your production gets updates from the marketplace and you want to know what changed. after a marketplace update production and local will be out of sync. choose all the base names on the server, then sync. whatever comes down is whatever is changed.
michael
@michael
05/06/16 10:54:28PM
7,832 posts

Admin Skin setting not honoured on quota transfer page


Jamroom Developers

this is sorted in the marketplace version now 1.2.12.

Thanks very much.

--edit--
SteveX:.../metatag/update/id=0 (first metatag created is id=0???).....
Its stored as a json, so converts back to a numerical array, so 0.

older module, could be before some feature was added to the datastore system. A datastore table would be the way I think it would be stored if the module was built today.
updated by @michael: 05/06/16 10:58:50PM
michael
@michael
05/06/16 08:37:12PM
7,832 posts

jamroom permissions settings


Installation and Configuration

phpstom has a 'sync' which can compare by file contents. Used rsync once a few years ago, but cant remember much about how it works.
  400