vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Replacement Words In Posts (https://vborg.vbsupport.ru/showthread.php?t=149118)

sensimilla 08-23-2007 06:35 AM

Does it work with Thread Titles ? TIA

pip-london 09-13-2007 10:35 AM

This is a really great hack... if you want your entire board in lowercase that is.

P.

ericho 09-24-2007 05:10 AM

I've had to uninstall...sorry it didn't work...turned all my capitals to small letters too!

If you get a fix...please let me know.

I do appreciate you taking the time to provide mod in the first place though.

mvigod 09-26-2007 12:09 AM

Quote:

Originally Posted by soniceffect (Post 1287753)
Would also love a fix for this .... Is an excellent hack

EDIT:- Really wanted this so thought I would have a play myself...

PLEASE NOTE YOU MUST BE USING PHP5 FOR THIS FIX


FIXES THE DROPPING OF CAPS
Edit the plugin "word replacements"

Replace
PHP Code:

$ah_message $this->post['message'];
$ah_text strtolower($ah_message); 

with
PHP Code:

$ah_text $this->post['message']; 

replace
PHP Code:

$ah_text str_replace(strtolower($array1[$x]), $array2[$x], $ah_text); 

with
PHP Code:

$ah_text str_ireplace($array1[$x], $array2[$x], $ah_text); 


I too had the problem of lowercase. Disabled, made the changes quoted above and it works like charm. No problems on 3.6.7 PL1

passwords 09-26-2007 04:47 PM

thanx its a great mod but its not working with the quick reply ..
does it work with v3.6.8 ?

dutchbb 09-26-2007 06:55 PM

Can you make it change words into hyperlinks?

For example you are an affiliate and you want to use affiliate URL when someone types in a word that matches your affiliate.

ragtek 09-26-2007 07:49 PM

wouldn't it be better for the performance if you make it, when the post is send and parsed and not on post showing?!
if you show 40 posts per site, that means 40 times checking!

forumrunt 09-29-2007 03:27 PM

will this work with 3.6.8?

pip-london 10-08-2007 12:33 PM

Quote:

Originally Posted by forumrunt (Post 1349639)
will this work with 3.6.8?

Doesn't for me. After applying the mods above I just get blank pages. Haven't had time to debug it yet.

CCWBumper 10-10-2007 01:10 AM

Sorry, while this would be a great hack, I had to uninstall it as well because of the outstanding "issues". Great idea; hope you get it worked out..... :)


All times are GMT. The time now is 09:49 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.01139 seconds
  • Memory Usage 1,743KB
  • 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
  • (4)bbcode_php_printable
  • (2)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