Module: User Image Gallery
Posted by Ravenswood
Re: Module: User Image Gallery November 14, 2009 09:57PM |
Registered: 16 years ago Posts: 533 |
Quote
Thomas Seifert
Yeah, I would assume mod_security here too. Some strict rules disallowing urls in the arguments.
Thank you Tom and thank you Joe. It was a mod_security rule. I chatted with tech support and they fixed it in a split second. Whether it effects me or the whole shared server I do not know.
Anyhow, I just need to do some template tweaking and I will be ready to go live with this addition to my community. Thanks again everyone!
- Bob
Re: Module: User Image Gallery November 15, 2009 09:53AM |
Registered: 14 years ago Posts: 3 |
Hi Ravenswood,
ich change the follow lines in cc_panel.php. Now the comment-id will delete correctly :-)
I change
to
regards Stefan
ich change the follow lines in cc_panel.php. Now the comment-id will delete correctly :-)
I change
Language: PHP
// Remove this message from the list of comments on this message $temp = explode(';,';, $PHORUM[';mod_user_image_gallery';][';image_info';][$image_number][';comments';]); foreach($temp as $key => $value) { if( $value == $comment_number ) { } } $PHORUM[';mod_user_image_gallery';][';image_info';][$image_number][';comments';] = implode(';,';, $temp); $do_store_module_data = true;
to
Language: PHP
// Remove this message from the list of comments on this message $temp = explode(';,';, $PHORUM[';mod_user_image_gallery';][';image_info';][$file_id][';comments';]); foreach($temp as $key => $value) { $array[$key] = $value; if( $value == $comment_number ) { } } $PHORUM[';mod_user_image_gallery';][';image_info';][$file_id][';comments';] = implode(';,';, $array); $do_store_module_data = true;
regards Stefan
Re: Module: User Image Gallery December 02, 2009 12:04AM |
Registered: 16 years ago Posts: 533 |
Re: Module: User Image Gallery December 07, 2009 09:46PM |
Registered: 14 years ago Posts: 221 |
Stefan and Bob,
I'll look into using both of your ideas in the next update.
Thanks!
-- Jim
-------------------------------------------------------------------
"When given a choice, always choose monkeys."
I'll look into using both of your ideas in the next update.
Thanks!
-- Jim
-------------------------------------------------------------------
"When given a choice, always choose monkeys."
Re: Module: User Image Gallery January 15, 2010 12:18PM |
Registered: 20 years ago Posts: 666 |
I have to thank you again for this wonderful addon. You do wonderful work!
Just a few questions and possibly some bugs:
1. Is Stefan's change something that I should implement into my current version of the addon, then?
2. Any chance of a changelog, so that users will know what was changed, and can keep their changed templates from previous versions without wondering if one of the files was changed in an updated version?
3. I can't view images on the "Moderate Images" page in my Admin.
My test user uploaded several pictures, and when I went to approve them, the thumbnails weren't showing (so I can't see what it is he did upload). When I used Firefox's "View Image" option, I got an error message of "Permission denied: links to files in the forum are only allowed from the forum itself."
When I went back to the "Moderate Images" page, I viewed the HTML source and took the URL of the image, and opened it in a new tab. I could view the picture fine there. Then I refreshed the "Moderate Images" page, and for a split second the picture appeared in the thumbnail, before going blank again.
4. When as a moderator I get an e-mail telling me someone has uploaded a picture, all it says is something like:
"The following unapproved images have been uploaded to anolis's gallery.
43"
And nothing else.
-------------------------------------------
"Everything we see or seem, is but a dream within a dream." -Edgar Allan Poe
Edited 3 time(s). Last edit at 01/16/2010 12:04AM by Ryan.
Just a few questions and possibly some bugs:
1. Is Stefan's change something that I should implement into my current version of the addon, then?
2. Any chance of a changelog, so that users will know what was changed, and can keep their changed templates from previous versions without wondering if one of the files was changed in an updated version?
3. I can't view images on the "Moderate Images" page in my Admin.
My test user uploaded several pictures, and when I went to approve them, the thumbnails weren't showing (so I can't see what it is he did upload). When I used Firefox's "View Image" option, I got an error message of "Permission denied: links to files in the forum are only allowed from the forum itself."
When I went back to the "Moderate Images" page, I viewed the HTML source and took the URL of the image, and opened it in a new tab. I could view the picture fine there. Then I refreshed the "Moderate Images" page, and for a split second the picture appeared in the thumbnail, before going blank again.
4. When as a moderator I get an e-mail telling me someone has uploaded a picture, all it says is something like:
"The following unapproved images have been uploaded to anolis's gallery.
43"
And nothing else.
-------------------------------------------
"Everything we see or seem, is but a dream within a dream." -Edgar Allan Poe
Edited 3 time(s). Last edit at 01/16/2010 12:04AM by Ryan.
Re: Module: User Image Gallery March 15, 2010 04:53PM |
Registered: 14 years ago Posts: 1 |
Hi,
I just installed this module - it works fine, thanks a lot :-)
But actually I'm looking for something, which is a little bit different. I looking for a gallery, which is not user-specific, but topic-specific. For example:
I would like to create a gallery "topic A", where every user could upload pictures dealing with topic A
In a second gallery, calling "topic B", every user should be able to upload pictures dealing with top B.
Is there something like this already available? If not, is there anybody, who would like to create something like this (maybe it is possible to pay for this programming. If you're interested, please contact me via PM).
Thanks for your reply,
Jan
I just installed this module - it works fine, thanks a lot :-)
But actually I'm looking for something, which is a little bit different. I looking for a gallery, which is not user-specific, but topic-specific. For example:
I would like to create a gallery "topic A", where every user could upload pictures dealing with topic A
In a second gallery, calling "topic B", every user should be able to upload pictures dealing with top B.
Is there something like this already available? If not, is there anybody, who would like to create something like this (maybe it is possible to pay for this programming. If you're interested, please contact me via PM).
Thanks for your reply,
Jan
Re: Module: User Image Gallery April 01, 2010 08:36AM |
Registered: 14 years ago Posts: 1 |
Registered just so I could say thankyou for this great mod. Tried applying a gallery mod to a phpBB forum but had no luck. Switched to Phorum and used this one and its worked first time!
One small problem I had when viewing the user gallery - had some errors come up regarding lines 184 (Undefined index: title) & 258 (Undefined variable: messages) in view_gallery.php
Changed a '!=' to '=' on 184 so it now looks like:
And cut out line 258:
...and now it works perfectly. Still very new to php so not exactly sure what I did (I know != is does not equal but thats it) though so would be great if anyones feeling kind enough to explain it to me. (or link me to a answer?)
Anyway thanks again for your gallery mod Ravenswood and thanks Ryan for organizing it.
One small problem I had when viewing the user gallery - had some errors come up regarding lines 184 (Undefined index: title) & 258 (Undefined variable: messages) in view_gallery.php
Changed a '!=' to '=' on 184 so it now looks like:
Language: PHP
if ( $info[$id][';title';] = ';'; ): $images[$id][';title';] = $info[$id][';title';]; else: $images[$id][';title';] = $images[$id][';filename';]; endif;
And cut out line 258:
Language: PHP
/*$PHORUM[';DATA';][';MESSAGES';] = $messages;*/
...and now it works perfectly. Still very new to php so not exactly sure what I did (I know != is does not equal but thats it) though so would be great if anyones feeling kind enough to explain it to me. (or link me to a answer?)
Anyway thanks again for your gallery mod Ravenswood and thanks Ryan for organizing it.
Re: Module: User Image Gallery April 01, 2010 09:34AM |
Registered: 18 years ago Posts: 340 |
Re: Module: User Image Gallery April 28, 2010 07:13AM |
Registered: 15 years ago Posts: 59 |
Just one last question before I install this module: Why is there a link to user gallery in the user
profile page instead of the gallery itself? It seems nicer to show user gallery right away in the profile
page.
I would also like to give my users a field to put in their favorite thought or saying, and some other
social data (birthday, sex, ...)
Any hint on how to put all this together?
Regards, Zdravko
profile page instead of the gallery itself? It seems nicer to show user gallery right away in the profile
page.
I would also like to give my users a field to put in their favorite thought or saying, and some other
social data (birthday, sex, ...)
Any hint on how to put all this together?
Regards, Zdravko
Re: Module: User Image Gallery May 03, 2010 05:52AM |
Registered: 15 years ago Posts: 59 |
Sorry, only registered users may post in this forum.