Re: CFMail Sanity Check - Where's the Macromedia rep

2004-07-03 Thread Matt Robertson
> >>There was a time a LONG time ago when CF headers were an issue, but the A/S industry has progressed in sophistication well past this oversimplification.
> 
> Do you know that for certain? 

No one knows anything for certain.  BUT since my clients send
literally thousands of mailpieces daily (large associations to their
respective memberships, who make up a very diverse bunch on corporate,
government and free email), with only a very few peeps of protest
(mostly associated with formating... which the client wants to use), 
I can say that ColdFusion is not something you should worry about with
the general population.  Having run mail servers and bought/used
various server-level antispam products, I haven't seen anything that
biases against CF ... unless the mail server admin decides to write in
a rule personally.  Certainly thats possible, and totally
uncontrollable
:-(

Are there exceptions?   I'm sure there are, but I have yet to come
across them, personally.  It wasn't always like this, and I know what
happens when a mailer does go wrong and the recipients complain to the
sender: the villagers grab their pitchforks, light torches and come
after me.  CF6+ does a litle better, but not much.

> Also has the following: "Message-ID: <[EMAIL PROTECTED]>"

That didn't come from CF.

> >>
> 
> 
> 
> I don't add them as those are all inserted automatically on my headers that I've checked (CFMX 6.1 thru ISP). I think it's bad practice to add anything that might be detected as a forged header such as the message ID, but I see what you mean if not added at all.

How can it be detected if CF places the header properly, and its a
valid value?  My CF 6.1 does not place a message ID or a content-type
(just checked).  I would say that to be certain a message is formatted
properly you should do all you can before it gets out off your
control.  Your ISP is propping up CF and thats fine, but I would
caution that you can't count on that.

> >> 
> -Just so you know, that is a specific mark of spam on some systems. I get some bounces for "no relaying spam" because of that. (I *think* because of that.)

While I'll admit I've been lazy, I know its not RFC-compliant and have
never removed this, I've been able to *be* lazy because no one seems
to barf on it.  If on the other hand you had a sender of [EMAIL PROTECTED]
and the reply-to was [EMAIL PROTECTED] then yes, that would be a giant red
flag.

> BTW, you should not use external css in an email. Will often fail. 

Odd as after a LOT of trial and error we found that an external style
sheet, linked back to the original web site, was the least
failure-prone option.  Been doing that ffor a year with few prroblems
(but some, yes).  That Hotmail trick sounds very handy as MIA inline
styles were the main reason we dropped them.

I'm pretty satisfied with where we're at with CF, CFMAIL and A/S
systems.  We just don't have any measurable level of problems. 
Looking forward to trying that style ttrick, though.

-- 
--Matt Robertson--
MSB Designs, Inc.
mysecretbase.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMail Sanity Check - Where's the Macromedia rep

2004-07-03 Thread stylo stylo
>>How would he know? There are thousands of anti-spam solutions
(millions if you count the variations in configuration) that all
work differently. You think there is somebody who knows for all
of them how they behave? 

OK, you pummelled my strawman to death, I'll give you that. But we're not talking about "he" and "all." You have people assigned by Macromedia to look at it. And not every single host of course, but the major ones (AOL, Hotmail, Yahoo, Gmail to start), and the major spam associations used by hosts (spamcop, etc.). Not too difficult really. Then write an atricle up with best practices and the facts. It's the same sort of work Mozilla did when getting banks to support their browser. If Mozilla can do it...

>>There was a time a LONG time ago when CF headers were an issue, but the A/S industry has progressed in sophistication well past this oversimplification.

Do you know that for certain? That's the whole question. I hope it's true. Just the other day a host said on here that it probably still is a check for spam with some. I doubt anyone has any facts to back anything up. I can't tell myself as many ISPs will just toss your email with no bounce if thought to be spam, and there are many complicating issues. Macromedia has an interest in testing and finding out the state of things. The fact that no one really knows means 1) never an issue at all, and/or 2) Macromedia doesn't take it seriously. But it is incredibly difficult to get legitimate website email delivered these days, let alone email a small update list, so they should take it very seriously *if* their great product is inadvertently bumping emails over the spam check threshhold. And you have to start with the *if*. (If not clear, I'm not saying the mailer ID alone will get email tagged as spam, but wondering how and if Coldfusion email characteristics contribute.)

>>You could eliminate that problem is short order by routing your CFMAIL through a qualified mail server. 

No, I do route it though my ISP and it still says "X-Mailer: ColdFusion MX Application Server"

Also has the following: "Message-ID: <[EMAIL PROTECTED]>"

>>



I don't add them as those are all inserted automatically on my headers that I've checked (CFMX 6.1 thru ISP). I think it's bad practice to add anything that might be detected as a forged header such as the message ID, but I see what you mean if not added at all.

>> 
-Just so you know, that is a specific mark of spam on some systems. I get some bounces for "no relaying spam" because of that. (I *think* because of that.)

>>

BTW, you should not use external css in an email. Will often fail. Little trick for you: write it into the email as a block and also, before the html tags, add another set of empty  tags for Hotmail. Hotmail will then zap the empty block and leave the real style block in the email. Voila, css works in Hotmail!
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Alagad Image.cfc not working on MX6.1

2004-07-03 Thread Ubqtous
OK, I took the plunge and updated my JVM file (and restarted CF) and
still get the same error.

Back to square one.

On Sat, 3 Jul 2004 21:41:39 -0400, Ubqtous <[EMAIL PROTECTED]> wrote:
> I am getting the following error when I try and run Alagad's Image.cfc
> on MX6.1/RH9:
> 
> /opt/coldfusionmx/runtime/jre/lib/i386/libawt.so:
> libXp.so.6: cannot open shared object file: No such file or
> directory null
> 
> Documentation says all I need is MX6.1 (or MX with JRE 1.4.1+), but it
> seems I am missing something...
> 
> I may need to do the 'headless' config change recommended in the
> documentation, but my error message does not match the error mentioned
> in the documentation (and in MM's TechNote):
> 
> This graphics environment can be used only in the software emulation mode.
> 
> I am hesitant to muck with my jvm.config file unnecessarily, so if
> someone has run into this and knows the fix I'd be grateful for a
> reply!
> 
> --
> Ubqtous
> 

-- 
Ubqtous
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Alagad Image.cfc not working on MX6.1

2004-07-03 Thread Ubqtous
I am getting the following error when I try and run Alagad's Image.cfc
on MX6.1/RH9:

/opt/coldfusionmx/runtime/jre/lib/i386/libawt.so:
libXp.so.6: cannot open shared object file: No such file or
directory null

Documentation says all I need is MX6.1 (or MX with JRE 1.4.1+), but it
seems I am missing something...

I may need to do the 'headless' config change recommended in the
documentation, but my error message does not match the error mentioned
in the documentation (and in MM's TechNote):

This graphics environment can be used only in the software emulation mode.

I am hesitant to muck with my jvm.config file unnecessarily, so if
someone has run into this and knows the fix I'd be grateful for a
reply!

-- 
Ubqtous
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Dynamic Drop Down Menus.....

2004-07-03 Thread Dick Applebaum
I have done this to a depth of 5, with 1,285 categories.

you can see it at:

 
http://67.124.145.42/cfusion/Examples/ThinArray/ 
FiveSelectsRelatedMySQL/

select Automotive---> CXars, SUVs, Trucks, Vans... ---> whatever

The query is complex and it involves the use of thinArrays so that it  
doesn't take for ever to download.

I never have documented it, tho, and it would prolly take a day -- time  
which I don't currently have. (trying to learn eclipse so I can start  
learning Java).

That said, you shoul goggle for Joe Celko -- he has lots of good  
articles on this, especially "nested sets"

HTH

Dick

On Jul 3, 2004, at 3:48 PM, Butch Zaccheo wrote:

> I'm trying to populate my drop down menu's dynamically. How do I group
>  the output so it will populate the menu the correct way? I'm using the
>  standard drop down script produced by Macromedia Fireworks. I'm using
>  Blue Dragon with MySQL.
>
>
>  Tables:
>
>
>  Categories
>  ID - Primary Key
>  TITLE - what's displayed as the menu item
>  SHORT_DESCRIPTION - description of category
>
>
>  Fusion
>  ID - Primary key
>  OWNER - Parent ID
>  SUB_OBJECT - Child ID (current category)
>
>
>  I don't have a problem joining the two tables, but how do I group the
>  output in levels in ColdFusion without writing 50 million lines of  
> code
>  with 10 queries, 15 sort functions and 10 lists?(might be over
>  exaggerated a little :-))
>
>
>  This is the menu I'm shooting for. When you run your mouse down the
>  initial category listing a new list pops up if there are subcategories
>  under that particular listing.
>
>
>  Menu:
>  Category>
>  SubCategory>
>  SuperSubCategory>
>
>
>  Any help would be much appreciated.
>
>
>  Thanx
>
>
>  BZaccheo
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




cfcUnit updated

2004-07-03 Thread Paul Kenney
Ok, I've updated the installation... go check it out at http://www.cfcunit.org
-- 
Paul Kenney
[EMAIL PROTECTED]
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Dynamic Drop Down Menus.....

2004-07-03 Thread Butch Zaccheo
I'm trying to populate my drop down menu's dynamically. How do I group
the output so it will populate the menu the correct way? I'm using the
standard drop down script produced by Macromedia Fireworks. I'm using
Blue Dragon with MySQL.

 
Tables: 

 
Categories
ID - Primary Key
TITLE - what's displayed as the menu item
SHORT_DESCRIPTION - description of category

 
Fusion
ID - Primary key
OWNER - Parent ID 
SUB_OBJECT - Child ID (current category)

 
I don't have a problem joining the two tables, but how do I group the
output in levels in ColdFusion without writing 50 million lines of code
with 10 queries, 15 sort functions and 10 lists?(might be over
exaggerated a little :-))

 
This is the menu I'm shooting for. When you run your mouse down the
initial category listing a new list pops up if there are subcategories
under that particular listing.

 
Menu:
Category>
    SubCategory>
SuperSubCategory>

 
Any help would be much appreciated.

 
Thanx 

 
BZaccheo
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: beta fckeditor out

2004-07-03 Thread Claude Schneegans
>>fckeditor is web based WYSIWYG HTML editor.

Ah! Yet another one! ;-)

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMail Sanity Check - Where's the Macromedia rep

