Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
stclem
Regular
Regular



Joined: Oct 18, 2008
Posts: 52

PostPosted: Mon Oct 04, 2010 1:32 pm Reply with quote

This is what i have done

- Donwloaded and installed RavenNuke_v2.40.01.tar.gz.

- Downloaded jestrella04-iGallery1x-1d5469e.zip

- Uploaded all files in html to root (where ravennuke is)

- Added isntall.sql to db in phpmyadmin.

- CHMOD 777 to Gallery and subfolders.

- uploaded folder "test" to Gallery/Pictures.

- Go to Quick Add in IGallery admin. Click Continue. Site gets white and blank. Nothing happens.

- In FTP folder Gallery/Thumbs gets a folder named "test" who didnt where there before. This folder is empty.

- Try with only smal pictures and get this when i go tu quick add:
could not be uploaded. tester/IMG_4026.jpg... Column count doesn't match value count at row 1
 
View user's profile Send private message
jestrella
Moderator



Joined: Dec 01, 2005
Posts: 593
Location: Santiago, Dominican Republic

PostPosted: Mon Oct 04, 2010 3:59 pm Reply with quote

Mmm. seems like I need to update the SQL file, will let you know when ready...

_________________
"For those whom have not reach the sky... Every mountain seems high"

Best Regards
Jonathan Estrella [ Only registered users can see links on this board! Get registered or login! ] 
View user's profile Send private message Visit poster's website
stclem







PostPosted: Tue Oct 05, 2010 4:00 am Reply with quote

ok. But want to use it when i wait.

Have made thumbs myself, uploaded the images to Gallery/Pictures/foldername, the thumbs til Gallery/Thumbs/foldername.

Added the info to the mysql db, and when i go to the folder in iGallery i can see the thumbs as it should, but the images dont show when i clikck on the thumbs.
Something i do wrong?
 
stclem







PostPosted: Wed Oct 06, 2010 11:49 am Reply with quote

hi, in functions.php line 420 i changed
Code:
   $result = $db->sql_query('INSERT INTO '.$prefix.'_igallery_pictures VALUES(NULL, \''.$albumId.'\', \''.$picture.'\', \'\', \''.$picture.'\', 0, 0, \''.time().'\', \''.$submitter.'\', 0, 0, \'\')');


to

Code:
$result = $db->sql_query('INSERT INTO '.$prefix.'_igallery_pictures VALUES(NULL, \''.$albumId.'\', \''.$picture.'\', \'\', \''.$picture.'\', 0, \''.time().'\', \''.$submitter.'\', 0, 0, \'\')');

                     


Now it works with quick add.

But still dont see the images when i click on the thumb.

EDIT: Made a wrong remove in code. This is correct.


Last edited by stclem on Wed Oct 06, 2010 1:41 pm; edited 1 time in total 
stclem







PostPosted: Wed Oct 06, 2010 1:37 pm Reply with quote

Hi, now changed line 187 in index.php to

Code:
echo '   <img class="show-pic" src="modules/'.$moduleName.'/'.$picturesPath.'/'.$folderName.'/'.$filename.'" alt="'.$filename.'" title="'.$pictureTitle.'" />'.PHP_EOL;


Now i can se the images, but the hit counter dont work.
 
jestrella







PostPosted: Thu Oct 07, 2010 8:10 am Reply with quote

All this will be fixed (hopefully) with the SQL update... Currently working on it...
 
jestrella







PostPosted: Thu Oct 07, 2010 8:27 am Reply with quote

Checkout the latest [ Only registered users can see links on this board! Get registered or login! ]
 
jestrella







PostPosted: Thu Oct 07, 2010 8:44 am Reply with quote

Later tonight will try to reproduce all this issues
 
stclem







PostPosted: Thu Oct 07, 2010 3:48 pm Reply with quote

Thanks, now works.

But quick test and found this:
- Manage media -> blank page.
- Delete albums -> nothing happens.
 
NeapolitanWorld
Involved
Involved



Joined: Nov 06, 2005
Posts: 339
Location: Los Angeles, USA

PostPosted: Thu Oct 07, 2010 4:53 pm Reply with quote

stclem, love to see what you do with your gallery. please post your link or pm it if you have a chance Very Happy

jc

_________________
My Raven Site Neapolitan Mastiff 
View user's profile Send private message
stclem







PostPosted: Sat Oct 09, 2010 7:41 am Reply with quote

[ Only registered users can see links on this board! Get registered or login! ]
 
jestrella







PostPosted: Sat Oct 09, 2010 9:23 am Reply with quote

xD I like your site, you'll need a gray tooltip theme. Will create one Very Happy
 
stclem







PostPosted: Sat Oct 09, 2010 9:27 am Reply with quote

forgot to change it. Use the blue now.

Is there posible go let guest post comments?
 
jestrella







PostPosted: Sat Oct 09, 2010 9:32 am Reply with quote

Not at the moment, but that was my initial plan, changeable in the settings panel.
 
