I may be a bit confused about template iframe embed

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: I may be a bit confused about template iframe embed

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

by axew3 » Tue Nov 22, 2016 7:26 pm

Ok!

About the modal login, and correct redirect into wp forum page, this is the code to change:
open your Wp template page-forum(or board etc).php search for the line:

Code: Select all

<input type="hidden" name="redirect" value="<?php echo $w3urlscheme . "://" . $_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']; ?>">
just replace with this:

Code: Select all

<input type="hidden" name="redirect" value="<?php echo home_url().'/index.php/'.get_option( 'w3all_forum_template_wppage' ); ?>">
OR with this:

Code: Select all

<input type="hidden" name="redirect" value="<?php echo home_url().'/'.get_option( 'w3all_forum_template_wppage' ); ?>">
Now on modal login, the correct redirect to wp page forum should be executed.

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

by mikotoiii » Tue Nov 22, 2016 2:42 pm

In regards to the OP. I went and checked the site, but it looks like the forums were removed, or their name was changed. Either way I couldn't find them to have a look at what was happening. I can post up my page-forum.php and see about getting the redirect working if the OP wants.

In regards to the 1.6 release. Sounds good. Once the code is in github, i'll check it out and see about adding in some of the features I think would be useful, and that I plan on making for use on my site. I'll also have a look at the comments, descriptions, and install instructions, and see about cleaning up any grammatical issues. We can move any further talk about the 1.6 release into the 1.6 topic if you want as well to keep this post on topic.

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

by axew3 » Mon Nov 21, 2016 8:11 am

Hello
About GitHub: i've already prepare the repo, but i'm waiting to publish mainly thinking that there are two things i would like to do before:
Clean up code, comments, and code style (that is a mess)
Rebuild the way queries search for users (leaving compatible all things for existent users, it can be achieved easily).
So i've think to go out on github with wp_w3all when 1.6.0 will be relased.
That i think can be a good start point. What you think?

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

by mikotoiii » Mon Nov 21, 2016 3:48 am

I answered this for someone else a little while ago. Check this post out.

https://www.axew3.com/w3/forums/viewtopic.php?f=2&t=236

Edit: just realized that you were looking for login. I'll have a look at the code tomorrow and see what i can drum up. I have it redirecting properly on my live forums with code that works the same.

I've been waiting for the source to go into github before making a bunch of proposals and code changes, and before cleaning up the english for axe.

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

by chicagot » Thu Nov 17, 2016 11:52 pm

Thanks. This is all a bit beyond my capabilities. I'll have to find someone here to take care of it. It's not that I don't want eh modal login, I just need it to take me to the forum. It doesn't make sense to be sent to my homepage only to have to go back to the forum.

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

by axew3 » Thu Nov 17, 2016 11:43 pm

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.
exactly what i mean. Ok it will be fixed.
if you do not want use the modal login, than you could use, edit/add code into phpBB.htaccess to redirect whatever you like, or add some line of code in phpBB.
This is a WP plugin, so all code is for the WP side.

Top