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

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : November 20, 2008, 07:47:00 pm
+  RSGallery2 Support Forums Advanced search
  Show Posts
Pages: [1]
1  Developers corner / Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened! / Re: [INFO REQD][SVN 537] Consolidate Database not working on: December 21, 2007, 06:07:37 am
Joomla Version is 1.0.13
RSGallery2 1.14.1 Alpha - SVN 537 (Oops...)

I selected a gallery at a picture where the database entry was missing and choose the Link "[ Create Database entry ]" on the right side of the Image.
And all I get is the Message I stated before.

I had a look at the sourcecode, and it seems the function createDbEntries() in maintenance.php is not written yet. So there should be at least a warning message.
2  RSgallery2 support forums / Features / Show name of gallery owner on: December 19, 2007, 07:54:57 pm
Hi,
I would like to display the name of the gallery owner instead of the username.
So I modified some of the sources, and it's working for me now.

I think someone else might find this useful, so I've got some questions about how to do it the best way:
- Is it ok to change the possible values of "showGalleryOwner" to 2 (="Name") or 3 (="Name (Username")?
This could possibly break some Templates.
As an alternative, there could be an additional config Item added for this purpose.

- Is it ok to change the value of "$this->owner" in "includes/gallery.class.php" to return "Username", "Name" or "Name (Username)" in subject to the value of "showGalleryOwner"
This would allow to display the name without making changes to the template. (Some could be broken due to the longer text.)
As an alternative, the complete handling has to be done by the Template.

My question is: Is there any chance to get this implemented in the "official" Version, and what do you think is the best way to do this?
3  Developers corner / Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened! / [CONFIRMED][SVN 537] Consolidate Database not working on: December 19, 2007, 10:50:13 am
Hello,
If I try to consolidate the Database of my Gallery, all I get ist the following Message (HTML-source):
Code:
<div align="center" class="centermain">
<div class="main">
<link href="http://XXXXXXX/administrator/components/com_rsgallery2/admin.rsgallery2.css" rel="stylesheet" type="text/css" />
Array
(
    [0] => lf16ts.jpg
    [1] => 20071216_105848.jpg
    [2] => 20071216_112415.jpg
    ...blaablaa...
)
We are going to create an entry for Array in 0. </div>
</div>

- I selected Nr. 1 and not Nr. 0
- No DB entry ist created.
4  RSgallery2 support forums / RSgallery2 bugs & problems / Re: Image not displaying after 1.13.1 upgrade on: June 13, 2007, 11:51:57 am
Take a look at Line 789 - 791
5  RSgallery2 support forums / RSgallery2 bugs & problems / Re: Image not displaying after 1.13.1 upgrade on: June 08, 2007, 01:27:12 pm
Oops.
It should be applied to "/administrator/components/com_rsgallery2/includes/img.utils.php"
6  RSgallery2 support forums / RSgallery2 bugs & problems / Re: Image not displaying after 1.13.1 upgrade on: May 31, 2007, 05:11:52 pm
Hello,
thanks for the great Gallery everyone!
I've done the following Hotfix to get things working again:

--- img.utils.php.orig  2007-05-31 22:54:39.000000000 +0200
+++ img.utils.php       2007-05-31 22:49:39.000000000 +0200
@@ -788,7 +788,8 @@
         $this->imageResource= $outputProc($im, $file_name_dest, 100);
         imagedestroy($im);
         imagedestroy($im_copy);
-        imagedestroy($watermark);
+       if (isset($watermark))
+            imagedestroy($watermark);
     }
     
     /**


Just a hotfix, as it seems that "$watermark" is missing at the end of the function.
After that, things seem to work again.
Pages: [1]