vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Link Replacements in Posts (https://vborg.vbsupport.ru/showthread.php?t=7175)

01-24-2001 08:16 AM

I'm think of making a new hack to allow us to add link replacements to member's posts. This would be a great feature because you could automatically link words in member's post to website relating to any keyword they enter. So if you had a game's site, you could link Sega to the Sega website.

Now the two exisiting replacement methods in the console don't suit this: Custom BB Code replacement changes htpp://www.mydomain.com to http://www\.mydomain\.com and replacement variables have the problem that they are case sensetive so Sega is different to sega and also if the name appears in the thread heading, it means when you click on the heading it goes to the link and not the thread!

Please let me know if this is something you think will be useful and also if you can help me to hack this together.

I imaging it would be a new section in the console, where you enter a non-case sensetive word and then the url of the link it goes to - then it just replaces the word with the link. Also maybe you could choose whether it opens in a new window or not, and whether it uses a bit of javascript to create a pop up window.

Cheers, Pigsy.

01-24-2001 11:05 AM

um on the non case sensative thing,

how about just creating custom bpcode for both Sega and sega ?

not sure about the rest of what you want though

Island Ace 08-14-2002 04:32 PM

I would be interested in this as well. Let me know if you have a hack for this.

Thanks.

IA


All times are GMT. The time now is 08:08 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.01678 seconds
  • Memory Usage 1,709KB
  • 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)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