Re: cfmail custom tag

2009-11-04 Thread Brad Roberts

I didn't test it, but try something like:

cfsilent

!--- No need for an end tag ---
cfif NOT compareNoCase(thisTag.executionMode, end)
cfexit method=exitTag
/cfif

!--- Required attributes ---
cfparam name=attributes.to

!--- Default attributes ---
cfparam name=attributes.from default=f...@address.com
cfparam name=attributes.subject default=Default Subject
cfparam name=attributes.type default=HTML

!--- Send email ---
!--- CF 8 or later version could be: cfmail
attributeCollection=#attributes# ---
cfmail from=#attributes.from# to=#trim(attributes.to)#
subject=#attributes.subject# type=#attributes.type#
div style=padding:20px; margin:20px; border:2px solid blue;
#trim(thisTag.generatedContent)#
/div
/cfmail

!--- Kill the output ---
cfset thisTag.generatedContent = 

/cfsilent


-- 
Brad Roberts
AgentBlaze, LLC
Office: (865) 681-8390
Fax: (866) 583-9334
b...@agentblaze.com
http://www.agentblaze.com

On Wed, Nov 4, 2009 at 1:25 PM, Michael Muller mich...@mullertech.comwrote:


 Hey all

 I'm trying to make a custom tag for cfmail so I can create a standard From,
 Subject, and HTML layout inside the email that is sent.

 I have created the tag and am using the open / close method, but the
 content of the email winds up being displayed on the page, as well as being
 emailed. I'm using THIS.generatedContent inside the custom tag in the body
 of the cfmail tag, and have even tried wrapping the tag inside a cfsilent.

 What am I missing?  How do I stop the body of the custom tag from
 displaying, or is that not possible.

 Mik


 cf_mailsend to=s...@address.comyadda yadda/cf_mailsend

 

 cfsilent
 cfswitch expression=#thisTag.ExecutionMode#

 cfcase value=start
 cfparam name=attributes.to default=
 /cfcase

 cfcase value=end
 cfmail to=#trim(attributes.to)# subject=subject from=
 f...@address.com type=HTML
 div style=padding:20px; margin:20px; border:2px solid blue;
 #trim(thistag.generatedcontent)#
 /div
 /cfmail
 /cfcase

 /cfswitch
 cfsilent


 
 Michael Muller
 office (413) 863-6455
 cell (413) 320-5336
 skype: michaelBmuller
 http://MontagueWebWorks.com

 Information is not knowledge
 Knowlege is not wisdom

 Eschew Obfuscation


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328050
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Unable to load CFX C++ on CF 64 bit

2009-10-28 Thread Brad Roberts

Hi Jack,

Did you ever find a solution for this?  I'm getting the same error on our 64 
bit box. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327804
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: OT: I'll NEVER switch to dot Net

2006-07-28 Thread Brad Roberts
Ok, so maybe he's a crappy .NETer, but I bet a crappy CFer wouldn't
have caused me to pull my crappity crap crappin hair out!

-Brad

