The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Looks like it worked for the most part. Some non-breakable spaces are remaining, but much better then before.
Thanks. Example: http://www.fireblades.org/forums/showthread.php?t=33 |
#12
|
||||
|
||||
PHP Code:
|
#13
|
||||
|
||||
Firstly that script WILL timeout if you run it from the browser. I'd also recomend only selecting the pagetext and postid from the post table and getting it to do only X posts per page.
If you have SSH access then I'd recomend you close the board and run it via the command prompt. |
#14
|
||||
|
||||
@Conq: hehe, i would have wondered already
good it's working now. Also i have to agree with Lee that script will timeout, and it's also not well coded (sorry to say) regarding you have 97k posts, this script will run 97k queries.... it should be strongly optimized before thinking of running it... |
#15
|
||||
|
||||
It doesn't remove but it does delete the <bits>.
A batch script to strip HTML would be of great help (Ikonboard and 100,000's posts). |
#16
|
||||
|
||||
The new Import system for vb3 has an extra little utility included that can be used to strip whatever code/text you want. I used it to clean up my database. Worked great.
|
#17
|
||||
|
||||
Hello ConqSoft,
tools\cleaner.php? |
#18
|
||||
|
||||
Quote:
|
#19
|
||||
|
||||
Hello ConqSoft,
I've been .. not too smart, by replacing " with a blank and also stripped all exclamation marks. Also forgot the & What does strip_tags() do? Is that the way to get rid of <html code align =""> that mess? We still have a lot of that Can you tell me how to modify the code please? I'm tempted to run it again and strip more. The script timed out when max-exec was set to 600 seconds. It went ok at 1200. How do you replace " ? It expects data between "", this would give """ ? Isn't that confusing the script? How do you replace say "center" by "left"? ""left"" Talking about parser. It's no longer possible to add say 3 spaces between words. This is a real pain for certain authors for good reasons. Is it possible to turn that off? |
#20
|
||||
|
||||
Hello,
How should the strip_tags() function be include with cleaner.PHP? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|