Thanks mate that helped alot
Lock this?
(2010-04-05, 10:05 PM)Prentice Wrote: [ -> ]Thanks mate that helped alot Lock this?
Its a tutorial not a support thread! You can't ask for it to be closed.
(2006-01-20, 02:56 PM)Marc O Connor Wrote: [ -> ]How To
First, Before ANYTHING, even the "<HTML>" or "<?" Tag, place this.
<?php
chdir('forums'); // path to MyBB
define("IN_MYBB", 1);
require './global.php';
?>
In which file should I add this code? (index.php, global.php, etc)
That would be the index.php file. However, please note that this tutorial is out of date and no longer functions correctly. Please take a look at this thread:
http://community.mybb.com/thread-60422.html
Regards,
eRott
All I did was to add style.css links and the top code from the header of my main website into the header.php file of my chosen template. I also added similar code to the footer.php file. I then checked that certain style commands were not being duplicated - header, container and so on - and removed any offending style.css from whichever so the one I needed to be prominent worked. Took me about half an hour if that. You can see the coding by 'viewing source'. About the only concern I have is that the 2 new style.css files are not above the </head> tags but it still works fine.
Doesn't seem to be working on my site.
http://wii.rockbandhelp.com/
Login and all that works fine (along with the latest posts), but it always displays me as that I'm logged out, even though the login was in fact successful. Could this if statement be out of date?
if($mybb->user['uid'])
Man, It also doesn't save the cookies for some odd reason ? I mean I have it setup and all etc.. however it never keeps it logged in.
@freddie have you tried this?
I have tried the coding in this topic, and I am getting this error message
Fatal error: Call to a member function simple_select() on a non-object in /home/username/public/forum/inc/class_datacache.php on line 80
here is the code I used
<?php
chdir('forums'); // path to MyBB
define("IN_MYBB", 1);
require './global.php';
?>
I am currently running myBB version 1.6