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.
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
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 ?
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 /