FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Displaying a forum outside of the forum software
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Displaying a forum outside of the forum software [message #36043 is a reply to message #36000] Thu, 01 March 2007 00:36 Go to previous messageGo to previous message
walt is currently offline  walt   United States
Messages: 3
Registered: February 2007
Karma:
Junior Member
That made me think to try something...

I put this in a file in the root dir of the website.

<?
include('/home/content/b/m/o/user/FUDforum/scripts/fudapi.inc.php');
$msg = fud_fetch_msg('3');
echo $msg->body;
?>


I named it db_test.php. Everything worked perfectly fine. However, when I put that file in my include directory and include it with a url like /?page=db_test, it gives those mysql errors. So I don't know why it's doing that but I'm going to keep looking into it or find a workaround.

[Updated on: Thu, 01 March 2007 00:37]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Compact view of "Unread Messages"
Next Topic: Hack for FUD 2.3.7 - Import Users from a CSV File
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat May 18 11:23:32 GMT 2024

Total time taken to generate the page: 0.05285 seconds