This will give you 3 new options while searching: 1. Display All Posts (standard and default) 2. Display Last Posts (like .classic I guess) 3. Display Main Posts (like something somewhere)
I had placed all of the changes into this post but it stretched way out and people (like myself) hate that so now the file's attached.
You've just one over hundreds of die hard Classic users with this one my friend: One of the number one complaints I get from Classic users centers around the lack of a Latest Threads display.
Is there a mod that combines or is similar to this one, but also includes the ability to search by username AND subject (at the same time) like this one https://www.ubbdev.com/threads/php/showflat.php?Cat=&Board=finished&Number=64283? (Nobody needs to make one if there isn't, I'm just wondering. I prefer the ability to search by username and subject, but this is kinda neat too. )
Okay - am I confused by what this mod actually does, or is there an error?
When searching does this
a) 1. Display All Posts - shows every post that has the word 2. Display Last Posts - shows just the last post in any thread that contains the word 3. Display Main Posts - shows the first post in any thread that contains the word
or
b) 1. Display All Posts - shows every post that has the word 2. Display Last Posts - shows only the last post if that last post actually has the word in it. 3. Display Main Posts - shows only the first post if that first post actually has the word in it.
I assumed it was a) but it seems to be b) as I am getting some threads showing in the results on one option and not on another.
[]canvey said: Okay - am I confused by what this mod actually does, or is there an error?
When searching does this
a) 1. Display All Posts - shows every post that has the word 2. Display Last Posts - shows just the last post in any thread that contains the word 3. Display Main Posts - shows the first post in any thread that contains the word
or
b) 1. Display All Posts - shows every post that has the word 2. Display Last Posts - shows only the last post if that last post actually has the word in it. 3. Display Main Posts - shows only the first post if that first post actually has the word in it.
I assumed it was a) but it seems to be b) as I am getting some threads showing in the results on one option and not on another.
Could you clarify this for me.
Thanks
[/]
It does both a and b depending on if your searching for words or not.
Here's an interesting "glitch" that I've discovered in mine...
Page one of my search results gives me just the last post just like I've asked for but any subsequent pages (when I click the "next" button) defaults back to all posts.
Hm! Very weird!... I remember changing that specifically because I remember wanting to make sure that I got the right line deleted and the right line copied and pasted. I KNOW I did it. But it's entirely possible that I was tired and didn't hit the save button before I closed the file. Who knows? Very weird that it worked on the first page but not the rest though. It works now on all pages. Thanks much...
Well the first page gets passed from the script via POST and not in the URL... additional pages are passed in the URL via GET. So that's why it only worked on page 1.
This seems to be broke here when trying to search for a display name. I can't recall but is there supposed to be an option "by display name" in the dropdown?
There is another bug with YASM 1.0 in 6.3 : "2. Display Last Posts (like .classic I guess)" does not work here, at ThreadsDev, and on my boards . For instance, you can search for "links", and see many times in the dosearch.php : "Re: TLD Bv1.5 Released - Threads Links Directory"
I am really new at this, so a dumb question. I started trying to make the changes in the attachment, and doing the first one demonstrated that I don't really know how to edit .php files in windows.
If I open it in "notepad," it's a long single string and difficult to do anything with.
If I open it in Word, I can see the structure and insert the addition (as in the first item) or make chabges, but then when I save it as a php file, the result - as viewed again in notepad - has line breaks that Word added. I think this is OK, but want to be sure!?
Or is there some other way I should be editing these files? (The editing done to templates through threads itself takes care of this problem.)
I imagine I'm missing something obvious, but would appreciate some guidance. All of these files appear to basically be text files, but I'm worried because I don't know the potential significance of line breaks in the various types of files!
I use UltraEdit32 - this will take the files in question, and then convert them to a dos format.
You can download a 30 day trial (I think) from their site www.ultraedit.com - there are other similar products available.
I know that with txt files if I am viewing the site in IE, it will open up the txt file also in IE. If this is the case then I cut and paste to UE and work on updating the files using that.
I also never tend to use threads to edit my templates - always prefer to do it outside.
I would never suggest using Word, or FrontPage or anything like that as it tends to think it knows what to do - and believe me with some of these files - it don't
I just went and had a look at NoteTab, and see that the pro version has different colors for identifying tags, etc, for html, and it also has a compare files capability, but in the light version you apparently can't put the files side by side.
Have you tried this capability? I tried Beyond Compare on some else's recommendation here, and it is excellent for comparing (i.e., putting the files side by side and highlighting differences in lines laid side by side...). For the couple of times I've needed a capability of this sort, I've REALLY needed it, and I'm just wondering if you know whether Note Tab would serve as well.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.