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
Last X Threads From A Particular Forum On Non-VB Page Details »»
Last X Threads From A Particular Forum On Non-VB Page
Version: 1.00, by RobinHood RobinHood is offline
Developer Last Online: Mar 2007 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 03-22-2004 Last Update: Never Installs: 28
 
No support by the author.

Hi everyone,

By request, I have released this script which will display the last X number of thread titles from a specified forum. It will only show the thread starter so the thread doesn't look like it was started from a commenter or visitor.

Well, pictures are worth a thousand words so here's a screenshot:



--------------------------------------------------------------------------------------------

Instructions:

1) Download the script (of course).
2) Change the settings in the script.
3) Use include("/path/to/lastthreads3.php"); in your PHP page.

That's it! Enjoy.

Show Your Support

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

Comments
  #32  
Old 08-22-2004, 02:10 AM
AnhTuanCool's Avatar
AnhTuanCool AnhTuanCool is offline
 
Join Date: Jul 2004
Location: Albuquerque
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nothing but a blank page :\
Reply With Quote
  #33  
Old 08-27-2004, 11:16 PM
SVTBlackLight01's Avatar
SVTBlackLight01 SVTBlackLight01 is offline
 
Join Date: Jan 2003
Location: Texas
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Author(s) agreed to give support for this modification!

I haven't seen anything from the author in here since the first post 5 months ago.

I'm looking for a way to display more than one forums as well.
Reply With Quote
  #34  
Old 09-07-2004, 03:06 PM
Anne Lise Anne Lise is offline
 
Join Date: Mar 2004
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone solved the problem?
Reply With Quote
  #35  
Old 09-13-2004, 02:10 AM
ipgn ipgn is offline
 
Join Date: Jan 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mark.B
This has the serious problem of showing threads from private forums, as I just found out to my cost!
It'd be nice to see this fixed also... major issue for some...
Reply With Quote
  #36  
Old 09-13-2004, 06:48 AM
dfmafia dfmafia is offline
 
Join Date: Jul 2002
Location: Wherever Uncle Sam Needs
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what version of vB3 does it work on and which versions does it not work on

im using vB3.0.3 and it dont work

what version are u guys using that its working on?
Reply With Quote
  #37  
Old 09-13-2004, 07:09 AM
dfmafia dfmafia is offline
 
Join Date: Jul 2002
Location: Wherever Uncle Sam Needs
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well looky there...

at:
PHP Code:
$forum_id "3"// If you wish to display the posts from a specific forum, enter the forum id here. Otherwise, leave it blank. 
it will only work out correctly if u input 1 forum_id - when i entered in only the forums i wanted t show up (about 20 of them) i get:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/xxx/public_html/lastthreads3.php on line 41

if i just enter in 1 forum id it works great

this is fior both the scripts the author made

lastposts3.php and lastthreads3.php
Reply With Quote
  #38  
Old 10-28-2004, 05:26 PM
James T Brock James T Brock is offline
 
Join Date: Sep 2004
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone update this so that it will show multiple forums and not just one?

I know you can use external.php to do the same thing, but it's much more convenient to use this script and it's easier to customize the colors and look. I'm using it now and like it, but would prefer it if I could show threads from several different forums.
Reply With Quote
  #39  
Old 11-20-2004, 05:16 AM
lancepoint lancepoint is offline
 
Join Date: Sep 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you just double up the row?



PHP Code:
$forum_id "3"// If you wish to display the posts from a specific forum, enter the forum id here. Otherwise, leave it blank. 
$forum_id "4"// If you wish to display the posts from a specific forum, enter the forum id here. Otherwise, leave it blank. 
$forum_id "5"// If you wish to display the posts from a specific forum, enter the forum id here. Otherwise, leave it blank. 
Reply With Quote
  #40  
Old 03-31-2005, 12:15 AM
xeonkiller711 xeonkiller711 is offline
 
Join Date: May 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lancepoint
can you just double up the row?



PHP Code:
$forum_id "3"// If you wish to display the posts from a specific forum, enter the forum id here. Otherwise, leave it blank. 
$forum_id "4"// If you wish to display the posts from a specific forum, enter the forum id here. Otherwise, leave it blank. 
$forum_id "5"// If you wish to display the posts from a specific forum, enter the forum id here. Otherwise, leave it blank. 

Nope it picks the last number... I dont think you can use more then one forum on this script... Its a wonderful script but thats the problem...
Reply With Quote
  #41  
Old 04-04-2005, 10:51 AM
Wistow Wistow is offline
 
Join Date: Mar 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Easy - find the following code:
Code:
if ($forum_id) {
	$forumid = "AND forumid=$forum_id";
}
and replace it with
Code:
if ($forum_id) {
	$forumid = "AND forumid!=$forum_id AND forumid!=$forum_id2";
}
Now below the $forum_id variable at the top of the script, add
Code:
$forum_id2 = "FORUM YOU WANT POSTS FROM";
You can repeat this for more forums, adding an extra variable and SQL statement for each. Quite an untidy compromise, but it works!

Craig
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 03:35 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.06559 seconds
  • Memory Usage 2,312KB
  • 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
  • (3)bbcode_code
  • (3)bbcode_php
  • (2)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