Log in

View Full Version : Social Group and Album Enhancements - Online Image editor of Album Pictures


mobe00
08-10-2010, 10:00 PM
This modifaction allows the forum members to directly edit album pictures online and save them back to their computer. When the user have finished the editing and exited the editor it returns you back to the specific album the user was browsing.

You can choose which language by setting &loc= parameter with the approriate language code under. For english use &loc=en

*de = German (0 lines)
*en = English (0 lines)
*dk = Danish (0 lines)
*he = Hebrew (0 lines)
*es = Spanish (72 lines)
*fr = French (0 lines)
*it = Italian (0 lines)
*pl = Polish (76 lines)
*pt-br = Brazilian-Portuguese (0 lines)
*ro = Romanian (53 lines)
*nl = Dutch (0 lines)
*ru = Russian (0 lines)
*uk = Ukrainian (0 lines)
*sv = Swedish (0 lines)
*sl = Slovenian(0 lines)
*el = Greek (45 lines)
*cs = Czech (45 lines)
*th = Thai (47 lines)
*tr = Turkish (52 lines)
*jp = Japanese (43 lines)
*tr = Korean (43 lines)
*zh-cn = Simplified Chinese (0 lines)
*zh-tw = Traditional Chinese (72 lines)

Create a new phrase under admincp->Phrasemanager->Add new phrase

Phrase type GLOBAL
Product VBULLETIN
Varname online_image_editor
Text Online Image editor

Find the template album_pictureview

Search for :

<vb:if condition="$show['add_group_link']"><li><a href="album.php?{vb:raw session.sessionurl}do=addgroup&amp;albumid={vb:raw albuminfo.albumid}&amp;attachmentid={vb:raw pictureinfo.attachmentid}" class="add">{vb:rawphrase add_to_group}</a></li></vb:if>

add below

<vb:if condition="$show['edit_picture_option']"><li><a href="http://www.pixlr.com/editor/?image={vb:raw pictureinfo.pictureurl}&loc=LANGUAGE PARAMETER&exit=http://FORUM-URL/album.php?{vb:raw session.sessionurl}albumid={vb:raw albuminfo.albumid}&amp;attachmentid={vb:raw pic_location.next_attachmentid}" class="editinfo">{vb:rawphrase online_image_editor}</a></li></vb:if>

Your done. When you view an album picture you will now have an link called Online Image editor. See the screenshots below

sulasno
08-11-2010, 04:30 PM
tagged and thanks

does this mod allows me to edit the image and saves it back to the album?

Xencored
08-12-2010, 10:29 AM
https://vborg.vbsupport.ru/showthread.php?t=243897

https://vborg.vbsupport.ru/showthread.php?t=244000

https://vborg.vbsupport.ru/showthread.php?t=243752

Kind of the same thing

Noerenberg
08-29-2010, 02:08 AM
hi,

can you tell me what i have to do when i have the editor in my forum?

what ever i try, the picture will not send to the editor

starman?
08-22-2011, 11:39 AM
I'm getting this error from pixlr after clicking Online image editor;
An error has occurred, please try later!

[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error

Any ideas?

K4GAP
08-26-2011, 09:02 PM
Installed exactly as directed and got an error block as the image editor would open.

Uninstalled.