vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Post Replacements (https://vborg.vbsupport.ru/showthread.php?t=125307)

red24 10-06-2006 10:53 AM

thanks stoebi, never would have found that one myself.....

excellent plug-in :cool:

i have one comment, if the word that has to be replaced is the first one in a message than the plug-in fails to replace it.

-- edit --

Theres also a problem with non english chrsets. it can replace a string in english to a link with a non english anchor text, but it doesnt replace strings of non english chrsets.

Stoebi 10-06-2006 01:22 PM

Quote:

Originally Posted by red24
thanks stoebi, never would have found that one myself.....

excellent plug-in :cool:

i have one comment, if the word that has to be replaced is the first one in a message than the plug-in fails to replace it.

Hi,

thanks should go to LarrySW for his brilliant idea :)
Fixed the first one in a message (See attachment)


Quote:

Originally Posted by red24
Theres also a problem with non english chrsets. it can replace a string in english to a link with a non english anchor text, but it doesnt replace strings of non english chrsets.

Sorry, but i can't reproduce it. :(


Regards, Stoebi

DrewM 10-09-2006 10:35 PM

Quote:

Sorry, but i can't reproduce it.
I don't really care what you do with it after all you wrote most of the code.

Stoebi 10-10-2006 06:53 AM

Quote:

Originally Posted by Larrysw
I don't really care what you do with it after all you wrote most of the code.

Did not have hebrew characters. How can i emulate it? Found another little problem in quotes with words on the first place..

Regards, Stoebi

Stoebi 10-26-2006 08:28 AM

Quote:

Originally Posted by Larrysw
I don't really care what you do with it after all you wrote most of the code.

This version fix lot of problems ( Many thx to Christian from www.vbdesigns.de )
  • Replacement does not effect code boxes
  • First word in post and quotes will be replaced now
  • ...
Regards, Stoebi

DrewM 10-26-2006 09:11 AM

Thanks I'll update it today

SloppyGoat 11-06-2006 03:08 AM

Is there any way to make this only apply to one forum ID?

ThePimp 11-06-2006 03:52 AM

Can you configure this to work in thread titles?
Also, when you use a replaced word as the first word in the post, it fails, and the real word shows.

Tulsa 11-10-2006 06:38 PM

Nice work!

Now when the word or phrase ends with a period, as in the ends a sentence, it's not being replaced.

So if you were replacing the word "test" and the sentence was "I will see how you did on the test." Test would not be replaced.

tansu 11-11-2006 12:45 AM

great.. very nice hack


All times are GMT. The time now is 09:39 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.01105 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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