Page 4 of 6

Re: I may be a bit confused about template iframe embed

Posted: Thu Nov 17, 2016 8:04 pm
by axew3
if it is, so it is still present into your active template folder:
open your active WP template folder and delete the file forum-page.php, that should be present if called the url with /forum , it return a page found.

Do not delete page-forumS.php :)

Re: I may be a bit confused about template iframe embed

Posted: Thu Nov 17, 2016 8:20 pm
by chicagot
Unfortunately, that file is not present in my wp themes folder. I even went into my website control panel to try to redirect that url but it didn't work

And if I may, there is one other troubling glitch for me. When we try to log in at catchwrestle.com/forums a Register box pops up/ It asks for username and password. It must come from your software because it's #w3allopenModal. When I log in it immediately takes me to my home page and not the forum. It actually does log me in, but if you're unaware of that it can make someone think the forum login failed. That's what happened to a freind of mine who is helping me test this.

Thank you sir for taking the time to help me.

Re: I may be a bit confused about template iframe embed

Posted: Thu Nov 17, 2016 10:12 pm
by chicagot
Ok, I tried to edit my page-forums.php file. This is what I did:

if (w3all_pass_login == true) {



var w3_login_modallink = '".$w3allhomeurl."/forums/index.php/".$wp_w3all_forum_folder_wp."/?#w3allopenModal';

window.location.replace(w3_login_modallink);

}


I added the forums/index.php. I then tried to recomplie the phpbb. No luck. It still redirects me

Re: I may be a bit confused about template iframe embed

Posted: Thu Nov 17, 2016 11:30 pm
by axew3
if this file isn't present in template folder, than exist a wp page, this can be only in this way.
when you click on create template page, the only thing that happen, is that a page is created in the template folder, not in WP admin. Infact you need to create the blank page manually.

look that you do not need to rebuild nothing on phpBB, if you do not edit any pphpBB template file. mods done into page-forum(or board etc).php are immediately effective.

about redirect: you want that instead redirected to wp home, the user, if login is done on wp forum page, is redirected directly to wp forum page. As should be. This?
p.s or redirected on any/to page, where the login has been executed.

Re: I may be a bit confused about template iframe embed

Posted: Thu Nov 17, 2016 11:32 pm
by chicagot
Playing with this some more, I removed this line completely from the above:

window.location.replace(w3_login_modallink);

Now I have just the phpbb login. I have to input my password as for some reason it's not saved, but it does log me in to the forum directly. I am assuming there is a fix to it originally redirecting to my homepage? I'm not familiar with code

Re: I may be a bit confused about template iframe embed

Posted: Thu Nov 17, 2016 11:33 pm
by chicagot
No what is happening with the fourm is once I login it does not take me to the forum (catchwrestle.com/forums). It takes to me to my homepgae (catchwrestle.com). I want to be directly taken to the forum.