WordPress.org

Ready to get started?Download WordPress

Forums

New Plugin: xGallery (71 posts)

  1. zeeg
    Member
    Posted 9 years ago #

    Note: This has only been tested on WP 1.5

    This plug-in is designed to give your users access to media files on your site (Videos, Images, and Audio).

    Currently only the Images are done.

    http://davidcramer.net/index.php?page_id=22

  2. damon
    Member
    Posted 9 years ago #

    Looks good, Would be nice to have a way to display video files and music files, I was looking for a nice way to show some small video clips on my site a few weeks back.

  3. zeeg
    Member
    Posted 9 years ago #

    You can now display flash, video, and audio files. A few more changes, see the readme.txt in the .zip file

  4. zeeg
    Member
    Posted 9 years ago #

    Version 0.3 released, it has a few minor changes, and it now has a working administration via the WP admin-> options

    I'll be adding the support for other file types (.txt, .zip, etc.) as well as hit counters (especially helpful for .zip's etc.) in the next version.

    Things to also look forward to will be a File Administration interface, as well as user comments in the future

  5. DetroitMonkey
    Member
    Posted 9 years ago #

    I've just installed 0.3 on WP nightly build 1-13-2005.
    I followed the brief instructions in the readme file.
    When I activate xGallery from the plugin admin panel, I get a new xGallery tab under Options in the admin panel.

    The problem is that I get the following errors above the xGallery options tab.

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'xgallery_resized_filetype')'' at line 1]<br />
    SELECT option_name FROM wp_options WHERE option_name = 'xgallery_get_option('xgallery_resized_filetype')'

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'xgallery_resized_filetype')'' at line 1]<br />
    SELECT option_name FROM wp_options WHERE option_name = 'xgallery_get_option('xgallery_resized_filetype')'

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'xgallery_resized_filetype')'' at line 1]<br />
    SELECT option_name FROM wp_options WHERE option_name = 'xgallery_get_option('xgallery_resized_filetype')'

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'xgallery_resized_filetype')'' at line 1]<br />
    UPDATE wp_options SET option_value = '0' WHERE option_name = 'xgallery_get_option('xgallery_resized_filetype')'<br />

  6. zeeg
    Member
    Posted 9 years ago #

    I'll upload the fixed version tomorrow

  7. NuclearMoose
    Member
    Posted 9 years ago #

    zeeg,
    Has anyone tested the plugin on 1.2x yet?

  8. zeeg
    Member
    Posted 9 years ago #

    Ya but I think some of the newer stuff primarily wont work on 1.2, but im not 100%.

    You can try but you have to edit the photos.php template, my 0.1 version worked but im not sure now

    I uploaded 0.31 now it fixes that bug, but there IS a bug with larger image files (around 200-300kb) i dont know why, but it breaks the thumbnail creation script, ill try fixing it later

    I might just end up removing the shadow effects and such

  9. zeeg
    Member
    Posted 9 years ago #

    ok ok, i fixed audio/video, 0.32 is avail, for now they all require quicktime tho

  10. Jinsan
    Member
    Posted 9 years ago #

    sounds a very interesting plugin, might take a look at it. nice work zeeg

  11. chanzero
    Member
    Posted 9 years ago #

    hi, i just installed xgallery on mingus, however i didn't get any xgallery admin option after activating the plugin. which is fine if i can use it without the admin, but the readme didn't seem to indicate how to use it otherwise? i don't know if i'm supposed to upload images into a certain folder, etc

    plugin looks cool though, i really like the ability to have different types of media! and of course file admin and user comments will be great too

  12. zeeg
    Member
    Posted 9 years ago #

    what version of wordpress?

    It'd be under the Menu "Options" in WP-Admin

    options-general.php would be the page to load to view it I believe

  13. chansop
    Member
    Posted 9 years ago #

    hi zeeg, it's version 1.2.2 of wp

    and yeah, on options-general.php i don't have anything new showing up there :( i must've done something wrong...

  14. zeeg
    Member
    Posted 9 years ago #

    it might be because you're using 1.2.2 i made it for 1.5, sorry :(

  15. chansop
    Member
    Posted 9 years ago #

    thanks zeeg, no worries. i had been thinking it best to stick with the latest stable version but all these cool plugins are so tempting heheh...

  16. DetroitMonkey
    Member
    Posted 9 years ago #

    Alright zeeg. This plugin looks sweet on your site, and damn if I'm not itching to use it myself, but i need more documentation.

    Your readme is so out-dated and is about 4 lines long. Something like...
    1. Unzip
    2. Edit as needed
    3. Activate
    4. Upload and Enjoy

    I need a little more than that.
    I uploaded the plug-in and installed it just fine.
    I used the xGallery admin panel under Options to customize my settings.

    Now what? Where do I upload to? Should I have another browser interface for managing my albums and photos? Or is it all FTP uploading and let xGallery sort it out? I mean, the documentation is so thin on this that I am not even sure IF i got installed right or what to do with it.

    Can you please get a clear and complete documentation so I can use this.

  17. keri
    Member
    Posted 9 years ago #

    For images:
    upload your files to wp-content/gallery is all.

    For access to the page:
    make sure to add a link to your sidebar to photos.php

    Zeeg: I've already posted elsewheres, but I thought that you might want to get together with RumGallery creator (dan) and combine the two plugins.

  18. zeeg
    Member
    Posted 9 years ago #

    Sorry about the thin documentation, but ya you just stick your files in whatever directory you set.

    I changed some things, v4 will allow you to call the 'root' directory, it will also have a default root directory, and the gallery will be based off that.

    so instead of just xgallery_show_photos(stuff), itll be like xgallery_show_photos($gallery_root_dir), and then it'd follow the options from the rest.

    I do plan on creaeting a file manager tho, i just haven't yet (it takes time)

  19. zeeg
    Member
    Posted 9 years ago #

    Version .4 is available, see the included CHANGES.txt for updates

  20. noname
    Member
    Posted 9 years ago #

    Hi,

    nice gallery.. however i got some issues.

    catching "Division by Zero" in admin.

    Xgallery in Admin doesnt work either... the path refer to "/wp-admin/xgallery/xgallery-options.php". im trying put the folder in there....nothing show up.. got error

  21. zeeg
    Member
    Posted 9 years ago #

    Wheres it say Division by zero?

  22. zeeg
    Member
    Posted 9 years ago #

    you should be able to access it as like options-general.php?page=xgallery/xgallery-options.php

  23. noname
    Member
    Posted 9 years ago #

    (Warning: Division by zero in ..\wp-content\plugins\xgallery.php on line 30)

    i got it working now...

    but when clicked on photos.php...it gave me an error:


    There was an error with your request
    Error Message: Unable to access the specified directory

    hmm... im not sure what it is...files and folder is there ...gallery (/wp-content/gallery/)

    side note: there duplicate footer in Xgallery Admin


    (<?php include('admin-footer.php'); ?> )

    http://img177.exs.cx/my.php?loc=img177&image=duplicatefooter0tq.jpg

  24. zeeg
    Member
    Posted 9 years ago #

    What'd you do to get it working?

    Is your directory in admin set as /wp-content/gallery/ ?

  25. noname
    Member
    Posted 9 years ago #

    yes .. in admin it's set to default path (/wp-content/gallery/)

    run photos.php from main wp root.


    There was an error with your request
    Error Message: Unable to access the specified directory

    Wherever absolute/relative paths .. i getting the same error.

  26. zeeg
    Member
    Posted 9 years ago #

    Can you show me your photos.php?

  27. noname
    Member
    Posted 9 years ago #

    just the example-photos.php come with xgallery by default.


    <?php
    /* Don't remove this line. */
    require('./wp-blog-header.php');
    get_header();
    get_sidebar();
    ?>
    <div id="content">
    <?php gallery_show_photos(); ?>
    </div>
    <?php get_footer(); ?>

  28. zeeg
    Member
    Posted 9 years ago #

    Can you do me a favor, create a test.php and in it put <? echo realpath($_SERVER['document_root']); ?> and see what that outputs

  29. noname
    Member
    Posted 9 years ago #

    im currently working on localhost (xampp)

    anyways...the path is: C:\xampp\htdocs\main

    on the real host as i borrowed from.. same error as above.

  30. zeeg
    Member
    Posted 9 years ago #

    hrmm I can't figure out why it'd give you the invalid directory error, main\wp-content\gallery\ exists right?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.