Get custom page link (and email activation) rewrite to redirect to iframed phpBB?

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: Get custom page link (and email activation) rewrite to redirect to iframed phpBB?

Re: Get custom page link (and email activation) rewrite to redirect to iframed phpBB?

by axew3 » Mon May 14, 2018 2:10 pm

yes this make a sense ... let take a look to the iframe resizer code and the best way to resolve if possible, all about scroll once for all ... better aim to resolve all scroll behaviors at once with unique code (if possible) without adding more if else if to patch any possible case.
This specific could be resolved with just adding something more into phpBB overall_footer.html where:

Code: Select all

 if ( w3all_onclick_smile === false && w3all_onview_attach === false ) {
   if ('parentIFrame' in window) window.parentIFrame.scrollTo(0,mfs);
  }
adding the specific submit event and forcing the scroll up when this event occur.
This is very easy to resolve in this way. Let me check what better, as i can put eyes in i will give you in the while the line of code that will do the trick.

Re: Get custom page link (and email activation) rewrite to redirect to iframed phpBB?

by mLgz0rn » Mon May 14, 2018 12:10 pm

You can see it here
https://youtu.be/yrrgATksDx8

First part, when I click within the main forum, it scrolls back to top every item I click.
Second part, I go into our application form (the custom page), when I click the submit button, nothing happens.
First time I didnt fill out anything, so it writes in the top you need to fill out everything.
But because it dosnt scroll up, people won't see that message, unless they scroll up by them self.

I hope this makes sense

Re: Get custom page link (and email activation) rewrite to redirect to iframed phpBB?

by axew3 » Sun May 13, 2018 8:34 am

hi yes, 1.9.0 will be mainly focused on setting up the iframe at best responding to all inputs in the needed way. And documentation about improved (also) with hints based on posts on your recent topic (htaccess rewrite etc) and more.
In the while 1.8.9 has been patched on two files:
class.wp.w3all-phpbb.php and wp_w3all.php, patched yesterday to fix two secondary but important issues (the plugin work fine also without these two new fixes, if correctly installed).
1.8.9 and coming 1.9.0 should be considered stables: on 1.9.0 no more feature will be added, only fixes if in the while some bug more come out on.

Your problem is that when you click on submit adding a new post it not scroll to top? This should not be the correct behavior, presenting you the just inserted post on topic? Or maybe you display topics with latest posts on top??? Mh maybe this is the problem? I've not try this.
As often happen, i've maybe misunderstand the meaning of your problem. How you get this?

On 1.9.0 we should aim to this:
scroll the iframe within the iframed wp page, presenting ever the right position (not just scroll top), without the basic js code that at moment manage this behavior.

Re: Get custom page link (and email activation) rewrite to redirect to iframed phpBB?

by mLgz0rn » Sat May 12, 2018 9:15 pm

Is there any way to make the custom page go back to top when you click submit?
I've noticed it does it in the rest of the forum, like when you click an item in the forum itself, it will scroll you back to top

Re: Get custom page link (and email activation) rewrite to redirect to iframed phpBB?

by axew3 » Wed May 02, 2018 4:34 pm

very nice ;) ... almost this go fine ... i'm instead lost a while into chunking video streams from browser via javascript right now, and into a script that for how it's done, make me crazy on get this out ... i hate myself when i start something in wrong way and now ... i even can't think to rewrite all what done in several days :evil:

Re: Get custom page link (and email activation) rewrite to redirect to iframed phpBB?

by mLgz0rn » Wed May 02, 2018 4:07 pm

Yeah it works now!
thanks mate

Top