Register Members List Search Today's Posts Mark Forums Read

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

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 30
Released: 14 May 2004 Last Update: Never Downloads: 43
Not Supported Is in Beta Stage  

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

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 14 May 2004, 17:12
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Any screenshots?
Reply With Quote
  #3  
Old 14 May 2004, 17:22
Rafe Rafe is offline
 
Join Date: Jul 2003
I didn't think there was much point. It pulls the text and images (and any stuff from the post). The intention is you integrate into other pages.

I use it to power various things at my site - http://www.allaboutsymbian.com

Thew news there is done like this.
Reply With Quote
  #4  
Old 15 May 2004, 01:24
mOdEtWo mOdEtWo is offline
 
Join Date: Dec 2003
Thank you Rafe, I'll try it out.

One thing tho, why don't you use the vb function to connect to mysql database, instead of putting it into this script?
Reply With Quote
  #5  
Old 15 May 2004, 11:30
Rafe Rafe is offline
 
Join Date: Jul 2003
Originally Posted by mOdEtWo
Thank you Rafe, I'll try it out.

One thing tho, why don't you use the vb function to connect to mysql database, instead of putting it into this script?
I should do, but I'm not familiar enough with how to do it. If I ever move this on to a proper release that's one of the things I would do. I guess I should look at the code for some similar connections (suggestions anyone?)
Reply With Quote
  #6  
Old 15 May 2004, 13:46
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Is this like VBAdvanced?
Reply With Quote
  #7  
Old 15 May 2004, 20:33
wrongful wrongful is offline
 
Join Date: Apr 2003
Real name: Terri Norris
excuse me for the dumb question but what would be the best way to embed this content into a page.
Reply With Quote
  #8  
Old 15 May 2004, 21:45
mOdEtWo mOdEtWo is offline
 
Join Date: Dec 2003
Originally Posted by Rafe
I should do, but I'm not familiar enough with how to do it. If I ever move this on to a proper release that's one of the things I would do. I guess I should look at the code for some similar connections (suggestions anyone?)
Well, as far as I know, you can use vB's way to connect to the mysql database, instead of having to use sql quesies yourself.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You better look at one of the vB files or other hacks on how to use it tho.
Reply With Quote
  #9  
Old 15 May 2004, 23:34
Rafe Rafe is offline
 
Join Date: Jul 2003
Originally Posted by RasMasta
Is this like VBAdvanced?
No. This isn't a portal system. You can use it to create a portal like affect. Its more flexible in that you have more choice in what you pull, but it take more time to set up.
Reply With Quote
  #10  
Old 15 May 2004, 23:36
Rafe Rafe is offline
 
Join Date: Jul 2003
Originally Posted by wrongful
excuse me for the dumb question but what would be the best way to embed this content into a page.
You could either copy this code into the relevant file or include this file in another page, or you could write out to a file and include that in the relevant file.

Obviously copy / include where you want the code to appear and edit appropriately.
Reply With Quote
  #11  
Old 17 May 2004, 11:33
nicholas nicholas is offline
 
Join Date: Feb 2004
Real name: Nicholas
Thank you, Rafe. This is just right and I'll use it. I've been looking for something like this as an alternative to the portal-with-everything hacks.
Reply With Quote
  #12  
Old 17 May 2004, 11:33
gfxmods gfxmods is offline
 
Join Date: Apr 2004
this may be the solution to my site, i have been using a portal and im thinking of creating a new layout and using somthig along these lines for a news page, that way my site is more unique then another vb portal page
Reply With Quote
  #13  
Old 17 May 2004, 21:13
Rafe Rafe is offline
 
Join Date: Jul 2003
Originally Posted by gfxmods
this may be the solution to my site, i have been using a portal and im thinking of creating a new layout and using somthig along these lines for a news page, that way my site is more unique then another vb portal page
Remember this is a beta release. I'l try and do some tidying up and add a few features / make things a bit more elegant in the next release (need to find some time).
Reply With Quote
  #14  
Old 18 May 2004, 01:03
Geographic2 Geographic2 is offline
 
Join Date: Apr 2003
This would be better as an addition to external.php rather than a seperate file.

External.php provides the functionality for XML,RSS, and the like for exactly this purpose.

The difference between what you are doing and that is you show the content of the posts whereas they show only thread titles.

Still it'd be more in line if it were an addition to external.php than a seperate file.

Last edited by Geographic2; 18 May 2004 at 01:12.
Reply With Quote
  #15  
Old 18 May 2004, 10:52
Rafe Rafe is offline
 
Join Date: Jul 2003
Perhaps so. However this is still a beta. In theory there's a lot of extra functionality I may add (depends on time etc.)

There's advantage to combing with external.php but there are also advantages in install terms of just uploading one new file.

Maybe the best approach would be to call in external2.php to make it clear what it does?

Still thanks for your feedback.

Rafe

Originally Posted by Geographic2
This would be better as an addition to external.php rather than a seperate file.

External.php provides the functionality for XML,RSS, and the like for exactly this purpose.

The difference between what you are doing and that is you show the content of the posts whereas they show only thread titles.

Still it'd be more in line if it were an addition to external.php than a seperate file.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 22:04.

Layout Options | Width: Wide Color: