![]() |
Oak?s vGallery 1.0
The Gallery?s features:
- Forum users can add their own images - Forum users rate/comment the images (not rate their own) - Admin can add/delete categories/subcategories - Admin can move images between categories/subcategories - Admin can delete images and comments - A toplist sortable in rating, votes, views, comments - Automatic Thumbnail creation through ImageMagick?s Convert function - Images info is stored in MySQL - Images is stored in a directory of the webserver (not in MySQL) Coming soon: - More Admin features - More data fields - More sorting options You want some new feature to the next version ? ------------------------------------------------------------------------------ What you need: - Licenced vBulletin forum - PhpMyAdmin to import database structure http://www.phpmyadmin.net/ - ImageMagick (Convert) installed on server http://imagemagick.sourceforge.net/ - "register_globals" in php.ini turned to "On" - Webservers User must have write access to "images" and "thumbnails" directories ------------------------------------------------------------------------------ How to install: - UnZip "Oak vGallery 1.0.zip" - Import database structure from "InstallDB\Oak_vGallery.sql" with PhpMyAdmin - Configure DB User/Pass in "Upload\sql.php" - Configure your vGallery in "Upload\galleryconfig.php" - Configure the text and link styles in "Upload\gallery.css" - Upload the files from "Upload" to your vGallery directory on the webserver - Give the webservers User write access in "images" and "thumbnails" directories - Start your vGallery and Upload your image categories - Please post your vGallery link here - Finished ! :) ------------------------------------------------------------------------------ Here is some screenshots: http://websociety.wm.net/~wmanbem/_temp/vGallery1.jpg http://websociety.wm.net/~wmanbem/_temp/vGallery2.jpg http://websociety.wm.net/~wmanbem/_temp/vGallery3.jpg http://websociety.wm.net/~wmanbem/_temp/vGallery4.jpg http://websociety.wm.net/~wmanbem/_temp/vGallery5.jpg ------------------------------------------------------------------------------ Direct link to my vGallery (This one is Swedish): http://websociety.wm.net/~wmanbem/fi...leri/index.php ------------------------------------------------------------------------------ Please post questions, comments and suggestions here ! |
I will be having a look at installing that a bit later, i do need a gallery :p
Matthew |
WOW thank you for sharing with us click install
|
How far is this integrated with vBulletin ? On your demo site I do not see the header/footer of your site .. does it only use the user table to get the user/pass as integration (done with getuser.php?)
|
Xiphoid, yes only the User/Pass is used. Separate DB and directory on the webserver.
|
installed :D
|
Colicab-d, can you post the url ? What do you think about it ?
|
Quote:
|
Sebastian, it is my friend who has coded the Gallery but i can forward your comments to him. It worked with register_globals=off with older versions of PHP but not with the newest.
|
im gonna set it up tonite bergman i gotta install image magik first :p
Aside that i should be able to get a really cool version of it running if i can modify the templates it uses ok :D add me on aim or msn :D |
yeah I've found that register_globals on software is not ALWAYS bad. Insecurity is in the programming not the build. But here's what I've discovered:
Any script that the author uses a register_globals on script with has either: A) issued an update by now to let the user run the script with globals off, or B) Is not security minded, in which case I won't use the script. If they just don't know HOW to update their script or haven't had the time I can deduce one of 2 things. Either they A) Don't know what they are doing in regards to security, or B) don't take security seriously enough. Either way I won't use the script. Like I said, if a script requires register globals on it does not necessarily mean it's an insecure script, but how do I know that? Aaron |
ok i get this error
Parse error: parse error, unexpected T_STRING in /www/html/vb/vbgallery/galleryconfig.php on line 49 Warning: ChDir: No such file or directory (errno 2) in /www/html/vb/vbgallery/getuser.php on line 4 anyhelp? |
id guess its a mis config in your settings i.e your pointing it to a non-existant dir :p
|
ok this is line 49
Code:
$intRat width=\"55\" height=\"12\" src=\"icons/" . $intRating . "stars.gif\" alt=\"" . round($dblRating, 1) . "\"> (" . round($dblRating,1) . ")"; Code:
chdir($cfgForumDir); |
There is definitely an issue here, I can replicate it as well.
|
Thanks for the script!! I've been waiting for something like this for ages.. finally an alternative to photopost!!
I'd love to see a working english version before I install this though |
i hate stupid site like that imagemajik thingy, i can never find the link to what i want. can someone give me a direct link to the download
|
gaaaaaah
Parse error: parse error in /usr/home/chumash/www/forums/galleries/galleryconfig.php on line 49 Warning: ChDir: No such file or directory (errno 2) in /usr/home/chumash/www/forums/galleries/getuser.php on line 4 |
ok, i downloaded ImageMagick-5.5.4-1.zip
i took a look at it and have no idea how to install it on my server :( |
My friend is going to fix so register_globals=on is not necessary but then you must have a late version of PHP instead.
He also thought that your error can be a missing ; somewhere. We are goint to look at it later today. Can you post your galleryconfig.php without the DB info ? It helps to find the error. |
yeah the whole image magik is bloody confusing :p
|
Quote:
What I say is, if someone has a problem with this globals thing, explain just why it should not be set the way the author has it. Then, if someone wants to help him out in fixing this (if necessary) offer to do so... (looks like someone may have done this already) I just think more constructive criticism is in order when someone has spent this much time working on something like this... thats all. (sorry, I've seen so many people do this lately and had to finally say something...) I say thanks for the script. It looks like gallery 3.0 may not be delivered as promised, so perhaps this new iteration of a gallery will take off and solve the gallery blues... |
Quote:
|
gopherhockey, thanks ! :)
SpeedStreet, are you sure that the path to the forum and gallery is the correct local path on the server ? Wich PHP and MySQL version do you have ? |
PHP Version 4.2.3
Mysql Version 3.23.54 Paths are 100% correct. Imagemagick is on, register_globals are on (Host's choice, i'd prefer not to have them, but since he has them on, I might as well make the best of it). |
SpeedStreet, im runnig PHP 4.2.3 and MySQL 3.23.52 so that should not be the problem. Hmm ...
I can ask my friend again but he was quite sure that there must be some error in galleryconfig.php Could you send it to me so i can have a look in it ? anbem@wmdata.com is my adress. Remove User/pass to the DB first. please send the url to the Gallery to. My MSN-adress is anbem@wmdata.com if you have MSN |
Thanks for the help. Once I get back to the office, I will send it over :)
|
Photopost doesnt do that and I need for my game site to beable to upload a pic of the map the then the map files for your server
|
Just put the link to a thread that contains the attachment in the description of the photo.
|
Bergman,
I've sent over all the files and have the test up and running...well, as up and runnig as i can get it. Thanks for your help. |
Aaarrrghh ... it seems that the //Functions-section is wrong in galleryconfig.php
This is the right <? // Functions function createStars($dblRating) { $intRating = round($dblRating); $imgTag = "<img width=\"55\" height=\"12\" src=\"icons/" . $intRating . "stars.gif\" alt=\"" . round($dblRating, 1) . "\"> (" . round($dblRating,1) . ")"; return $imgTag; } function removeHTML($sData) { $searchFor[0] = "<"; $searchFor[1] = ">"; return str_replace($searchFor, "", $sData); } function outputRowColSelector($cid, $scid, $sort) { global $rowcol; ?> |
Awesome!
We are one step closer to getting this to work. Here is the newest problem that appears on the top of all my pages: PHP Code:
|
ok question
on these lines where it asks for path to ???? Code:
$cfgForumDir = "/home/vbulletin/"; //The local path to the forum dir |
I'm toying around with this, and while I error out trying to upload a picture, it does in fact work...I am getting VERY excited about this.
Is you team planning on integrating this with vBulletin further? I would LOVE to see the ability for an admin to lock a certain category for their uploading only and maybe the ability for common users to add their own sub categories as well....or maybe even link their own subcategory to their profile (ala PhotoPost). This program has HUGE potential in our community, you can sign me up as your number 1 beta tester /me definitely installs |
Quote:
Usually it's /home/USERNAME/public_html/vbulletin or whatever. |
i get this now
Code:
Warning: Cannot add header information - headers already sent by (output started at /www/html/vb/VGallery/galleryconfig.php:47) in /www/html/vb/admin/functions.php on line 1692 figured it out, was b/c i forgot to define the user groupid numbers in the config |
Me too ;)
|
ok new problem, got everything else working, everything uploads but i get an error when i hit upload, same for creating cat., making a comment...etc...
the code is the same on them all Code:
Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site238/fst/var/www/html/vb/VGallery/galleryconfig.php:47) |
Now we figured it out ... there were blank rows in there 3 files. Sorry for the problems but it should work now. :)
|
|
All times are GMT. The time now is 12:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|