March 15, 2008 at 7:37 am
Is it possible to add the [ 'code' ] tag to the IFCode shortcuts? I think that it would help greatly to encourage posters to use it.
We could also remove some of the shortcuts, like center, bold, italics, underscore as they are all on the toolbar.
[font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
Proactive Performance Solutions, Inc. [/font][font="Verdana"] "Performance is our middle name."[/font]
March 15, 2008 at 9:18 am
Not sure, but I'll look around and see.
March 15, 2008 at 9:27 am
I've added this to the list. turns out to be a switch 🙂
March 15, 2008 at 10:31 am
Steve Jones - Editor (3/15/2008)
I've added this to the list. turns out to be a switch 🙂
Sounds like good data-driven design to me:P
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 15, 2008 at 10:38 am
Jack Corbett (3/15/2008)
Steve Jones - Editor (3/15/2008)
I've added this to the list. turns out to be a switch 🙂Sounds like good data-driven design to me:P
I gotta agree there...
... but what I'd rather see is for them to remove the "shortcut" window altogether and turn them into ICONS in the edit menu. That would give a lot more room to read code and posts. It would also be what a lot of other forums have already done.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2008 at 7:25 pm
Either way works for me. I am just tired of trying to read 40 lines of SQL code formatted as Arial. I have to keep cut-and-pasting it over to my QA window to see what it really looks like.
Thanks,
[font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
Proactive Performance Solutions, Inc. [/font][font="Verdana"] "Performance is our middle name."[/font]
March 16, 2008 at 3:33 pm
We are working with Instant Forums to incorporate some of these ideas into their next version.
March 16, 2008 at 4:34 pm
Thanks!
[font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
Proactive Performance Solutions, Inc. [/font][font="Verdana"] "Performance is our middle name."[/font]
March 17, 2008 at 11:28 am
Hey I just noticed it in my Shortcuts box! That's amazing turnaround!
Thanks...
[font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
Proactive Performance Solutions, Inc. [/font][font="Verdana"] "Performance is our middle name."[/font]
March 17, 2008 at 11:33 am
Thanks, Steve! Between that and the fact that you guys fixed the copy/paste formatting problems in the code window and the normal text area, I can spend a whole lot more time on problems instead of just trying to copy code! Well done!
Now, do they have any switches to turn all of the IFCode Shortcuts into Icons in the menu? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
July 30, 2008 at 7:48 am
Steve Jones - Editor (3/16/2008)
We are working with Instant Forums to incorporate some of these ideas into their next version.
How about fixing the insert of the IFCode for text colors? It does not place the double quotes around the color identifiers when it is pasted into your message.
When selecting and adding a color, this is how it looks when directly pasted from the button above:
This should be [font="Courier New"]Red Courier New text[/font]
Or this code block should have some blue words
ALTER TABLE [dbo].[ptPayments]
WITH CHECK
ADD CONSTRAINT [FK_ptPayments_ptPaymentBatches]
FOREIGN KEY([PaymentBatchID])
REFERENCES [dbo].[ptPaymentBatches] ([PaymentBatchID])
And this is how it is supposed to look, with the double quotes around the color identifier:
This is [font="Courier New"]Red Courier New text[/font]
Or this code block now has some blue words
ALTER TABLE [dbo].[ptPayments]
WITH CHECK
ADD CONSTRAINT [FK_ptPayments_ptPaymentBatches]
FOREIGN KEY([PaymentBatchID])
REFERENCES [dbo].[ptPaymentBatches] ([PaymentBatchID])
Another GREAT thing would to incorporate a TSQL Syntax highlighting tool either using a [SQL][/SQL] IFCode or one that would syntax color the IFCode.
I know this is ASP.Net but take a look at GeSHi - Generic Syntax Highlighter:
WONDERFUL syntax highlighter and it can be called from ASP.Net
{http://qbnz.com/highlighter/faq.php#q_14}
or I could build one into a DLL for you using TSynEdit and Delphi.
July 30, 2008 at 8:14 am
MrBaseball34,
You do make some good points. There is way to get your SQL Code to look better and it is available on this site, http://extras.sqlservercentral.com/prettifier/prettifier.aspx, just not well-known. It takes an extra step, but I use it whenever I have more than a 1 line statement I am writing. I'd appreciate it if everyone used it.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 30, 2008 at 8:38 am
Then why hasn't that been added into the forums since it is a tool used on the site?
It doesn't look like it would be too difficult to pass the text inside a [SQL][/SQL]
IFCode to the "prettifier" and get the HTML code back when viewing the message
with SQL code inside it.
I did the same thing for DelphiPages.com using GesSHi. I wrote a Cold Fusion extension
that called the GeSHi highlighter and returned back the color coded HTML.
I also setup GeSHi to be used ion several other phpBB sites.
July 30, 2008 at 9:43 am
I don't disagree that it would be nice addition, but there is a work-around. Also it would be nice if people would use the IFCodes period. How many times is code not put in a code block or a url not in a url block?
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 30, 2008 at 10:33 am
I agree, Jack. They're not even hard to use, in fact I just key them in by hand.
[font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
Proactive Performance Solutions, Inc. [/font][font="Verdana"] "Performance is our middle name."[/font]
Viewing 15 posts - 1 through 15 (of 17 total)
You must be logged in to reply to this topic. Login to reply