MyBB Community Forums

Full Version: Use portal as home page outside forum
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
You set your forum URL incorrectly. You missed he "r" in forum

http://abyssguild.com/foum/

Edit /inc/settings.php and and change the "boardurl" setting correctly. Then log into the ACP and change it there as well
(2013-10-26, 10:54 PM)Meanmanmyers Wrote: [ -> ]So i ran into a problem... I was following this guide and every so often checking my website to see the changes/progress. I went to refresh the page on my site, and all of the pictures, icons, background, and anything with color disappeared.

I am also having some login problems and cannot access my ACP now. I'm guessing that has something to do with the quicklogin not working correctly.

My website is here: http://abyssguild.com

I ended up completing every step in the guide, but the end result wasn't very satisfying. Please help!

Any tips would be greatly appreciated!

i have decided to just delete my forums and start over. so disregard my previous post.

(2013-10-27, 02:16 AM)pavemen Wrote: [ -> ]You set your forum URL incorrectly. You missed he "r" in forum

http://abyssguild.com/foum/

Edit /inc/settings.php and and change the "boardurl" setting correctly. Then log into the ACP and change it there as well

Sorry I just noticed this post. Thanks for the help! I caught that reply just in time!

Now that it is fixed how do i correct the login problem. no matter if you are logged in or not it is always on the portal page. ive tried messing with the header templates but i cant figure it out.

And now that I've corrected the spelling of "forum" in my settings.php file I'm running into a problem in the ACP. I get to the homepage of ACP just fine, but when I try to go to the config menu it pops up with "Invalid administration session" and tries to get me to re-enter my login info.

So i just realized from reading some more of this thread that i never changed my cookies path to just "."

That sounds like an easy fix for the login problems. At the moment though I cannot get into my ACP to make that change along with the board url.

So at this point I understand the fixes i need to make, but without being able to access my ACP I'm dead in the water. Apparently the settings.php file keeps reverting back to the incorrect spelling I had the boardurl set to. I'm guessing once i can make the change in the ACP it won't do that any longer?

Okay... I'm very sorry for all the edits and merged posts. I've fixed most of the issues on my own. I changed my cookie settings and that fixed my ACP problems. Since my forum is in a subdomain i had to set the cookie path to "/forum/". I was confused about this at first due to everyone saying it should be just "/". Not sure how or why but after i changed it everything magically worked.

Now the only problem I'm having is the portal page showing "welcome guest" along with the log in menu, even though I am logged in. I have completed every step on your guide multiple times but I am still having this issue. Along with the portal page showing me as a guest, once I go to the forum index, I try to log out and it says, "You have successfully been logged out.
You will now be taken back to the forum index." but when it takes me back to the forum index it shows I am still logged in.
You need to change the welcome box template. This is what I have mine as: (Yours may need to be a little different.)


Quote:<script type="text/javascript">
<!--
lang.username = "{$lang->login_username}";
lang.password = "{$lang->login_password}";
lang.login = "{$lang->login}";
lang.lost_password = " &mdash; <a href=\"{$mybb->settings['bburl']}/member.php?action=lostpw\">{$lang->lost_password}<\/a>";
lang.register_url = " &mdash; <a href=\"{$mybb->settings['bburl']}/member.php?action=register\">{$lang->welcome_register}<\/a>";
lang.remember_me = "{$lang->remember_me}";
// -->
</script>
<span class="register"><a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}<img src="{$theme['imgdir']}/jump.gif" /></a></span>
<form action="http://mobilemod.net/forum/member.php" method="post" class="loginform">
<input type="hidden" name="action" value="do_login">
<input type="hidden" name="url" value="{$mybb->settings['bburl']}">
<input type="hidden" name="quick_login" value="1">

<label class="hidden" for="quick_username">{$lang->username}</label>
<input type="text" name="quick_username" id="quick_login_username" value="" class="loginusername"/>

<label class="hidden" for="quick_password">{$lang->password}</label>
<input type="password" name="quick_password" id="quick_login_password" value="" class="loginpassword"/>

<input type="submit" name="submit" value="{$lang->welcome_login}" class="loginbutton"/>
<input type="hidden" value="do_login" name="action"/>
<input type="hidden" value="" name="url"/>
</form>
Ok so I ended up fixing it. I completely deleted the theme and started over. Not sure what was changed from before but it works.

The only thing that bugs me is the avatar does not show on the portal page. It works on all other pages. I checked the image url's for both.

Here is the url for the working avatar image: http://abyssguild.com/forum/uploads/avat...1380305251

Here is the url for the non-working avatar image: http://abyssguild.com/uploads/avatars/av...1380305251

So by looking at that it seems that its trying to pull the image from the wrong spot. Not sure what I need to change to get it to work.
Anyone can write a updated guide for 1.8 or the same method apply?
I have not upgraded to 1.8 yet so I am not sure how much needs to be changed.
Hi, I have tried and works perfectly also in 1.8 Big Grin


Only some things:


- I haven't followed this step, because I don't use quick login and I didn't test:

Quote:to make quick login work, you need to edit /jscripts/general.js and find the quickLogin function and make the 3 lines look like (the bburl and bburl+)

- This step I haven't followed because it works well also without this edit:
Quote:then there are some edits to deal with PM notices that come up on the index page (was portal).

I can read PM also from link in /index.php (ex portal.php).


Thank you Big Grin
I can't get my theme to load or something, I am a complete noob at this stuff sometime. Do you think you or somebody can help me?
Did you try using the htaccess way i posted for you?
(2015-01-14, 01:25 PM)iAndrew Wrote: [ -> ]Did you try using the htaccess way i posted for you?

No, I totally forgot about that, I will try it now. Sorry IAndrew

EDIT: I just tested it, It didn't work for me.

EDIT2: Never mind I got it working!
Pages: 1 2 3 4 5 6 7 8 9 10