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)

t325 10-11-2007 04:07 PM

I tried to fix this problem, and I'm just completely stumped. I got the code down to this:

PHP Code:

$array1 explode("|"$vbulletin->options['ah_word_replace_find']);
$array2 explode("|"$vbulletin->options['ah_word_replace_replace']);

$this->post['message'] = eregi_replace($array1$array2$this->post['message']); 


I think it *should* work. It's no longer making everything lowercase. But the replacements simply aren't working. Anyone know what I'm doing wrong?

I tried replacing eregi_replace with str_replace (would be case sensitive though) to no avail. I tried hard coding the find and replace words in the function call, and it works just fine, so the problem seems to lie in the fact that $array1/$array2 or the $vbulletin->options['ah...'] strings aren't being set (they're populated in the database though).

Foxtrotelite 11-04-2007 01:40 AM

Any chance of a version 3.6.8 update? Please?

IvyKeepMommy 11-04-2007 10:55 PM

I also had the same problem -- I installed, and it converted every letter in all my posts to lower case, but didn't change the words I was trying to replace. So I had to uninstall.

It's a great idea and I'd love to see it working!

incisor 11-05-2007 04:34 AM

has the problem with it turning everything into lowercase been fixed ?

tillcat5 11-07-2007 12:38 PM

great release and would love to use it, but it nocks out all my images and wont let me post anything with [img] would love to get an upgrade of this!!

aspen1018 11-08-2007 11:54 PM

this looks like a very useful mod; however I haven't been able to get it to work with my board I have 3.6.5

malakaikingston 11-09-2007 05:57 PM

I added this mod and all my posts became lowercase.

I did the fixes someone posted in the code and got all my posts back to normal.

However now everything is fine but, the mod is just not working. :down:

We used the phbb replace mode extensively before moving to VB, and would love a VB 3.6.8 version of this mod that works, I'll pay anyone that gets it working 25$.

If not this mod are there any other options? :D

Fungsten 11-10-2007 06:12 PM

Quote:

Originally Posted by malakaikingston (Post 1379196)
I added this mod and all my posts became lowercase.

I did the fixes someone posted in the code and got all my posts back to normal.

However now everything is fine but, the mod is just not working. :down:

I got the exact same issue about the lower case! Uninstalled.

centralss 11-15-2007 09:39 PM

Doesn't work on 3.6.8 level 2 patch. Also wouldn't show anything linked to photobucket, which was strange. I had to uninstall it to show everything again.

Looks like it needs an update to 3.6.8!!!

Soupa 11-16-2007 02:32 AM

Can you replace words with a smilies image that has a sensor banner.


All times are GMT. The time now is 10:35 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.01199 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (1)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