RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : November 22, 2008, 12:11:25 pm
+  RSGallery2 Support Forums Advanced search
  Show Posts
Pages: [1] 2
1  Language translations / Other languages / Re: Serbian on: August 25, 2008, 02:40:06 pm
Hi Simovina,

You could do it yourself and post it back on the forum. Youd'd start with (reading) the first two posts in http://rsgallery2.net/component/option,com_smf/Itemid,17/topic,15336.msg39376#msg39376. As far as I can tell there is a Serbian starting point in the preparedLanguages.zip. Name your file like: en-GB.com_rsgallery2.ini. 
2  Developers corner / Nightly Builds for RSGallery2 in Joomla 1.5 / Re: [SVN 791] SEF routing on: July 30, 2008, 03:50:43 am
Sorry, no I didn't. I'll PM you.
3  Developers corner / Nightly Builds for RSGallery2 in Joomla 1.5 / Re: [SVN 817] RSGallery2 2.00 with sh404SEF -> pagination fails on: July 28, 2008, 03:38:48 pm
Problem pinpointed...

The problematic code (from /components/com_rsgallery2/templates/semantic/display.class.php) is as follows:
Code:
if( rsgInstance::getInt( 'id', 0 )){
// i'm not fond of this style of hackery
// first we need to replace the item id with the gallery id
// second, the limit parameter is not being written.  this is must be a bug or something.  weird.
$pageLinks = str_replace( ";id={$item->id}", ";gid={$gallery->id}&limit=1", $pageLinks );
$pageLinks = str_replace( "/item/{$item->id}", "/category/{$gallery->id}", $pageLinks );
}

When I comment
Code:
$pageLinks = str_replace( ";id={$item->id}", ";gid={$gallery->id}&limit=1", $pageLinks );
and disable sh404SEF the behaviour is exactly as if sh404SEF is enabled: the pagination fails.

sh404SEF does not know that it should not use id and that it should use gid and limit. Is there any way to thell it what the "new" variables to use are?
4  Language translations / General language and translation questions / Re: Where to put the language files? on: July 25, 2008, 10:33:00 am
Where do I put it to get it into your RSGallery2 builds later on?

Where do I find the very latest english language file for RSGallery2 2.X.X? (I want that one as base for my translation, and the link at the wiki does not work)

One more question; Is the language files under /var/www/album/language/ and /var/www/album/administrator/language/ identical? Or should they differ?

On the first two questions: see http://rsgallery2.net/component/option,com_smf/Itemid,17/topic,15336.msg39773#msg39773 (people put their translated files there and there is a location mentioned where you can find the latest english language file).

Last question: I found the language files in /JOOMLAROOT/administrator/language/.../ and /JOOMLAROOT/language/.../ identical, and there is a file needed at both places.

Quote
There seems not to be any RSGallery2 language files for the default english language in Joomla 1.5!?!
If my memory serves me: I thought that when I installed Joomla with a second language that I could see the language dirs. Languages not installed on Joomla are not installed for RSGallery2. In my case: I had Joomla 1.5.4 with en-GB and nl-NL, so with RSGallery2 I got en-GB and nl-NL folders in both language folders (and error messages for all other languages). Just as you mention, when I had only one language installed in Joomla 1.5.x I couldn't find the language folders (and thought I was crazy?).
5  Developers corner / Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened! / Re: SVN 824 Installation error on: July 24, 2008, 08:27:23 am
Hi Michael,

Did you see the "1.14.4a READ.txt" in the Nightly build zip (com_rsgallery2_legacy._r824.zip)? It's not an installable package anymore as the included message says:

"For now to install test version, install v1.14.3 with installer then copy admin dir to /administrator/components/com_rsgallery2
and site dir to /components/com_rsgallery2"

So I copied the contents of the admin and site directories to the mentioned directories of my current (test) installation of 1.14.3.

