The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Word Replacement
Hello
How can I replace for example Sent from my İphone using Tapatalk but İphone always change different models. I hate this signature in my forum. I want to disable it. I made a plugin in postbit_display_complete but I didn't find xxx replacement Sent from my xxxx using Tapatalk This plugin delete Sent from my when I put this code. But I need full replacement. Anyone any idea ? $word = array( 'Sent from my', '' ); $link = array( '', '' ); |
#2
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showthread.php?t=257368" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=257368</a>
|
#3
|
|||
|
|||
Quote:
Thanks,but this is not my answer. And also these one not work on 4.2.3 version |
#4
|
||||
|
||||
How is that "not your answer"? Of course, it's my answer to your question, and the addon seems to do exactly what you want. If you want something else, you need to explain better.
Quote:
No one will write new code for you if an addon already exists that does what you want. |
#5
|
|||
|
|||
I tested this mode before posting but not work on 4.2.3. It is not replace any Tapatalk signature
|
#6
|
||||
|
||||
Actually you could just run a query, quite a few different variations of said query to just remove this "word or phrase". I'm not sure but if I recall correctly Joe's mod prevents it from time of install forward (maybe that would explain why it didn't work like you assumed it would OR I could be assuming wrong here lol).
This would replace the text in your main forum i.e. the one with ID #1: Code:
UPDATE post LEFT JOIN thread ON post.threadid = thread.threadid LEFT JOIN forum ON thread.forumid = forum.forumid SET pagetext = replace( pagetext, 'Sent from my', '' ) WHERE forum.forumid = 1; This query here could remove per threadid: Code:
UPDATE post SET pagetext = replace( pagetext, 'Sent from my', '' ) WHERE post.threadid = '123456'; I suppose though you could do a very broad query such as (untested): Code:
UPDATE post SET pagetext = replace( pagetext, 'Sent from my', '' ); Code:
UPDATE post SET pagetext = replace( pagetext, 'Sent from my iPhone', '' ); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|