vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Social Group and Album Enhancements - Online Image editor of Album Pictures (https://vborg.vbsupport.ru/showthread.php?t=248368)

mobe00 08-10-2010 10:00 PM

Online Image editor of Album Pictures
 
1 Attachment(s)
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 :

Code:

<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

Code:

<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;
Code:

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.


All times are GMT. The time now is 10:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01119 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete