boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Right Click Posting

 
Post new topic   Reply to topic    boardom Forum Index -> Feature requests
View previous topic :: View next topic  
Author Message
smikwily



Joined: 11 Mar 2002
Posts: 45
Location: Ohio, USA

PostPosted: Fri Apr 19, 2002 4:00 pm    Post subject: Right Click Posting Reply with quote

Can anyone make a rightclick function to post, similar to GreyMatter? I know that there are the Bookmarklets, but I kinda liked that functionality back.

Here's the Reg file for GM, shy of anything that might allow you to sign on to my defunct GM install :)

Code:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Post To &Greymatter]
@="javascript:doc=external.menuArguments.document;lt=escape(doc.selection.createRange().text);loglink=escape(doc.location.href);loglinktitle=escape(doc.title);wingm=window.open('http://www.smikwily.com/cgi-bin/greymatter/gm.cgi?thomas=gmbmpost&authorname=smikwily&authorpassword=donthinkso&logtext='+lt+'&loglink='+loglink+'&loglinktitle='+loglinktitle,'gmwindow','scrollbars=yes,width=660,height=460,left=75,top=75,status=yes,resizable=yes');wingm.focus();"
"contexts"=hex:31

_________________
When you need a frag, I will be there...
Back to top
View user's profile Send private message Visit poster's website AIM Address
michel v
Site Admin


Joined: 25 Jan 2002
Posts: 799
Location: Corsica

PostPosted: Fri Apr 19, 2002 11:55 pm    Post subject: Right Click Posting Reply with quote

Code:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Post To &b2]
@="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(btw=window.open('PATHTOB2/b2bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'b2bookmarklet','scrollbars=no,width=480,height=300,left=100,top=150,status=yes'));btw.focus();"
"contexts"=hex:31


Try pasting it in a .reg file, replace PATHTOB2 with the complete URL of your b2 installation and double click on the file.
Untested, but should work Smile

EDIT: doesn't work, see correct one below


Last edited by michel v on Sat Apr 20, 2002 12:24 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
michel v
Site Admin


Joined: 25 Jan 2002
Posts: 799
Location: Corsica

PostPosted: Sat Apr 20, 2002 12:23 am    Post subject: Reply with quote

Ok, here's a working one, tested with IE6 on WinXP.
Code:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Post To &b2]
@="javascript:doc=external.menuArguments.document;Q=doc.selection.createRange().text;void(btw=window.open('PATHTOB2/b2bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(doc.location.href)+'&popuptitle='+escape(doc.title),'b2bookmarklet','scrollbars=no,width=480,height=300,left=100,top=150,status=yes'));btw.focus();"
"contexts"=hex:31

Paste it in a new file, replace PATHTOB2 with the URL to your b2 installation.
Save as whatever.reg, then double click on the file. Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
smikwily



Joined: 11 Mar 2002
Posts: 45
Location: Ohio, USA

PostPosted: Tue Apr 23, 2002 5:08 am    Post subject: Reply with quote

Works like a charm. Thx MV :D
Back to top
View user's profile Send private message Visit poster's website AIM Address
sven



Joined: 08 May 2002
Posts: 30
Location: Central Valley Cali

PostPosted: Sat May 18, 2002 6:05 pm    Post subject: Reply with quote

Is there a way to add content to an existing already open bookmarklet window? Thta way I could have multiple clipings in one post.

Also, I noticed it makes the link and then repeats in regular text the same text as the link. It's repeating. Is that suppose to happen?
_________________
<><sven><>
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
elaine



Joined: 27 Jul 2002
Posts: 3
Location: canada

PostPosted: Tue Jul 30, 2002 3:00 pm    Post subject: Reply with quote

ok..maybe i'm retarded or something...

but double click where? when i double click in the ftp program, it simply overwrites it. Question


thanks
Back to top
View user's profile Send private message Visit poster's website AIM Address
smikwily



Joined: 11 Mar 2002
Posts: 45
Location: Ohio, USA

PostPosted: Tue Jul 30, 2002 3:13 pm    Post subject: Reply with quote

Copy the text from the last code box that Michael posted. Create a new text file and name it 'something.reg' (the name doesn't really matter). Paste the text into that file and modify the file so that PathTo is the path tp your b2 install on your server. Save the file and you should see an icon that looks like a piece of paper that is dog eared with rubix cube like block exploding in front of it. Double click that and answer the question with a Yes. When you relaunch Internet Explorer, you should be able to right click on a page and select 'Post to b2'. Remember though, it won't appear to you restart IE.
Back to top
View user's profile Send private message Visit poster's website AIM Address
sven



Joined: 08 May 2002
Posts: 30
Location: Central Valley Cali

PostPosted: Tue Mar 11, 2003 11:05 pm    Post subject: Errors Reply with quote

I'm now getting errors. Any ideas? It may be a recent MS Security patch. Here's the error:

Line: 1
Char: 1
Error: 'external.menuArguments.document' is null or not an object
Code: 0
URL: javascript.doc=external.menuArguements.document;Q=doc.selection.createRange().text;void(btw=window.open('http://svenrox.com/_my_path/b2bookmarklet.php?text="+escape(Q)

Do ou want to conitnue runnign scripts on this page?

Yes pops the window open and then it disappears.
_________________
<><sven><>
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Feature requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group