vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Latest Posts and Newest Members on Forum Home (https://vborg.vbsupport.ru/showthread.php?t=231098)

Punjabi Munda 01-17-2010 04:58 AM

i'm back from vacation. can any1 remind me the things that need to be done. i might not be able to read every single post.

PinoyRepublic 01-17-2010 09:32 AM

can you include the username color?

Sophocles 01-18-2010 04:53 PM

Works perfectly.

bigtime 01-18-2010 08:16 PM

Can this be used to show latest posts on a custom page?

zeroality 01-19-2010 03:28 AM

Quote:

Originally Posted by Punjabi Munda (Post 1957905)
i'm back from vacation. can any1 remind me the things that need to be done. i might not be able to read every single post.

I removed Newest Members but now I am faced with another issue. I would like to add the forum name in where the latest post is from - like an additional column with that data. This is how it was in Cyb's Forum Stats hack and I really liked it. I tried coding it myself but got a database error when I put it up live and I just don't know how to do it. All I really need is the code to insert - like:

Code:

        $latestposts = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "thread WHERE visible=1 $excluded_forums_query ORDER BY lastpostid DESC LIMIT 0,".$howmany_latestposts);
        $latest_posts .= '<table width="100%"><tr><td width="60%">Latest Posts</td><td width="40%">Top Posters</td></tr><tr><td><table width="100%" border="0" cellspacing="3" cellpadding="3">';
        $count=1;
        while ($post = $vbulletin->db->fetch_array($latestposts))
        {
                $latest_posts .= '<tr><td><a href="showthread.php?t='.$post['threadid'].'&amp;goto=newpost#'.$post['lastpostid'].'">'.substr($post['title'],0,50).'...</a></td><td><a href="member.php?u='.$post['lastposterid'].'">'.$post['lastposter'].'</a></td><td><a href="showthread.php?t='.$post['threadid'].'"><img src="images/buttons/collapse_40b.png" alt="" /></a></td></tr>';
                $count++;
        }
        $latest_posts .= '</table>
        </td><td>

I know you need to query the forum table and get the forum[title] from there so all I need is a little code modification in what I pasted above. Many thanks!

maf1973 01-19-2010 10:06 AM

Quote:

Originally Posted by dtommy79 (Post 1952039)
Yes, read back in this thread, there is an attachment

Where? I checked all attached files but i don't found one with that style?

ArbStar 01-19-2010 04:01 PM

Quote:

Originally Posted by Punjabi Munda (Post 1957905)
i'm back from vacation. can any1 remind me the things that need to be done. i might not be able to read every single post.

Search for my posts in this thread

movslow 01-19-2010 05:08 PM

Quote:

Originally Posted by ArbStar (Post 1960321)
Search for my posts in this thread

BIG THANKS to ArbStar for stepping up and helping everyone out!!
:up:

zeroality 01-22-2010 05:26 PM

Bumping, incase anybody else can help out? If not, I'll wait for the coders. :D

ArbStar 01-22-2010 07:41 PM

Quote:

Originally Posted by zeroality (Post 1963623)
Bumping, incase anybody else can help out? If not, I'll wait for the coders. :D

help out with what ?

the developer is back from vacation, i think he will be able to help :)

I'm still waiting for his reply regarding my modifications....


All times are GMT. The time now is 03:39 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.01251 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
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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