2004-07-03 Thread Matt Robertson
>>email servers tagging mail as spam when a ColdFusion header is detected has 
>>been happening for many years now.

> Macromedia/CF needs to address this issue if they haven't already. 

Don't lose any sleep over this.  I have clients that have been using
CF to mail for years with zero problems due to CF mail headers.  There
was a time a LONG time ago when CF headers were an issue, but the A/S
industry has progressed in sophistication well past this
oversimplification.

Its far more important to have your mail server set up properly (CF is
not a mail server) so that other A/S systems don't see an open relay,
get a proper reverse dns etc. etc.  Also you need mail that does have
a prop or two via cfmailparam.

I use this format below for html email.  the mime type shouldn't be
used on CF 6+, and I'm pretty sure the reply-to is bad as RFC's go
(but putting it in has never hurt that I can tell).  You need a
message ID.  Imail will put it in for you if you don't and others
might as well.  Putting it in expressly is the safest answer.

-- 
--Matt Robertson--
MSB Designs, Inc.
mysecretbase.com



	to="#my.Email#"
   	from="#your.Email#"
	subject="Woo Hoo" 
	server="#my.EmailServer#"
	type="HTML">







#MESSAGE.GOESHERE#

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: beta fckeditor out

2004-07-03 Thread Matt Robertson
Its been out for awhile.  More of a half-baked alpha than a beta, but
considering their pricing ($0) and licensing (lesser GNU) no
complaints.

