2011-05-16, 11:03 AM
Pages: 1 2
2011-05-16, 11:06 AM
(2011-05-16, 11:03 AM)kokoko Wrote: [ -> ]it'sy new website but i need Portal / CMS is available here
This is your portal:
http://pakbestgamers.com/forums/portal.php
2011-05-16, 11:31 AM
that i uninstall because i need portal like a pakbestgamers.com and this is pakbestgamers.com/forums
2011-05-16, 03:34 PM
You could just installed mybb in root folder. than it would be http://pakbestgamers.com/portal.php
2011-05-16, 03:54 PM
copy portal.php to your domain root and rename it index.php. edit the file to indicate the actual forum folder (its a variable called $forumdir at the top) and set it to
then you have that portal page as your landing page.
$forumdir = "./forums";
then you have that portal page as your landing page.
2011-05-17, 04:48 AM
(2011-05-16, 03:54 PM)pavemen Wrote: [ -> ]copy portal.php to your domain root and rename it index.php. edit the file to indicate the actual forum folder (its a variable called $forumdir at the top) and set it to
$forumdir = "./forums";
then you have that portal page as your landing page.
Thanks alot finally it's works but now i can't from home page and forums page as well and i have to upload index.php and portal.php because i when i rename portal.php in index.php it's show error page when login and redirect portal.php then i upload portal.php and index.php on domain root but then i can't login
2011-05-17, 05:03 AM
what?
2011-05-17, 05:11 AM
i mean try to login my home page http://pakbestgamers.com/ i won't login you it expire your login session before login completly
2011-05-17, 04:05 PM
there are a few edits you need to make, that I forgot to tell you about.
1) Update javascript code to support login from outside MyBB folder
Edit /jscripts/general.js and
find
replace with
find
replace with
Edit template Header > header_welcomeblock_guest
find
replace
The above edits will fix the quick login.
1) Update javascript code to support login from outside MyBB folder
Edit /jscripts/general.js and
find
quickLogin: function()
replace with
quickLogin: function(bburl)
find
var form = new Element("form", { method: "post", action: "member.php" });
replace with
var form = new Element("form", { method: "post", action: bburl + "member.php" });
Edit template Header > header_welcomeblock_guest
find
onclick="MyBB.quickLogin();
replace
onclick="MyBB.quickLogin('{$mybb->settings['bburl']}/');
The above edits will fix the quick login.
2011-05-18, 04:52 AM
Edit /jscripts/general.js from where i find above files
Pages: 1 2