Author |
Message |
stclem
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Oct 18, 2008
Posts: 52
|
Posted:
Mon Oct 04, 2010 1:32 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
Moderator
![](modules/Forums/images/avatars/bea6a62d4db43637aa29d.jpg)
Joined: Dec 01, 2005
Posts: 593
Location: Santiago, Dominican Republic
|
Posted:
Mon Oct 04, 2010 3:59 pm |
|
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
http://about.me/jestrella04 |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
stclem
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Oct 05, 2010 4:00 am |
|
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? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
stclem
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Oct 06, 2010 11:49 am |
|
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 |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
stclem
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Oct 06, 2010 1:37 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Oct 07, 2010 8:10 am |
|
All this will be fixed (hopefully) with the SQL update... Currently working on it... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Oct 07, 2010 8:27 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Oct 07, 2010 8:44 am |
|
Later tonight will try to reproduce all this issues |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
stclem
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Oct 07, 2010 3:48 pm |
|
Thanks, now works.
But quick test and found this:
- Manage media -> blank page.
- Delete albums -> nothing happens. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
NeapolitanWorld
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/629afee64adaa50fd6d95.jpg)
Joined: Nov 06, 2005
Posts: 339
Location: Los Angeles, USA
|
Posted:
Thu Oct 07, 2010 4:53 pm |
|
stclem, love to see what you do with your gallery. please post your link or pm it if you have a chance
jc |
_________________ My Raven Site Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
stclem
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 09, 2010 7:41 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 09, 2010 9:23 am |
|
xD I like your site, you'll need a gray tooltip theme. Will create one ![Very Happy](modules/Forums/images/smiles/icon_biggrin.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
stclem
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 09, 2010 9:27 am |
|
forgot to change it. Use the blue now.
Is there posible go let guest post comments? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 09, 2010 9:32 am |
|
Not at the moment, but that was my initial plan, changeable in the settings panel. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
stclem
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 09, 2010 11:12 am |
|
seems like the pop on the block is on all time. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
stclem
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Oct 12, 2010 4:48 am |
|
Hi, how to sort the album in newest album first etc.
Posibly to get name on album to show on index? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Oct 12, 2010 6:40 pm |
|
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 ). I don't get the point on your last question....
Quote: | Posibly to get name on album to show on index? |
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
stclem
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Oct 13, 2010 7:17 am |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Oct 13, 2010 7:40 am |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
stclem
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Oct 13, 2010 10:38 am |
|
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;';
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm
![](modules/Forums/images/avatars/5ed231554a8492e2e09da.gif)
Joined: Aug 13, 2009
Posts: 1123
|
Posted:
Tue Nov 02, 2010 5:32 pm |
|
Please send me a copy, I wanna test it on a different server. Thanks in advance. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Nov 02, 2010 5:38 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
KennyW
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jul 15, 2004
Posts: 44
|
Posted:
Sat Aug 20, 2011 3:18 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
KennyW
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Sep 11, 2011 7:10 am |
|
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 ? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
killing-hours
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/18f54b284d120ece8c103.gif)
Joined: Oct 01, 2010
Posts: 438
Location: Houston, Tx
|
Posted:
Sun Sep 11, 2011 9:34 am |
|
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 |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|