stclem







PostPosted: Sat Oct 09, 2010 11:12 am Reply with quote

seems like the pop on the block is on all time.
 
stclem







PostPosted: Tue Oct 12, 2010 4:48 am Reply with quote

Hi, how to sort the album in newest album first etc.

Posibly to get name on album to show on index?
 
jestrella







PostPosted: Tue Oct 12, 2010 6:40 pm Reply with quote

In later commits today the always displayed POP icon on block is solved. As of today it is not possible to sort albums/pics, but it will be nice (have to create a wishlist Very Happy ). I don't get the point on your last question....

Quote:
Posibly to get name on album to show on index?
 
stclem







PostPosted: Wed Oct 13, 2010 7:17 am Reply with quote

Hi, was thinking about in the index gallery page. (modules.php?name=iGallery)

The albums is shown as thumb, but i want the name one the album also.

One other thing, when i use the quick add, why dosnt it add pictures in order by filename. Its random now witch picture it adds first.
 
jestrella







PostPosted: Wed Oct 13, 2010 7:40 am Reply with quote

Quote:
The albums is shown as thumb, but i want the name one the album also.

that would be easy, you would just need to edit the showSubAlbum() function, starting at line 761 in $moduleName/includes/functions.php and add variable $title where you want it to appear. Same for pictures, just that unstead of editing the above function you'll need to edit the showSubPics() one.

Quote:
One other thing, when i use the quick add, why dosnt it add pictures in order by filename. Its random now witch picture it adds first.

That would depend on PHP itself, I'm using the standard PHP functions for file/directory listing or reading.
 
stclem







PostPosted: Wed Oct 13, 2010 10:38 am Reply with quote

Thanks.

If i added DESC at end here, it sort the newest album first.

Code:
function showSubAlbum($root=1) {

   global $db, $prefix, $moduleName, $iConfig, $pag, $ofsppg, $ofsbgn;
   $root = intval($root);
   $showDetails = intval($iConfig['show_details']);
   $showColumns = intval($iConfig['show_columns']);
   $thumbsPath = $iConfig['thumbs_path'];
   $thumbsRealPath = iPath($thumbsPath);
   $thumbsFormat = strtolower($iConfig['thumbs_format']);
   $albumCounter = 0;

   echo '<table class="show-child" cellspacing="5" cellpadding="5"><tr>'.PHP_EOL;

   $column=1; $srow=1;
   $node = getNodes($root);
   $sql ='SELECT node.*, (COUNT(parent.album_id) - (sub_tree.depth + 1)) AS depth
   FROM '.$prefix.'_igallery_albums AS node,
   '.$prefix.'_igallery_albums AS parent,
   '.$prefix.'_igallery_albums AS sub_parent,
   (
      SELECT node.*, (COUNT(parent.album_id) - 1) AS depth
      FROM '.$prefix.'_igallery_albums AS node,
      '.$prefix.'_igallery_albums AS parent
      WHERE node.album_left BETWEEN parent.album_left AND parent.album_right
      AND node.album_id = \''.$node['id'].'\'
      GROUP BY node.album_id
      ORDER BY node.album_left
   ) AS sub_tree
   WHERE node.album_left BETWEEN parent.album_left AND parent.album_right
      AND node.album_left BETWEEN sub_parent.album_left AND sub_parent.album_right
      AND sub_parent.album_id = sub_tree.album_id
   GROUP BY node.album_id
   HAVING depth = 1
   ORDER BY node.album_left DESC;';
 
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1122

PostPosted: Tue Nov 02, 2010 5:32 pm Reply with quote

Please send me a copy, I wanna test it on a different server. Thanks in advance.
 
View user's profile Send private message
jestrella







PostPosted: Tue Nov 02, 2010 5:38 pm Reply with quote

unicornio, get it from [ Only registered users can see links on this board! Get registered or login! ]
 
KennyW
Hangin' Around



Joined: Jul 15, 2004
Posts: 44

PostPosted: Sat Aug 20, 2011 3:18 pm Reply with quote

Any updates on this ?

admin.php?op=galPictures show just a white page

and are you adding the feature to disable uploads just for members or simply just allow admin,as for now everyone can upload etc etc.

And i think it would be great if you could make it work with NukeFEED and with NukeSEO sitemap
 
View user's profile Send private message
KennyW







PostPosted: Sun Sep 11, 2011 7:10 am Reply with quote

stclem wrote:
Thanks, now works.

But quick test and found this:
- Manage media -> blank page.
- Delete albums -> nothing happens.


Did you get these to work ?
 
killing-hours
RavenNuke(tm) Development Team



Joined: Oct 01, 2010
Posts: 438
Location: Houston, Tx

PostPosted: Sun Sep 11, 2011 9:34 am Reply with quote

Those I believe weren't coded at the time.

_________________
Money is the measurement of time - Me
"You can all go to hell…I’m going to Texas" -Davy Crockett 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©