Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Users can edit/replace their own submitted photo

Asked Modified Viewed 2,446 times
C
cmedia
C
cmedia 10
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
asked
Junior Member

How can I make an option for users to edit or replace their own submitted photo or it's details?
Edited by NetriX on 07-04-2014 17:43,
0 replies

5 posts

D
douwe_yntema
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
answered
Senior Member

Try this infusion:
Edited by N/A on 06-04-2014 09:34,
douwe_yntema attached the following file:
usergallery.zip [No information available / 260 Downloads]
0 replies
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

This might also do the trick ,
http://www.php-fusion.co.uk/infusions/addondb/view.php?addon_id=589
0 replies
C
cmedia
C
cmedia 10
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
answered
Junior Member

I can't use those infusions because I have a lot of extra work to do what I want with this. I want only a link on the photo page added by user called "test" that he can edit his own photo. Same edit way that administrator have in administration panel. In "/administration/photos.php" I'm sure the code that I need exists there, but I don't know what part. Any help?
0 replies
P
Piotrroger
P
  • Junior Member, joined since
  • Contributed 20 posts on the community forums.
  • Started 2 threads in the forums
answered
Junior Member

Copy file administration/photos.php, delete code congruent with checking access for Admin (that, users have access for the file) and edit code that User and Admin can edit his own photo. Ah, and you must add field in database that then will be save ID User who add photo (and in submitton.php add code for save ID User).
Sorry, my english in written is not perfect :P
0 replies
C
cmedia
C
cmedia 10
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
answered
Junior Member

I'm pretty sure i'll mess things up. Can you be more specific? if you can, do that modification for me... Thanks in advance!

if (!defined("iAUTH") || !isset($_GET['aid']) || $_GET['aid'] != iAUTH) { redirect("../index.php");}


Looks like this is the line for checking. What can i do to allow every member have acces at editing? If I delete it I can't get "aid=xxxxxxxx" in the link..
Edited by PeaceLaced on 08-04-2014 22:46,
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 5 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

F
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
P
P
  • Junior Member, joined since
  • Contributed 20 posts on the community forums.
  • Started 2 threads in the forums
C
C
cmedia 10
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
D
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet