vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Editor dropdown with a list of predefined links (https://vborg.vbsupport.ru/showthread.php?t=192732)

Meorazhar 10-05-2008 07:14 AM

Editor dropdown with a list of predefined links
 
I run a forum where users upload copyrighted pictures from a number of other sites. There is a requirement that they should put a link to the originating sites in their posts but posters barely do that.

I thought showing a dropdown of, say, 30 of the most popular sites in the editor, somewhere close to "insert link" button could help. A user picks a site name from the dropdown list and a certain code is inserted into editor window, for example:

Code:

The pictures are courtesy of http://site_address
How do i do that? Perhaps something like that has already been implemented, pls guide me in the right direction.

Lynne 10-05-2008 03:32 PM

Something like this - Custom Thread Fields

Meorazhar 10-11-2008 05:09 AM

Hey Lynne,
thanks, but this mod is not exactly what i need. I was looking for some easy way to add some text from a certain set of values in a dropdown box directly to a post text.

It should be similar to how smiles dropdown works, you pick a smile and it gets added to your edit window.

--------------- Added [DATE]1223705496[/DATE] at [TIME]1223705496[/TIME] ---------------

Perhaps another way it would work is that if someone makes a post with attachments, the forum software should prompt him to pick a site to which the pictures belong from the list and then displays that text somewhere in his post...


All times are GMT. The time now is 04:07 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.01028 seconds
  • Memory Usage 1,712KB
  • 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
  • (3)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