News:

New Wiki available at http://wiki.gstwins.com -Check it out or contribute today!

Main Menu

THE GALLERY OPEN FOR ALL TO POST PHOTOS!!!

Started by john, April 01, 2006, 08:58:21 AM

Previous topic - Next topic

john

http://gstwins.com/photogallery

The Photo Gallery is open and working.  If you cleared your cookies a few days ago then you'll be logged in and be able to instantly post, otherwise it waits for approval -which is no big deal.  2 meg maximum file size for png, gif or jpg uploads.

Post up and enjoy!
There is more to this site than a message board.  Check out http://www.gstwin.com

Fear the banana hammer!

pantablo

attempted to do another approval. got this.

QuoteUSER:
------------------
Array
(
    [ID] => 4dfd2c6fc6bf18f85a3d3d97be99b6c8
    [am] => 1
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 6
    [user_name] => pantablo
    [groups] => Array
        (
           
  • => 1
            )

        [disk_max] => 7000
        [disk_min] => 7000
        [can_rate_pictures] => 1
        [can_send_ecards] => 1
        [ufc_max] => 3
        [ufc_min] => 3
        [custom_user_upload] => 0
        [num_file_upload] => 2
        [num_URI_upload] => 1
        [can_post_comments] => 1
        [can_upload_pictures] => 1
        [can_create_albums] => 1
        [has_admin_access] => 1
        [pub_upl_need_approval] => 0
        [priv_upl_need_approval] => 0
        [group_name] => Administrators
        [upload_form_config] => 3
        [group_quota] => 7000
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg132_filetypes; (0s)
        [1] => select * from cpg132_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg132_bridge (0s)
        [3] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg132_usergroups WHERE group_id in (1) (0s)
        [4] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1 (0s)
        [5] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 6 (0s)
        [6] => DELETE FROM cpg132_banned WHERE expiry < '2006-04-01 17:55:08' (0s)
        [7] => SELECT * FROM cpg132_banned WHERE (ip_addr='67.102.133.141' OR ip_addr='67.102.133.141' OR user_id=6) AND brute_force=0 (0s)
        [8] => SELECT DISTINCT aid, title, IF(category = 0, CONCAT('> ', title), CONCAT(name,' < ',title)) AS cat_title FROM cpg132_albums, cpg132_categories WHERE category < '10000' AND (category = 0 OR category = cid) ORDER BY cat_title (0s)
        [9] => SELECT aid, title FROM cpg132_albums WHERE category='10006'  OR category='10006' ORDER BY title (0s)
        [10] => SELECT category, filepath, filename, owner_id FROM cpg132_pictures, cpg132_albums WHERE cpg132_pictures.aid = cpg132_albums.aid AND pid='1060' (0s)
        [11] => UPDATE cpg132_pictures SET aid = '3', title = 'test guest upload', caption = 'test approval', keywords = '', user1 = '', user2 = '', user3 = '', user4 = '', approved = 'YES' WHERE pid='1060' LIMIT 1 (0.001s)
        [12] => SELECT count(*) FROM cpg132_pictures WHERE approved = 'NO' (0.001s)
        [13] => SELECT pid, owner_id FROM cpg132_pictures WHERE owner_id != 0 AND owner_name = '' (0.004s)
        [14] => SELECT * FROM cpg132_pictures WHERE approved = 'NO' ORDER BY pid LIMIT 0, 25 (0.007s)
        [15] => SELECT COUNT(*) FROM cpg132_pictures WHERE approved = 'NO' (0.001s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [mode] => upload_approval
        [start] => 0
        [count] => 25
    )

    ==========================
    POST :
    ------------------
    Array
    (
        [count] => 25
        [pid] => Array
            (
               
  • => 1060
            )

        [aid1060] => 3
        [title1060] => test guest upload
        [caption1060] => test approval
        [keywords1060] =>
        [user11060] =>
        [user21060] =>
        [user31060] =>
        [user41060] =>
        [approved1060] => YES
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.1 - OK
    ------------------
    mySQL version: 4.0.25-standard
    ------------------
    Coppermine version: 1.4.4(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.25
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    Linked Version 1.1.4
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    safe_mode_exec_dir | no value | no value
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | no value | no value
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | On | On
    include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
    open_basedir | '.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/nfs/home:/usr/home:/usr/local/bin/' | '.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/nfs/home:/usr/home:/usr/local/bin/'
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | no value | no value
    sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
    SMTP | localhost | localhost
    smtp_port | 25 | 25
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 30 | 30
    max_input_time | 60 | 60
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.105 seconds - 16 queries in 0.014 seconds - Album set : ; Meta set: ;
Pablo-
http://pantablo500.tripod.com/
www.pma-architect.com


Quote from: makenzie71 on August 21, 2006, 09:47:40 PM...not like normal sex, either...like sex with chicks.

Dwn4whadever

A common mistake that people make when trying to design something completely foolproof, is to underestimate the ingenuity of complete fools....

Thanks to advances in automation, Nike shoes will be made by robots. Unfortunately, the robots will be made by children in Malaysia.

john

Pablo, the approval worked  :laugh: All operations spit out that info in debug mode.

One issue will be that unless cookies are flushed it will take some time before some logged in members will actually be logged into the gallery.  Not that it really matters, but regged members need no approval.

There are a bunch to approve. Feel free to do it.
There is more to this site than a message board.  Check out http://www.gstwin.com

Fear the banana hammer!

annguyen1981

This was done at 8:30pm EST, TIFF file, 2.26mb

"0 Uploads Successful"


Quote
USER:
------------------
Array
(
    [ID] => 03cc5b24744b4d7f28f38aa280598c46
    [am] => 1
    [liv] => Array
        (
           
  • => 1061
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 3605
        [user_name] => annguyen1981
        [groups] => Array
            (
               
  • => 2
            )

        [disk_max] => 2048
        [disk_min] => 2048
        [can_rate_pictures] => 1
        [can_send_ecards] => 1
        [ufc_max] => 3
        [ufc_min] => 3
        [custom_user_upload] => 0
        [num_file_upload] => 2
        [num_URI_upload] => 1
        [can_post_comments] => 1
        [can_upload_pictures] => 1
        [can_create_albums] => 0
        [has_admin_access] => 0
        [pub_upl_need_approval] => 0
        [priv_upl_need_approval] => 0
        [group_name] => Registered
        [upload_form_config] => 3
        [group_quota] => 2048
        [can_see_all_albums] => 0
        [group_id] => 2
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg132_filetypes; (0s)
        [1] => select * from cpg132_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg132_bridge (0s)
        [3] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg132_usergroups WHERE group_id in (2) (0s)
        [4] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 2 (0s)
        [5] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 3605 (0s)
        [6] => DELETE FROM cpg132_banned WHERE expiry < '2006-04-02 01:25:04' (0s)
        [7] => SELECT * FROM cpg132_banned WHERE (ip_addr='151.203.162.19' OR ip_addr='151.203.162.19' OR user_id=3605) AND brute_force=0 (0s)
        [8] => SELECT aid, title FROM cpg132_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0s)
        [9] => SELECT aid, title FROM cpg132_albums WHERE category='13605' ORDER BY title (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [ery] =>
        [upload_php] =>
    )

    ==========================
    POST :
    ------------------
    Array
    (
        [URI_array] => Array
            (
               
  • =>
            )

        [control] => phase_1
    )

    ==========================
    Page generated in 0.094 seconds - 10 queries in 0 seconds - Album set : ; Meta set: ;

2007 YZF-R6 - Purchased 7/03/07
2004 YZF-R6 - Stolen 5/25/07
2004 GS500f - Sold to Bluelespaul
Killin' a Kitty

john

Excellent  :thumb: Glad this issue came up!  TIFF files will upload BUT file size is limited to 2 meg.  In the debug log you will notice max upload = 2048k.  You uploaded 2500k.  Another issue with TIFF files is that most gallery software cannot deal with them properly.  I did a triff upload test and it will upload but the program can't make thumbs out of them.

TIFF files are uncompressed and therefore very large!  When the board opens up I hope you convert those files to .jpg before upload :)

One important thing is that only PNG, JPG and GIF images are acceptable file formats and on the upload page the text at the top states 2048 is max file size allowed  :icon_mrgreen:
There is more to this site than a message board.  Check out http://www.gstwin.com

Fear the banana hammer!

Alphamazing

Can't seem to post comments on any pictures. XP Pro + Firefox
'05 DR-Z400SM (For Sale)
'04 GS500E (Sold)

Holy crap it's the Wiki!
http://wiki.gstwins.com/

test

Quote from: AlphaFire X5 on April 01, 2006, 07:40:47 PM
Can't seem to post comments on any pictures. XP Pro + Firefox

You may have to flush your cookies and relog back in to the board before opening the gallery.  Try it.  You may have stale cookies :laugh:  Just this once.

I have to try to figure out if there is a way I can show if you are logged into the gallery.  The bridge between coppermine and SMF is a bit twitchier than some.

*** I also modified the instructions in the upload page.  Is it more obvious what max file size and file allowed formats are now?

OR I could allow guest coments...what do you think?

GeeP

Every zero you add to the tolerance adds a zero to the price.

If the product "fails" will the product liability insurance pay for the "failure" until it turns 18?

Red '96
Black MK2 SV

Alphamazing

Quote from: test on April 01, 2006, 07:59:34 PM
Quote from: AlphaFire X5 on April 01, 2006, 07:40:47 PM
Can't seem to post comments on any pictures. XP Pro + Firefox

You may have to flush your cookies and relog back in to the board before opening the gallery.  Try it.  You may have stale cookies :laugh:  Just this once.

I have to try to figure out if there is a way I can show if you are logged into the gallery.  The bridge between coppermine and SMF is a bit twitchier than some.

*** I also modified the instructions in the upload page.  Is it more obvious what max file size and file allowed formats are now?

OR I could allow guest coments...what do you think?

Fixed it. Everything works now :)
'05 DR-Z400SM (For Sale)
'04 GS500E (Sold)

Holy crap it's the Wiki!
http://wiki.gstwins.com/

rangerbrown

nee down mother F***ers

Unnamed

Once upon the distant future I'll have that many miles
1996 Black GS, stock except for where previous owner broke things
Visit the GS500 Wiki!!!

If you think you don't need a helmet, you probably don't

scratch

In 2428.5 miles I will have 4 times the pictured mileage.
The motorcycle is no longer the hobby, the skill has become the hobby.

Power does not compare to skill.  What good is power without the skill to use it?

QuoteOriginally posted by Wintermute on BayAreaRidersForum.com
good judgement trumps good skills every time.

SMF spam blocked by CleanTalk