At least one thing has changed: Installed version is now "1.14.4a (SVN 824)"  Wink
6  Language translations / General language and translation questions / Re: Change to J1.5 framework. New translation directions. on: July 24, 2008, 07:52:57 am
Updated Dutch file is attached (based on SVN 817 and with the changes mentioned in http://rsgallery2.net/component/option,com_smf/Itemid,17/topic,15680.msg40250#msg40250)
7  Developers corner / Nightly Builds for RSGallery2 in Joomla 1.5 / [SVN 817] Added missing strings to en-GB.com_rsgallery2.ini on: July 24, 2008, 06:48:04 am
I've added some strings that were missing in the en-GB.com_rsgallery2.ini (took original from SVN817). Resulting file is attached.

The following additions were made
#rsgcomments.class.php
##_RSGALLERY_COMMENTS_SEC_IMG_MISS --> can't get it to work? does work without first"_":
RSGALLERY_COMMENTS_SEC_IMG_MISS=SecurityImages selected in backend, but component not installed! Notify the webmaster.

#admin.rsgallery2.html.php
JAVA UPLOADER=Java uploader
MAINTENANCE=Maintenance

#config.html.php
WATERMARKED IMAGE PATH:=Watermarked image path

#maintenance.html.php
[ DELETE FROM DATABASE ]=Delete from database
[ CREATE MISSING IMAGES ]=Create missing images

#maintenance.php
RSGALLERY_MAINT_OPTIMIZE_SUCCESS=Database optimisation succeeded

#default_form.php
INSTALL FROM DIRECTORY=Install from directory
INSTALL DIRECTORY=Install directory
INSTALL FROM URL=Install from URL
INSTALL URL=Install URL
UPLOAD FILE=Upload File

#view.php
RSG2 CONTROL PANEL=RSG2 Control Panel
RSGALLERY2 TEMPLATE MANAGER=RSGallery2 Template Manager

There are still hardcoded strings (without JText):
Use SecurityImages component SecurityImages component NOT installed! (Backend > Control Panel > Images  > Comments)
In config.html.php:
<td width="40%"><?php echo "** Display Search**"; ?></td>
<td><?php echo "** Select slideshow **";?></td>
<td valign="top"><?php echo "** Select EXIF tags to display **";?></td>
<legend><?php echo "** EXIF settings **";?></legend>
In maintenance.html.php:
<span style="font-weight: bold;">New width:</span>&nbsp;
In maintenance.php:
** Thumbnail size did not change. Regeneration NOT needed. **
** No gallery selected **


Edit
I also updated the Dutch file accordingly. See post in : http://rsgallery2.net/component/option,com_smf/Itemid,17/topic,15336.msg40252#msg40252
8  Developers corner / Nightly Builds for RSGallery2 in Joomla 1.5 / [SVN 817] RSGallery2 2.00 with sh404SEF -> pagination fails on: July 23, 2008, 04:11:37 pm
Problem
When I look at an image in a gallery with multiple images (e.g. index.php?option=com_rsgallery2&page=inline&gid=1&limit=1&Itemid=53&limitstart=1) I cannot switch between the images.

This only happens with sh404SEF enabled. Somehow I cannot get the 'limit' value and it's also strange that at some point sh404SEF uses an 'id' variable in the URL where without sh404SEF 'gid' is used as a variable. (More specific sh404SEF info at http://extensions.siliana.com/forums/index.php?topic=9697.msg12663#msg12663)

Goal
Have a working sh404SEF plugin for RSGallery2 2.00 (as I made for RSGallery 1.13 and 1.14).

Installation:
- Joomla 1.5.4 (en-GB)
- RSGallery2 2.00 beta SVN 817
- sh404SEF 1.0.11 beta build 147 (J! 1.5 native)

Why post here?
- I found in \admin\includes\gallery.class.php line 175:
Code:
// limit handling was borked but I had this fixed.  we can use it again....
I'm curious what was wrong, has it to do with my problem?
- I found in \site\templates\semantic\display.class.php lines 341/342:
Code:
// second, the limit parameter is not being written.  this is must be a bug or something.  weird.
$pageLinks = str_replace( ";id={$item->id}", ";gid={$gallery->id}&amp;limit=1", $pageLinks );
Do I encounter the same bug? Can it be fixed?
- I wonder if you guys know an explanation for sh404SEF not working well maybe along the line of RSGallery 1.14 not using sefRelToAbs but its own Jroute that was a bit unusual for Joomla 1.0.x components if I understood correctly.
9  Developers corner / Nightly Builds for RSGallery2 in Joomla 1.5 / Re: [SVN 817] SEF routing on: July 23, 2008, 03:39:56 pm
I would like to try your custom router, but I have the impression I don't know how to use it...

This is what I did
- installed Joomla 1.5.4 and RSGallery2 2.00 beta SVN 817 (okay, and sh404SEF 1.0.11 but that one is disabled for now)
- in the Back-end > Site > Global Configuration have the following SEO Settings
-- Search Enigne Friendly URLs: Yes
-- Use Apache mod_rewrite: Yes (and with the original Joomla 1.5.4 htaccess.txt renamed to .htaccess)
-- Add suffix to URLs: No
- then I visited my homepage (on a xampp webserver in dir /j-rs-sef/)

This is what I got (error and successes)
- for the RSGallery menu item called "Photos": http://localhost/j-rs-sef/index.php?Itemid=53&option= which results in a 404 -Component not found message
- when I change this URL to http://localhost/j-rs-sef/index.php?Itemid=53&option=com_rsgallery2 I get my view of galleries (and latest/random images)
- URL for my first gallery: http://localhost/j-rs-sef/component/rsgallery2/category/1 works
- URL for the third image in this gallery: http://localhost/j-rs-sef/component/rsgallery2/item/3/asInline works
- moving on from that one to the seventh one in this gallery: http://localhost/j-rs-sef/component/rsgallery2/category/1/asInline?limit=1&start=6 works

Now the questions are
- why doesn't the menu-item link work?
- how can I change the texts: component, rsgallery2, category, 1, asInline and get e.g. the image name?


I have a tiny bit of PHP experience which makes me ask: why is there a reference to com_contact in the router.php mentioned (on line 23)?
10  Developers corner / Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened! / Re: v 1.14.4 on: July 23, 2008, 03:14:20 pm
Request for 1.14.4:
There still is 'some' untranslated text. I think it is something fairly 'easy' to start with  Wink. This is the last message of the thread about untranslated text:
http://rsgallery2.net/component/option,com_smf/Itemid,17/topic,5489.msg38675#msg38675
 
And the database optimisation is a great idea!

I think it's great that you want to continu on Joomla 1.0.x!
11  Language translations / General language and translation questions / Re: Change to J1.5 framework. New translation directions. on: May 21, 2008, 04:29:01 am
Slightly changed dutch file as I just understood where to put the language file to see the translations for the Front-end (\JOOMLAROOT\language\nl-NL\)...

Missing string in Front-end:
- _RSGALLERY_COMMENTS_SEC_IMG_MISS - In comment tab when security images are not installed and  "Use SecurityImages component" is set to yes.
12  Language translations / General language and translation questions / Re: Change to J1.5 framework. New translation directions. on: May 19, 2008, 02:39:16 pm
Thanks John, and here you go  Wink  the updated dutch file is attached.

I went through the entire Back-end (there seems to be not translation at all for the Front-end) and found the following things (of which I'm not that sure that I should post (all of) them here, but ready to learn though):

Missing strings
- INSTALL_STATUS_MSGS - Upon installation, below "Installation of RSGallery is completed", above the Control Panel icon.
- When you click "** Maintenance **":  MAINT_CONSOLDB_TXT and MAINT_CONSOLDB: in the main english file these result in no text, but in the dutch file I do have text for both of them
- _RSGALLERY_MAINT_OPTIMIZE_SUCCESS when you choose to optimalise your database
- DESCTEMPLATES in the "Manage" part of the Template Manager

The following items seem not translatable (besides the strings between **'s)
- The items "Control Panel", "Batch Upload", "Upload", "Galleries" and "Items" between the "navigation part" that says
"Control Panel" and "Help", and the icons "Global Configuration", etc.
- "Use SecurityImages component" - Global Configuration > Images > Comments
- "SecurityImages component NOT installed!"  - Global Configuration > Images (Comments)
- "No images in gallery yet." - (If there are not images in any galleries yet:  Galleries > Specific Gallery (After text "Gallery thumbnail:")
- "Yes, all items in" - Batch Upload (after text "Specify gallery")
-" Upload limit is" and "Megabytes (set in php.ini)"  - Batch Upload (alhough both "UPLOAD LIMIT IS" and "MEGABYTES (SET IN PHP.INI)" are in the language files
- All text with the "MAINT_REGEN" option if you choose to regenerate your thumbnails.
- In control Panel > Template Manager the following strings are not translated: "Install from directory", "Install directory:", "Install from URL", and "Install URL:" (the top two are translated).

There also are two lines with "GENERAL=General" (identical) in the main en-GB file.

And I got the following fatal error when I click the Migration options in the Control Panel:
"Fatal error: Call to undefined function RSInstall() in \JOOMLAROOT\administrator\components\com_rsgallery2\admin.rsgallery2.php on line 116"

regards,
 mirjam

RSGallery2 1.16.0 (SVN 771) on Joomla 1.5.3 with the dutch (nl_NL) Front-end and Back-end packages added.
13  Language translations / General language and translation questions / Re: Change to J1.5 framework. New translation directions. on: May 18, 2008, 11:27:33 am
In the dutch language forum an updated dutch.php (for 1.14.x; april 2nd; http://rsgallery2.net/component/option,com_smf/Itemid,17/topic,15153.msg38939#msg38939) was posted, but it seems that for the ini file in this thread the "old" dutch.php was used.

Can you provide a new dutch.ini file based on the latest dutch.php? Or should all these changes be done again in the dutch.ini file?
14  RSgallery2 support forums / RSgallery2 bugs & problems / Re: Help for 404SEF & RSGallery2 on: May 16, 2008, 08:16:25 am
The forum of sh404SEF was renewed. The new link is
http://extensions.siliana.com/forums/index.php?topic=4358.msg8876#msg8876.

Please do read the info supplied and get the plugin for the right RSGallery2 version: either 1.13.x or 1.14.x.
15  Language translations / General language and translation questions / Re: You found untranslatable text? on: March 12, 2008, 10:52:01 am
These texts in the Back-end are not translated (in nightly 679) because they are not set via the language file. All items are in file /administrator/components/com_rsgallery2/options/config.html.php

Text:      Use SecurityImages component ( SecurityImages component detected! )
linenumber:   219 and of course then also line 221
   
Code:
$security_notice = "<span style=\"color:#009933;font-weight:bold;\">( SecurityImages component detected! )</span>";
and
$security_notice = "<span style=\"color:#FF0000;font-weight:bold;\">SecurityImages component NOT installed!</span>";

Text:      Hide Root (create multiple independant galleries)
linenumber:   276
   
Code:
<td><?php echo 'Hide Root (create multiple independant galleries)'?></td>

Text:      Resize portrait images by height using Display Picture Width:
linenumber:   302
      
Code:
<td><?php echo "Resize portrait images by height using Display Picture Width:" ?></td>

Text:      Display Search
linenumber:   436
   
Code:
<td width="40%"><?php echo "Display Search"?></td>

Text:      ** Select slideshow **
linenumber:   472
      
Code:
<td><?php echo "** Select slideshow **";?></td>

Text:      Select EXIF tags to display
linenumber:   544
   
Code:
<td valign="top"><?php echo "** Select EXIF tags to display **";?></td>

Pages: [1] 2