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, 03:21:19 pm
+  RSGallery2 Support Forums
|-+  Developers corner
| |-+  Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened! (Moderators: Daniel Tulp, Chef Groovy)
| | |-+  [SVN-540] Publish Problem
Advanced search
  « previous next »
Pages 1
Author
Topic: [SVN-540] Publish Problem  (Read 6987 times)
« on: January 08, 2007, 10:47:34 am »
adkcomputerguy Offline
Newbie
*
Posts: 8

View Profile Email

Alright so i have the newest nightly build but it still doesnt matter in the backend if they are published or unpublished they will show up on the frontend... I am waiting to go live with user submissions until this feature is fixed since i want to look at the picture first then approve it... Any thoughts why it doesnt work for me? I read through the change log and it says this problem has been fixed.

Also i do have my database updated to the newest version as well

Alex
« Last Edit: January 08, 2007, 10:53:43 am by Ronald Smit » Logged
 
Reply #1
« on: January 08, 2007, 10:53:32 am »
Ronald Smit Offline
Administrator
Hero Member
*****
Posts: 1214

View Profile WWW Email

First of all I modified the subject and moved this thread to the right forum.

We would advise against going live with an alpha component. Although it seems more and more stable, not all features are stable enough at this moment.

There is at the moment no submission system, so you cannot approve an image before it shows in the gallery.

The publish bug is being looked at already.
« Last Edit: January 08, 2007, 11:40:35 am by Ronald Smit » Logged

Ronald Smit
RSGallery2 Developer
FAQ|Known issues
 
Reply #2
« on: January 08, 2007, 01:19:46 pm »
adkcomputerguy Offline
Newbie
*
Posts: 8

View Profile Email

K thanks... also for the approve before it shows in gallery it wouldnt be hard at all.. Just turn default publish to 0 instead of 1 in the database.. so when it gets put in it set as unpublished as default..

But you guys are doing an awesome job! keep up the good work
Logged
 
Reply #3
« on: May 04, 2007, 05:52:00 am »
steve Offline
Newbie
*
Posts: 1

View Profile Email

Hi,

I've ran into the same bug.

Solution:
in function RSShowPictures() (components/com_rsgallery2/rsgallery2.html.php)
 i suggest into the 2 sql query this "and published=1"

and the publish/unpublish feature will work. Smiley
Steve

Code:
        $database->setQuery("SELECT COUNT(*) FROM #__rsgallery2_files WHERE gallery_id='$catid' and published=1 ");
and this
        $database->setQuery("SELECT * FROM #__rsgallery2_files".
                                " WHERE gallery_id='$catid'".
" and published=1 ".
                                " ORDER BY ordering ASC".
                                " LIMIT $limitstart, $PageSize");


Logged
 
Reply #4
« on: May 11, 2007, 02:10:49 pm »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1412

View Profile

thanks for the fix!  RSShowPictures has been supplanted and the sql move out to the $gallery object.  this bug should not exist in the latest nightly build.
« Last Edit: May 11, 2007, 02:19:59 pm by Jonah » Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #5
« on: May 30, 2007, 10:42:11 am »
Mike Offline
Newbie
*
Posts: 45

View Profile Email

Hi, I have encountered this publishing problem, I was just wondering if the fix had been implemented in the latest version (not nightly build) namely rsgallery2_1.13.0-alpha.

I tried to apply the fix suggested in this thread, but I could not find the function  RSShowPictures() in my rsgallery2.html.php file and so didn't know where to insert the fix.

Any help would be much appreciated!
Many thanks Smiley
Logged
 
Reply #6
« on: May 30, 2007, 01:33:17 pm »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1412

View Profile

Yes, 1.13.0 should work.
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #7
« on: May 30, 2007, 02:34:38 pm »
Mike Offline
Newbie
*
Posts: 45

View Profile Email

Well, I just upgraded to 1.13.1-alpha and am still experiencing the problem; unpublished are still accessible by users, both by using the navigation and by appearing in the latest images (mod_rsitems).

I again tried looking for where the function RSShowPictures() appears so that I could try applying the suggested fix but I still can't find it.

Any help on this would be great Cheesy
Logged
 
Print  Pages 1
« previous next »
Jump to: