 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
bahri
Joined: 24 Jun 2004 Posts: 101 Location: Malta
|
Posted: Sat Jun 17, 2006 11:17 pm Post subject: Thanks |
|
|
Hi!
May I add my -- THANK YOU -- for the RSS feed addition.
bahri |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Mon Jun 19, 2006 1:49 pm Post subject: |
|
|
One major annoyance in phpBB is the BBCode editor. Mostly in Firefox, as I saw...
When I click on a tag button, it always add the code at the end of the message. Well, not exactly, if I selected some text, it is able to surround the selection with the starting and ending tags.
I finally took a look at the code, and was surprised to see rather low quality JavaScript. I thought that code in such popular open source software would have been much improved.
Another surprise, Mozilla/Firefox support is actually present, but the code to add the tags at the end of the message is actually deliberate if there is no selection... I find this counter intuitive and improductive.
So, I changed the code were needed, but I need some feedback before going further.
Do you think we should keep the current behavior (with minors fixes)?
Should we insert at caret position, but keep the two times tag insertion, ie. click once to insert the opening tag, changing the button, then click another time to close the tag?
Or, my preferred solution would be to insert both opening and closing tags at caret position on each click, moving the caret between the two tags.
This allows to easily add nested tags: click on B then on I, type a word, it will be bold and italic.
To add a bold sentence, just click on B and type, and go after the tag to continue in normal font.
To boldify a sentence, put the caret at the start, click B, Shift+Click after the ending tag and drag'n'drop it (or copy/paste it) at the end of the sentence.
Seems to be the more natural way of inputing data, but it can break some habits.
So, what do you think? The question is mainly aimed at Chris, since he is the guy that will patch phpBB with the code I will provide. But I suppose third party opinions might count too.
In all case, I will try and change this editor on the fly with GreaseMonkey, at least it might work in other forums... _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
Thalon
Joined: 12 Jul 2005 Posts: 640
|
Posted: Mon Jun 19, 2006 3:21 pm Post subject: |
|
|
Great! THX!!
Edit: My Browser (Mozilla Firefox) doesn't show any RSS-Symbol anywhere (even not in Adressbar).
Where could it be found?
Thalon _________________ AHK-Icon-Changer
AHK-IRC
deutsches Forum
SacredVault |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Mon Jun 19, 2006 3:41 pm Post subject: |
|
|
I can see the orange symbol on this very topic, on the right of the address bar (Firefox 1.5.0.4). _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
Thalon
Joined: 12 Jul 2005 Posts: 640
|
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5009 Location: imaginationland
|
Posted: Mon Jun 19, 2006 3:52 pm Post subject: |
|
|
| PhiLho wrote: | | I can see the orange symbol on this very topic, on the right of the address bar (Firefox 1.5.0.4). | Thats because of the application/rss+xml link type in the souce code. Like Chris said, all RSS aware browsers will display some kind of notification when they parse this. _________________
RegExReplace("irc.freenode.net/autohotkey", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
AGU Guest
|
Posted: Mon Jun 19, 2006 4:03 pm Post subject: |
|
|
@PhiLho
Have you seen my recent post about GeSHi on the first page? What do you think about it?
btw. how do you reference a posting by URL?
_______________________
Cheers
AGU |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Mon Jun 19, 2006 5:32 pm Post subject: |
|
|
| AGU wrote: | | Have you seen my recent post about GeSHi on the first page? What do you think about it? | I haven't investigated it. It is to generated syntax highlighted code in HTML, no?
| AGU wrote: | | btw. how do you reference a posting by URL? |  _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
AGU Guest
|
Posted: Mon Jun 19, 2006 6:25 pm Post subject: |
|
|
| Quote: | | I haven't investigated it. It is to generated syntax highlighted code in HTML, no? | I might have misunderstood your lines but I thought you're looking for a solution to implement some kind of code tags that show syntax highlighted code within this forum. Did I misunderstand this?
I thought GeSHi is a perfect solution to reach that goal as far as I understand it.
| Quote: | | btw. how do you reference a posting by URL? | That was a question to all of you. I wanted to post an URL that jumps to a posting within a thread rather than opening the thread showing the first posting.
I know there was a solution some times ago with the combination of 'showposting.php?p=12345#12345'. But apparently there has been changed s.th. within this forum because I don't see showposting.php inside the URL anymore when opening a thread.
So I was asking for a solution to this problem. Does anybody know the correct syntax for an URL that directly jumps to a posting within a thread?
______________________
Cheers
AGU |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10465
|
Posted: Tue Jun 20, 2006 1:10 am Post subject: |
|
|
Here's the method to jump directly to a post:
http://www.autohotkey.com/forum/viewtopic.php?p=65022#65022
.. or (in the AHK forums only):
http://www.autohotkey.com/forum/post-65022.html#65022
| PhiLho wrote: | One major annoyance in phpBB is the BBCode editor. Mostly in Firefox, as I saw...
When I click on a tag button, it always add the code at the end of the message. Well, not exactly, if I selected some text, it is able to surround the selection with the starting and ending tags. | It's my general preference not to modify the forum unless there's a compelling benefit. Reasons:- It's likely to mess up visitors who are used to phpBB's editor (quirks and all).
- Such modifications don't benefit from the extensive cross-browser testing that has been done on the standard phpBB software. So unless someone here is a JavaScript guru who knows all the quirks in old or alternate browsers, making JavaScript changes might introduce incompatibilities.
- It's more work for me because I have to apply all such mods with every new release of phpBB (the list of mods is already getting pretty large). Fortunately, phpBB isn't being updated as often as it used to (apparently because all new developement effort is being put into the next major release of phpBB).
|
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Tue Jun 20, 2006 9:10 am Post subject: |
|
|
OK, so I will make my mods and try to apply them with GreaseMonkey (haven't made personal scripts yet).
For those with Firefox or having other means (Proxomitron, Proximodo, JunkBuster, Privoxy, WebCleaner...), I will provide my mods.
As for the way to reference a post, the easiest way is to right-click on the little page-like icon on the left of "Posting:", which is a link to this post.
Choose the menu item looking like: "Copy the address of this link" and you will get in the clipboard an URL like: http://www.autohotkey.com/forum/viewtopic.php?p=64823#64823
As JSLover pointed out in the past, if you want to be nice, you can also add the topic number which is in the address bar:
http://www.autohotkey.com/forum/viewtopic.php?t=9822&start=15
so the final URL will be:
http://www.autohotkey.com/forum/viewtopic.php?t=9822&p=64823#64823
Note: I still have the auto-redirection in the preview, ie. if I preview this very message, Firefox will jump to the referenced topic. This is annoying, and since the preview page appears only briefly, I cannot see what in the source is making this problem. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Tue Jun 20, 2006 9:20 am Post subject: |
|
|
| Chris wrote: | | Such modifications don't benefit from the extensive cross-browser testing that has been done on the standard phpBB software. | Uh! The brain dead broken JavaScript I see doesn't seem to have been finely tuned, at least to work on the Mozilla family...
Out of curiosity, I would like to know if your site is still having a lot of traffic from Netscape 4.5 or 4.7x, Mozilla up to 1.7, IE 4.0 to 5.5, etc. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10465
|
Posted: Wed Jun 21, 2006 1:38 pm Post subject: |
|
|
| PhiLho wrote: | | As for the way to reference a post, the easiest way is to right-click on the little page-like icon on the left of "Posting:", which is a link to this post. | Great tip! That icon is so tiny I'd never noticed it was a link.
| Quote: | | I would like to know if your site is still having a lot of traffic from Netscape 4.5 or 4.7x, Mozilla up to 1.7, IE 4.0 to 5.5, etc. |
MSIE old versions:
Msie 5.5 -- 0.4 %
Msie 5.0 -- 0.3 %
Msie 5.01 -- 0.1 %
Firefox old versions:
Firefox 1.0.7 -- 1.4 %
Firefox 1.0.6 -- 0.2 %
There's very little usage from old versions of Netscape. In fact, only 1% of visitors use any version of Netscape.
Overall percentages by browser:
MSIE -- 57.7 %
FIREFOX -- 25.6 %
OPERA -- 7.2 %
NETSCAPE -- 1 % |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5595
|
Posted: Fri Jun 23, 2006 4:48 pm Post subject: |
|
|
Dear PhiLho,
| You wrote: | As for the way to reference a post, the easiest way is to right-click on the little page-like icon on the left of "Posting:", which is a link to this post.
Choose the menu item looking like: "Copy the address of this link" and you will get in the clipboard an URL like: http://www.autohotkey.com/forum/viewtopic.php?p=64823#64823 |
I never knew this! Very useful information for me.
THANKS!
Regards,  _________________ SKAN - Suresh Kumar A N |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10465
|
Posted: Mon Jul 03, 2006 12:28 pm Post subject: |
|
|
(this post was moved from another topic)
I haven't been developing much lately due to focusing on site issues and improvements, namely:
- The site's search form has been improved to include the forum. This makes it easier for casual visitors to find what they need (since there is now a wealth of relevant info in the forum, thanks to you all). In addition, the search is in some ways more powerful than the forum's own search because it sorts by relevancy and has an option for exact phrase.
- The ongoing fight against spam continues. The latest problem is bots that automatically register lots of usernames on the forum (I think I found some mods to block them).
- Although server reliability has improved lately, there are still problems. Since I'm commited to having the site on a stable server, I'll rehost the site again if it becomes necessary.
| foom wrote: | Ahh [the bigger Search results] explains the WTF-moment i had earlier today . Would it cause much trouble to implement a "Search only in the Docs" option? | Good idea. Until it gets done, some of the other clickable templates on the Search form offer this option.
Thanks. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|