Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Hi.
I run the 3.1.10 version of phpBB.
In the old days you could make a style demo yourself.
I remember I downloaded the code from the net.
I am looking for the code snipped required to make my own style demo.
It had a dropdown list on the upper right side for choosing styles.
And the forum would change tom that style.
I remember I had to hack 2-3 lines of code to get it to work.
That was most likely the 2x version.
Is this possible in 3.x version?
david63 wrote: ↑Fri Jun 09, 2017 11:39 am
Perhaps not quite what you are looking for but there is the Quick Style extension
Adds a drop-down selector to the header, which detects a selection change and triggers a board style change through the UCP.
Automatically redirects back to the original page being viewed after style has changed.
Works for guests too, but uses a special cookie instead.
What does "did not work" mean?
You need to have at least one further style, in addition to prosilver, installed and active for the dropdown to be displayed.
Somehow it works now.
Upped the ext. to a new installation and enabled it.
Got the error msg below and did a F5 refresh.
I upped a lot of styles, not all of them 3.1.10, but some earlier 3.1.x on another installation.
I did a re-up to a new installation with only the listed installed styles
in ACP from the old installation and installed them.
Can this have anything to do with his?
From support group post:
phpBB v3.1.10
Quick Style v1.3.5
Upped the extention and enabled it.
Got the msg below.
Did a refresh (F5) and it was gone.
Error msg:
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/di/container_builder.php on line 138: require([ROOT]/cache/container_64cd73d669dd8f337d8b1b251fc6bd39.php): failed to open stream: No such file or directory
Fatal error: require(): Failed opening required './../cache/container_64cd73d669dd8f337d8b1b251fc6bd39.php' (include_path='.:/usr/share/php5/') in /mounted-storage/home114c/sub009/sc19806-FFHE/sundgot_net_phpbbstyles/phpbb/phpbb/di/container_builder.php on line 138
I chose to delete the files and the database and do a fresh install with new uploaded 3.1.10 files.
I added the styles I knew would work and the extension.
So now it is fine.
If it will be knocked out of something I do not know.
So we will see I guess.
It could be a extension or style maybe?
LOL, now I know the answer to the did not work.
Jeeez, how stupid of me.
Under tab "General" and "Board settings":
Override user style: has to be set to _NO_.
Replaces user’s (and guest’s) style with the style as defined under "Default style".