On 7/27/06, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 Maybe he was just a sh_t .NETer. :-)

 ..NET is very powerful - never write it off, even after my Web Service
 calling woes, I'm loving C#







 This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
 Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
 Registered in England, Number 678540.  It contains information which is
 confidential and may also be privileged.  It is for the exclusive use of the
 intended recipient(s).  If you are not the intended recipient(s) please note
 that any form of distribution, copying or use of this communication or the
 information in it is strictly prohibited and may be unlawful.  If you have
 received this communication in error please return it to the sender or call
 our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
 communication are not necessarily those expressed by Reed Exhibitions.
 Visit our website at http://www.reedexpo.com

 -Original Message-
 From: Brad Roberts [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Thu Jul 27 22:15:42 2006
 Subject: OT: I'll NEVER switch to dot Net

 I recently took on a project where I was asked to create the markup
 for a site.  I would then hand the XHTML and CSS to a .NET programmer
 who's responsible for making it live (populating the pages).

 I can't tell you how frustrating an experience this is.  I'm stunned
 at the things that can't be done because I'm using the .NET control
 and it doesn't work that way.  My response, Then don't use the .NET
 control, just use a dang input tag!

 Oh, and the extraneous crap that it adds to your nice clean XHTML...
 it reminds me of creating a web page in Microsoft Word!

 I guess .NET has it's place, but it's sure not the semantic web!

 -Brad



 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248004
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


OT: I'll NEVER switch to dot Net

2006-07-27 Thread Brad Roberts
I recently took on a project where I was asked to create the markup
for a site.  I would then hand the XHTML and CSS to a .NET programmer
who's responsible for making it live (populating the pages).

I can't tell you how frustrating an experience this is.  I'm stunned
at the things that can't be done because I'm using the .NET control
and it doesn't work that way.  My response, Then don't use the .NET
control, just use a dang input tag!

Oh, and the extraneous crap that it adds to your nice clean XHTML...
it reminds me of creating a web page in Microsoft Word!

I guess .NET has it's place, but it's sure not the semantic web!

-Brad

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247938
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Create IIS Website With CF?

2006-06-16 Thread Brad Roberts
Has anyone successfully added an IIS website using CF by editing the
MetaData.xml file?  I'm trying to automate the creations of IIS
websites and virtual directories.

Any insight would be appreciated.

-Brad

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243716
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Create IIS Website With CF?

2006-06-16 Thread Brad Roberts
Cool.  Thanks everyone!

On 6/16/06, Russ Michaels [EMAIL PROTECTED] wrote:
 also check www.IISFAQ.com

 they have some handy stuff.

 Snake

 -Original Message-
 From: Dave Watts [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Date: Fri, 16 Jun 2006 09:40:13 -0400
 Subject: RE: Create IIS Website With CF?

   Has anyone successfully added an IIS website using CF by
   editing the MetaData.xml file?  I'm trying to automate the
   creations of IIS websites and virtual directories.
  
   Any insight would be appreciated.
 
  IIS comes with scripts to do this for you. I'd recommend using those
  instead
  of editing the metabase directly. The scripts are within
  \inetpub\adminscripts.
 
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
 
  Fig Leaf Software provides the highest caliber vendor-authorized
  instruction at our training centers in Washington DC, Atlanta,
  Chicago, Baltimore, Northern Virginia, or on-site at your location.
  Visit http://training.figleaf.com/ for more information!
 
 
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243909
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Paypal - Payments Pro - 500 Internal Error

2005-10-18 Thread Brad Roberts
I'm getting a 500 Internal Error.  It happens when the paypal cfc is
invoked, but I have no clue as to which method.  It happens with the
provided sample files as well.  I've downloaded the latest SDK.

 

Anyone able to get the Website Payments Pro to work?

 

Thanks,

 

Brad



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221442
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


HomeSite+ and Hidden Folders

2005-06-21 Thread Brad Roberts
In HomeSite+, is there a setting that will hide hidden folders in the file
browser?

 

Thanks,

 

Brad Roberts



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210142
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Registrar that does DNS management?

2005-06-21 Thread Brad Roberts
GoDaddy.com has a DNS manager (at no additional cost) in their control
panel... it only shows up when your domain is parked with them.

-Brad

-Original Message-
From: Damien McKenna [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 21, 2005 12:57 PM
To: CF-Talk
Subject: OT: Registrar that does DNS management?

I'm looking for a registrar that supports DNS management, preferably at
little or no additional cost over the domain name transfer price.  We
have about 50 domains to manage and would prefer to do this all in one
service than two separate ones.  Any suggestions?  Thanks.
 
-- 
Damien McKenna - Web Developer - [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
The Limu Company - http://www.thelimucompany.com/
http://www.thelimucompany.com/  - 407-804-1014
#include stdjoke.h
 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210145
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cannot install iis connector

2005-06-09 Thread Brad Roberts
I had the same problem.  I exhausted every solution I found on the web.
This went on for weeks.  I even tried Macromedia (email) support but finally
gave up and used the built-in CF webserver.

Brad Roberts

-Original Message-
From: Russ [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 08, 2005 12:26 PM
To: CF-Talk
Subject: cannot install iis connector

I have windows xp pro sp2, and I'm trying to install CF MX 6.1, and it
installs everything, except at the end tells me that it could not install
the IIS connector.  When I try running the bat file that installs it, I get
the following:

 

WARNING!  This will install the ColdFusion MX IIS Connector at the global
level

 

Press Control+C to abort.

Press any key to continue . . .

Created file C:\CFusionMX\runtime\lib\wsconfig\jrunwin32.dll

Using C:\Inetpub\wwwroot for cfwebroot

Could not connect to any JRun/ColdFusion servers on host localhost.

Possible causes:

o Server not running

  -Start Macromedia JRun4 or ColdFusion MX server

o Server running

  -JNDI listen port in jndi.properties blocked by TCP/IP filtering or
firewall

   on server

  -host restriction in security.properties blocking communication with
server

Press any key to continue . . .

 

 

 

I have checked everything, disabled the firewall and uninstalled and
reinstalled IIS and CFMX several times.  I even tried installing MX 7, same
problem.  Has anyone run into this problem before?  Should I just scratch
IIS and install apache?  I've never run into an issue like this before, and
I've installed MX over a dozen times. 

 

Russ 





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209181
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Calendar

2005-06-06 Thread Brad Roberts
Is it available online?  Trying to avoid the me, too snowball.

Brad Roberts

-Original Message-
From: Larry Lyons [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 06, 2005 10:39 AM
To: CF-Talk
Subject: Calendar

Hi all,
 
I'm sure it's been asked already but I'm looking for a calendar of
events...
with an admin panel and pop up (or div over) for events that have a long
description...
 
I would also like recurrence and multi-language but it's not priority.
 
Any ideas?
 
Thanks
 
Patrick

Patrick,

I have one I've released under a creative commons license. If interested
send me an email and I'll send you a copy.

larry



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208739
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Zipping or Rar Large Files with Coldfusion

2005-06-05 Thread Brad Roberts
I use the command line tools for WinRAR
(http://www.rarlab.com/download.htm), using cfexecute.  Works well for me,
but the largest file I've unzipped is around 100 meg.

HTH,

Brad Roberts

-Original Message-
From: Mickael [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 05, 2005 5:18 PM
To: CF-Talk
Subject: Zipping or Rar Large Files with Coldfusion

Hello,

I have a really large Txt file that I would like to Zip then Send to my
server then upzip it there using CFX_ZIP.  The problem that I am running in
to is that the file is too large for a valid zip archive the file is over
5gb.  Each time I try to unzip it on the server I get a corrupt file.  

I know that RAR supports large file sizes but I do not know of a tag in CF
that un rars files on the server.

Has anyone run it to this problem?  Any suggestions?

Thanks,


Mike Elmalem
eFactory Inc.
416-836-9460





~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208627
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Install Problems - CF 7 XP Pro / IIS

2005-06-02 Thread Brad Roberts
I never could get the Web Server Configuration Tool to work (after
unblocking ports, etc.), so (per Macromedia) I followed the instructions to
configure it manually (http://www.macromedia.com/go/tn_19575).

Now, IIS is very slow when browsing directories, and CF pages are never
displayed.  As soon as I remove the JRun Connector Filter from the ISAPI
filters, IIS runs normally.

Is there a simple way to install CF 7 on Win XP Pro with IIS?  I've been
frustrated over this for a month!

Thanks,

Brad Roberts

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208390
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Install Problems - CF 7 XP Pro / IIS

2005-06-02 Thread Brad Roberts
I've got two desktops that I can't install it on.  I keep getting port
51011 is blocked.  I've made exceptions in Win Firewall for every port CF
uses (as listed on Macromedia's website).  I've even disabled the firewall.

This stinks, because it installed fine on our production server, but I can't
get it to work on our dev boxes.

Brad Roberts

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 02, 2005 11:26 AM
To: CF-Talk
Subject: Re: Install Problems - CF 7  XP Pro / IIS

brad, i must say something else is up... ive been running cfmx7 on my
xp pro iis laptop for about, well... 8 months or so... no install
problems.

tw

On 6/2/05, Brad Roberts [EMAIL PROTECTED] wrote:
 I never could get the Web Server Configuration Tool to work (after
 unblocking ports, etc.), so (per Macromedia) I followed the instructions
to
 configure it manually (http://www.macromedia.com/go/tn_19575).
 
 Now, IIS is very slow when browsing directories, and CF pages are never
 displayed.  As soon as I remove the JRun Connector Filter from the ISAPI
 filters, IIS runs normally.
 
 Is there a simple way to install CF 7 on Win XP Pro with IIS?  I've been
 frustrated over this for a month!
 
 Thanks,
 
 Brad Roberts
 
 



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208397
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: FCKEditor file manager.

2005-05-15 Thread Brad Roberts
You can use the CFFM (ColdFusion File Manager) with FCKeditor.  I modified
the look a little for one of my apps.  Works great!  Kudos to the author!

http://www.webworksllc.com/cffm/

Brad Roberts

-Original Message-
From: Emmet McGovern [mailto:[EMAIL PROTECTED] 
Sent: Sunday, May 15, 2005 12:42 PM
To: CF-Talk
Subject: FCKEditor file manager.

Alright, Im about to give up.  Whats the trick to the filemanager?  I keep
getting a xml 404 when using the browse feature.

Anyone have a packaged working cf fckeditor?

Emmet



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206735
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Sessions Across Domains / SSL

2005-04-26 Thread Brad Roberts
I'm using a shared SSL from HostMySite.  When I send a visitor to an SSL
page, they lose their session and are prompted to login again.

In the past, I've appended the urlToken and session vars were maintained.  I
do know that HostMySite has upgraded to CFMX 7.  Shouldn't this work if I
pass the cfid/cftoken?

Thanks, 

Brad Roberts


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204576
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Sending Mail through IIS

2005-04-06 Thread Brad Roberts
I'm having trouble sending email on my dedicated server.  CF sends the
email, but it's never delivered, and doesn't bounce back.  I tried sending
an email through Outlook Express and it worked fine.  I'm using the SMTP
server provided by the hosting company.

 

The hosting co. recommended sending through localhost and relaying it to
their smtp server.  My questions are:

 

Does this sound like it would fix the problem?

If so, what's the easiest way to setup SMTP (I don't need POP)?

 

Thanks in advance,

 

Brad

 



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201761
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Sending Mail through IIS

2005-04-06 Thread Brad Roberts
Thanks for the reply.

There isn't a username or password.  I'm assuming the mail server allows 
relaying from specific IP addresses.

-Brad

-Original Message-
From: Michael Traher [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 06, 2005 5:10 PM
To: CF-Talk
Subject: Re: Sending Mail through IIS

have you added the user and password details to the mail server
details in cfadmin?

On Apr 6, 2005 7:20 PM, Brad Roberts [EMAIL PROTECTED] wrote:
 I'm having trouble sending email on my dedicated server.  CF sends the
 email, but it's never delivered, and doesn't bounce back.  I tried sending
 an email through Outlook Express and it worked fine.  I'm using the SMTP
 server provided by the hosting company.
 
 The hosting co. recommended sending through localhost and relaying it to
 their smtp server.  My questions are:
 
 Does this sound like it would fix the problem?
 
 If so, what's the easiest way to setup SMTP (I don't need POP)?
 
 Thanks in advance,
 
 Brad
 
 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201793
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Best way to do this? Data structure?

2005-04-06 Thread Brad Roberts
You can refer to the next row in a query... Something like this might work:

cfif myQuery.currentRow LT myQuery.recordCount
AND myQuery.RatePct NEQ myQuery.RatePct[myQuery.currentRow+1] 
  highlight this one
cfelse
  no highlight
/cfif

Basically, if we're not on the last row, and the current row's RatePct
doesn't equal the next rows RatePct, highlight it.

-Brad

-Original Message-
From: Alisa Thomson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 06, 2005 4:41 PM
To: CF-Talk
Subject: Best way to do this? Data structure?

I know this is a simple problem, but I must have too many projects on my
plate because I haven't been able to get this one.  I have a query that
returns data like:
DescriptionOrderDate RatePct
1 Week  4/01/053.5
1 Week  3/01/053.6
1 Week  2/01/053.6
2 Week  4/01/052.5
2 Week  3/01/052.5
2 Week  2/01/052.0

The primary key is the Description/Order Date and it is supposed to be in
descending order.  The data is then displayed to the user in a table
based on description for the row and the OrderDate for the column, like:

   4/01/05   3/01/05 2/01/05
1 Week   3.5   3.63.6
2 Week   2.5   2.52.0

A simple CFOUTPUT with a GROUP attribute on Description works fine to
display this table.  However, now I need to color-code the ratepct if the
value has changed.  Since the values are displayed in descending order, I
cannot do it in the CFOUTPUT loop since I won't know if the data changed
until the next time through the loop.  So, in the above example, the 3.5
should be highlighted in row 1 as a data change since the previous value was
3.6 and the 2.5 in the 3/01/05 column should be highlighted in the previous
value was 2.0.  My initial thought was to have a data structure that held
the contents of the query that I could loop through prior to display and set
a new key/value pair for color.  I have experimented with various
combinations of structs and arrays and haven't found the best way to do
this.  Any ideas??  Thanks in advance.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201802
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web Based Mail Merge? (not email!)

2005-04-04 Thread Brad Roberts
It would be great if you could point to an online data source in Word.

Tell Word that your CSV file is at http://mysite.com/data.csv.  Everyone
would have a copy of the Word file.  Then just schedule CF to update your
CSV.

Maybe some VBScript or .NET?  Anyone know if that's possible?

-Brad

-Original Message-
From: Andy Mcshane [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 03, 2005 5:48 AM
To: CF-Talk
Subject: RE: Web Based Mail Merge? (not email!)

I did something like this some time ago, I created the word document, put
place holders in for my data, saved it as an rtf file. I then had to copy
the RTF text into a .cfm page, process my place holders to put my text in
and then save the RTF text back out to another file. This worked well. This
was fine when I could control content of the document. Where this
requirement now differs is that I want the user to create their own RTF
documents and then upload them to our web server into a template directory. 
 
Let me run this idea by you, If I provide the user with a list of
pre-defined merge field codes, i.e. the coldfusion code that maps to a
required peice of data in the database, so that they can create their very
own RTF documents, let them upload the document to the template directory on
the server, I could then read the RTF file line by line to replace the merge
fields with data and write out completed letters to another file. Does
anybody see any problems with this idea? Are text file read  writes much of
an overhead for the server? I envisage that anywhere between 1 - 300+
letters may need to be produced at any one time.




you could generate RTF files on the files.

add mailmerge fields to a word document - save as RTF and us CF to
generate RTF and make available for download.






~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201345
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Grouped output with cfloop?

2005-03-22 Thread Brad Roberts
You could put your grouped output in a separate file and cfinclude it...

-Brad

- Original Message - 
From: Pete Ruckelshaus [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, March 22, 2005 9:53 AM
Subject: Grouped output with cfloop?


 Is there any way to do grouped query output using cfloop?  Reason is
 that I use a switch/case statement for my page, and wrap the entire
 thing in a cfoutput tag to make my code more readable.  I would like
 to do something like:

 cfoutput query=foo group=groupcolumn
 h1#groupcolumndata#/h1
 cfoutput
 #blah#
 /cfoutput
 /cfoutput

 But I would like to do it with cfloop or some other technique.  Is
 this possible?

 Thanks

 Pete

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199726
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


FCKeditor - Dynamic Browse and Upload Directory

2005-03-14 Thread Brad Roberts
Anyone have a solution for setting the image browse and upload path in 
FCKeditor (version 2 with the default CF connector)?  I'd like to share the 
editor among several sites.

I've searched the FCKeditor forum, as well as this list, but haven't seen a 
solution.

Thanks,

Brad

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198664
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Dreamweaver: Undo after Saving Document

2004-12-17 Thread Brad Roberts
In Dreamweaver MX, where is the option to allow undo's after saving a document?

Thanks in advance,

Brad

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188084
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dreamweaver: Undo after Saving Document

2004-12-17 Thread Brad Roberts
After I save the page (ctrl-s), I lose all undo/redo capability... it's like 
the history is destroyed!  I'm using the trial until my purchased version 
arrives, but that shouldn't matter.

I'm having a hard enough time adjusting from CF Studio... really frustrating.

-Brad
  - Original Message - 
  From: dave 
  To: CF-Talk 
  Sent: Friday, December 17, 2004 5:10 PM
  Subject: Re: Dreamweaver: Undo after Saving Document


  ctrl-z till its undone
  it wont be able to do it if the page has been closed though but just saving 
and undoing is no biggie

  -- Original Message --
  From: Ray Champagne [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  Date:  Fri, 17 Dec 2004 17:06:57 -0500

  Hmm...I didn't even know that existed.  I'd like to know that too!
  
  Ray
  
  At 05:03 PM 12/17/2004, you wrote:
  In Dreamweaver MX, where is the option to allow undo's after saving a 
  document?
  
  Thanks in advance,
  
  Brad
  
  
  
  

  

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188089
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Color Coding in Dreamweaver / CF Studio

2004-12-15 Thread Brad Roberts
I just started using DW (from CF Studio), and the first thing I noticed was the 
difference in code coloring.  Is there a (quick) way to color the code like 
it's colored in CF Studio?

Thanks,

Brad

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187836
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF_ColoredCode

2004-10-17 Thread Brad Roberts
Here's an example:
http://www.bradroberts.net/coloredcode/

-Brad
- Original Message - 
From: Ray Champagne 
To: CF-Talk 
Sent: Friday, October 15, 2004 4:02 PM
Subject: Re: CF_ColoredCode

Just curious...what is it?

Ray

At 03:50 PM 10/15/2004, you wrote:
Does anyone have (or know where I can download) the latest version of Dain 
Anderson's CF_ColoredCode?cfcomet.com is down...

Thanks,

Brad


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




CF_ColoredCode

2004-10-15 Thread Brad Roberts
Does anyone have (or know where I can download) the latest version of Dain Anderson's CF_ColoredCode?cfcomet.com is down...

Thanks,

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




Re: CF_ColoredCode

2004-10-15 Thread Brad Roberts
You're the man!Thanks for the quick response.

-Brad
- Original Message - 
From: Charlie Griefer 
To: CF-Talk 
Sent: Friday, October 15, 2004 3:55 PM
Subject: Re: CF_ColoredCode

http://charlie.griefer.com/coloredcode.zip

On Fri, 15 Oct 2004 15:50:33 -0400, Brad Roberts [EMAIL PROTECTED] wrote:
 Does anyone have (or know where I can download) the latest version of Dain Anderson's CF_ColoredCode?cfcomet.com is down...
 
 Thanks,
 
 Brad
 

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




Re: PayPal and But it Now buttons

2004-10-15 Thread Brad Roberts
You may want to sign up as a PayPal developer, which allows you to use test account.
http://developer.paypal.com

-Brad

- Original Message - 
From: dave 
To: CF-Talk 
Sent: Friday, October 15, 2004 3:23 PM
Subject: Re: PayPal and But it Now buttons

its pretty easy
if ur using dw there are a few extensions for it, u just need to tweak it abitfor dynamic content.
pablo has a tut on www.easycfm.com about using there notification upon purchase feature. there are also some test scripts out there u can use with fake transactions and paypal, at least used to have a bit of info on using them on the site

-- Original Message --
From: Ewok [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:Fri, 15 Oct 2004 15:18:23 -0400

I've never used PayPal on a site but guess what. now I don't have an option.
I see a lot of PayPal stores and buy it now buttons all over the web so I
figured someone here has done what I need somewhere down the line.

 

There is absolutely no need for a cart in what I have. Registered users will
only be buying one product at a time (limited to one)

 

I had hoped to do simple Buy It Now buttons and pass what I need to PayPal
that way. That much was easy. But I'm not sure if PayPal confirms a
transaction in a way that I can decide rather or not the order went through.

Anybody know of any tags? Documentation on but it now? How to test it
without it actually having to transfer money between PayPal accounts?

 

Any help at all would be great


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004
 



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




xmlSearch - ID IN List?

2004-10-07 Thread Brad Roberts
I need to find certain employees in an xml object by passing a list of employee id's

employees
 employee id=1/employee
 employee id=2/employee
 employee id=3/employee
 employee id=4/employee
 employee id=5/employee
/employees

xmlSearch(employees, /[EMAIL PROTECTED]('1,3,5')])
Doesn't work of course.Just trying to convey what I'm trying to do.

Any help appreciated.Thanks.

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




Query of Query Error

2004-04-05 Thread Brad Roberts
I get the following error:
Query Of Queries runtime error.
Unsupported type comparison.

Here's my code:

cfquery name=qResults dbtype=query
	select	*
	from		variables.listings.qResults
	where	price between 1 AND 999
		AND	beds = 0
		AND	baths = 0
/cfquery


The query I'm querying looks like this:

street		price		beds			baths
123 Some Street	249900	3			2
501 Another St.	189000	[empty string]	[empty string]
710 Third St.	95000		2			1


Would the empty strings have anything to do with it?If so, is there a
workaround?

Thanks,

Brad
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Query of Query Error

2004-04-05 Thread Brad Roberts
Ok, I queried the original query to get only rows which had numeric values
for price, beds, baths... Then, I queried the new query.I get the same
error.

cfquery name=temp dbtype=query
 select *
 fromvariables.listings.qResults
 where price  ''
AND beds  ''
AND baths  ''
/cfquery

cfquery name=qResults dbtype=query
 select *
 fromtemp
 where price between 1 AND 999
AND beds = 0
AND baths = 0
/cfquery

-Brad
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 10:50 AM
To: CF-Talk
Subject: RE: Query of Query Error

 I get the following error:
 Query Of Queries runtime error.
 Unsupported type comparison.

 Here's my code:
 
 cfquery name=qResults dbtype=query
 select *
 from variables.listings.qResults
 where price between 1 AND 999
 AND beds = 0
 AND baths = 0
 /cfquery
 

 The query I'm querying looks like this:
 
 street price beds baths
 123 Some Street 249900 3 2
 501 Another St. 189000 [empty string] [empty string]
 710 Third St. 95000 2 1
 

 Would the empty strings have anything to do with it?

I suspect that's the problem.

 If so, is there a workaround?

Try placing zeroes in there, when you build your original query.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Query of Query Error

2004-04-05 Thread Brad Roberts
There's no database.The query is built dynamically from data on another
website.

I adjusted my first query to use IS NOT NULL, but still get the error.

cfquery name=temp dbtype=query
 select *
 fromvariables.listings.qResults
 where price IS NOT NULL
AND beds IS NOT NULL
AND baths IS NOT NULL
/cfquery
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:15 AM
To: CF-Talk
Subject: RE: Query of Query Error

 Ok, I queried the original query to get only rows which had
 numeric values for price, beds, baths... Then, I queried the
 new query.I get the same error.

 cfquery name=temp dbtype=query
select *
fromvariables.listings.qResults
where price  ''
AND beds  ''
AND baths  ''
 /cfquery

 cfquery name=qResults dbtype=queryselect *from
 tempwhere price between 1 AND 999
AND beds = 0
AND baths = 0
 /cfquery

Are PRICE, BEDS and BATHS numeric columns within the database? In the
first
query, you're treating them as if they aren't, but in the second, you're
treating them as numeric.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: desktop application

2004-04-03 Thread Brad Roberts
Re-posting Steve Nelson's suggestion:

... CFML on the desktop... http://www.pcaonline.com/coral/index.cfm ...Looks
pretty powerful

-Brad

-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 03, 2004 12:02 PM
To: CF-Talk
Subject: Re: desktop application

Unless I am mistaken, the company that made cfAnywhere was purchased by
Allaire  cfAnywhare became JRun

I have always felt that CF would be very good for ad hoc desktop apps.

With the advent of the initial version of CFMX and its integrated JRun,
and integrated RDBMS (PointBase) it seemed that everything existed in a
single pkg to easily do this --- and it was a rather trivial install.

The latest versions of CFMX perform much better, compile directly to
Java bytecode.so performance is greatly improved.There is a looser
integration with JRun (more install options) and a somewhat more
difficult install.

But, it's still all right there in a single package.I can write
desktop apps with CFMX that access the web, local databases, local
files, execute other programs or scripts, yadda, yadda, yadda,

I can use the familiar HTML Browser as a front end and UI.Or, I can
use a RIA with Flash or Robs PIA front end.

When you do web development and testing on a single machine, as I do,
every CF application is a desktop application.

Some apps I write, never go beyond localhost -- these in effect, are
desktop only CF apps.

But more often than not, I need to combine dynamic local data (from
files, databases, other desktop applications)with other dynamic data
available on the web.Then a combo Desktop/Web app is in order.

A good example of a combo app is a status monitor where local
historical data is combined with dynamic data from the web.Some
examples might be:

--- monitoring the status of multiple web servers
--- monitoring stock portfolios *
--- tracking shipments
--- monitoring sales leads  tele-marketing

* The stock portfolio app is one that I use daily -- during market
hours it shows me how my stocks are performing with real-time data from
the web.It alerts me of stocks that need attention by combining the
web data with local data that contains (buy/sell) thresholds I have set
and other position information (purchase price, days held) that may
have tax implications.

Given an ideal world I could write quite a nice cross-platform,
self-contained desktop(or combo) app in CFMX and have trial versions
available (for download and/or on CD) that would self install
(including, CFMX, JRun, DB) or be run from CD.(Of course, in the
ideal world, licensing and pricing of the integrated products would be
changed to satisfy the needs of this broader market).

I wish I could do that!

Dick

On Apr 3, 2004, at 7:34 AM, Stephen Moretti wrote:

 Dick Applebaum wrote:

 ahhh ... if only we had CFAnywhere. :)

~cough~bluedragon
Thats what CFAnywhere became.Plus you're showing your age now
 Dick.. ;)

Unfortuately doesn't really help John with a cross-platform desktop
application.Yeah I know it should run everywhere, but nothing is
 ever
quite that simple and in this instance cf/php/etc are all a little on
the heavy side. Mini flash app should be more than sufficient. (he
 says
sticking to the thread)

Stephen

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: desktop application

2004-04-03 Thread Brad Roberts
Don't think so... but I'm sure he could use Virtual PC?
http://www.apple.com/macosx/applications/virtualpc/

-Brad
-Original Message-
From: Rob [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 03, 2004 6:23 PM
To: CF-Talk
Subject: RE: desktop application

On Sat, 2004-04-03 at 10:00, Brad Roberts wrote:
 Re-posting Steve Nelson's suggestion:

 ... CFML on the desktop... http://www.pcaonline.com/coral/index.cfm
...Looks
 pretty powerful

I though he said it needed to run on Mac. Does that run on Mac?

--
Rob [EMAIL PROTECTED]
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Weird CFC Problem

2004-03-24 Thread Brad Roberts
The only way I know to explain this is to give an example.

// THIS STRUCT IS IN SERVER SCOPE (3 simple values and a query)
server.myData = structNew();
server.myData.var_1 = ;
server.myData.var_2 = ;
server.myData.var_3 = ;
server.myData.myQuery = queryNew(c1,c2,c3);

// THIS IS MY CFC
cfcomponent
cffunction name=getInfo
 cfset var data = "">
 cfset data.var_2 = some info
 cfset structAppend(data, server.myData, false)

 cfset queryAddRow(data.myQuery, 1)
 cfset querySetCell(data.myQuery, c1, value, 1)
 cfset data.myQuery = populateQuery(data.myQuery)

 cfreturn data

/cffunction

cffunction name=populateQuery
 cfargument name=q type=query required=true
 cfset var q = arguments.query

 !--- POPULATE THE QUERY WITH 20 ROWS OF DATA ---

 cfreturn q

/cffunction
/cfcomponent

Whenever I invoke the method getInfo, and dump the server scope,
server.myData.myQuery is not populated with the new query data.However,
the other keys var_1, var_2, etc. are not changed.

I think this is a scoping issue, but I can't find it anywhere.

-Brad
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Weird CFC Problem

2004-03-24 Thread Brad Roberts
Actually, I DON'T want to update the server struct.It has default data
that I use to populate local structures.My problem is that the server
struct is being updated somehow, but I don't want it to.Only the query is
updated, not the simple values of the struct.

Hope that makes sense.

-Brad
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 10:09 AM
To: CF-Talk
Subject: RE: Weird CFC Problem

When you run structAppend(a,b) you are appending B onto A. In your case,
you
appended Server onto Data. If you wanted to update the server scope why
didn't you just manipulate it directly? If you prefer using a pointer, you
can use

data = "">

Note - I do not recommend directly accessing server variables from CFCs.
If
your intent is to add X to a server variable, you should pass it in as an
argument, or save the result, etc:

cfset server.myData = someCFC.someMethod()
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Weird CFC Problem

2004-03-24 Thread Brad Roberts
I'll try that.Looks like that will work.

Thanks again,

Brad
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 11:25 AM
To: CF-Talk
Subject: RE: Weird CFC Problem

Ah, then change it to:

cfset structAppend(data, duplicate(server.myData), false)

Notice the use of duplicate. Before you were ending up with a pointer.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Search Engines CFID/CFTOKEN

2004-03-19 Thread Brad Roberts
I use a udf to create all of my links (i.e. createLink(myLink), in order to
append cfid/cftoken to every url.However, I don't want search engines to
index my sites with a cfid/cftoken.Any way around this?

Thanks,

Brad
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Search Engines CFID/CFTOKEN

2004-03-19 Thread Brad Roberts
I've thought about that... but, what's the best way to implement it?
Maybe...

cfif findNoCase(cgi.user_agent, google)
don't append cfid/cftoken
cfelse
append cfid/cftoken
/cfif

Without keeping a massive list of search engine UA's, is there a another way
to check for spiders?Or, would you just comprise a list of the top
crawlers, and if so, any suggestions on a list of (popular) words to test
against?

-Brad
-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]
Sent: Friday, March 19, 2004 8:40 AM
To: CF-Talk
Subject: Re: Search Engines  CFID/CFTOKEN

On Friday 19 Mar 2004 13:22 pm, Brad Roberts wrote:
 append cfid/cftoken to every url.However, I don't want search engines
to
 index my sites with a cfid/cftoken.Any way around this?

Check the browser string and do something different if it's a spider.

--
Tom Chiverton
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: OT: How is this possible?

2004-02-27 Thread Brad Roberts
Here's the script:

http://www.dynamicdrive.com/dynamicindex4/bounceimage2.htm

-Brad
-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 6:09 PM
To: CF-Talk
Subject: Re: OT: How is this possible?

- Original Message -
From: Jochem van Dieten [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, February 27, 2004 3:43 PM
Subject: Re: OT: How is this possible?

 Jim McAtee wrote:

  Anyone ever seen anything like this before?I didn't think it was
possible
  to run a _javascript_ outside of the browser window.It even continues
when I
  switch focus to a completely unrelated application.
 
  http://www.pctraders.com/

 I don't see anything special. Might you be using a browser with
 known security leaks?

Of course I am - latest IE 6.whatever with current patches.Doesn't even
run
in Firebird.Interestingly, in IE the status bar show a _javascript_ error.
I
wonder if the script takes advantage of a known problem with error
handling
in IE to escape the boundaries of the browser.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Opening File in Associated Software

2004-02-17 Thread Brad Roberts
Thank you, everyone!Works great.I'd kinda like to get rid of the IE
open/save confirmation box that pops up.Even when unchecking Always ask
before opening this type of file, it still asks.

Anyway.Thanks again.

-Brad
-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16, 2004 2:45 PM
To: CF-Talk
Subject: Re: Opening File in Associated Software

Do NOT use the correct mime-type if you want to force a downloadin a
lot of cases it will either open the file in the browser OR allow download
but with the wrong file extension or name.

Use this:

 cfheader name=Content-type value=application/octet-stream
 cfheader name=Content-Disposition value='attachment;
filename=#FileName#'
 !--- if this fouls up in various browsers...try trailing slash in file
attribute below ---
 cfcontent file=#FullFilePath.Value# type=application/octet-stream

The mime-type of application/octet-stream will fake out the browser and
force a download.

This code above has been tested on CFMX 6.1 on Windows 200 Advanced Server
and Linux Red Hat 9.x with Apache.I've tried it with varioud document,
image, audio, and video file types

Enjoy!!

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com
 - Original Message -
 From: [EMAIL PROTECTED]
 To: CF-Talk
 Sent: Monday, February 16, 2004 11:16 AM
 Subject: RE: Opening File in Associated Software

 yup, 'cept use application/unknown as the mime type.Along with
 CFHEADER NAME=Content-Disposition VALUE='Inlinefilename=foo.xxx'
 may get windblows/IE to use the users file associtaions to open the
file.

 Doug

 -Original Message-
 From: Rob Rohan [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 16, 2004 2:10 PM
 To: CF-Talk
 Subject: RE: Opening File in Associated Software

 Do you mean:
 Add a cfcontent with the proper file type (text/csv, application/csv)
 and that should launch the assigned viewer.
 (a small list of content types)
 http://www.geocities.com/dtmcbride/tech/filetype.html

 For example:
 cfsetting enablecfoutputonly=yes
 cfcontent type=text/csvcfoutput
 TEST,ONE,TWO,THREE
 123,1,2,3
 /cfoutput

 On Mon, 2004-02-16 at 10:52, Brad Roberts wrote:
  I'm basically trying to open a specific file from the browser, in it's
  associated program.
 
  In this case, a file created in SureThing CD Labeler.This is an
intranet
  application, so we have access to anything we might need (registry,
etc.)
 
  -Brad
 -Original Message-
 From: Rob Rohan [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 16, 2004 1:41 PM
 To: CF-Talk
 Subject: Re: Opening File in Associated Software
 
 
 On Mon, 2004-02-16 at 06:52, Brad Roberts wrote:
  We use SureThing CD Labeler for labeling various media.The
program
  will
  take a CSV file as a datasource.I've created a CF app to input
data
  and
  create CSV files for the labeling program, but I would like to be
able
  to
  open specific files (in SureThing CD Labeler) from the browser.
 
  Anyone have suggestions?
 
 (I assume you are talking about winders) I don't think you can
control
 this from the server side. If you could, that would be quite a hack
 (format c: open with command.com \c)! but you can put instructions
on
 how to go into file associations and assign file types (.cvs) to
 specific programs. (Tools, folder options, file types I think)
 
 --
 Vale,
 Rob
 
 Luxuria immodica insaniam creat.
 Sanam formam viatae conservate!
 
  http://www.rohanclan.com
  http://treebeard.sourceforge.net
  http://ashpool.sourceforge.net
 
 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFML/ASP equivalents

2004-02-17 Thread Brad Roberts
I've ran into situations where a site like this would be very valuable.

It would be great to take it a step further, with PHP comparisons as well.
You could deal with each task (CF tag) individually, as well as compare
small sample applications that demonstrated how things works together.

I could see this helping CF, ASP,  PHP developers who are curious about how
do do something in one of the other languages.

I think the site would be easy to create if it were a community based, where
developers could contribute how you might handle tasks in each language.
I'm sure best practices would be something to consider as well, since
different people will have their own opinions on how to best accomplish a
task.

Just some thoughts,

Brad

-Original Message-
From: Lofback, Chris [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 11:47 AM
To: CF-Talk
Subject: RE: CFML/ASP equivalents

I've got a cheap ASP book but the index is poor and I'm wasting a lot of
time hunting for info.A comparison would be easier/more useful.

Also, I didn't think that the Dim statement really replicates the way a
CFPARAM tag sets a default value if the variable is undefined.Won't Dim
overwrite the variable if it already exists?These are the kinds of things
I'd like to know as a CF developer who occasionally needs to work with ASP.
Maybe I just need to make a web site ASP for CF Developers...

Chris

-Original Message-
From: Shawn Regan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 11:16 AM
To: CF-Talk
Subject: RE: CFML/ASP equivalents

In asp it would just be setting a declaring a var

Eample: Dim myString As String

I have not really seen any site or book with the chart you are seeking.
Pick
up a cheap ASP 3 book.

Shawn Regan

-Original Message-
From: Lofback, Chris [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 5:03 AM
To: CF-Talk
Subject: CFML/ASP equivalents

Does anyone know of a resource that shows the ASP equivalents for CFML?
Like what is the ASP equivalent for CFPARAM?A chart would be great.
I've
Googled it but haven't found anything.

Thanks,
Chris
 _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Opening File in Associated Software

2004-02-16 Thread Brad Roberts
We use SureThing CD Labeler for labeling various media.The program will
take a CSV file as a datasource.I've created a CF app to input data and
create CSV files for the labeling program, but I would like to be able to
open specific files (in SureThing CD Labeler) from the browser.

Anyone have suggestions?

Thanks,

Brad
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Opening File in Associated Software

2004-02-16 Thread Brad Roberts
I'm basically trying to open a specific file from the browser, in it's
associated program.

In this case, a file created in SureThing CD Labeler.This is an intranet
application, so we have access to anything we might need (registry, etc.)

-Brad
-Original Message-
From: Rob Rohan [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16, 2004 1:41 PM
To: CF-Talk
Subject: Re: Opening File in Associated Software

On Mon, 2004-02-16 at 06:52, Brad Roberts wrote:
 We use SureThing CD Labeler for labeling various media.The program
will
 take a CSV file as a datasource.I've created a CF app to input data
and
 create CSV files for the labeling program, but I would like to be able
to
 open specific files (in SureThing CD Labeler) from the browser.

 Anyone have suggestions?

(I assume you are talking about winders) I don't think you can control
this from the server side. If you could, that would be quite a hack
(format c: open with command.com \c)! but you can put instructions on
how to go into file associations and assign file types (.cvs) to
specific programs. (Tools, folder options, file types I think)

--
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Hiding an Email Address from harvesters

2003-12-18 Thread Brad Roberts
 I don't exactly know, but the harvesters are getting smarter and
 smarter. I did a test page with a standard CFMAIL on it, using a new
 email address I set up for just the test, and I got my first 10 SPAM
 email at that address less than 24 hours later.

Someone correct me if I'm wrong, but if harvesters are able to get email
addresses from your CFMAIL tags, you've got bigger problems than spam!

Since CFMAIL is used on the server side to Send email, the email address is
never displayed in the browser.

-Brad

-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 10:24 AM
To: CF-Talk
Subject: Re: Hiding an Email Address from harvesters

Pete Ruckelshaus wrote:

 How are they able to harvest email addresses from CFMAIL tags?I don't
 understand how this would even be possible if the page is coded properly?

I don't exactly know, but the harvesters are getting smarter and
smarter. I did a test page with a standard CFMAIL on it, using a new
email address I set up for just the test, and I got my first 10 SPAM
email at that address less than 24 hours later.

Believe me, they ARE parsing CFMAIL tags and acquiring the addresses.

Will try another test setting the address in the application file and
see what happens.

--
Les Mizzell
-
“Mihi placent, O Pincerna!
Virent ova! Viret perna!
Dapem posthac non arcebo.
Gratum tibi me praebebo.”
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




SOT: Autofill Remember Password

2003-12-10 Thread Brad Roberts
When I add a remember me checkbox to my login form, IE refuses to prompt
the user to remember the password.Once I remove the checkbox, it works as
expected.

Anyone know of a way to make it prompt the user (while keeping my checkbox)?

Thanks,

Brad
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Solution/suggetion...

2003-12-10 Thread Brad Roberts
Here's how I'd do it (if I understand correctly).

Before the user can get to the employee form (to add a new employee), have
them enter the DOB (SSN may be better if that's part of your data).This
would be one page with one form field.

Once they have entered a DOB, query to look up employees that match.If no
employees exist, go to the New Employee form.If employees do exist,
display them and put the continue button at the bottom.Clicking on the
continue button will simply take them to the New Employee form.

Checking the DOB (or SSN) before they input the other criteria will save
them time if the employee already exists.Otherwise, they've typed in all
of the employee info, only to find out it's already in the database.

Hope this makes sence.

-Brad
-Original Message-
From: Shahzad.Butt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 6:43 AM
To: CF-Talk
Subject: Solution/suggetion...

Hi

I am providing user a form to add new employees in the system. Problem
I am facing is that users are adding same employees twice (as adding is
managed by different departments). Now this adding form
(dsp_addEmployee.cfm) is quite complicated and I dont want to touch it
at all neither do I want to touch its act page (act_addEmployee.cfm)
where its acutally adding looking at loads of different criterias.
Solution we came up with is that check the date of birth in the form as
user submits the form and provide the user with list a of all employees
for that date of birth and a message that checks if the employee already
exist. If h/she does then go somewhere (doesn't matter where), if no
then click on CONTINUE and it will run the act page. This CONTINUE seems
a bit tricky as I can have a new page called
dsp_ShowEmployeesForSameDOB.cfm between dsp_addEmployee.cfm and
act_addEmployee. But on continue that dsp_ShowEmployeesForSameDOB.cfm
needs to carry all form variables (attributes here as i am using FB3). I
cannot store them again in hidden variables as its too complicated and
messy.

So whats the solution for this problem?

Thanks
Shaz
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Ordering a QofQ

2003-11-24 Thread Brad Roberts
I'm building a query dynamically, and then trying to sort it on a numeric
column, but it only wants to sort alphabetically.Anyone experience this,
or know what I need to do to sort numerically?

cfquery name=qResults dbtype=query
	select * from qResults order by hasPhoto DESC, price DESC
/cfquery

-Brad


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




SQL Generators

2003-11-13 Thread Brad Roberts
Anyone know of software (desktop or CF based), that will generate SQL
(select, insert, update, etc.), by simply pointing to an Access database?
Generating cfqueryparam's would be a bonus.

-Brad


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: VB Functions -- Coldfusion?

2003-10-22 Thread Brad Roberts
You could wrap that in a UDF and submit it to cflib.org :)

It would be something like...

cfscript
 function isUpper(str) {
return reFind([[:upper:]], str, 1);
 }
/cfscript

!--- OR, FOR CFMX ---
cffunction name=isUpper output=false returntype=boolean
 cfargument name=str type=string required=true
 cfreturn reFind([[:upper:]], str, 1)
/cffunction

-Brad

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 7:18 AM
To: CF-Talk
Subject: RE: VB Functions -- Coldfusion?

Thanks Mike

BTW, I used ReFind([[:upper:]],strChar) for IsUpper()

-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED]
Sent: 22 October 2003 11:05 am
To: CF-Talk
Subject: RE: VB Functions -- Coldfusion?

Left() = Left()
Mid() = Mid()
IsNumeric() = IsNumeric()
CInt() = Val()
CStr() = toString()
IsUpper() = not sure about this one off hand
InStr() = Find() or FindNoCase()
Left() = Left()

HTH

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 10:57
To: CF-Talk
Subject: VB Functions -- Coldfusion?

Hi all,

New to the list/ColdFusion and need some advice from you chaps. Basically, I
want to convert a some VB to run on ColdFusion and was wondering whether
Coldfusion has an equivalent function to the following VB functions. (I need
to know whether it's worth wasting my time.)

Len() - Returns an integer containing either the number of characters in a
string or the number of bytes required to store a variable
Mid() - Returns a string containing a specified number of characters from a
string
IsNumeric() - Returns a Boolean value indicating whether an _expression_ can
be evaluated as a number.
CInt() - Returns an _expression_ that has been converted to a Variant of
subtype Integer.
CStr() - Returns an _expression_ that has been converted to a Variant of
subtype String
IsUpper() - Indicates whether a Unicode character is categorized as an
uppercase letter.
InStr() - Returns an integer specifying the start position of the first
occurrence of one string within another.
Left() - Returns a string containing a specified number of characters from
the left side of a string.

Any feedback would be very helpful.

Thanks,
Rob

_


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: FTP - 550 Error

2003-10-15 Thread Brad Roberts
Anyone know why I'd get a 550 foldername: The system cannot find the file
specified. error when trying to open a folder via FTP on Windows 2000
Server?

Thanks,

Brad


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: FTP - 550 Error

2003-10-15 Thread Brad Roberts
I've checked the permissions and they look fine.I'm logging in as
administrator, and this particular folder has the same permissions as an
adjacent folder, which I'm able to open without a problem.

I'll check again just to make sure...

-Brad
-Original Message-
From: Dan Phillips (CFXHosting.com) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 9:06 AM
To: CF-Talk
Subject: RE: FTP - 550 Error

550 usually means an error with log on. Check the permissions on the
folder.

-Original Message-
From: Brad Roberts [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 9:03 AM
To: CF-Talk
Subject: OT: FTP - 550 Error

Anyone know why I'd get a 550 foldername: The system cannot find the
file
specified. error when trying to open a folder via FTP on Windows 2000
Server?

Thanks,

Brad

 _


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: FYI

2003-10-07 Thread Brad Roberts
I haven't seen anything about how this affects Netscape, AOL, Opera, etc.
Aren't they infringing on Eola$ patent?

-Brad
-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 1:06 PM
To: CF-Talk
Subject: FYI

http://www.cnn.com/2003/TECH/internet/10/07/microsoft.eolas.ap/index.html

...tony

tony weeg
senior web applications architect
navtrak, inc.
www.navtrak.net
[EMAIL PROTECTED]
410.548.2337


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: FYI

2003-10-07 Thread Brad Roberts
 I suspect targetting MS is a political action

That's exactly what I thought.Seems like developers should be able to sue
for the time it's going to take us to update our code.I'd say our combined
time would cost somewhere in the ballpark of $520 million, give or take.

What a pain in the Eolass!

-Brad
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 3:21 PM
To: CF-Talk
Subject: RE: FYI

Eolas hasn't sued them.Copyrights don't automatically protect the
holder,
they just give the holder the right to sue over infringement.If Eolas
sues
them, they'll very likely lose (like MS) and have to change their
browsers.
However, I suspect targetting MS is a political action, more than a real
concern, so it probably won't happen.

barneyb
 -Original Message-
 From: Brad Roberts [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 07, 2003 12:05 PM
 To: CF-Talk
 Subject: RE: FYI

 I haven't seen anything about how this affects Netscape, AOL, Opera,
etc.
 Aren't they infringing on Eola$ patent?

 -Brad
-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 1:06 PM
To: CF-Talk
Subject: FYI

http://www.cnn.com/2003/TECH/internet/10/07/microsoft.eolas.ap/index.html

...tony

tony weeg
senior web applications architect
navtrak, inc.
www.navtrak.net
[EMAIL PROTECTED]
410.548.2337


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: Freelance Sites

2003-10-01 Thread Brad Roberts
Anyone have suggestions on freelance sites (like rentacoder.com)?I need a
few websites designed, and didn't have much luck with rentacoder.

If you've worked with someone who does nice design work (for a reasonable
price), please send me their username and what site they're on (or how to
get a hold of them).

Thanks,

Brad


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Breadcrumbs in Cold Fusion

2003-10-01 Thread Brad Roberts
For a tree view, I built a tag based off of Piet Niederhausen's
cf_traverseTree, which uses Joe Celko's algorithim from his book SQL for
Smarties.
http://www.niederhausen.net/piet/dev/customtags/index.htmlThe code is a
lot simpler... it took me hours to figure it out.And, instead of taking a
query, it takes a stucture.You can still use a query, you just have to
convert it to a structure... I think there's a UDF on cflib.org for this.
Or, you could re-code it to take a query.

For breadcrumbs, I built a UDF that takes a scruct of your pages with
parent/child relationships.The UDF traverses the structure and returns an
array with the pages in order.Then, you can loop over the array and format
your links however you wish.

I use these two tags together in my CMS and they work great.

If anyone's interested, send me an email...

-Brad
-Original Message-
From: Bushy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 9:19 AM
To: CF-Talk
Subject: Re: Breadcrumbs in Cold Fusion


What about a nice treeview display similar to Microsoft Explorer?

--Original Message Text---
From: Randell B Adkins
Date: Wed, 01 Oct 2003 06:56:43 -0400

What I do is have a CutomTag (BCMenu.cfm).
When needed I call the CustomTag passing 3 parameters:

CF_BCMenu
ItemName=First Link, Second Link, Third Link
ItemLink=aaa.cfm,bbb.cfm,ccc.cfm
ActiveItem=This Page Name

The Custom Tag writes out:
cfloop index=i from=1 to=#ListLen(ATTRIBUTES.ItemName)#
cfoutput
a

href="">
Name,i)#/strong/a

img
src="">
/cfoutput
/cfloop
!--- Output the current page title ---
cfoutput#ATTRIBUTES.ActiveItem#/cfoutput


 [EMAIL PROTECTED] 10/01/03 06:43AM 
Good Day,

Does anyone have any code for breadcrumbs in Cold Fusion.

If so and possible may I have a sample of that code.I would like to
use breadcrumbs with Cold Fusion in my site.

Thank you.

Deetra Whatley


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Breadcrumbs in Cold Fusion

2003-10-01 Thread Brad Roberts
I've posted an example and download here:
http://www.agentvow.com/traverseTree/

Let me know if you have any thoughts or improvements.

-Brad
-Original Message-
From: Deetra Whatley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 1:07 PM
To: CF-Talk
Subject: Re:Breadcrumbs in Cold Fusion


Hi Brad Roberts,

I am interested in your two tags for breadcrumbs.

If possible, I would like to have them.

Thanks.

Deetra Whatley
[EMAIL PROTECTED]

For a tree view, I built a tag based off of Piet Niederhausen's
cf_traverseTree, which uses Joe Celko's algorithim from his book SQL for
Smarties.
http://www.niederhausen.net/piet/dev/customtags/index.htmlThe code is a
lot simpler... it took me hours to figure it out.And, instead of taking
a
query, it takes a stucture.You can still use a query, you just have to
convert it to a structure... I think there's a UDF on cflib.org for this.
Or, you could re-code it to take a query.

For breadcrumbs, I built a UDF that takes a scruct of your pages with
parent/child relationships.The UDF traverses the structure and returns
an
array with the pages in order.Then, you can loop over the array and
format
your links however you wish.

I use these two tags together in my CMS and they work great.

If anyone's interested, send me an email...

-Brad
-Original Message-
From: Bushy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 9:19 AM
To: CF-Talk
Subject: Re: Breadcrumbs in Cold Fusion


What about a nice treeview display similar to Microsoft Explorer?

--Original Message Text---
From: Randell B Adkins
Date: Wed, 01 Oct 2003 06:56:43 -0400

What I do is have a CutomTag (BCMenu.cfm).
When needed I call the CustomTag passing 3 parameters:

CF_BCMenu
ItemName=First Link, Second Link, Third Link
ItemLink=aaa.cfm,bbb.cfm,ccc.cfm
ActiveItem=This Page Name

The Custom Tag writes out:
cfloop index=i from=1 to=#ListLen(ATTRIBUTES.ItemName)#
cfoutput
a


href="">
m
Name,i)#/strong/a

img
src="">
/cfoutput
/cfloop
!--- Output the current page title ---
cfoutput#ATTRIBUTES.ActiveItem#/cfoutput


 [EMAIL PROTECTED] 10/01/03 06:43AM 
Good Day,

Does anyone have any code for breadcrumbs in Cold Fusion.

If so and possible may I have a sample of that code.I would like to
use breadcrumbs with Cold Fusion in my site.

Thank you.

Deetra Whatley



 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Previous/Next with Files

2003-09-23 Thread Brad Roberts
I like Jamie's method and think it's probably the best, but I thought I'd
just throw another idea into the mix.  I wrote a couple of (untested) UDF's
that will recursively look for the previous/next file until it finds it.
The "safetyCounter" is there to avoid an endless loop, so you can adjust the
number as you see fit.

Just a thought.

-Brad


function getPreviousFile(fileDir,fileID) {
	var newID = fileID - 1;
	var filePath = fileDir & '\' & newID & '.cfm');

	var safetyCounter = 1;
	if (arrayLen(arguments GTE 3)) { safetyCounter = arguments[3] + 1;
	if (safetyCounter GTE 20) { return ""; }

	if (fileExists(filePath)) {
		return newID;
	} else {
		return getPreviousFile(fileDir, newID, safetyCounter);
	}
}

function getNextFile(fileDir,fileID) {
	var newID = fileID + 1;
	var filePath = fileDir & '\' & newID & '.cfm');

	var safetyCounter = 1;
	if (arrayLen(arguments GTE 3)) { safetyCounter = arguments[3] + 1;
	if (safetyCounter GTE 20) { return ""; }

	if (fileExists(filePath)) {
		return newID;
	} else {
		return getNextFile(fileDir, newID, safetyCounter);
	}
}


-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2003 4:02 PM
To: CF-Talk
Subject: Previous/Next with Files


I have a directory that can have a small amount or possibly a large amount
of files (3,000) files.

Here would be an excerpt of the directory:

10330.cfm
10331.cfm
10336.cfm
10440.cfm
10441.cfm
10442.cfm
10445.cfm etc..

If someone is looking at 10440.cfm, I would like to have two links a link to
10336.cfm (previous) and a link to 10441.cfm (next).

I could do a CFdirectory and populate a list with all the file names and
then look to the before and after the selected file for the next/previous,
but that seems alittle intensive.

Does anyone have any suggestions on the most efficient way to get
next/previous files?

Any help would be appreciated!

Paul Giesenhagen
QuillDesign




~|
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



DNS, IIS Tags?

2003-09-17 Thread Brad Roberts
Anyone know of a tag that will create DNS records in Windows DNS, or a tag
that will create websites in IIS 5?  Using Win2K Server, IIS 5,  CF 6.1.

Thanks,

Brad


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137405
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


RE: DNS, IIS Tags?

2003-09-17 Thread Brad Roberts
Thanks everyone!  I'm off to check out your suggestions

Brad

-Original Message-
From: jon hall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 7:00 PM
To: CF-Talk
Subject: Re: DNS, IIS Tags?


http://www.intrafoundation.com/ihtk.asp

Doesn't do DNS, but there is a free DNS COM object floating around, as
well as some command line scripts that MS gives away to manage dns.
I had a few issues with it in the past, but it's been a while, and it
could have been my fault.

Personally I'd go with straight ADSI stuff using scripts, VB, .Net, or
whatever else floats your boat, and not worrying about using CF except
to run whatever scripts/executable are needed. I can say that .Net
makes working with ADSI much less painful, and it's guaranteed (as
guaranteed as anything MS) to be supported in future versions of
Windows...

--
 jon
 mailto:[EMAIL PROTECTED]

Wednesday, September 17, 2003, 6:29:36 PM, you wrote:
BR Anyone know of a tag that will create DNS records in Windows DNS, or a
tag
BR that will create websites in IIS 5?  Using Win2K Server, IIS 5,  CF
6.1.

BR Thanks,

BR Brad


BR

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137427
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


RE: XML Question

2003-09-11 Thread Brad Roberts
Cool!  I'd love to be able to take advantage of these methods, but I don't
know squat about Java.

So, how do you call these methods from within CF?  Any examples you can
point me to?

-Brad

-Original Message-
From: Joe Eugene [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 12:02 AM
To: CF-Talk
Subject: RE: XML Question


 Get the children of an element, easy... get the parent of an
 element, I have
 no clue...

CFMX allows basic xml parsing in the simplest form(i.e array and structs)
If you are trying to accomlish XML Parsing in the Popular or Best ways..
I suggest you use XML DOM Parsing with Java.

You have alot functions like

getParentNode(), getChildNode etc to accomplish tasks easier..
Here is some documentation on XML Node
http://java.sun.com/j2se/1.4.1/docs/api/org/w3c/dom/Node.html

Joe Eugene


 -Original Message-
 From: Brad Roberts [mailto:[EMAIL PROTECTED]
 Sent: Thursday, September 11, 2003 1:29 AM
 To: CF-Talk
 Subject: RE: XML Question


 Let me re-ask my question...

 What's the best way to insert a child element under page
 id=2, when you
 don't know where it's at in the XML doc?  All you know is that it has an
 attribute id and the value is 2.

 Another thought (along the same lines), if you wanted to show the
 ancestors
 of a specific element, how would this be accomplished?  An
 example would be
 displaying breadcrumbs.  Again, all you would know is the page
 id.  Would
 this require a recursive udf/tag?  And if so, how do you get the parent
 element of a given element.  I can't find this anywhere in the docs (or
 web).

 Get the children of an element, easy... get the parent of an
 element, I have
 no clue...

 Thanks,

 Brad

 -Original Message-
 From: Joe Eugene [mailto:[EMAIL PROTECTED]
 Sent: Thursday, September 11, 2003 12:28 AM
 To: CF-Talk
 Subject: RE: XML Question


 Do an xml search for the attribute with XPath..
 xmlSearch(xmlDocObject, Pages/[EMAIL PROTECTED]'2']);

 Or Iterate through the node to find id=2

 Joe Eugene


  -Original Message-
  From: Brad Roberts [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, September 10, 2003 8:15 PM
  To: CF-Talk
  Subject: XML Question
 
 
  Give the following XML, how can I get the full path to a given element?
 
  pages
page id=1 name=Home Page
  page id=2 name=Products
page id=5 name=ColdFusion/
page id=6 name=Dreamweaver/
page id=7 name=Flash/
  /page
  page id=3 name=Support
page id=4 name=FAQ/
  /page
/page
  /pages
 
  Let's say I want to add a child element under page 2, but I don't know
  where 2 falls in the xml object.  All I know is I want to insert a child
  under the page with ID 2.
 
  Any ideas?
 
  Thanks,
 
  Brad
 
 
 



~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


RE: [OT] ShittyCode.Com (Launched new site last night, feedback p lease!)

2003-09-10 Thread Brad Roberts
Is PoopyCode.com available?

-Brad

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 3:33 PM
To: CF-Talk
Subject: RE: [OT] ShittyCode.Com (Launched new site last night, feedback
p lease!)


I like the concept allot.  In addition to the earlier comments, I would add
the name, while very descriptive, appropriate and amusing, could cause
troubles for those of us who work in highly monitored/politically correct
work places.  It's may not be a very Work Safe name.

If this is a concern to you, you may consider something along the lines of
Spaghetti Code if that's available (maybe have both domains running the
same application.

Just a suggestion.

Another one that could be fun is some kind of ranking of the aggrieve of the
bad code?

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA


-Original Message-
From: Pablo Varando [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 11:44 AM
To: CF-Talk
Subject: [OT] ShittyCode.Com (Launched new site last night, feedback
please!)


Last night, I launched a new site, it can be seen at:

http://www.shittycode.com

I wanted to see if I could get some feedback on the site, the concept, and
maybe even the name! :)

Thanks,
Pablo Varando
http://www.easycfm.com



~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


XML Question

2003-09-10 Thread Brad Roberts
Give the following XML, how can I get the full path to a given element?

pages
  page id=1 name=Home Page
page id=2 name=Products
  page id=5 name=ColdFusion/
  page id=6 name=Dreamweaver/
  page id=7 name=Flash/
/page
page id=3 name=Support
  page id=4 name=FAQ/
/page
  /page
/pages

Let's say I want to add a child element under page 2, but I don't know
where 2 falls in the xml object.  All I know is I want to insert a child
under the page with ID 2.

Any ideas?

Thanks,

Brad


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


RE: XML Question

2003-09-10 Thread Brad Roberts
Let me re-ask my question...

What's the best way to insert a child element under page id=2, when you
don't know where it's at in the XML doc?  All you know is that it has an
attribute id and the value is 2.

Another thought (along the same lines), if you wanted to show the ancestors
of a specific element, how would this be accomplished?  An example would be
displaying breadcrumbs.  Again, all you would know is the page id.  Would
this require a recursive udf/tag?  And if so, how do you get the parent
element of a given element.  I can't find this anywhere in the docs (or
web).

Get the children of an element, easy... get the parent of an element, I have
no clue...

Thanks,

Brad

-Original Message-
From: Joe Eugene [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 12:28 AM
To: CF-Talk
Subject: RE: XML Question


Do an xml search for the attribute with XPath..
xmlSearch(xmlDocObject, Pages/[EMAIL PROTECTED]'2']);

Or Iterate through the node to find id=2

Joe Eugene


 -Original Message-
 From: Brad Roberts [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 10, 2003 8:15 PM
 To: CF-Talk
 Subject: XML Question


 Give the following XML, how can I get the full path to a given element?

 pages
   page id=1 name=Home Page
 page id=2 name=Products
   page id=5 name=ColdFusion/
   page id=6 name=Dreamweaver/
   page id=7 name=Flash/
 /page
 page id=3 name=Support
   page id=4 name=FAQ/
 /page
   /page
 /pages

 Let's say I want to add a child element under page 2, but I don't know
 where 2 falls in the xml object.  All I know is I want to insert a child
 under the page with ID 2.

 Any ideas?

 Thanks,

 Brad




~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Using Session Vars

2003-09-09 Thread Brad Roberts
How do you handle someone changing their cfid/cftoken/jsessionid in the URL?
I'm building an app and tried changing the jsessionid, then refreshing the
page.  I get an error for undefined session variables.

Any suggestions?

Thanks,

Brad


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


RE: Using Session Vars

2003-09-09 Thread Brad Roberts
To maintain state, in case cookies are disabled.

-Original Message-
From: Mike Brunt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 09, 2003 9:24 PM
To: CF-Talk
Subject: RE: Using Session Vars


Brad, can I ask why you are passing them in the URL string?

Kind Regards - Mike Brunt

Original Message ---
How do you handle someone changing their cfid/cftoken/jsessionid in the URL?
I'm building an app and tried changing the jsessionid, then refreshing the
page.  I get an error for undefined session variables.

Any suggestions?

Thanks,

Brad




~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Java Include

2003-09-05 Thread Brad Roberts
I saw a website the other day that told how to include a file and CF not
parse the file.  Anyone know what site I'm talking about, or know how to do
it?

Thanks,

Brad


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


RE: Java Include

2003-09-05 Thread Brad Roberts
Thanks, Ray!

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 10:29 AM
To: CF-Talk
Subject: RE: Java Include


http://devilm.com/

Second entry - from August 22.


===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda

 -Original Message-
 From: Brad Roberts [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 05, 2003 8:23 AM
 To: CF-Talk
 Subject: Java Include


 I saw a website the other day that told how to include a file
 and CF not parse the file.  Anyone know what site I'm talking
 about, or know how to do it?

 Thanks,



~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


urlSessionFormat

2003-09-03 Thread Brad Roberts
Sorry... Outlook interpreted enter as send message NOW!

Why would I get the following:

index.cfm;jsessionid=d0301063761062624168989

Where would the ; be coming from?  The code is simply:

cfoutput#urlSessionFormat(index.cfm)#/cfoutput

-Brad

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


RE: urlSessionFormat

2003-09-03 Thread Brad Roberts
Nevermind... I found out it's correct, but throws a 404 in IIS.

-Brad

-Original Message-
From: Brad Roberts [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 5:27 PM
To: CF-Talk
Subject: urlSessionFormat


Sorry... Outlook interpreted enter as send message NOW!

Why would I get the following:

index.cfm;jsessionid=d0301063761062624168989

Where would the ; be coming from?  The code is simply:

cfoutput#urlSessionFormat(index.cfm)#/cfoutput

-Brad


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


OT: Blank Emails

2003-08-30 Thread Brad Roberts
Anyone else getting blank emails (no from,to,subject,body,etc.) from the
list?  Anyone getting them outside the list?

Just wondering if my mail server is burping, or if this is just part of
SoBig...

-Brad


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


RE: Hosting Solutions

2003-08-29 Thread Brad Roberts
I second that... HostMySite.com has awesome support.  I don't think they
have an automated phone system, because you get a (knowledgeable) live
person every time!  Even at 3am!

-Brad

-Original Message-
From: Ben Densmore [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 12:31 PM
To: CF-Talk
Subject: Re: Hosting Solutions


I've been using hostmysite.com for a while now and have had great
experiences with them. Anytime I have needed support and sent an email, I
get an answer within 10 minutes. They have good prices also.

Ben
- Original Message -
From: Les Mizzell [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, August 29, 2003 12:10 PM
Subject: Hosting Solutions


 Afternoon,

 I know this has been discussed a thousand times before, but like CF
itself,
 it's dynamic and keeps changing...

 Up until now I've been very happy with the small local company that I've
 used for my hosting needs. Great service, great support, including the
cell
 phone number of the main guy to get stuff fixed quick and in the middle of
 the night.  However, they were bought out a few months ago by another
 company. The tech/support staff bolted at the new pay scale and cut back
 benefits. Service now sucks. Email is on and off almost every day, and in
 the last three weeks there's been over 20 hours worth of outages, costing
 myself and my clients way more time and money than we can afford to keep
 wastingand it doesn't look like it's going to improve.

 So, it's time to move.

 Guess I'm looking for a good STABLE national company, decent rates
(doesn't
 have to be cut rate, but not overly expensive either), would like 24/7
 support or at least responsive support, CFMX, SQL Serverblah, blah,
 blah



 So, recommendations?  Whom to look at, whom to avoid!!??



 Thanks so much

 Les



~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


RE: PayPal integration

2003-08-27 Thread Brad Roberts
http://tutorial23.easycfm.com/

Then only thing I ran into is that the following lines of code are NOT
needed:

CFIF IsDefined(FORM.payment_date)
CFSET str = str 
payment_date=#URLEncodedFormat(Form.payment_date)#
/CFIF
CFIF IsDefined(FORM.subscr_date)
CFSET str = str  subscr_date=#URLEncodedFormat(Form.subscr_date)#
/CFIF

Unless you're going to add a cfelse..Throw an error../cfif to the two
cfif's above, they're just redundant, and may add these form variables
TWICE to your query string which may give unexpected results.

-Brad

-Original Message-
From: Dan O'Keefe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 7:31 AM
To: CF-Talk
Subject: RE: PayPal integration


I think it was easycfm.com.

Dan
=== Previous Message Below ===


-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 1:16 AM
To: CF-Talk
Subject: RE: PayPal integration


Look into paypal IPN.  It still isn't perfect, but its more integrated
than the options you describe.

Gads... Where was that Paypal/CF IPN tutorial again?


 Matt Robertson   [EMAIL PROTECTED]
 MSB Designs, Inc.  http://mysecretbase.com


-Original Message-
From: Ryan Stille [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 8:43 PM
To: CF-Talk
Subject: PayPal integration


Slightly off topic:

I am looking at adding PayPal as a payment option to a ColdFusion
shopping cart we wrote.  As far as I can tell, you can't integrate it
very tightly.  I see two ways:

1) Buy Now Button Method: allows a user to jump from a product detail
page to the PayPal checkout form.  Only allows one item to be purchased
at a time.   Bypasses all our checkout pages including shipping and tax
calculation.

2) Shopping Cart Method:  offers Add To Cart buttons on each product
page.  Clicking this button opens a new window with a PayPal shopping
cart in it.  Allows more than one item to be purchased at a time.
Bypasses all our checkout pages including shipping and tax calculation.


Am I understanding this right?  Is there any other way to do it?  If we
add this feature as an option, when orders are placed using PayPal they
wouldn't be in our system because we have no way of knowing if the order
went through, or if the user changed quantities, etc.

Thanks for any input.
-Ryan




~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Caching CFCs... again

2003-08-27 Thread Brad Roberts
I posted earlier, but I'm still trying to figure this out (sorta new to
CFCs)...

My CFC is over 1200 lines of code.  I can't put it into server or
application scope because if the CFC is executed by simultaneous requests, a
second call to the CFC might overwrite data in the first call.  How might
cflock come into play?

The only thing I think I'm left with is the session scope, but it seems like
I'd get better performance by just not caching it.

Thoughts?

I hope this makes sense... like I said, I'm just getting into CFCs and lots
of questions are racing around in my head.


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


RE: cfinclude from within CFML tag

2003-08-26 Thread Brad Roberts
Can you not just create a mapping to the directory where your HTML files
live?

Then, in your custom tag: cfinclude template=/myMapping/theHtmlFile.html

-Brad

-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 6:42 PM
To: CF-Talk
Subject: Re: cfinclude from within CFML tag


- Original Message -
From: Gyrus [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, August 25, 2003 4:07 PM
Subject: Re: cfinclude from within CFML tag


 At 14:21 25/08/2003 -0600, you wrote:
 How do you cfinclude a file from within a custom tag?  I've got a group
of
 cftags that all want to cfinclude an html file in the same directory.
The
 directory with the tags is a subdirectory of a custom tag directory set
up
in
 the CF Administrator.
 
 One thing I suppose I could do is rename the file with a CF extension and
then
 call it as a CF tag.  And I believe I could do it by mapping the
directory
in
 the Administrator.  Was wondering if there was another way.

 CFINCLUDE works fine inside custom tags. Are you not able to grab files
 from the web root when your tag is inside the CF installation? Why not
keep
 CF tags inside the web root and call them with CFMODULE? Not sure I'm
 grasping the problem though...

The tags are shared by a number of web sites.  I want to be able have
multiple
tags cfinclude an html file that sits in the same directory as the tags.  If
it
can be done.


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


RE: convert to upper or lowercase?

2003-08-26 Thread Brad Roberts
cfset form.state = uCase(form.state)

-Brad

-Original Message-
From: Troy Montour [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 11:57 PM
To: CF-Talk
Subject: convert to upper or lowercase?


Hello,
trying to detect what a person submitted and want to make sure I catch
all variations and I totally blanked on what the tag is for converting the
text to upper or lowercase.

example someone types in cA I want to catch it as CA or ca cause its the
same thing.

Thanks in Advance
Troy


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


RE: Forcing a List to a Specific Length

2003-08-26 Thread Brad Roberts
May be a more elegant way, but

!--- DEFINE LIST ---
cfset myList = Bugs|Daffy|Elmer|Tweety|Sylvester|Marvin|Road Runner|Wile
E.|Porky|Granny|Pepe|Taz

!--- CONVERT LIST TO ARRAY ---
cfset myArray = listToArray(myList, |)

!--- IF UNDER 10 ELEMENTS, ADD TO IT ---
cfif arrayLen(myArray) LT 10
cfset myArray[10] = 
!--- IF OVER 10 ELEMENTS, SUBTRACT FROM IT ---
cfelseif arrayLen(myArray) GTE 11
cfloop from=#arrayLen(myArray)# to=11 step=-1 index=i
cfset arrayDeleteAt(myArray, i)
/cfloop
/cfif

!--- CONVERT ARRAY BACK TO LIST ---
cfset myList = arrayToList(myArray, |)


-Brad

-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 10:36 PM
To: CF-Talk
Subject: RE: Forcing a List to a Specific Length


:: Why not use an array instead?

Because the Flash guy I'm working with said he needed this information in a
list??


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


CFC's Shared Scopes

2003-08-26 Thread Brad Roberts
If I cache a CFC in the Server scope, then copy it to a local scope (to
avoid locking), is there any performance gain?  Or, should I forget the
Server scope all together?

I've got a CFC that will be shared across multiple sites... how do you guys
normally handle this?... put it in a shared scope? make it available as
a webservice?... just curious.


-Brad


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


MX Tag Updater

2003-08-25 Thread Brad Roberts
The ones on Macromedia's site do not have the new CFMX TagDefs.  I've
downloaded them before, but can't find them.  Anyone know where I can get
them?

-Brad


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


RE: MX Tag Updater

2003-08-25 Thread Brad Roberts
Unless I'm totally missing something, here's what I see...

- HomesiteTags.zip DOES NOT have TagDefs for CFMX tags

- HomeSiteExtensions.zip has NO TagDefs whatsoever

I'm I overlooking something obvious?

-Brad

-Original Message-
From: Todd Rafferty [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 10:25 AM
To: CF-Talk
Subject: Re: MX Tag Updater


http://www.macromedia.com/software/coldfusion/downloads/

At 10:23 AM 8/25/2003, you wrote:
The ones on Macromedia's site do not have the new CFMX TagDefs.  I've
downloaded them before, but can't find them.  Anyone know where I can get
them?

-Brad


--
Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/
Team Macromedia Volunteer for ColdFusion
http://www.macromedia.com/support/forums/team_macromedia/
http://www.devmx.com/

--


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


RE: XML shopping cart?

2003-08-25 Thread Brad Roberts
Here's a good article:
http://www.macromedia.com/devnet/mx/coldfusion/articles/xmlxslt.pdf

-Brad

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 12:30 PM
To: CF-Talk
Subject: XML shopping cart?


I have just started to get my feet wet with XML and CF.

I thought I would play with the idea of converting my current shopping
basket code so it would store all of the items in an XML structure that
is stored in a session variable.

I have figured out how to create the XML structure and search the
structure for the items with XmlSearch().

My question is how do I delete XML nodes from the structure?  Like when
someone wants to remove an item from their shopping basket.

Also how do you append new nodes to the XML structure?  I am assuming
you use XmlElemNew() but I have not tried it yet.

Also how do you edit the XML structure?  Like when a person updates the
quantity of a product.

Thanks,
Chad


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


RE: IIS Disappeared

2003-08-16 Thread Brad Roberts
RPC?  I'm not sure.  How would I know?

Thanks for your help.

-Brad

 -Original Message-
 From: Dave Watts [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 15, 2003 4:59 PM
 To: CF-Talk
 Subject: RE: IIS Disappeared
 
 
  All of the sudden, IIS doesn't show up in my console. When I 
  click on Services and Applications, I get a message, No 
  Administerable Services Found.
  
  Anyone have any idea what would've caused this? I'm using 
  Win2k Pro.
 
 Is RPC broken on your machine? Was it infected with the latest worm? That
 might cause you to see something like this.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 voice: (202) 797-5496
 fax: (202) 797-5444
 
 
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


IIS Disappeared

2003-08-15 Thread Brad Roberts
All of the sudden, IIS doesn't show up in my console.  When I click on
Services and Applications, I get a message, No Administerable Services
Found.

Anyone have any idea what would've caused this?  I'm using Win2k Pro.

-Brad


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


RE: XML Best Practices - Resources

2003-08-14 Thread Brad Roberts
Just because I like a certain format, doesn't mean it's the best way to do
it.

A good analogy is how data is stored in a database.  Sure, I can store a
persons full name in one field of my db, but it's better to store first,
middle, and last names separately.

So, I'm wondering if there are Best Practices when storing certain types
of info (credit cards, phone numbers, currency, etc.) in XML.

-Brad

 -Original Message-
 From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 13, 2003 3:17 PM
 To: CF-Talk
 Subject: RE: XML Best Practices - Resources


 Since XML is extensible it's up to you to create a format that you like.
 Whatever is easiest for you as long as you stick to the rules of XML. To
 learn more about the rules of XML. Check out the W3C site or
 http://www.w3schools.com/ for an overview.

 -Original Message-
 From: Brad Roberts [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 13, 2003 3:09 PM
 To: CF-Talk
 Subject: XML Best Practices - Resources


 What's the best way to store phone numbers in XML?

 phone1234567890/phone
  or maybe...
 phone title=Main number=1234567890 ext=10 type=Mobile/

 Is there a standard?  Best practice?

 Does anyone know of resources that would include best practices like this,
 with examples (not just for phone numbers)?

 -Brad



 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XML Best Practices - Resources

2003-08-14 Thread Brad Roberts
Can you elaborate on why?  I've not done any xslt transformations.  Is it
because of the way you have to reference attributes?

-Brad

 -Original Message-
 From: Tony Weeg [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 13, 2003 3:32 PM
 To: CF-Talk
 Subject: RE: XML Best Practices - Resources


 I know that when I had to use xslt to display some xml
 that this was easier to show

 phone type=home
   country??/country
   citycodecitycode
   area916/area
   exchange338/exchange
   number1234/number
   extension34/extionsion
 /phone

 in html format (parsed through xslt) than it was to pick these out...

 phone title=Main number=1234567890 ext=10 type=Mobile/

 just my travels.


 tony weeg
 uncertified advanced cold fusion developer
 tony at navtrak dot net
 www.navtrak.net
 office 410.548.2337
 fax 410.860.2337


 -Original Message-
 From: Ian Skinner [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 13, 2003 3:22 PM
 To: CF-Talk
 Subject: RE: XML Best Practices - Resources


 Or you could do this
 phone type=home
   country??/country
   citycodecitycode
   area916/area
   exchange338/exchange
   number1234/number
   extension34/extionsion
 /phone

 I'm not sure about best practices... but I do remember from my XML
 studies, it depends on what your needs are, and designing the XML
 document is the real challenge/art.  Parsing it afterwards is easy.

 --
 Ian Skinner
 Web Programmer
 BloodSource
 Sacramento, CA


 -Original Message-
 From: Brad Roberts [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 13, 2003 12:09 PM
 To: CF-Talk
 Subject: XML Best Practices - Resources


 What's the best way to store phone numbers in XML?

 phone1234567890/phone
  or maybe...
 phone title=Main number=1234567890 ext=10 type=Mobile/

 Is there a standard?  Best practice?

 Does anyone know of resources that would include best practices like
 this, with examples (not just for phone numbers)?

 -Brad




 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XML Best Practices - Resources

2003-08-14 Thread Brad Roberts
Thanks, Jon.  This is right along the lines of what I'm looking for.

Anyone know of more resources like this one?

-Brad

 -Original Message-
 From: jon hall [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 13, 2003 3:29 PM
 To: CF-Talk
 Subject: Re: XML Best Practices - Resources


 When I have these questions, I usually check what ebXML says about it.

 http://www.ebxml.org/specs/ebrim2.pdf
 Click on Class TelephoneNumber in the Bookmarks.


 If only there was a similar object/method naming standard, I'd be a
 happy man.

 --
  jon
  mailto:[EMAIL PROTECTED]

 Wednesday, August 13, 2003, 3:08:49 PM, you wrote:
 BR What's the best way to store phone numbers in XML?

 BR phone1234567890/phone
 BR  or maybe...
 BR phone title=Main number=1234567890 ext=10 type=Mobile/

 BR Is there a standard?  Best practice?

 BR Does anyone know of resources that would include best
 practices like this,
 BR with examples (not just for phone numbers)?

 BR -Brad


 BR
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



XML Menu Breadcrumbs

2003-08-14 Thread Brad Roberts
In Ben Forta's article on XML (building a XML menu), he shows how to
generate a site map, but is there a way to generate breadcrumbs?

I'd like to end up with an array like this:

crumbs[1][1] = index.cfm;
crumbs[1][2] = Home Page;

crumbs[2][1] = /products;
crumbs[2][2] = Products;

crumbs[3][1] = /products/cf;
crumbs[3][2] = ColdFusion;

Example XML:

menu
  item text=Home link=/index.cfm
item text=Products link=/products
  item text=JRun link=/products/jrun.cfm/
  item text=ColdFusion link=/products/cf
item text=ColdFusion Professional link=/products/cf/cfpro.cfm/
item text=ColdFusion Enterprise link=/products/cf/cfent.cfm/
item text=ColdFusion for J2EE link=/products/cf/cfj2ee.cfm/
  /item
  item text=Flash link=/products/flash.cfm/
  item text=Dreamweaver link=/products/dw.cfm/
/item
item text=Search link=/search.cfm/
item text=Login link=/login.cfm/
  /item
/menu

--

Thanks,

Brad


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



XML Best Practices - Resources

2003-08-14 Thread Brad Roberts
What's the best way to store phone numbers in XML?

phone1234567890/phone
 or maybe...
phone title=Main number=1234567890 ext=10 type=Mobile/

Is there a standard?  Best practice?

Does anyone know of resources that would include best practices like this,
with examples (not just for phone numbers)?

-Brad


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Benorama.com

2003-08-14 Thread Brad Roberts
Anyone know if the site will be up soon?  Is there another way to get to the
site?

-Brad


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Benorama.com

2003-08-06 Thread Brad Roberts
That's what I've been using... but I can't get to some of the pages, not to
mention the lack of images, styles, etc.

-Brad

 -Original Message-
 From: Jim Campbell [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 06, 2003 9:46 AM
 To: CF-Talk
 Subject: Re: Benorama.com


 Google cache?

 - Jim

 Brad Roberts wrote:

 Anyone know if the site will be up soon?  Is there another way
 to get to the
 site?
 
 -Brad
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Preserve collection order

2003-07-31 Thread Brad Roberts
Hard code the list of struct keys... putting it into the structure itself
might help you remember to update the list when you add a key to the struct.


cfset instance[orderedKeyList] =
id,manufacturer_name,name,parttype_name,status_name

cfoutput
 cfloop list=#instance.orderedKeyList# index=i
  #instance[i].heading# - #instance[i].size# br /
 /cfloop
/cfoutput


-Brad

 -Original Message-
 From: Suyer, Ed [PRD Non-JJ] [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 31, 2003 10:55 AM
 To: CF-Talk
 Subject: Preserve collection order


 Hi folks,

 Does anyone know of a way to preserve the order of keys in a structure so
 that it matches the order in which it was created?

 i.e.

 I created a structure that looks like so:

 instance structNew();

 instance[id] = structNew();
 instance[id].heading = Id;
 instance[id].size = 50;

 instance[manufacturer_name] = structNew();
 instance[manufacturer_name].heading = MFG;
 instance[manufacturer_name].size = 200;

 instance[name] = structNew();
 instance[name].heading = Name;
 instance[name].size = 100;

 instance[parttype_name] = structNew();
 instance[parttype_name].heading = Part Type;
 instance[parttype_name].size = 100;

 instance[status_name] = structNew();
 instance[status_name].heading = Status;
 instance[status_name].size = 100;

 When I cfloop through it ( i.e. for ( field in instance ) {} ), I would
 expect it to find the id field first, then manufacturer_name,
 and so on
 and so fourth in the order in which the structure was created.  Instead it
 loops through in this order:
 name,id,parttype_name,manufacturer_name,status_name

 I figured I'd try to trick it by doing a structKeyList() then cflooping
 through that, but it returns the same thing:
 name,id,parttype_name,manufacturer_name,status_name

 Does anyone know of a way to cfloop through this structure in the order in
 which it was created:
 id,manufacturer_name,name,parttype_name,status_name ?

 TIA!


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Hiding Javascript Source

2003-07-30 Thread Brad Roberts
See what you guys think... any comments appreciated.

http://www.becomenew.com/jsGuard/

-Brad

 -Original Message-
 From: Peter Harrison [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 30, 2003 3:26 AM
 To: CF-Talk
 Subject: RE: Hiding Javascript Source


 Yes, Brad, I'd like to see your hiding technique please.

 Of course, we know it's just reversable obfuscation or making it
 a _little_
 more work to find.

 Also, have you seen this:
 http://www.jimworld.com/tools/javascript-encrypt/

 It obfuscates the JavaScript code, but the trick to decrypting
 the whole lot
 is the document.write at the end of the code that is generated. If you can
 document.write it, you can also output it so you can copy it.
 Fun fun fun.

 - Peter

 -Original Message-
 From: Kwang Suh [mailto:[EMAIL PROTECTED]
 Sent: 30 July 2003 06:36
 To: CF-Talk
 Subject: Re: Hiding Javascript Source


 If it's on my computer, I can get at it.

 - Original Message -
 From: Brad Roberts [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, July 29, 2003 8:04 PM
 Subject: SOT: Hiding Javascript Source


  I think I've found a way to hide Javascript source.  Has anyone
 done this
  yet?  I'll post an example if anyone is interested.
 
  -Brad
 
 
 

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Brad Roberts
Just wanted to change the subject so you wouldn't think it's another you
can't do it message.

http://www.becomenew.com/jsGuard/

-Brad

 -Original Message-
 From: Brad Roberts [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 30, 2003 7:32 AM
 To: CF-Talk
 Subject: RE: Hiding Javascript Source


 See what you guys think... any comments appreciated.

 http://www.becomenew.com/jsGuard/

 -Brad

  -Original Message-
  From: Peter Harrison [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, July 30, 2003 3:26 AM
  To: CF-Talk
  Subject: RE: Hiding Javascript Source
 
 
  Yes, Brad, I'd like to see your hiding technique please.
 
  Of course, we know it's just reversable obfuscation or making it
  a _little_
  more work to find.
 
  Also, have you seen this:
  http://www.jimworld.com/tools/javascript-encrypt/
 
  It obfuscates the JavaScript code, but the trick to decrypting
  the whole lot
  is the document.write at the end of the code that is generated.
 If you can
  document.write it, you can also output it so you can copy it.
  Fun fun fun.
 
  - Peter
 
  -Original Message-
  From: Kwang Suh [mailto:[EMAIL PROTECTED]
  Sent: 30 July 2003 06:36
  To: CF-Talk
  Subject: Re: Hiding Javascript Source
 
 
  If it's on my computer, I can get at it.
 
  - Original Message -
  From: Brad Roberts [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Tuesday, July 29, 2003 8:04 PM
  Subject: SOT: Hiding Javascript Source
 
 
   I think I've found a way to hide Javascript source.  Has anyone
  done this
   yet?  I'll post an example if anyone is interested.
  
   -Brad
  
  
  
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Hiding Javascript Source

2003-07-30 Thread Brad Roberts
Yeah... you shouldn't have seen it the first time... I'll have to check into
that.  You actually saw the complete Javascript source?

-Brad

 -Original Message-
 From: Ryan Emerle [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 30, 2003 8:00 AM
 To: CF-Talk
 Subject: RE: Hiding Javascript Source


 Erm.. i just did a view source and copied the JS src URL to the
 browser and the JS was displayed.

 After i hit refresh on that page, though, it said Trying to
 steal my javascript source?

 Is that UUID supposed to expire after one request?

 -Ryan

 -Original Message-
 From: Brad Roberts [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 30, 2003 7:32 AM
 To: CF-Talk
 Subject: RE: Hiding Javascript Source


 See what you guys think... any comments appreciated.

 http://www.becomenew.com/jsGuard/

 -Brad

  -Original Message-
  From: Peter Harrison [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, July 30, 2003 3:26 AM
  To: CF-Talk
  Subject: RE: Hiding Javascript Source
 
 
  Yes, Brad, I'd like to see your hiding technique please.
 
  Of course, we know it's just reversable obfuscation or making it
  a _little_
  more work to find.
 
  Also, have you seen this:
  http://www.jimworld.com/tools/javascript-encrypt/
 
  It obfuscates the JavaScript code, but the trick to decrypting
  the whole lot
  is the document.write at the end of the code that is generated.
 If you can
  document.write it, you can also output it so you can copy it.
  Fun fun fun.
 
  - Peter
 
  -Original Message-
  From: Kwang Suh [mailto:[EMAIL PROTECTED]
  Sent: 30 July 2003 06:36
  To: CF-Talk
  Subject: Re: Hiding Javascript Source
 
 
  If it's on my computer, I can get at it.
 
  - Original Message -
  From: Brad Roberts [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Tuesday, July 29, 2003 8:04 PM
  Subject: SOT: Hiding Javascript Source
 
 
   I think I've found a way to hide Javascript source.  Has anyone
  done this
   yet?  I'll post an example if anyone is interested.
  
   -Brad
  
  
  
 
 

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Hiding Javascript Source

2003-07-30 Thread Brad Roberts
I think your browser may have cached it... hmmm... I'll add some code to
prevent the page from being cached.  May not fully solve the problem,
however

-Brad

 -Original Message-
 From: Ryan Emerle [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 30, 2003 8:00 AM
 To: CF-Talk
 Subject: RE: Hiding Javascript Source


 Erm.. i just did a view source and copied the JS src URL to the
 browser and the JS was displayed.

 After i hit refresh on that page, though, it said Trying to
 steal my javascript source?

 Is that UUID supposed to expire after one request?

 -Ryan

 -Original Message-
 From: Brad Roberts [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 30, 2003 7:32 AM
 To: CF-Talk
 Subject: RE: Hiding Javascript Source


 See what you guys think... any comments appreciated.

 http://www.becomenew.com/jsGuard/

 -Brad

  -Original Message-
  From: Peter Harrison [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, July 30, 2003 3:26 AM
  To: CF-Talk
  Subject: RE: Hiding Javascript Source
 
 
  Yes, Brad, I'd like to see your hiding technique please.
 
  Of course, we know it's just reversable obfuscation or making it
  a _little_
  more work to find.
 
  Also, have you seen this:
  http://www.jimworld.com/tools/javascript-encrypt/
 
  It obfuscates the JavaScript code, but the trick to decrypting
  the whole lot
  is the document.write at the end of the code that is generated.
 If you can
  document.write it, you can also output it so you can copy it.
  Fun fun fun.
 
  - Peter
 
  -Original Message-
  From: Kwang Suh [mailto:[EMAIL PROTECTED]
  Sent: 30 July 2003 06:36
  To: CF-Talk
  Subject: Re: Hiding Javascript Source
 
 
  If it's on my computer, I can get at it.
 
  - Original Message -
  From: Brad Roberts [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Tuesday, July 29, 2003 8:04 PM
  Subject: SOT: Hiding Javascript Source
 
 
   I think I've found a way to hide Javascript source.  Has anyone
  done this
   yet?  I'll post an example if anyone is interested.
  
   -Brad
  
  
  
 
 

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Hiding Javascript Source

2003-07-30 Thread Brad Roberts
Yeap!  There's the loophole.  Is there a sure-fire way of preventing the
browser from caching the page?

-Brad

 -Original Message-
 From: Tim Blair [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 30, 2003 8:06 AM
 To: CF-Talk
 Subject: RE: Hiding Javascript Source


  Is that UUID supposed to expire after one request?

 Looks like it does, but that doesn't take into account the browser's
 cached version:

 -
 //Presentational Slideshow Script- By Dynamic Drive
 //For full source code and more DHTML scripts, visit
 http://www.dynamicdrive.com
 //This credit MUST stay intact for legal use

 var slideshow_width='100px' //SET SLIDESHOW WIDTH (set to largest
 image's width if multiple dimensions exist)
 var slideshow_height='100px' //SET SLIDESHOW HEIGHT (set to largest
 image's height if multiple dimensions exist)
 var pause=3000 //SET PAUSE BETWEEN SLIDE (2000=2 seconds)
 var slidebgcolor=white
 -

 Etc...

 Nice idea though...  :)

 Tim.


 ---
 RAWNET LTD - Internet, New Media and ebusiness Gurus.
 Visit our new website at http://www.rawnet.com for
 more information about our company, or call us free
 anytime on 0800 294 24 24.
 ---
 Tim Blair
 Web Application Engineer, Rawnet Limited
 Direct Phone : +44 (0) 1344 393 441
 Switchboard : +44 (0) 1344 393 040
 ---
 This message may contain information which is legally
 privileged and/or confidential.  If you are not the
 intended recipient, you are hereby notified that any
 unauthorised disclosure, copying, distribution or use
 of this information is strictly prohibited. Such
 notification notwithstanding, any comments, opinions,
 information or conclusions expressed in this message
 are those of the originator, not of rawnet limited,
 unless otherwise explicitly and independently indicated
 by an authorised representative of rawnet limited.
 ---


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Hiding Javascript Source

2003-07-30 Thread Brad Roberts
Again, is there a way to prevent the cached file?

-Brad

 -Original Message-
 From: Mike Townend [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 30, 2003 8:14 AM
 To: CF-Talk
 Subject: RE: Hiding Javascript Source


 Copy of the file sitting in my Temporary Internet Files dir ;)



 -Original Message-
 From: Brad Roberts [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 30, 2003 12:32
 To: CF-Talk
 Subject: RE: Hiding Javascript Source


 See what you guys think... any comments appreciated.

 http://www.becomenew.com/jsGuard/

 -Brad

  -Original Message-
  From: Peter Harrison [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, July 30, 2003 3:26 AM
  To: CF-Talk
  Subject: RE: Hiding Javascript Source
 
 
  Yes, Brad, I'd like to see your hiding technique please.
 
  Of course, we know it's just reversable obfuscation or making it a
  _little_ more work to find.
 
  Also, have you seen this:
  http://www.jimworld.com/tools/javascript-encrypt/
 
  It obfuscates the JavaScript code, but the trick to decrypting the
  whole lot is the document.write at the end of the code that is
  generated. If you can document.write it, you can also output it so
  you can copy it. Fun fun fun.
 
  - Peter
 
  -Original Message-
  From: Kwang Suh [mailto:[EMAIL PROTECTED]
  Sent: 30 July 2003 06:36
  To: CF-Talk
  Subject: Re: Hiding Javascript Source
 
 
  If it's on my computer, I can get at it.
 
  - Original Message -
  From: Brad Roberts [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Tuesday, July 29, 2003 8:04 PM
  Subject: SOT: Hiding Javascript Source
 
 
   I think I've found a way to hide Javascript source.  Has anyone
  done this
   yet?  I'll post an example if anyone is interested.
  
   -Brad
  
  
  
 
 

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Brad Roberts
Well... if there's no way of preventing the browser from caching the page,
then I guess it's definitely not fool proof.

But heck, it sure beats the no right click method!

-Brad

 -Original Message-
 From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 30, 2003 8:16 AM
 To: CF-Talk
 Subject: Re: Here's An Example: WAS [Hiding Javascript Source]


 Brad Roberts wrote:
  Just wanted to change the subject so you wouldn't think it's
 another you
  can't do it message.
 
  http://www.becomenew.com/jsGuard/

 Doesn't work. In FireBird, I changed the URL in the address bar
 to view-source:http://www.becomenew.com/jsGuard/ which tells me
 the name of the javascript. Then I changed the URL to
 view-source:http://www.becomenew.com/jsGuard/myJavascript.cfm?id=B
 DF0DC85-D050-44E1-9DB853D98FB28E81
 and I get the source of the javascript file.

 The mechanism is very easy and spells doom for all your attempts:
 the source is grabbed from browser cache, not from the server.

 Jochem



 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Brad Roberts
The problem lies in the browser caching the page... anyway to get around
that?

You really can't rely on http_referrer...  Here's what I'm doing (in a
nutshell).

Caller page:
-

cfset server.id = createUUID()
script language=Javascritpt src=myJavascript.cfm?id=#id#

Javascript page:
-

cfif compareNoCase(url.id, server.id) OR len(url.id) EQ 0
  .. hacker
cfelse
  cfset server.id = 
/cfif

javascript code here...


-Brad


 -Original Message-
 From: Philip Arnold [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 30, 2003 8:09 AM
 To: CF-Talk
 Subject: RE: Here's An Example: WAS [Hiding Javascript Source]


  Just wanted to change the subject so you wouldn't think it's
  another you can't do it message.
 
  http://www.becomenew.com/jsGuard/

 If you set your Check for newer versions of stored pages to Never,
 then you can view it

 It's stored in cache, so it won't try to re-get the page

 Nice idea though

 Although you could always do something incredibly similar just using
 CGI.HTTP_REFERER rather than putting the UUID on the URL



 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



  1   2   3   >