Page 2 of 3
Posted: Fri Jun 06, 2008 7:27 pm
by ts-soft
Update:
added the code by peterb
but changed the icon, sry
Posted: Fri Jun 06, 2008 8:55 pm
by harff182
peterb wrote:added button "Select Code"
enjoy
Thanks, Peter.
As I know nothing about JS, I asked in the German forum, whether it could be possible to not only highlight, but also ask the user where to save that code.
They wrote, it's not possible for FF - do
you know a way to offer that feature?
I would prefer this feature more than CTRl-C, open PB-IDE, CTRL-V

Posted: Fri Jun 06, 2008 9:16 pm
by ts-soft
@harff182
with js in this plugin, you can only change something in the browser itself,
but you can't put anything to the windows-clipboard with default settings.
This is for security! To do this, the user have to change something in the
firefox-browser config, so we wouln't add this.
Fauler Sack

Posted: Sat Jun 07, 2008 1:39 pm
by harff182
ts-soft wrote: Fauler Sack

Well, Thomas, I wouldn't call it laziness but consequence.
If I right-click on a picture, FF offers amongst other things to save it to a file.
If I right-click on a link to a zip-file, FF offers amongst other things to save it to a file.
For me it would be consequently, if I could save a selected part to a file beside or instead of copying it to the clipbboard.
ts-soft wrote:
with js in this plugin, you can only change something in the browser itself,
but you can't put anything to the windows-clipboard with default settings.
This is for security! To do this, the user have to change something in the
firefox-browser config, so we wouln't add this.
This sounds to me, as if there is a possibilty for the requested feature, that you know. Would you be so kind and tell us/me, what changes in the FF-configs have to be made?
tia... scholly
Posted: Sat Jun 07, 2008 1:43 pm
by milan1612
I'd like to see a second button that copies the code (even when not selected)
to the clipboard. Is this possible?
Posted: Sat Jun 07, 2008 1:48 pm
by ts-soft
ts-soft wrote:you can't put anything to the windows-clipboard
Posted: Mon Jul 21, 2008 1:48 am
by lexvictory
@ts-soft: great code, thanks
but one thing i have noticed is that since i switched to FF3, i had to edit the included pages links (to http://*purebasic.fr/.../viewtopic.php*), as my shortcuts to the forum are just
http://purebasic.fr/../...
in FF2, it just worked... (www. or no www.)
its no biggie, just pointing it out

Posted: Mon Jul 21, 2008 5:48 am
by ts-soft
@lexvictory
simple add the url without www in greacemonkey

Re: Codefolding for the PBForums
Posted: Sat Sep 12, 2009 12:21 pm
by ts-soft
Update
update to work with phpBB3
Attention: works only with subsilver2 template!
New feature:
open external links in a new tab
Re: Codefolding for the PBForums
Posted: Sat Sep 12, 2009 12:29 pm
by lexvictory
ts-soft wrote:Attention: works only with subsilver2 template!
only works with prosilver for me!
and has no expand button

Re: Codefolding for the PBForums
Posted: Sat Sep 12, 2009 12:43 pm
by ts-soft
lexvictory wrote:ts-soft wrote:Attention: works only with subsilver2 template!
only works with prosilver for me!
and has no expand button

can't work on prosilver, prosilver have a own expand-button.
Tested with subsilver2 on many systems without problems,
so i can't say what the problem.
Re: Codefolding for the PBForums
Posted: Sat Sep 12, 2009 1:05 pm
by DarkDragon
lexvictory wrote:ts-soft wrote:Attention: works only with subsilver2 template!
only works with prosilver for me!
and has no expand button

You have to deinstall the old script before installing the new on in Greasemonkey. I had some problems with it, too. But after deinstalling it in Greasemonkey installation worked fine.
Re: Codefolding for the PBForums
Posted: Sat Sep 12, 2009 2:13 pm
by lexvictory
i did that when the forums changed, as i realised it wouldnt work
Re: Codefolding for the PBForums
Posted: Sat Sep 12, 2009 2:29 pm
by ts-soft
subsilverplus also works, at least here
Re: Codefolding for the PBForums
Posted: Sun Sep 13, 2009 3:43 am
by lexvictory
ok, its working today on subsilver2. FireFox must have been having a bad day yesterday
