Old 10-09-2005   #1 (permalink)
blainex
Guest
 
Posts: n/a

Latest Forums Posts on Main Site

Does anyone here know the code to get the latest forum posts on the main page of my website www.advance-gamers.com
forums: www.advance-gamers.com/forum
thanks in advance
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-09-2005   #2 (permalink)
Bub
n00b
 
Bub's Avatar
 
Join Date: Feb 2004
Location: South Carolina
Posts: 858

Send a message via AIM to Bub
I don't see how a link to your website would give people a better idea? Mog probably would since he did it for his site: http://www.biorust.com <-- check it out!
__________________
Bub is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-09-2005   #3 (permalink)
Registered User
 
MrProtoman's Avatar
 
Join Date: Aug 2004
Location: Evansville, IN
Posts: 70

Send a message via ICQ to MrProtoman Send a message via AIM to MrProtoman Send a message via MSN to MrProtoman Send a message via Yahoo to MrProtoman
Open forums/SSI.php and find the code entries to use in a php include. I have Invision on here, so I'll show a couple of code examples with it, but it should be close to the the same with the Simple Machines Forum. The command string to put in your website header may be as complex as
Code:
<?php
include('http://www.darkproto.net/forums/ssi.php?m=posts&a=categorytopics&category=1&order=lastpost&start=0&show=5');
?>
or as simple as
Code:
 <?php include('http://www.darkproto.net/forums/ssi.php?m=stats&a=members'); ?>
Those are copied directly from my header.php file. You'll just have to look around in the file and see what options you have to play with.
__________________
MrProtoman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-09-2005   #4 (permalink)
blainex
Guest
 
Posts: n/a

Thanks much i'll try it out and i will inform you if it works out
no luck it hasnt worked hmm anyone else have any differnent ideas

Last edited by blainex; 10-09-2005 at 03:19 PM.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-09-2005   #5 (permalink)
Sheep Worrier
 
Man1c M0g's Avatar
 
Join Date: Sep 2003
Location: Portsmouth, UK.
Posts: 4,073
Blog Entries: 14

Send a message via ICQ to Man1c M0g Send a message via MSN to Man1c M0g Send a message via Skype™ to Man1c M0g
I'm afraid that my board runs on vbulletin, so I don't know exactly what code will work for you. The principle is simple though - if you can read the date/time stamp from the forums cookie reporting the time that the user last logged in, you can run a mySQL query to count the number of posts made since that date.
__________________
Man1c M0g is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-09-2005   #6 (permalink)
blainex
Guest
 
Posts: n/a

which unfortunately i cant

Recent Posts Function: <!--#include virtual="./SSI.php?ssi_function=recentPosts" -->

that's the code but i dont know how to exactly to get it to work i tried PHP include but i'm afraid it doesnt work any other idead how to get it to work
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 10-09-2005   #7 (permalink)
Sheep Worrier
 
Man1c M0g's Avatar
 
Join Date: Sep 2003
Location: Portsmouth, UK.
Posts: 4,073
Blog Entries: 14

Send a message via ICQ to Man1c M0g Send a message via MSN to Man1c M0g Send a message via Skype™ to Man1c M0g
Maybe try the whole path (i.e. from root as opposed to just relative)
__________________
Man1c M0g is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 08:41 AM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2007 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT