[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/bbcode.php on line 112: 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 112: 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 - Recycle Bin Core Help!

XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently April 16th, 2024, 12:23 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Recycle Bin Core Help!
PostPosted: September 9th, 2014, 10:56 pm 
Offline

Joined: April 8th, 2014, 7:44 am
Posts: 5
Hello everyone! :)

I am making a widget which appears only when the recycle bin is not empty but i cant figure out it's code.. :?:

Can anyone help me??

Thank You :roll: :roll:

_________________
Life's a journey, enjoy it..


Top
 Profile  
 
PostPosted: September 10th, 2014, 12:34 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
So you want an invisible widget/rb when the rb is empty..?? I think it's possible but is a little weird and not usable, don't you think? :)

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


Top
 Profile  
 
PostPosted: September 10th, 2014, 6:01 am 
Offline

Joined: April 8th, 2014, 7:44 am
Posts: 5
Right! i want to do that... (pretty weird . :lol: )

but can you help me?? :|

_________________
Life's a journey, enjoy it..


Top
 Profile  
 
PostPosted: September 10th, 2014, 6:10 am 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
making transparency to low is also another option,
this way you don't lose the position of your widget


Top
 Profile  
 
PostPosted: September 10th, 2014, 7:11 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887

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


Top
 Profile  
 
PostPosted: September 10th, 2014, 7:41 am 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
you can also use pnganimate object for it,
it will be cleared when it linked to a file that not exist

so you only have to do these:
1. in the recyclebincore, use your full image for full state
2. in the recyclebincore, in the place for empty state set a filename that doesn't exist
3. add a pnganimate object
4. bind it to recyclebincore and add %Icon tag to binding format


=========
but jimking's way is a better way,
since it's the original way to do that, and you will have no problem in the future,
so have mine as a temporary way


Top
 Profile  
 
PostPosted: September 10th, 2014, 9:07 am 
Offline

Joined: April 8th, 2014, 7:44 am
Posts: 5
Thanks both of you. But i was thinking to make the "Hulk" widget by qiancang appear when my recycle bin is not empty.

Pretty cool haanh.. :lol: ;)

this is the link to quincang's widget:

_________________
Life's a journey, enjoy it..


Top
 Profile  
 
PostPosted: September 10th, 2014, 9:18 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887

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


Top
 Profile  
 
PostPosted: September 12th, 2014, 11:30 pm 
Offline

Joined: June 18th, 2012, 12:07 am
Posts: 268
This is part of code i use to change an image of a shortcut to the recycle bin, if the bin if empty or not empty, could be modified to what you want.

function recyclebincore1OnUpdate(Sender) // change recycle bin Icon

if (eval("shortcutcore" + i).path == "recyclebin" && recyclebincore1.items == 0) // if shortcut is to the recycle bin and the bin is empty
{
eval("shortcutcore" + i).cmd(null, "!SetIcon=recycleMT.png" );
}
if (eval("shortcutcore" + i).path == "recyclebin" && recyclebincore1.items > 0) // if shortcut is to the recycle bin and the bin is not empty
{
eval("shortcutcore" + i).cmd(null, "!SetIcon=recycleNMT.png" );
}


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

All times are UTC - 8 hours


Who is online

Users browsing this forum: Google [Bot] and 20 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:  
cron

Powered by phpBB® Forum Software © phpBB Group