[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum • View topic - [HELP] The number of daily images is the same as nr of night

XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently April 27th, 2024, 8:09 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: August 30th, 2018, 9:53 am 
Offline
User avatar

Joined: June 18th, 2014, 9:16 am
Posts: 637
The widget downloads images from Accuweather and displays them. There are 40 pictures. Some of them are displayed during the day, others are displayed at night, but there are also those that are displayed both day and night [same picture]. I would like to divide it day and night.

Is there any variable in XWidget that checks if it is already night, or is the sun already set? Or the other way round, is the day gone, or is the sun already rising?

I would like to add [force] to display eg picture No. 37 instead of 11 at night or add a few equivalents of night conditions, because some weather conditions [the same] are displayed both during the day and at night. Np 7, 11, 12, 18, 19, 20, 22

For example, No. 11 [fog]
If day is present, display 11, if it is night, display 37
or
If is fog [11] and if is night, then display 37, if is fog [11] and if is day then display 11
No. 11 is displayed both during the day and at night and I do not want to

Is it possible to do something like that?
I hope that I expressed myself clearly
@Jimking, @Tony, @yereverluvinuncleber

_________________
My Widgets for Android and PC on DeviantArt: http://slavoo123.deviantart.com/
ONEPLUS 5T 8GB/128GB Android Pie 9


Top
 Profile  
 
PostPosted: August 30th, 2018, 1:38 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Slavoo as you know accuweather uses 3 kind of codes/ways to visualize the icons
viewtopic.php?f=10&t=4837

The best way to have more clear night icons is the tag for the 40 images.
THIS CANNOT BE CHANGED BECAUSE THESE ARE THE DEFAULT TAGS FROM ACCUWEATHER.COM..
So this does not depend on us. BUT you need to understand that depends a lot on the icons used!

The numbers that you ask for, have day and night images. Now there are conditions like fog, full cloudy, full rain, full snow, that have the same visualisation because in real life, the sky for these conditions are full of clouds without sun or moon.
Now there are many icon sets that have day/night images (except for the fog)

Example using the above weather set
7-Cloudy = 38-Night Mostly Cloudy


11-Fog


12- general showers


13- Mostly Cloudy with Showers = 39-Night Partly Cloudy with Showers
14- Partly Sunny with Showers = 40-Night Mostly Cloudy with Showers


18 - general rain


19 - general flurries


20-Mostly Cloudy with Flurries - 43--Night Mostly Cloudy with Flurries


22 - general snow


EXTRA
The "37" is not the fog for the night. This is the HAZE condition so it's the number "5" for the day.
5--Hazy Sunshine - 37--Night Hazy


CONCLUSION:
1. We can't do anything. The tags cannot be changed since are the ones that are provided from the accuweather.com service
2. As you can see, the answer to your question depends a lot on the icon set used for the widget. There are icon packs that have the same weather icons for some of the above numbers. So in this case depends on the user who created them.

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: August 31st, 2018, 6:32 am 
Offline
User avatar

Joined: June 18th, 2014, 9:16 am
Posts: 637
Thanks

_________________
My Widgets for Android and PC on DeviantArt: http://slavoo123.deviantart.com/
ONEPLUS 5T 8GB/128GB Android Pie 9


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 308 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group