vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Word -> Link replacement plugin - is there one? (https://vborg.vbsupport.ru/showthread.php?t=211467)

Andrewsha 04-17-2009 10:36 AM

Word -> Link replacement plugin - is there one?
 
Hello!

I've searched this forum for a few hours before write this post.

I need plugin that replace words in ONLY in POSTs

Already read this: Replacement Variables

but it's not good for me, because it's replace the word EVERYWHERE.

This one looks IDEAL but "This modification cannot be downloaded"
Text Replacement Links 1.1

Why so?

Please give me the right keyword for searching or link to MOD.

Thanks for advance.
Tired of searching

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

Seen and done this (from this post: Word Replacement)

Code:

$word = array(
'google',
'Macys'
);

$link = array(
'<a href="http://google.com">google</a>',
'<a href="http://www.macys.com">Macys</a>'
);


$this->post['message'] = str_replace($word, $link, $this->post['message']);

But it's not convinient because I want moderators to run replacement Database.

May be there is ready solution?


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