Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post FAP SUPPORT - How To Edit Picture? 
 
Hello,
I want to edit some of the picture descriptions. But I couldn't find any edit button.

Bye Martin
 



 
MartinTruckenbrodtSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
go in the related gallery category, and under every pic you have an edit link, if you have the rights to do it

cheers
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
Hello,
  . Thank's a lot!

But IMO, a edit button on album_showpage.php would be a good idea too. At least this would be similar to phpBB edit post.

Bye MArtin
 



 
MartinTruckenbrodtSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
MartinTruckenbrodt wrote: [View Post]
Hello,
  . Thank's a lot!

But IMO, a edit button on album_showpage.php would be a good idea too. At least this would be similar to phpBB edit post.

Bye MArtin


you´re welcome.

maybe MG adds this to an next release. I think it would be very usefull.

cheers
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
This will place text links for Edit Delete Lock/Unlock Move

Modify to suit your preference.

OPEN album_showpage.php
FIND
Code: [Download] [Hide] [Select]
'NAV_CAT_DESC' => $album_nav_cat_desc,

AFTER ADD
Code: [Download] [Hide] [Select]
'EDIT' => ( ($auth_data['moderator']) or ($userdata['user_id'] == $thispic['pic_user_id']) ) ? '<a href="'. append_sid(album_append_uid('album_edit.' . $phpEx . '?pic_id=' . $thispic['pic_id'])) . '">' . $lang['Edit_pic'] . '</a>' : '',
//'DELETE' => ( ($userdata['user_level'] == ADMIN) or ($userdata['user_id'] == $thispic['pic_user_id']) ) ? '<a href="'. append_sid(album_append_uid('album_delete.' . $phpEx . '?pic_id=' . $thispic['pic_id'])) . '">' . $lang['Delete_pic'] . '</a>' : '',
'DELETE' => ( ($auth_data['moderator']) or ($userdata['user_id'] == $thispic['pic_user_id']) ) ? '<a href="'. append_sid(album_append_uid('album_delete.' . $phpEx . '?pic_id=' . $thispic['pic_id'])) . '">' . $lang['Delete_pic'] . '</a>' : '',
'LOCK' => ($auth_data['moderator']) ? '<a href="'. append_sid(album_append_uid('album_modcp.' . $phpEx . '?mode=' . (($thispic['pic_lock'] == 0) ? 'lock' : 'unlock') . '&amp;pic_id=' . $thispic['pic_id'])) .'">'. (($thispic['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '',
'MOVE' => ($auth_data['moderator']) ? '<a href="'. append_sid(album_append_uid('album_modcp.' . $phpEx . '?mode=move&pic_id=' . $thispic['pic_id'])) . '">' . $lang['Move'] . '</a>' : '',


OPEN album_showpage_body.tpl
FIND
Code: [Download] [Hide] [Select]
<span class="genmed">{U_PIC_CLICK}&nbsp;</span><br />

AFTER ADD
Code: [Download] [Hide] [Select]
<span class="genmed">{EDIT}&nbsp;{DELETE}&nbsp;{LOCK}&nbsp;{MOVE}</span><br />

 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
Users ask... Artie creates the customized code... and it is free.

Thanks for the suggestion (which is really useful) and thanks for the solution as well... this is a bright example of open source project. These kind of things makes me happy of sharing my knowledge. Thanks.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
Mighty Gorgon wrote: [View Post]
Users ask... Artie creates the customized code... and it is free.

FREE !!!  

I guess I should apologize to my postman. I accused him of losing my check.  
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
Artie wrote: [View Post]
This will place text links for Edit Delete Lock/Unlock Move

Modify to suit your preference.

OPEN album_showpage.tpl


   ehem....where is album_showpage.tpl?
 



 
felix968Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
felix968 wrote: [View Post]

   ehem....where is album_showpage.tpl?


templates/mg_themes/
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
KugeLSichA wrote: [View Post]


templates/mg_themes/


mmm. in my templates i have only subSilver ....and in subsilver there is only one like album_showpage.tpl, but his name is "album_showpage_body.tpl"
I've FAP 1.4.1 and phpbb 2.0.21
 



 
felix968Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
I'm sorry, album_showpage_body.tpl is correct


Corrected above
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
ok.....now it works.
Thank you again
 



 
felix968Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
Great Artie!!
 




____________
~~~ Andrea ~~~
User #379756 on Linux Counter
"If you can't apt-get something, it isn't useful or doesn't exist!!"
 
buldoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
I've got version 1.5.1 and I also like to ad the edit/delete option to album_showpage. However, on album_showpage.php, I can't find
'NAV_CAT_DESC' => $album_nav_cat_desc,
Where should I put the new code?
 



 
PeterSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Edit Picture? 
 
I guess you are using Icy Phoenix, can you confirm that?

Are you sure that this code isn't already there?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events