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
  #22  
Old 04-05-2005, 12:14 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The display is very neat. And it does not interfere with any other hacks, such as private threads etc...
Reply With Quote
  #23  
Old 04-05-2005, 03:47 PM
lamur lamur is offline
 
Join Date: Apr 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
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
Hey if anyone could help me out on this, it would be GREATLY appreciated. I really know nothing about PHP, but I think these addons would be pretty sweet. :banana:
Reply With Quote
  #24  
Old 04-07-2005, 06:49 PM
lamur lamur is offline
 
Join Date: Apr 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Ok, I found where to change this:

PHP Code:
// get first 200 chars of page text
            
$post['pagetext'] = htmlspecialchars_uni(fetch_censored_text(trim(fetch_trimmed_title(strip_bbcode($post['pagetext'], 1), 9000)))); 
Now I need to find where I can change the amount of posts per page.. "$perpage is kinda hard to find"

I think it can be changed from the text here, but I dont know what to change.

PHP Code:
// get page split...
    
sanitize_pageresults($numitems$pagenumber$perpage200$vboptions['searchperpage']);

    
// get list of thread to display on this page
    
$startat = ($pagenumber 1) * $perpage;
    
$endat $startat $perpage;
    
$itemids = array();
    for (
$i $startat$i $endat$i++)
    {
        if (isset(
$orderedids["$i"]))
        {
            
$itemids["$orderedids[$i]"] = true;
        }
    } 
Reply With Quote
  #26  
Old 04-25-2005, 04:22 AM
lamur lamur is offline
 
Join Date: Apr 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #27  
Old 05-14-2005, 07:50 PM
mstolp mstolp is offline
 
Join Date: Mar 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #28  
Old 05-14-2005, 08:20 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see that this was last updated today... what was the change?
Reply With Quote
  #29  
Old 10-17-2005, 10:26 PM
VW Derf VW Derf is offline
 
Join Date: Oct 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has this been updated to 3.5?
Reply With Quote
  #30  
Old 11-15-2005, 02:01 AM
lamur lamur is offline
 
Join Date: Apr 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to see this updated to 3.5 as well.
Reply With Quote
  #31  
Old 11-15-2005, 05:14 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

search.php?do=getnew&showposts=1 stock feature in 3.5
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:49 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.07752 seconds
  • Memory Usage 2,308KB
  • 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
  • (2)bbcode_php
  • (1)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