this morning after long time, i've find out the way to resolve any scroll, for any phpBB event/page, in just one instruction to assign:
3 lines of code, will replace 50 lines of code (+-) between overall_footer.html and page-forum.php.
So correct scroll aspect will be fixed on next coming soon 1.7.7. And all will be more short/easy.
Auto scroll UP
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Auto scroll UP
the patch has been applied and is effective here in this example, the code about phpBB overall_footer.html and addons/page-forum.php will be updated within today to fit new changes about this:this morning after long time, i've find out the way to resolve any scroll, for any phpBB event/page, in just one instruction to assign:
3 lines of code, will replace 50 lines of code (+-) between overall_footer.html and page-forum.php.
So correct scroll aspect will be fixed on next coming soon 1.7.7. And all will be more short/easy.
https://www.axew3.com/w3/2016/02/embed- ... esponsive/
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Auto scroll UP
https://www.axew3.com/w3/2016/02/embed- ... esponsive/
iframe procedure and code has been updated.
It fix also a problem about notification PM ink on admin bar (if option active), to be for iframe or not (this fix has been updated on page-forum.php file at repository, after two hours by the date of this post).
Memo about the iframe procedure: how to update in short
Download updated file page-forum.php:
https://plugins.trac.wordpress.org/expo ... -forum.php
put it into plugin addons folder, replacing the old one, so on WP_w3all config page, rebuild the template by clicking on related button.
OR manually
paste the downloaded page-forum.php file into your template folder, replacing the old one (rename it into what need to be if your iframe template page is named as board, community etc in WP_w3all config, so you'll rename in case into page-community.php etc.)
Now open overall_footer.html
substitute the old added code, with new code
https://www.axew3.com/w3/2016/02/embed- ... esponsive/
Remember to set the correct domain name value into pasted code as explained on inline code and on procedure.
Remember so to Recompile stale style components in phpBB ACP -> Server configuration -> Load settings (as explained on procedure).
iframe procedure and code has been updated.
It fix also a problem about notification PM ink on admin bar (if option active), to be for iframe or not (this fix has been updated on page-forum.php file at repository, after two hours by the date of this post).
Memo about the iframe procedure: how to update in short
Download updated file page-forum.php:
https://plugins.trac.wordpress.org/expo ... -forum.php
put it into plugin addons folder, replacing the old one, so on WP_w3all config page, rebuild the template by clicking on related button.
OR manually
paste the downloaded page-forum.php file into your template folder, replacing the old one (rename it into what need to be if your iframe template page is named as board, community etc in WP_w3all config, so you'll rename in case into page-community.php etc.)
Now open overall_footer.html
substitute the old added code, with new code
https://www.axew3.com/w3/2016/02/embed- ... esponsive/
Remember to set the correct domain name value into pasted code as explained on inline code and on procedure.
Remember so to Recompile stale style components in phpBB ACP -> Server configuration -> Load settings (as explained on procedure).
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Auto scroll UP
I note that on inserting smiles on posts, the scroll is done, and should not.
It is required to add a little code mod into overall_footer.html.
I will patch right now the thing.
It is required to add a little code mod into overall_footer.html.
I will patch right now the thing.
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Auto scroll UP
in overall_footer.html added code, need to be replaced the following line:
with this:
remember to recompile phpBB template.
The online code procedure has been updated about this.
Let say i do not like this latest switch to scroll.
I will improve and finalize a definitive correct way to scroll as soon i can.
Code: Select all
if ('parentIFrame' in window) window.parentIFrame.scrollTo(0,mfs);
Code: Select all
if ( w3all_onclick_smile === false && w3all_onview_attach === false ) {
if ('parentIFrame' in window) window.parentIFrame.scrollTo(0,mfs);
}
The online code procedure has been updated about this.
Let say i do not like this latest switch to scroll.
I will improve and finalize a definitive correct way to scroll as soon i can.
- Lantern
- User www
- Posts: 66
- Joined: Fri Sep 09, 2016 12:07 pm
- Location: The Netherlands
- Contact:
Re: Auto scroll UP
Sorry for the very late reply - i will follow your instructions a.s.a.p and let you know