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)
-   -   Miscellaneous Hacks - photostudio link in lightbox (https://vborg.vbsupport.ru/showthread.php?t=244000)

your24hourstore 06-04-2010 10:00 PM

photostudio link in lightbox
 
1 Attachment(s)
Pretty easy this will add a link to the Lightbox editor that allows you to open the photostudio Editor, its a nice online page that is incorperated into a custom template
this is a powerful editor that I use all the time. two templates modify, First make a new custom template:

1:admincp>>styles and templates>>style manager>> Add new template<<
2: Style: Choose the style you want to incorporate it into
3: Title: Name it custom_photostudio
4: Template: Add the code from text custom_photostudio
5: save and reload

now modify the second template called: editor_imagesettings_overlay

1: admincp>>styles and templates>>style manager>> Editor Template>>editor_imagesettings_overlay
2: Replace the code
Code:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris nibh quam, ornare nec vehicula vel, elementum eu metus. Donec sit amet risus vel neque pellentesque congue. Nulla placerat, mi non imperdiet hendrerit, elit augue vehicula mauris, vitae dictum massa tortor ut tortor.  Vivamus eget risus tortor. Vestibulum nec adipiscing risus. Duis sit amet lectus felis, eget laoreet est.
with the code from editor_imagesettings_overlay.text , I have included 3 formats for /root forum/ forums/
3: save and reload

Your done open light box and the link should be there.

your24hourstore 06-05-2010 04:30 PM

1 Attachment(s)
What it looks like when installed Attachment 126480
OK i may add this is how you will call the link

for a link call /forums/misc.php?do=page&template=photoshop

and to use it in lightbox simply click the link, unfortunatly it does not pull the image from light box you will have to do the editingthen reupload the pics :(

and of course if your on root it wont need forum or forums
Don't have to mark as installed, you can edit the heck out of it, reusable code, change what you want

Disregard the next two posts from borbole and Marco van Herwaarden its all been fixed already!

borbole 06-05-2010 05:46 PM

I see that you placed my name as a co-author/supporter/. Can you please remove it because that is not correct. Thank you.

Marco van Herwaarden 06-06-2010 03:48 AM

A few comments:

- Please rename thread title, and if needed filenames, to another name then Photoshop. This is a registered trademark and may not be used without permission from Adobe.
- It looks to me that you are reusing code created by Jaske. His work was not marked as re-usable, so did he give you permission to re-use his work and change it to re-usable?

Dr.osamA 06-06-2010 06:15 AM

thanx

i Will try it

installed


All times are GMT. The time now is 01:53 AM.

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.00965 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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