Some interesting stuff hiding under the hood.  Skins apparently will
be implemented, and if you enable the presently non-working file
upload dialog it shows a lot of promise as a combined image/file
manager.

It was possible to enable a hidden Flash object inserter up to v1.5. 
But some disagreements on their forum caused it to be dropped in 1.6
(you can find the patch and the 1.5 fileset at sourceforge still, I
bet).

2.0 has a lot of promise.  we'll see.

-- 
--Matt Robertson--
MSB Designs, Inc.
mysecretbase.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: beta fckeditor out

2004-07-03 Thread Howie Hamlin
Yeah, it's nice but the beta is missing a lot of stuff from v1.6.  Still waiting patiently :)

Howie
  - Original Message - 
  From: Rick Root 
  To: CF-Talk 
  Sent: Saturday, July 03, 2004 12:25 PM
  Subject: Re: beta fckeditor out

  Personally, I like fckeditor a lot more, it works great.

    - Rick
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: beta fckeditor out

2004-07-03 Thread Rick Root
>  >>If anyone uses fckeditor
 >
 > And what does it edit?

fckeditor is web based WYSIWYG HTML editor.

	http://www.fckeditor.net/

htmlArea has had a version in "Beta" for something like 2 years now that 
supports both IE and Mozilla.

	http://www.interactivetools.com/products/htmlarea/

Personally, I like fckeditor a lot more, it works great.

  - Rick
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF tag/function for bbcode?

2004-07-03 Thread Kay Smoljak
Claude Schneegans <[EMAIL PROTECTED]> wrote:
> Do you mean a piece of soft that would read a barcode in an image?

Nope.. BBCode or BBML is the simplified subset of HTML used by lots of
bulletin boards to allow simple formatting. Jim's tag
(http://www.depressedpress.com/DepressedPress/Content/ColdFusion/CustomTags/DP_ParseBBML/Index.cfm)
parses BBCode/BBML and outputs HTML.

-- 
Kay Smoljak
http://kay.smoljak.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF tag/function for bbcode?

2004-07-03 Thread Claude Schneegans
>>no one has created a bbcode parser

Do you mean a piece of soft that would read a barcode in an image?

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: beta fckeditor out

2004-07-03 Thread Claude Schneegans
>>If anyone uses fckeditor

And what does it edit?

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Regex help

2004-07-03 Thread Claude Schneegans
>>Im not sure what the best check would be

The best would sure be to CFHTTP the addres and check for the code returned.
Even a syntactically correct address may be a bad address.

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: CF tag/function for bbcode?

2004-07-03 Thread Jim Davis
I'm not sure that it's called "BBML" - but it first appeared in "The
Ultimate Bulletin Board" and they called it BBML so who am I to argue.  ;^)
Since then there have been many versions for many things and it seems
everybody names it something else.  I'm pretty sure its PHPBoard that uses
"BBCode"

Let me know what you think of the tag. someday I'll be updating it (I've
always wanted to create some type of "plugin" architecture to allow, at
least, for new [code] types).

Jim Davis



From: Kay Smoljak [mailto:[EMAIL PROTECTED] 
Sent: Saturday, July 03, 2004 8:25 AM
To: CF-Talk
Subject: Re: CF tag/function for bbcode?

On Sat, 03 Jul 2004 13:54:09 +0200, Jochem van Dieten
<[EMAIL PROTECTED]> wrote:
> http://www.depressedpress.com/

Cool, thanks. I was searching for the wrong term - I didn't realise it
was called "BBML" :)
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Re[2]: memo-fields and distinct

2004-07-03 Thread Dick Applebaum
Ah, but I do understand.

1) In order to access  a column (field) you must include it in a SELECT 
statement

2) if you include DISTINCT in a SELECT statement it applies to all 
columns in the SELCET statement

3) You cannot apply DISTINCT to a memo/text. clob. blob field.

So, you cant get what you want in a single query *

* unless your db supports subqueries -- a whole 'nother topic.

My original suggestion will getcha' where ya' wanna' go!

HTH

Dick

On Jul 3, 2004, at 3:28 AM, [EMAIL PROTECTED] wrote:

> Thank you Dick.
>  You didn't really understand my problem
>  I guess. I am not doing
>  a distinct on the memo field.
>  But on another field. This works well.
>  But if I am doing s.th. like:
>
>  
>  SELECT distinct ArtikelNum
>  FROM dbo.Artikeltext
>  
>
>  When I want to output The field "beschreibung"
>  I get an error, because it is not included
>  in the select, so how can I addditionally include
>  this memo field ?
>
>  Uwe
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: white-space - is this a big issue?

2004-07-03 Thread Matt Woodward
>Mach-ii applications probably ought to have an application.cfm to hold
>the required cfapplication tag.

Definitely ought to, and what you can do with Mach-II is put multiple applications all under one umbrella by giving them the same application name in each Application.cfm file.  This allows for breaking extremely large applications down into multiple sub-applications that each operate independently but can share things as needed.  I'm definitely exploring this possibility for i2.com because we now have 6 or so small applications running various things on there, and I'm adding more all the time as I convert and rework old applications to put them into Mach-II.

