![]() |
New posts as posts, Instead of updated threads.
Display New Posts, as Posts, instead of Updated Threads.
Hack Author: Freddie Preparer of list of changes: Zachery Info: Someone had made a request for this at vB.com. Freddie took some time and made the changes to make it work Now I am taking the time to let everyone else make use of it. Basicly, it shows the results as posts. instead of threads. I will give no offical support for this hack, but will do my best anyway. Tested and is working on my dev forum, and a friends site. Screen Shot added... |
The results are interesting. For those trying to get a visual idea of this, think of how the results are returned when you do a search (eg: show all posts by a certain user); the same type of output is now returned when searching for new posts so you end up with a little preview of each new post.
Try it... you may like it. :D (Just make sure you wide awake when doing the edits :p ) |
always thought of doing this but never got around to it, great work zachery:D
|
i was the one that requested this.. and thank you sOOOOOOOOOOOOOO much!!
|
Quote:
And yes, great job freddie, tnx for posting zachery :) I am sure there are quite enough sites that want to have a link to show all the posts from that day, especially the admins. |
Quote:
|
Lovely !! Gr8 Job Done !! :)
** Aman clicks install ** |
So does this simply replace the "updated threads" method, or does it offer an alternative?
Seems like a nice little mod.. :) |
Quote:
|
Awesome! It makes much more sense to display posts instead of updated threads anyway.. ;)
Installed at Gamers Euphoria, running flawlessly. |
oh woops, ty to freddie. i got confused :D
|
I've just installed and I am not too sure... if there are no posts, does it returned a blank page or an error message? I am getting a blank page...
Never mind, I was repeating search.php twice in the link.:rolleyes: |
Interesting idea. Just peaked at the code. What happens when you delete a post/thread. Does it show up? Because it seems you're removing the deletionlog join which is how deleted threads are skipped.
|
Quote:
|
Excellent idea. I will install this later. However, I think it would also be a good idea if every used was able to set an option "show news as new threads or new posts" in his user cp :)
|
Looking good, few questions for it though..
1) Can I edit some of the code to make it display the entire post, not just xxx amount of chars? 2) Can it display images and smilies too? 3) can it be made so that it does more than the standard amount of posts per page? I have posts set to 25 before the new page, but can this one specifically be set to say 50? 100? Thanks soo much this is really nice! |
Quote:
2) you'd have to run it thought the bbcode parser, and that would add to the load significatnly I think 3) change the code :) where not sure, its in there somewhere. look for something like $perpage |
Quote:
I had several users asking how they could use the "old" layout (meaning threads). So I created an option in the User CP for users to choose, and by default it's set to display by Threads. |
But the search.php. code also has to include that option... -_- And not every1 knows how to edit the code...
|
Quote:
You just need to edit the navbar template with the custom profile field. :) |
The display is very neat. And it does not interfere with any other hacks, such as private threads etc...
|
Quote:
|
Actually, I think the major thing here is to get the Entire post. Does anyone know how to make that happen? Showing pictures and BBcode is good, but I've had lots of people asking if this could show the Entire Text.. Maybe I should go read a PHP book, :)
|
Ok, I found where to change this:
PHP Code:
I think it can be changed from the text here, but I dont know what to change. PHP Code:
|
Still havent found out how to add BBcode or change amount of posts per page..
One other question. How can I make the font not italic and increase it a bit? Ideas? |
I am new to making modifications.
In the installation text file, the last line says: "Add a link somewhere, like this search.php?do=getnew&showposts=1 or search.php?do=getdaily&showposts=1" Where does this go? Also, how hard is it to adjust these changes to show the last "n" posts (regardless of age) rather than Today's Posts? Thanks. Mike |
I see that this was last updated today... what was the change?
|
Has this been updated to 3.5?
|
I would like to see this updated to 3.5 as well.
|
search.php?do=getnew&showposts=1 stock feature in 3.5
|
or search.php?do=getdaily&showposts=1
|
Is there a way to show the entire post by jacking up the char limit?
Also, how do you change the post from Italic to just normal? Thanks. |
All times are GMT. The time now is 10:25 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:
|