![]() |
New search option
Is there any way we can search by length of post rather than content and member only? For instance, if I would like to find posts where I wrote more than a 100 words, would this be possible? It's a feature I'd like to see. I'd like to see some of the longer stuff I've posted without having to drone through some of the other drivel that I have also posted.
|
Don't think it's possible with our current stuffs but I'm sure it's possible with some custom stuff. There would have to be a "word count" for posts and you'd search for posts above a certain "word count" I guess. Perhaps base it off of number of characters, since I think there's already something somewhat like that with the "more than 5 characters" rule.
|
I'm not sure, but it might be possible to search by number of characters. Number of words is out unless it's number of unique words.
|
Well searching by number of words would most likely be essentially searching by number of characters. I know usually when a program does a "word count" it just divides the number of characters by 5 I think.
|
Quote:
|
WW could do it, he's the man.
|
There are two things that are an absolute nightmare to follow in vB: promotions and the search engine. And I still havn't checked the MySQL documentation to see if there is a string length function and if I can use it on a text type field.
This is certainly an idea with merit, but for now, I'm going to have to prioritize the forum upgrade. Speaking of which, why the hell isn't anyone testing it? I'm sure that there's all sorts of style issues I havn't noticed, but the only one reported is the quick reply. I really don't want to switch over then drown in problems. |
I don't really think this idea is one that should take much priority over anything else anyway. I think it's really more of a "cool idea that wouldn't be used very often but would be pretty cool to have just in case" thing.
|
I've been playing around with settings in the Lenny style, if that counts? :p Just been changing values to see what they do, then changing them back again.
--- A quick question, probably heavily laced with the sweet honey of ignorance - in HTML it is possible to use programming languages such as VBScript, using: Code:
<%@ LANGUAGE="VBSCRIPT" %> Is the same possible in PHP at all? Or whatever is used to do these things in vB? Just thinking that if it were, it might be easier to accomplish, if only temporarily whilst it's worked out in the usual code, or as something to try to see how useful it is. |
Templates do not support scripting languages, except for PHP in conditionals. You can do JavaScript scripting, but it's clientside. PHP itself is a scripting language and its insertion mechanics are similar to ASP, if you were working at the file level.
You can do some tricky templating using fake conditionals. For example, I've often used the construct Code:
<if condition="$GLOBALS['countsomething']++"></if> |
All times are GMT -6. The time now is 12:21 AM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.