[Release] Facebook Status as PSM v1.31 |
Author: |
Message: |
djdannyp
Elite Member
Danny <3 Sarah
Posts: 3546 Reputation: 31
38 / /
Joined: Mar 2006
|
O.P. RE: [Release] Facebook Status as PSM v1.21
The prefix is used for if you want something to appear before the facebook status in your PSM, so for example you might want:
" Facebook Status: Danny is happy"
the bit in italics would be the prefix. It's an optional thing, if you just leave it blank it will just display your status as the personal message.
You find the feed link by clicking on the link in the options window, then scrolling to where you can see 'My Status', then right click on that and choose 'copy' then right click in the feed link box in the options window and choose paste.
That's all explained in the first post
|
|
02-18-2009 11:57 AM |
|
|
msn-fun-de
New Member
Posts: 9
45 / – /
Joined: Jan 2009
|
RE: [Release] Facebook Status as PSM v1.21
Nice, can translate in German , plaese ?
|
|
02-23-2009 02:42 PM |
|
|
djdannyp
Elite Member
Danny <3 Sarah
Posts: 3546 Reputation: 31
38 / /
Joined: Mar 2006
|
O.P. RE: RE: [Release] Facebook Status as PSM v1.21
quote: Originally posted by msn-fun-de
Nice, can translate in German , plaese ?
Sure, please translate the following:
Settings Window
- Settings
- Click to find feed link
- Prefix
- Feed Link
- Timer
- Mins (short for minutes)
- Save
- Close
About Window
- About
- This script was created by
- German translation (not yet present, but will be added to give you thanks)
This post was edited on 02-23-2009 at 07:55 PM by djdannyp.
|
|
02-23-2009 07:54 PM |
|
|
LeoXavior
New Member
Posts: 1
Joined: Feb 2009
|
RE: [Release] Facebook Status as PSM v1.22
Would it be possible to add an option to filter out your name from the front of the text. Something like a checkbox to enable the option which enables an input box where the user can input there name, then delete the first part of the string from the facebook status msg.
Example Facebook status:
LeoXavior is suggesting a new feature|option!
Example Msn status would become:
Suggesting a new feature|option!
|
|
02-24-2009 07:35 AM |
|
|
Chris4
Elite Member
Posts: 4461 Reputation: 84
33 / /
Joined: Dec 2004
|
RE: [Release] Facebook Status as PSM v1.22
I know all this is probably hard work and you won't know how to do half of the stuff, but feedback is better than no feedback. Hopefully this helps you out to improve the script, as it's thumbs up from me so far.
Bug #1
Sometimes it simply doesn't work. Unsure of the reason. Also doesn't update straight away after saving settings.
Bug #2
Saved the settings, then status eventually showed in psm. I later cleared my psm and then next time I went to use the script my settings had been cleared. (see Suggestion #2)
Suggestion #1
If possible, I'd like to see how long ago the status was submitted. Example:
quote: Chris is watching TV. [3 hours ago]
Suggestion #2
An ON/OFF button.
---------------------------------------
Also found this in the Script Debugger, if it helps.
code: Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
Error: unknown (code: -2147418113)
File: Facebook Status.js. Line: 12.
Function OnEvent_Initialize returned an error. Code: -2147352567
|
|
02-25-2009 11:59 PM |
|
|
djdannyp
Elite Member
Danny <3 Sarah
Posts: 3546 Reputation: 31
38 / /
Joined: Mar 2006
|
O.P. RE: [Release] Facebook Status as PSM v1.22
quote: Originally posted by LeoXavior
Would it be possible to add an option to filter out your name from the front of the text. Something like a checkbox to enable the option which enables an input box where the user can input there name, then delete the first part of the string from the facebook status msg.
Example Facebook status:
LeoXavior is suggesting a new feature|option!
Example Msn status would become:
Suggesting a new feature|option!
I have looked into this and unfortunately I don't think it's possibe, certainly not easily. If I had better coding knowledge then it might have been possible when the facebook status was automatically prefaced by 'is' as it might have been possible to remove the first two words....but with variable second words I don't think it would work.
quote: Originally posted by Chris4
I know all this is probably hard work and you won't know how to do half of the stuff, but feedback is better than no feedback. Hopefully this helps you out to improve the script, as it's thumbs up from me so far.
Bug #1
Sometimes it simply doesn't work. Unsure of the reason. Also doesn't update straight away after saving settings.
When it doesn't work it could be that the 'key' part of the Feed Link has changed, not much I can do about that really. Also, it won't update straight away after saving settings, it will update after however long the timer is set to.
quote: Originally posted by Chris4
Bug #2
Saved the settings, then status eventually showed in psm. I later cleared my psm and then next time I went to use the script my settings had been cleared. (see Suggestion #2)
There's no reason why your settings should have been cleared, even if you do clear your psm. Can you repeat this? Next time it happens check the registry at HKCU>Software>Patchou>Messenger Plus! Live>GlobalSettings>Scripts>Facebook Status>Settings> e-mail address and see if the settings are still showing there (as that's where they get stored)
quote: Originally posted by Chris4
Suggestion #1
If possible, I'd like to see how long ago the status was submitted. Example:
quote: Chris is watching TV. [3 hours ago]
Not sure if this is possible, I'll look into it
quote: Originally posted by Chris4
Suggestion #2
An ON/OFF button.
That definitely can't be done, if you don't want it to operate anymore, then to go the script preferences screen and untick the script (to deactivate it), it won't be uninstalled, simply turned off
quote: Originally posted by Chris4
---------------------------------------
Also found this in the Script Debugger, if it helps.
code: Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
Error: unknown (code: -2147418113)
File: Facebook Status.js. Line: 12.
Function OnEvent_Initialize returned an error. Code: -2147352567
Hmm, obviously some of the settings from the registry have been deleted.
Disable the script, then go to that registry location above and delete the whole 'Facebook Status' key
Then re-enable the script and it should be okay again
|
|
02-26-2009 11:16 AM |
|
|
Chris4
Elite Member
Posts: 4461 Reputation: 84
33 / /
Joined: Dec 2004
|
RE: RE: [Release] Facebook Status as PSM v1.22
quote: Originally posted by djdannyp
When it doesn't work it could be that the 'key' part of the Feed Link has changed, not much I can do about that really. Also, it won't update straight away after saving settings, it will update after however long the timer is set to.
Just would have thought there would have been a way to check it immediately, then carry on with the timer. If the timer is set to 5mins, you have to wait exactly 5mins before it's updated. Same for 10mins, 15mins, etc.
quote: Originally posted by djdannyp
There's no reason why your settings should have been cleared, even if you do clear your psm. Can you repeat this? Next time it happens check the registry at HKCU>Software>Patchou>Messenger Plus! Live>GlobalSettings>Scripts>Facebook Status>Settings>e-mail address and see if the settings are still showing there (as that's where they get stored)
I can't really repeat it constantly, but I did manage to do it again and I checked the registry settings and they were still there, they didn't change, yet the fields showed blank for some reason.
quote: Originally posted by djdannyp
That definitely can't be done, if you don't want it to operate anymore, then to go the script preferences screen and untick the script (to deactivate it), it won't be uninstalled, simply turned off
I don't see why not? Isn't it possible to, with a button click, clear the psm and turn the timer off?
quote: Originally posted by djdannyp
Hmm, obviously some of the settings from the registry have been deleted.
Disable the script, then go to that registry location above and delete the whole 'Facebook Status' key
Then re-enable the script and it should be okay again
Ok, done.
|
|
02-26-2009 11:01 PM |
|
|
John Anderton
Elite Member
Posts: 3908 Reputation: 80
37 / /
Joined: Nov 2004
Status: Away
|
RE: [Release] Facebook Status as PSM v1.22
I REALLY think you should include an update now button (for those who've increased the check interval) and a refresh of sorts for when you change the prefix
Update: I rebooted the comp and this morning, to my surprise, it didn't have my settings saved I am logged into Facebook already. Are you sure you've saved the settings to file? If so, did you test it with UAC?
If I'm not too bored, I might go through your code, if you don't mind me editing it a bit if I need to I'll let you know if I feel there is something a bit out of order
and no.. I've not read the rest of the thread yet
Edit: djdannyp, could you add me on WLM? I'd like to talk to you for a bit about this script My address should be in your (forum PM) inbox
This post was edited on 03-05-2009 at 10:43 AM by John Anderton.
[
KarunAB.com]
[img]http://gamercards.exophase.com/459422.png[
/img]
|
|
03-04-2009 04:58 PM |
|
|
Father_Parsley
New Member
Posts: 5
– / – /
Joined: Mar 2009
|
RE: RE: [Release] Facebook Status as PSM v1.22
quote: Originally posted by djdannyp
quote: Originally posted by LeoXavior
Would it be possible to add an option to filter out your name from the front of the text. Something like a checkbox to enable the option which enables an input box where the user can input there name, then delete the first part of the string from the facebook status msg.
Example Facebook status:
LeoXavior is suggesting a new feature|option!
Example Msn status would become:
Suggesting a new feature|option!
I have looked into this and unfortunately I don't think it's possibe, certainly not easily. If I had better coding knowledge then it might have been possible when the facebook status was automatically prefaced by 'is' as it might have been possible to remove the first two words....but with variable second words I don't think it would work.
i'd like that too.
variable second words? you mean if the second word not always is "is"?
but can't you just check for the spaces?
string[0] -> First space = one word
string[0] -> Second space = two words
?
Or just make a box where one can type how many letters one wants to remove from the string?
or, if you don't have the time, is there a possibility to edit the code one self?
if (sPsm !== newPsm)
{
Messenger.MyPersonalMessage = sPrefix + " " + newPsm;
}
This post was edited on 03-06-2009 at 05:30 PM by Father_Parsley.
|
|
03-06-2009 05:28 PM |
|
|
John Anderton
Elite Member
Posts: 3908 Reputation: 80
37 / /
Joined: Nov 2004
Status: Away
|
RE: [Release] Facebook Status as PSM v1.22
as Father_Parsley said, its quite easily possible Just ignore the first two words of the string
And oh, make the first letter of the third sentence into upper char
Update: Try this on for size
code: var str="John is doing his job which is to study!";
str = str.substring(str.indexOf("is")+3);
str = str.substring(0,1).toUpperCase() + str.substring(1);
Debug.Trace(str);
To test it out, go to W3School's Tryit Editor 1.4 and use the following code
code: <html>
<body>
<script type="text/javascript">
var str="John is doing his job which is to study!";
str = str.substring(str.indexOf("is")+3);
str = str.substring(0,1).toUpperCase() + str.substring(1)
document.write(str + "<br />");
</script>
</body>
</html>
This post was edited on 03-06-2009 at 05:42 PM by John Anderton.
[
KarunAB.com]
[img]http://gamercards.exophase.com/459422.png[
/img]
|
|
03-06-2009 05:32 PM |
|
|
Pages: (9):
« First
«
1
2
3
[ 4 ]
5
6
7
8
»
Last »
|
|
|