vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   New posts as posts, Instead of updated threads. (https://vborg.vbsupport.ru/showthread.php?t=77703)

Lionel 04-05-2005 12:14 PM

The display is very neat. And it does not interfere with any other hacks, such as private threads etc...

lamur 04-05-2005 03:47 PM

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:

lamur 04-07-2005 06:49 PM

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, :)

lamur 04-07-2005 06:58 PM

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;
        }
    } 


lamur 04-25-2005 04:22 AM

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?

mstolp 05-14-2005 07:50 PM

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

Lionel 05-14-2005 08:20 PM

I see that this was last updated today... what was the change?

VW Derf 10-17-2005 10:26 PM

Has this been updated to 3.5?

lamur 11-15-2005 02:01 AM

I would like to see this updated to 3.5 as well.

Zachery 11-15-2005 05:14 PM

search.php?do=getnew&showposts=1 stock feature in 3.5


All times are GMT. The time now is 03:46 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
  • Page Generation 0.01013 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete