Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
New posts as posts, Instead of updated threads. Details »»
New posts as posts, Instead of updated threads.
Version: 1.00, by Zachery Zachery is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 03-07-2005 Last Update: Never Installs: 13
 
No support by the author.

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...

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-08-2005, 10:41 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome! It makes much more sense to display posts instead of updated threads anyway..

Installed at Gamers Euphoria, running flawlessly.
Reply With Quote
  #13  
Old 03-13-2005, 03:03 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 03-31-2005, 03:52 AM
dwh's Avatar
dwh dwh is offline
 
Join Date: Feb 2002
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 04-05-2005, 12:06 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dwh
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.
It got moved to a differnt part of the query
Reply With Quote
  #16  
Old 04-05-2005, 12:48 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #17  
Old 04-05-2005, 02:33 AM
lamur lamur is offline
 
Join Date: Apr 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #18  
Old 04-05-2005, 03:22 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lamur
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!
1) sure, its possible, i don't know how to do it though
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
Reply With Quote
  #19  
Old 04-05-2005, 07:08 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Visor
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
It's pretty easy to do this one using a custom profile field..

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.
Reply With Quote
  #20  
Old 04-05-2005, 09:29 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But the search.php. code also has to include that option... -_- And not every1 knows how to edit the code...
Reply With Quote
  #21  
Old 04-05-2005, 12:08 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Visor
But the search.php. code also has to include that option... -_- And not every1 knows how to edit the code...
No it doesn't.. As Zachery said, it provides an alternative to the old layout - not replace it.

You just need to edit the navbar template with the custom profile field.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04503 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete