vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Text Replacements Hack (https://vborg.vbsupport.ru/showthread.php?t=93903)

Logikos 08-09-2005 02:31 AM

Text Replacements Hack
 
I'm currently in the middle of porting my 3.0.x version of text replacement links. So far I have got the following features.
  1. Globally enable/disable all text replacements
  2. Enable/disable separate text replacements
  3. HTML Markup
  4. Option to use Text Replacement Links
  5. Option to use Text Replacement Text

Considering
If you ever have visit www.sitepoint.com and read there articles. You will notice that a lot of there words are automatically replaced into a link. The linked text points to a definition for the link in question. I'm considering adding this as available option, but I'm not quite sure this would be a demand.

For the confused people, this is how it would work. You would have a few fields to fill out in the ACP.
  • Text
    This would be the text that you would want to get replaced
  • Definition Of Text
    This would be the definition of the text
  • HTML Markup
    Any addtoinal HTML you would like to add to the text. Example: <b></b>

So anytime a user post any text you add, it will then be replaced with a link that will point to a page with the definition. So, should I add this to this hack, or should this be a seperate hack? Thanks! :)

Boofo 08-09-2005 03:03 AM

I would add it to avoid 2 separate hacks. ;)

Tony G 08-09-2005 05:15 AM

I think two seperate hacks is the best idea, as some might not want the new feature that you're adding to it, sounds more like an 'extra' to it.

BigIke 08-09-2005 05:39 AM

Maybe you should include it, but allow users to disable that particular feature?

Princeton 08-09-2005 02:03 PM

as long as the admins can enable/disable feature I don't see why you wouldn't

the additional features will attract users that may otherwise not be interested in addon

dastar 09-09-2005 12:32 PM

Looking forward to this hack. :)

aspen0 10-17-2005 07:13 PM

any updates?

cellarius 10-19-2005 11:21 AM

Anybody out there? :disappointed:

I'm eagerly awaiting this hack - just wanted to let you know that your work will not be wasted...

lazyseller 11-07-2005 11:53 PM

any word ? on this ?

EasyTarget 11-22-2005 06:56 PM

*bump*


All times are GMT. The time now is 02:28 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.00958 seconds
  • Memory Usage 1,728KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete