yes it is possible to pass anything and convert to work with.
The code should be applied into page-forum.php, and it's some quite easy to apply.
This part i wish to fix once for all as soon, before, or on 1.9.0, because it also contain bugs about wrong redirect in some circumstances.
How do you get the page in the way you build resulting with app.php? I know it is a stupid question, but this will speed up my next future answer and fix.
Please point me to this so i will prepare on these days the new improved version of this joke.
In the while, i try to explain the thing.
On wp page-forum.php, to get this work also for this kind of links, should be added, where:
Code: Select all
$w3forum_id = isset($_GET["forum_id"]) ? $_GET["forum_id"] : '';
just after or before should be added the line of code that will grab this kind of links (containing app.php) and related value.
SO it need to be sanitized before to be used, adding the check just little below, where all other already added values are checked.
Then, where is the long
elseif conditional list, should be added the correct assign of the url to pass for the iframe url if the checked url is of this kind.
Please just let me know how i should build an example page like yours (steps to achieve in short the page.app ... ), so i'll execute and i'll add here (and into default page-forum.php custom template file) the code to get what you want, that lack and need to be added.
The htaccess in this case, just redirect any link containing the
iframe word to the iframed page, so you not need to resolve the correct redirect to the iframed page on htaccess instruction, but into page-forum.php that need to contain the code to switch to correct url, that is so passed as iframe src value.
Please, do this for me: explain the fast way to get your phpBB example page in my test.
P.s i see you have not resolve the phpBB loader position problem (question on the other topic). The problem is that the loader position should be changed to appear more on top:
on css file
/ext/dmzx/loadingindicator/styles/prosilver/theme/loading_indicator.css
change:
Code: Select all
#loading-indicator {
top: 40%;
... ...
give to the top value, a minor value (
so it will display more on top, and will be visible, like:
try to navigate now and let reload templates, that will change at second time you refresh, the first time the code will be, as obvious, the old one so you still can't see the change:
also, may clean up cache on ACP main page -> Purge the cache -> Run now
if you see no changes take effect about preloader position (and maybe setup recompile stale templates for a while to
YES if still nothing change, then reset to NO this value when done, or it will
make your phpBB very slow also. About this, and your slow phpBB, it is set normally and actually this value to NO, into your phpBB?).
in accord with the above about css, you'll may (may not because in my test it work the same even changing the follow, but i've not go deep in this) change also the other css declaration where the value isset to 40% changing it into 10% (or to what you'll give as value on the above) so:
Code: Select all
background: url("./images/loading_indicator.gif") 0 10% no-repeat;
As said maybe this second change just in this way, lead to nothing.
Let me know how to apply (link me the how to page or just few lines of explain here in reply) the custom page in phpBB like your, so i not need to loose time on achieve it as example to produce the easy right code: i already lost my time often for my crazy tests, so please be patient and make me the way more easy.
[EDITED]