MyBB Community Forums

Full Version: Integrating MyBB into your website. (Login Form)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
LeX- Wrote:Try
define("IN_MYBB", 1);
chdir('C:/xampp/htdocs/mybb');
require './global.php';

Hey Lex,
thanks for your answer but i get the same error with the changed path. Sad

more ideas?
spook.68
Turbohog,

Your error is here.

Quote:??// The user is logged in, say Hi

The two question marks should not be there. this line 129 in the code you posted above

The same goes for the other comment down a bit further you should only have comments on that line no other characters delete the two ?? before the //

Fishntassie...
blueparukia,

The error is being caused by those two characters before the comment on line 33 and 39 in your script.

Quote:��// The user is logged in, say Hi

Quote:��// The user is not logged in, Display the form

Delete them and all should be OK


Fishntassie
Ahh....thank you alot
how do you add the options: Logout, User CP (and Admin CP if user is), and Private Messages?

great so far though thanks!

EDIT: never mind, got it sorted
okay i have a problem, the code and all that works but then my CuteNews stops working.

you can view the top stories (in my case 10) and the short part of it but you cant go to view the archives or go into read the full story of each article.

help?
Can you give me a link where you show these top10 stories ?
http://www.ffskies.com (currently ive taken off the login stuff so visitors can read the news)
Hello okay i need help with the code i will show you in a sec well when you login with it it logs you in on the forum but it dose not seem to on the page test.php it just shows the user pass boxs to login but i am loged in on the forum.

here is my code
EDIT: i fixed it it was becasue of the cookie thing i had it as /forum and i needed it as /
can anyone help me?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48