Current time: 01-08-2009, 11:34 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 2 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] Basic Site-Forum Integration
03-01-2008, 04:57 AM
Post: #51
RE: [Tutorial] Basic Site-Forum Integration
First of all get rid of the "public_html" in the 2nd line, as that is not the relative directory to your forums from the file.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-07-2008, 12:36 AM (This post was last modified: 03-07-2008 01:09 AM by 772pilot.)
Post: #52
RE: [Tutorial] Basic Site-Forum Integration
I'm still getting this error:
PHP Code:
WarningCannot modify header information headers already sent by (output started at /home/rctloung/public_html/header.inc:4in /home/rctloung/public_html/forums/inc/functions.php on line 1216 
Other than that, everything works fine!

[Image: affbanner.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
03-30-2008, 06:19 PM (This post was last modified: 03-31-2008 03:58 AM by hascet.)
Post: #53
RE: [Tutorial] Basic Site-Forum Integration
I'm getting this error when I try to use the recent posts feature:
Quote:Error: Database connection failed."); $sel = mysql_select_db($data,$conn) or die("Error: Database connection failed."); if($author == TRUE) { ?>
" href="showthread.php?tid=&action=lastpost"> by 's Profile" href="member.php?action=profile&uid=">
Heres the url for where I'm using it: http://www.crazycomputers.org

Also, should I be worried if users can easily access all of the database information when using this code?

Edit: Also, when you go to the site you see the login box that came with the theme, is there anyway to use that login box with the code here so it will log users into the forum?

Visit--> www.CrazyComputers.org Forums, Reviews, and Media

http://www.camaro.co.nr
Visit this user's website Find all posts by this user
Quote this message in a reply
03-31-2008, 03:03 PM
Post: #54
RE: [Tutorial] Basic Site-Forum Integration
^Bumpity

Visit--> www.CrazyComputers.org Forums, Reviews, and Media

http://www.camaro.co.nr
Visit this user's website Find all posts by this user
Quote this message in a reply
03-31-2008, 11:18 PM
Post: #55
RE: [Tutorial] Basic Site-Forum Integration
Firstly the login box on your theme can be used you just need to edit the form to something like shown below

PHP Code:
<form action="http://www.crazycomputers.org/forums/member.php" onsubmit="return submitted();" method="post" name="member_log_in" id="member_log_in">
    <
input type="hidden" name="action" value="do_login">
    <
input type="hidden" name="url" value="">
    <
label>Username:</label>
    <
input name="username" class="txtBox" type="text">
    <
label>Password:</label>
    <
input type="password" name="password" class="txtBox">
    <
a href="http://www.crazycomputers.org/forums/member.php?action=register">Sign up here!</a>
    <
input name="go" value="" class="go" type="submit">
    <
br class="spacer">
  </
form

You will also need to make sure you have the various items required in the header tags of your page as shown in the first few post in this thread.

As for the error you are getting i do not use the code mentioned in the first post for getting the recent post instead i use the plugins that are available in the mods area.

Cheers Fishntassie...

[Image: big_sig.png]
My Site & My Business Site
Find all posts by this user
Quote this message in a reply
04-25-2008, 11:32 PM (This post was last modified: 04-25-2008 11:58 PM by coldfirezz.)
Post: #56
RE: [Tutorial] Basic Site-Forum Integration
772pilot Wrote:I'm still getting this error:
PHP Code:
WarningCannot modify header information headers already sent by (output started at /home/rctloung/public_html/header.inc:4in /home/rctloung/public_html/forums/inc/functions.php on line 1216 
Other than that, everything works fine!
I am getting the exact same error. Please help me!

[url="http://coldfirezz.x10hosting.com"][Image: banner.png][/url]
Find all posts by this user
Quote this message in a reply
04-28-2008, 07:53 PM
Post: #57
RE: [Tutorial] Basic Site-Forum Integration
Anyone?

[url="http://coldfirezz.x10hosting.com"][Image: banner.png][/url]
Find all posts by this user
Quote this message in a reply
04-29-2008, 06:23 AM
Post: #58
RE: [Tutorial] Basic Site-Forum Integration
Posting the code here of the page might help to find your problem.

FnT...

[Image: big_sig.png]
My Site & My Business Site
Find all posts by this user
Quote this message in a reply
05-26-2008, 11:38 AM
Post: #59
RE: [Tutorial] Basic Site-Forum Integration
I want to add in statistics who's online: online count(users+guests), onlined user nicks and guest count. How I can make it? Smile
Find all posts by this user
Quote this message in a reply
05-28-2008, 07:53 PM
Post: #60
RE: [Tutorial] Basic Site-Forum Integration
Is there a way to pick what forum/forums we can pull the recent post from?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: