vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Want to add Creative Commons chooser popup to posts. (https://vborg.vbsupport.ru/showthread.php?t=259236)

From_Ariel 02-22-2011 02:11 AM

Want to add Creative Commons chooser popup to posts.
 
I want to add a Creative Commons chooser popup to posts.

On the creative commons website is a little java app that lets you choose the options for your license then the app outputs a link to the appropriate CC Image and license.

http://labs.creativecommons.org/demo...ample_web_app/

http://wiki.creativecommons.org/LicenseChooser.js

Basically what I want is when a member is posting they can click on a button and a popup will come up asking them to choose from the options above to get the right kind of license and then it will insert a CC Image & Link as appropriate.

My website will have lots of graphics and media being uploaded and I want an easy way for members to protect their stuff. I would do it as custom VB code but there are so many different combination of permissions for Creative Commons it would require like 8 different codes.

From_Ariel 02-25-2011 06:28 AM

I just wanted to add if no one wants to help for free I could be convinced to pay for this mod if I have to.

It shouldn't be that hard as the java applet (above post) outputs the correct link to Creative Commons website and correct link to the accompanying image as needed based on what you choose.

Quote:

Extracting results

All of these result extraction systems are demonstrated in the examples.

* There are two hidden form fields called cc_js_result_uri and cc_js_result_name that respectively store the URI and name of the license selected by the user. Just do document.getElementById("cc_js_result_uri").value (or "cc_js_result_name" instead) and you'll have the license information.
* There is an extra hidden form field containing the link to the image used. Simply get the element whose ID is cc_js_result_img and you will have a URL that is a permanent image. Hotlinking these images is allowed and encouraged.


All times are GMT. The time now is 08:01 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.01080 seconds
  • Memory Usage 1,713KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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