vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Latest Threads On Forum Home (https://vborg.vbsupport.ru/showthread.php?t=83230)

steadicamop 05-26-2006 07:19 PM

I've just updated this from a previous version - I'm not sure if the old one did this, but where do I add "&goto=newpost" on the end of the url .... I do understand some basic PHP but just can't see where it goes (so that each thread which has been read, when you click the link, always goes to the last post).

Cheers!!

Jason

criscokid 05-27-2006 07:53 AM

Is it possible to use this mod on a page other than on forumhome (like on a portal front page)?

redlabour 06-02-2006 11:46 AM

Sorry Guys, i have installed the Product and can not find any Options in AdminCP and the Hack is not shown on my Forumhome. Where can i fínd install Instructions ?

wrang 06-02-2006 01:11 PM

Quote:

Originally Posted by redlabour
Sorry Guys, i have installed the Product and can not find any Options in AdminCP and the Hack is not shown on my Forumhome. Where can i f?nd install Instructions ?

it dosent show in the ACP after you have logout from the ACP and logged in again

criscokid 06-03-2006 04:33 PM

Quote:

Originally Posted by criscokid
Is it possible to use this mod on a page other than on forumhome (like on a portal front page)?

Is anyone able to offer support on this mod? I've asked the same question twice but unfortunately nobody's posted a reply.

Konstantinos 06-08-2006 12:10 PM

where in admincp do i set the number of threads to display? i cant find the setting

criscokid 06-11-2006 11:47 AM

Quote:

Originally Posted by redlabour
Sorry Guys, i have installed the Product and can not find any Options in AdminCP

I can't find any admin controls for this mod either.

shaynehammy 06-12-2006 05:11 AM

I have two requests. How and where do i exclude certain sections from the latest posts and i would appreciate it if anyone could show me how to have the latest posts scrolling down vertically?

criscokid 06-12-2006 07:39 AM

Ha ha... I'm getting somewhere! :) :)
There are no controls for this mod in the adminCP - you modify the seetings in the XML file - simply make your edits then upload your XML file. Look for this bit of code in the file:
Code:

$getthreads = $db->query_read("
        ## GET LATEST THREADS ##
        SELECT thread.*,thread.iconid AS threadiconid $previewfield
        FROM ".TABLE_PREFIX."thread AS thread
        LEFT JOIN ".TABLE_PREFIX."deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
        $previewjoin
        WHERE open <> 10
        AND forumid NOT IN (0$limitfids)
        AND thread.visible = '1'
        AND deletionlog.primaryid IS NULL
        ORDER BY lastpost
        DESC LIMIT 5");

Change the 5 in 'DESC LIMIT 5' to however many threads you want to show.

Now all I need to figure out is how to cut out the graphic icons, make the thread title longer and do away with the superfulous 'Last Post: x by y ? Replies: a Views: b' text.

dutchbb 06-12-2006 08:45 AM

@ criscokid: You can change the title length in that plugin too (it's standard set to 22)

And the rest you can find in the template "forumhome_latestthreadbit"


All times are GMT. The time now is 09:55 AM.

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.01547 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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