Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases

Reply
 
Thread Tools
News Out - posts from forum(s) on any page Details »»
News Out - posts from forum(s) on any page
Version: 1.00, by Rafe Rafe is offline
Developer Last Online: Mar 2011 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 05-13-2004 Last Update: Never Installs: 30
Is in Beta Stage  
No support by the author.

This script will let you pull the first posts from threads in a forum and display them on a non-vb page anywhere on your site.

For example you can use this to pull posts from a forum and display them as news. (Each post in the forum is a news item).

Currently it will pull them on the basis of thread start date.

This is very rough and ready. But maybe someone will find it useful.

If you read the code and comments you can do things like strip out tags, snip the post off after the first para etc etc.

You can choose to write out to a file or to write to screen. You can pull stuff from one or many forums.

I'll try and answer any questions that come up, but this is a beta so....

Rafe

Show Your Support

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

Comments
  #42  
Old 09-25-2004, 05:43 PM
Johnny's Avatar
Johnny Johnny is offline
 
Join Date: Jun 2002
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have you did any changes in the mod except the database info and the file location?
Reply With Quote
  #43  
Old 09-25-2004, 06:49 PM
lcryan's Avatar
lcryan lcryan is offline
 
Join Date: Aug 2004
Location: Boston
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Johnny
have you did any changes in the mod except the database info and the file location?
no.....
Reply With Quote
  #44  
Old 10-07-2004, 01:57 AM
eLiTeGuRu eLiTeGuRu is offline
 
Join Date: Apr 2004
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does your vb db use a prefix? If so see my previous post.
Reply With Quote
  #45  
Old 10-07-2004, 04:36 AM
madhouse's Avatar
madhouse madhouse is offline
 
Join Date: Nov 2001
Location: USA
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack man but I do have one question for ya , its pulling the post thread as if it was in a forum link , and not displaying the entire post like it should.

http://ladders.modcentral.us/

which is pulling the info from http://forum.modcentral.us

You will see it has the link but the link is also pulling to the wrong page also.....

Everything else is working fine thou....
Reply With Quote
  #46  
Old 10-07-2004, 06:12 AM
House_of_Crazed House_of_Crazed is offline
 
Join Date: May 2004
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

madhouse - you got this working??

*wonders* Wanna help us out? LOL

I've been trying to figure this out for days ... *laughs*

EDIT:

Maybe I should have explained what I'm having trouble with, lol.

I'm trying to figure out what and how exactly am I supposed to merge this file into a VB-Powered but outside the forums page... I've tried everything I could think of, lol ... $towrite, $writenews, and so on...
Reply With Quote
  #47  
Old 10-09-2004, 03:33 PM
madhouse's Avatar
madhouse madhouse is offline
 
Join Date: Nov 2001
Location: USA
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First did you make sure you have your paths set correctly?

Second make sure you read thru the entire script as there are certain things you need to uncomment in order for it to work.
Reply With Quote
  #48  
Old 10-10-2004, 10:56 PM
House_of_Crazed House_of_Crazed is offline
 
Join Date: May 2004
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes.

The custom portal is outputting the posts, but not where I want it to be outputted to. It needs to be at a specific spot, and so far, it's being a pain.

You got it working on your site, so it should be working fine here. I have gone over the script like 50 times.
Reply With Quote
  #49  
Old 10-10-2004, 11:49 PM
madhouse's Avatar
madhouse madhouse is offline
 
Join Date: Nov 2001
Location: USA
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Depends were you are inplementing the script line on your page
Reply With Quote
  #50  
Old 10-11-2004, 12:04 AM
House_of_Crazed House_of_Crazed is offline
 
Join Date: May 2004
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question tho...

Should I have commented the echo $towrite; line ?

Then put $towrite where I want it to be at ??

Because I did try that and it just didn't do what i wanted it to do.

LOL
Reply With Quote
  #51  
Old 10-11-2004, 12:16 AM
madhouse's Avatar
madhouse madhouse is offline
 
Join Date: Nov 2001
Location: USA
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where are you doing this at so I can look at it.

Also you using <?include ('newsout.php');?>
Reply With Quote
Reply

Thread Tools

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 07:21 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.05068 seconds
  • Memory Usage 2,294KB
  • 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
  • (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
  • (4)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