Matt
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: white-space - is this a big issue?

2004-07-03 Thread S . Isaac Dealey
Good advice. Although barney was commenting on a row of the frameworks
comparison chart which really is just intended to compare the
different frameworks' requirements.

Fusebox 3 was completely agnostic to both the cfapplication tag and
the application.cfm -- it didn't care whether either was used.

Fusebox 4 now requires the cfapplication tag but doesn't care about
the application.cfm template.

Mach-ii applications probably ought to have an application.cfm to hold
the required cfapplication tag.

The onTap framework requires an application.cfm but is agnostic about
the cfapplication tag and goes a bit futher to automatically execute
your own custom application stage code for you, so you don't have to
edit any of the framework's templates to execute code in the
application stage.

Not all of the extensions for the onTap framework are agnostic about
the cfapplication tag however, as it's required by the Members onTap
login and member management plugin which in turn is required by the
Roles onTap roles-based security plugin and the upcoming Forums onTap
plugin application.

> Using CF, it is not a very good idea NOT to have an
> Application.cfm, as
> you can't prevent CF from executing the nearest one it can
> find. If you
> don't want to use it, just have one with nothing (well, at
> least a
> return) in it in the root folder of your application.

> Pascal

>> -Original Message-
>> From: Barney Boisvert [mailto:[EMAIL PROTECTED]
>> Sent: 03 July 2004 00:39
>> To: CF-Talk
>> Subject: RE: white-space - is this a big issue?
>>
>>  - FB4 requries a CFAPPLICATION tag, and uses application
>>  variables,
> but
>> doesn't require a Application.cfm (CFAPPLICATION is
>> generally better
>> placed
>> in index.cfm)

>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF tag/function for bbcode?

2004-07-03 Thread Kay Smoljak
On Sat, 03 Jul 2004 13:54:09 +0200, Jochem van Dieten
<[EMAIL PROTECTED]> wrote:
> http://www.depressedpress.com/

Cool, thanks. I was searching for the wrong term - I didn't realise it
was called "BBML" :)

-- 
Kay Smoljak
http://kay.smoljak.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: In need of CFX_ImageInfo and CFX_ImageInfoMX

2004-07-03 Thread Lewis Sellers
At 04:45 AM 7/1/2004, you wrote:
>Hi All,
>
>I'm in urgent need of the ImageInfo and ImageInfoMX CFXs which are
>normally available from the following page:
>
>http://www.intrafoundation.com/CFX_ImageInfoMX.asp
>
>The trouble is that the download page at www.intrafoundation.com is
>currently not working.
>
>If anyone has any recent copies of either CFX_ImageInfo or
>CFX_ImageInfoMX, or knows where I could source them, I'd greatly
>appreciate it if they could contact me at this email address
>([EMAIL PROTECTED]). If you have the files, please just
>attach them if that's convenient for you.
>
>I've already checked the tag library / developer exchange at
>macromedia.com, and unfortunately they only have an out of date copy of
>the superceded, non-MX version.
>
>Thanks!

Sorry. A few weeks back, as I understand it, a group of hackers tried 
setting up a warez site on the server and it hasn't worked very well since 
then. To be honest, maintaining that site is usually such an annoyance to 
me these days I was considering simply deleting the entire thing and being 
done with it. Actually I'm probably going to do exactly that next week if I 
get around to it.

There's not much I can do about the problem on this end as I don't have 
remote access to the machine.

But as for your question, you could just try:
http://www.intrafoundation.com/downloads/CFX_ImageInfoMX.zip

All the downloads are in that folder. The script simply updates the 
download count in the database, then redirects to it.

Sorry about the inconvenience.

