[3.3][RC] ACP Styled

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Sniper_E
Registered User
Posts: 1173
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey

Re: [3.3][RC] ACP Styled

Post by Sniper_E »

Wow that worked perfect cabot. Thank you so much my man. I love that beautiful brain of yours. Big fan. Version 1.0.3 [RC] is up for download.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
cabot
Registered User
Posts: 733
Joined: Sat Jan 07, 2012 4:16 pm

Re: [3.3][RC] ACP Styled

Post by cabot »

I think you should change the folder structure and put the images/ directory in style/.

And then,

In acp_overall_header_head_append.html, find:

Code: Select all

<style>#page-header{--random-header: url(/ext/sniper/acpstyled/adm/images/header_image_{{ theme }}/header_bg{{ random }}.jpg);}</style>
Replace with:

Code: Select all

<style>#page-header{--random-header: url(images/header_image_{{ theme }}/header_bg{{ random }}.jpg);}</style>

In addition, you need to define a valid fallback image path in the CSS files.
admin_light_image.css
Find:

Code: Select all

background-image: var(--random-header, url("../images/header_image_light"));
Replace with:

Code: Select all

background-image: var(--random-header, url("./images/header_image_light/header_bg1.jpg"));
admin_dark_image.css
Find:

Code: Select all

background-image: var(--random-header, url("../images/header_image_dark"));
Replace with:

Code: Select all

background-image: var(--random-header, url("./images/header_image_dark/header_bg1.jpg"));
:)
User avatar
Sniper_E
Registered User
Posts: 1173
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey

Re: [3.3][RC] ACP Styled

Post by Sniper_E »

Yes indeed cabot, you are absolutely correct. First post updated.

Thank you cabot for taking an interest in this ext. You have spread the final swipe of frosting on my cake. I appreciate your help and guidance!
I have been using that random image script of mine for many years. I threw it out and I will be holding onto this method from now own.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3618
Joined: Wed Oct 27, 2004 11:35 pm
Name: William

Re: [3.3][RC] ACP Styled

Post by bonelifer »

When trying to download from topics from your site, the file is corrupted. Not talking about the link above. Like this topic: https://sniper-e.net/viewtopic.php?t=29
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .

phpBB Modders is looking for developers! If you have phpBB experience and want to join us, click here!
User avatar
Sniper_E
Registered User
Posts: 1173
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey

Re: [3.3][RC] ACP Styled

Post by Sniper_E »

I don't understand. At my site viewtopic.php?t=29 is my extension credits ext. This ext is viewtopic.php?t=57 at my site.

I just checked the download at https://www.sniper-e.net/viewtopic.php?t=57 and it was fine. Do I need to repack this?
The link in the first post here links to that download. Anyone else having that issue?
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
warmweer
Jr. Extension Validator
Posts: 11487
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: [3.3][RC] ACP Styled

Post by warmweer »

Sniper_E wrote: Wed Jun 19, 2024 10:16 pm I don't understand. At my site viewtopic.php?t=29 is my extension credits ext. This ext is viewtopic.php?t=57 at my site.

I just checked the download at https://www.sniper-e.net/viewtopic.php?t=57 and it was fine. Do I need to repack this?
The link in the first post here links to that download. Anyone else having that issue?
The viewtopic.php?t=29 one was borked yesterday and still is today. (error when unzipping)
The viewtopic.php?t=57 is normal (the download that is, I didn't install it). (unzips ok)
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Sniper_E
Registered User
Posts: 1173
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey

Re: [3.3][RC] ACP Styled

Post by Sniper_E »

I see now... at my site viewtopic.php?t=29 extension credits 1.0.3 download is fixed. viewtopic.php?t=2616551
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
Sniper_E
Registered User
Posts: 1173
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey

Re: [3.3][RC] ACP Styled

Post by Sniper_E »

A few more needed adjustments made and I think we're all good here. First post updated.

:? Thank you for testing... Please let me know if you see any issues.

Ah, I see a small issue with the submit buttons. The dark style needs changes for those... maybe.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
Mazeltof
Registered User
Posts: 100
Joined: Wed Sep 28, 2016 5:18 pm
Location: Arras - France

Re: [3.3][RC] ACP Styled

Post by Mazeltof »

Hi here
i think there is a problem with some apostrophes in the french language files ;)

Code: Select all

Parse error: syntax error, unexpected identifier "extension", expecting ")" in D:\Wamp.net\sites\phpbb3\ext\sniper\acpstyled\language\fr\info_acp_acpstyled.php on line 38

Code: Select all

Parse error: syntax error, unexpected identifier "en", expecting ")" in D:\Wamp.net\sites\phpbb3\ext\sniper\acpstyled\language\fr\acp_acpstyled.php on line 37  & 41 & 44
User avatar
Sniper_E
Registered User
Posts: 1173
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey

Re: [3.3][RC] ACP Styled

Post by Sniper_E »

Ah, I knew it. Me and Google translate. Will adding a \ by the hyphens fix all of that? Sorry that part slipped my mind.

That's what most of the guys in here would call a Rookie mistake. :lol: First post updated.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
Sniper_E
Registered User
Posts: 1173
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey

Re: [3.3][DEV] ACP Styled

Post by Sniper_E »

I toned down those bright white border colors in dark style
Made some color changes in light style
and pushed the header up into the top of the Wrap

First post updated.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
cabot
Registered User
Posts: 733
Joined: Sat Jan 07, 2012 4:16 pm

Re: [3.3][DEV] ACP Styled

Post by cabot »

I've taken the liberty of modifying the French translation if you're interested.
https://uploadnow.io/f/hdCbR80

If I may say so, I think it would be wiser to use lang('ACP_ACPSTYLED') to display the H1 heading of the extension page because it's a language key whereas ACPSTYLED_DISPLAY_NAME is not translatable.

Also, don't feel obliged to credit me for the random image, I just used a simple Twig function to suggest an alternative. :)
User avatar
Hippie459MN
Registered User
Posts: 966
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA

Re: [3.3][DEV] ACP Styled

Post by Hippie459MN »

Thanks for this. My ACP isn't so boring now. :mrgreen:
User avatar
SpIdErPiGgY
Registered User
Posts: 243
Joined: Sun May 02, 2021 2:11 pm
Location: Erpe-Mere, Aalst, BE
Name: Andy Dm

Re: [3.3][DEV] ACP Styled

Post by SpIdErPiGgY »

In admin_light.css, I changed all #ffffff to #dde8f0
It looks better to me...

Thank you for this ext :D
phpBB NL Extension translations, also on request.
--> Click Here: Myarea51secrets.com <--
User avatar
Sniper_E
Registered User
Posts: 1173
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey

Re: [3.3][DEV] ACP Styled

Post by Sniper_E »

Added French translation, changed ext name to lang('ACP_ACPSTYLED'), pulled credits and adjusted light style colors. First post updated.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:

Return to “Extensions in Development”