This site is READ ONLY!! No support will be given! Everything in here is just for archiving purposes!

[Beta] New Style for phpBB and BBcodes

Announcements and information relating to phpBBandBBCodes.com
hassan

Re: [Beta] New Style for phpBB and BBcodes

Post by hassan »

steve wrote:I just added a JS toggle function for the side menu to remember user's option to display it or hide it ,Thank cisc007!!
fantastic, thx and the ucp options are great smile_inlove
User avatar
Steve
X-Steve
X-Steve
Posts: 1920
Joined: Thu Sep 16 2010 3:19 pm
Real name: Steve© MX
Country Flag: Great Britain
Location: Up north!
Contact:

Re: [Beta] New Style for phpBB and BBcodes

Post by Steve »

I would like to thank all for the reply's but the thanks button does not work!! on this category. I have my own thanks/rep mod im working on will be my next task :)
Hello! and Do NOT contact me via private message for support!!
Ashley.S.

Re: [Beta] New Style for phpBB and BBcodes

Post by Ashley.S. »

Awesome work Steve, I don't suppose you'd think about releasing the sidebar code as I've been trying to find a nice sidebar mod with the option to move/hide/disable the sidebar and the one I had my eye on got abandoned smile_sweating
User avatar
Steve
X-Steve
X-Steve
Posts: 1920
Joined: Thu Sep 16 2010 3:19 pm
Real name: Steve© MX
Country Flag: Great Britain
Location: Up north!
Contact:

Re: [Beta] New Style for phpBB and BBcodes

Post by Steve »

I think cisco will be posting it in the donator's area.
Hello! and Do NOT contact me via private message for support!!
RMcGirr83

Re: [Beta] New Style for phpBB and BBcodes

Post by RMcGirr83 »

:tumbup:

Though, in my opinion, the side bar thingy should slide down the page when the user scrolls and it's a bit wide for 1920 monitors....and one of you nubs needs to fix the js errors. :P
User avatar
Steve
X-Steve
X-Steve
Posts: 1920
Joined: Thu Sep 16 2010 3:19 pm
Real name: Steve© MX
Country Flag: Great Britain
Location: Up north!
Contact:

Re: [Beta] New Style for phpBB and BBcodes

Post by Steve »

user_option_fixed

position: fixed; Simple!
too wide well then i think sniper_e was working on a screen res solution smile_bandit
Hello! and Do NOT contact me via private message for support!!
User avatar
Sniper_E
Support Team
Support Team
Posts: 197
Joined: Fri May 06 2011 3:09 pm
Real name: Ed
Country Flag: United States
Location: Shreveport, LA

Re: [Beta] New Style for phpBB and BBcodes

Post by Sniper_E »

Yes, I had this going and dj said it worked. But guys, I'm an idiot compared to you guys when it comes to coding. There may be a way to make this work better/simpler.

I added this script in the overall_header.html

Code: Select all

<script type="text/javascript">
function getcss(cssfile) {
loadcss = document.createElement('link')
loadcss.setAttribute("rel", "stylesheet")
loadcss.setAttribute("type", "text/css")
loadcss.setAttribute("href", cssfile)
document.getElementsByTagName("head")[0].appendChild(loadcss) }
if (screen.width >= 1000) { getcss('{T_THEME_PATH}/resolutions/1000.css') }
if (screen.width >= 1000) { getcss('{T_THEME_PATH}/resolutions/1000.css') }
if (screen.width >= 1300) { getcss('{T_THEME_PATH}/resolutions/1300.css') }
if (screen.width >= 1600) { getcss('{T_THEME_PATH}/resolutions/1600.css') }
if (screen.width >= 1900) { getcss('{T_THEME_PATH}/resolutions/1900.css') }
if (window.innerWidth >= 600) { getcss('{T_THEME_PATH}/resolutions/800.css') }
if (window.innerWidth >= 1000) { getcss('{T_THEME_PATH}/resolutions/1000.css') }
if (window.innerWidth >= 1300) { getcss('{T_THEME_PATH}/resolutions/1300.css') }
if (window.innerWidth >= 1600) { getcss('{T_THEME_PATH}/resolutions/1600.css') }
if (window.innerWidth >= 1900) { getcss('{T_THEME_PATH}/resolutions/1900.css') }
</script>
Then I made the theme/resolutions/ directory and placed all of the stylesheets in there with only different widths for the sidebar menu class, forum block class and the two classes for the viewtopic page.

But as I would adjust the widths trying to fine tune the widths for the different resolutions... I couldn't refresh the themes and show my changes. I had to change the name of the stylesheet and direct the script in the header to the new stylesheet name. Those stylesheets would not refresh.

You would have to test that. It might be that suck server my test site is on. It might be because those stylesheets need to be in the theme/ directory. And I don't have internet right now to get back to that project.

[ Post made via Android] Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Steve
X-Steve
X-Steve
Posts: 1920
Joined: Thu Sep 16 2010 3:19 pm
Real name: Steve© MX
Country Flag: Great Britain
Location: Up north!
Contact:

Re: [Beta] New Style for phpBB and BBcodes

Post by Steve »

New style has been disabled as it needs updating and there are a few issues whilst posting ,will be back later this week tho!
Hello! and Do NOT contact me via private message for support!!
User avatar
Blackwolf_Oz
Donators
Donators
Posts: 435
Joined: Tue Sep 21 2010 8:25 pm
Real name: Nick
Country Flag: Australia
Location: Melbourne, Australia
Contact:

Re: [Beta] New Style for phpBB and BBcodes

Post by Blackwolf_Oz »

Prefered it how it was. :fart:
PhpBB3 Version: 3.0.10
We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.
phpbb team phpbbandbbcodes
phpbb team
phpbbandbbcodes
User avatar
Steve
X-Steve
X-Steve
Posts: 1920
Joined: Thu Sep 16 2010 3:19 pm
Real name: Steve© MX
Country Flag: Great Britain
Location: Up north!
Contact:

Re: [Beta] New Style for phpBB and BBcodes

Post by Steve »

How what was?
Hello! and Do NOT contact me via private message for support!!
User avatar
Blackwolf_Oz
Donators
Donators
Posts: 435
Joined: Tue Sep 21 2010 8:25 pm
Real name: Nick
Country Flag: Australia
Location: Melbourne, Australia
Contact:

Re: [Beta] New Style for phpBB and BBcodes

Post by Blackwolf_Oz »

Well.......I may be going mad but when I logged in 5 mins ago the forum was the Wide Red style........now its got the brown honeycomb sides.... :?
PhpBB3 Version: 3.0.10
We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.
phpbb team phpbbandbbcodes
phpbb team
phpbbandbbcodes
User avatar
Steve
X-Steve
X-Steve
Posts: 1920
Joined: Thu Sep 16 2010 3:19 pm
Real name: Steve© MX
Country Flag: Great Britain
Location: Up north!
Contact:

Re: [Beta] New Style for phpBB and BBcodes

Post by Steve »

Fixed and updated ,will re upload style and activate tomorrow ,Main reason for removal was for the quick reply did not show :? ,some one added some html to the <body> tag preventing it too load :?:
[c]<!-- IF SCRIPT_NAME and not S_IS_BOT == ('refresh') --> onload="countdown();<!-- ENDIF -->"[/c]
:ugeek: and now if the we use the function [c]preview[/c] submitting a post want work smile_angry

I will rescue the forum smile_bear
Hello! and Do NOT contact me via private message for support!!
Post Reply