(As a side note, as it understand it, the server is running Windows 2003 
IIS6. The site itself uses a small little access database for tracking 
downloads, etc. Apparently it's in some form of read only mode at the 
moment which is the problem. I'd fix it if I could. Really. :) )

--min.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMail Sanity Check - Where's the Macromedia rep

2004-07-03 Thread Jochem van Dieten
stylo stylo wrote:
>>
>> email servers tagging mail as spam when a ColdFusion header is detected has been happening for many years now.  
> 
> Where's the Macromedia rep who posts on here sometimes? Surely he knows.

How would he know? There are thousands of anti-spam solutions 
(millions if you count the variations in configuration) that all 
work differently. You think there is somebody who knows for all 
of them how they behave?

Jochem
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF tag/function for bbcode?

2004-07-03 Thread Jochem van Dieten
Kay Smoljak wrote:

> I just installed a cool Firefox extension which adds bbcode shortcuts
> to the context menu.
> 
> That got me thinking...  I'd like to allow people to use bbcode in
> some of my CF apps. I searched on Google, cflib.org, the MM Exchange
> and the houseoffusion archives, and turned up nary a result. I'm
> finding it really hard to believe that no one has created a bbcode
> parser - either a custom tag or a UDF.

http://www.depressedpress.com/

Jochem
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Hierarchy recursing data

2004-07-03 Thread Jochem van Dieten
Patrick Hardy wrote:

> Is there a way to do this in coldfusion and mysql?

Yes. Just move your stored procedure to a CF function you call 
recursively. Or even better, use a nested set model:
http://www.developersdex.com/gurus/articles/112.asp

Jochem
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re[2]: memo-fields and distinct

2004-07-03 Thread cf-talk
Thank you Dick.
You didn't really understand my problem
I guess. I am not doing
a distinct on the memo field.
But on another field. This works well.
But if I am doing s.th. like:


SELECT distinct ArtikelNum
FROM dbo.Artikeltext


When I want to output The field "beschreibung"
I get an error, because it is not included
in the select, so how can I addditionally include
this memo field ?

Uwe
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: white-space - is this a big issue?

2004-07-03 Thread Pascal Peters
Using CF, it is not a very good idea NOT to have an Application.cfm, as
you can't prevent CF from executing the nearest one it can find. If you
don't want to use it, just have one with nothing (well, at least a
return) in it in the root folder of your application.

Pascal

> -Original Message-
> From: Barney Boisvert [mailto:[EMAIL PROTECTED]
> Sent: 03 July 2004 00:39
> To: CF-Talk
> Subject: RE: white-space - is this a big issue?
> 
>  - FB4 requries a CFAPPLICATION tag, and uses application variables,
but
> doesn't require a Application.cfm (CFAPPLICATION is generally better
> placed
> in index.cfm)
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Regex help

2004-07-03 Thread Pascal Peters
There are so many different formats that maybe the best approach is just
to look for the protocol? Something like:

linkRE = /^https?:\/\/\S+$/i;

If the link is not correct, they will see it in the new window! If you
have the CF advanced book, Ben had a regexp to check url's that took
care of most formats. I seem to remember it didn't validate IPs or ports
but most of the rest. I left my copy at work, so I can't verify.

Pascal

> -Original Message-
> From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
> Sent: 03 July 2004 05:20
> To: CF-Talk
> Subject: RE: Regex help
> 
> 
> > If you are just scanning text to find any links, just look
> > for something like:
> >
> > 'http://[^ "]*
> 
> Dick, I have a variation of above which checks for http or https
followed
> by
> a : followed by a an optional www followed by any number of letters,
> numbers
> or periods. I just wanted to make sure I am on the right track
here
> Basically there is a button next to a form element that when clicked,
> takes
> the link from the form element and opens it in a new window. I want to
> alert
> the user if the link is malformed.
> 
> Mike
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Regex help

2004-07-03 Thread Pascal Peters
The answer is (w{3})? , but in your case: why bother?

> -Original Message-
> From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
> Sent: 03 July 2004 05:52
> To: CF-Talk
> Subject: RE: Regex help
> 
> How would I say
> 
> Www is optional?
> 
> var linkRE = /^https?\:\/\/[wW]{3}?/;
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




CF tag/function for bbcode?

2004-07-03 Thread Kay Smoljak
I just installed a cool Firefox extension which adds bbcode shortcuts
to the context menu.

That got me thinking...  I'd like to allow people to use bbcode in
some of my CF apps. I searched on Google, cflib.org, the MM Exchange
and the houseoffusion archives, and turned up nary a result. I'm
finding it really hard to believe that no one has created a bbcode
parser - either a custom tag or a UDF.

So, does anyone know of one, or am I gonna have to write it myself? I
imagine it's gonna be pretty straightforward... I just don't like
reinventing the wheel :)

Cheers,
K.

-- 
Kay Smoljak
http://kay.smoljak.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]