![]() |
Replace character of thread titles.
Hello friend vbulletin, I have a request; I need to replace some characters in only thread title created.
For example : "Im have one question" to 'Im have Question' Character is " to ' , any plugin or hook to recommend me? Thanks so much and advance. |
You can run queries in phpmyadmin:
Code:
UPDATE thread SET title = REPLACE(title,'"','\''); |
Thanks for u help, but this is not what I need. What I need is that when the user creates an issue when using this symbol " can not be used and it is replaced by this '
please see my idea, im only search for vbulletin 3 :( https://vborg.vbsupport.ru/showpost....39&postcount=1 |
1 Attachment(s)
You can edit "class_dm_threadpost.php" file.
Find: Code:
$title = preg_replace('/&#(0*32|x0*20);/', ' ', $title); Code:
$title = str_replace('"', "'", $title); |
Thanks so much SeveSkin this working. Thanks so much again!
|
All times are GMT. The time now is 02:18 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|