My Volleyball client has a friend that wants to be an affiliate and signup in
her affiliate program, so I built one in a night (gotta luv CF!).
I have no problems with BUILDING it, my problem is I dunno exactly *WHAT* it
should do. As it stands now, I set them up in my db, give them an AffID, g
I would use a cookie, personally. But only because I would want to
remember the visitor's response across sessions.
Session vars should be just fine in terms of reliability, although you
need to remember and use proper locking techniques, especially in CF5.
A minor issue (maybe) is that session
Hi. I am working on CF 5.0 (Enterprise Ed). My site has a Flash based
header, and the same header is also available as Non-Flash (jpg file).
I want the visitors to choose Flash/Non-Flash site. My idea is to set
a variable if they click Non-flash, and check if the variable exists
for that session, a
I just created the test shown below on our development server and here is what
I found if the attribute server is specified in cfmail, but is empty:
On BlueDragon 6.2 the mail went to the undeliverable directory
On CFMX 6.1 & CF5 the following error was thrown: "The value of the attribute
SERVE
Lee,
Having recently have done quite a bit of work with AD and CFMX 6.1 try using
the code below:
username="#Full dn of user who can query Active Directory"
(CN=First Name,OU=OU_Name,DC=XXX,DC=YYY)
password="#Users_Password#"
>
Brian Polackoff
-
I'm playing around trying to get anything out of active
directory. The code as follows.
#Getstudents.cn#
Returns this.
An error has occured while trying to execute query :[LDAP:
error code 1 - : LdapErr: DSID-0C090627, comment:
In order to perform this operation a successful bind
BlogCFC has been updated. 2 important bug fixes are in it - plus
support for pinging Technorati (thanks to Steven Erat).
Galleon has been updated. The only change here is a new subscription
model. It allows you to subscribe now to a thread, forum, or
conference.
Any suggestions, problems, etc, fe
> What is the best way to handle optional attributes for the
> cfmail tag? I
> have noticed you cannot specify the attribute and then
> leave it blank,
> because the email will be sent to the undeliverable
> directory.
I've never had this experience with the server attribute... what
version of CF
Another advantage to XML is it can be shared between different
applications. For example, if you wanted to build the same thing in
Flash, the same file could be used to describe the menu system.
Jason Merrill | E-Learning Solutions | icfconsulting.com
>>-Original Message-
What is the best way to handle optional attributes for the cfmail tag? I
have noticed you cannot specify the attribute and then leave it blank,
because the email will be sent to the undeliverable directory.
Here is how we are thinking about doing it:
Dear #FirstName#,
Blah blah blah...
With CF. Each permissions attribute gets converted into a series of
isUserAuthorized (an internal function) calls to see if that element
is allowed for the user. If so, something gets rendered.
In other words, where we're using permissions, we're not using XSL,
but rather just CF's XML processin
Where / how do you limit/control what menu items get displayed?
Andy
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Friday, July 29, 2005 2:13 PM
To: CF-Talk
Subject: Re: XML format for menus
We don't do permission-based stuff with XSLT. Depending on your
perm
Problem with that approach Is that each WHOIS output is different for each
TLD, and there are multiple dates on the page, and the expiry date or
whatever I want to extract will be in a different format.
I gave Spikes code a try for the HELL of it and strangely that did parse all
the chr(10) chars,
We don't do permission-based stuff with XSLT. Depending on your
permission list (namely whether any permission names are substrings of
other permission names), you could potentially use the 'contains'
XPath function to only select nodes which match a permission list
(computed by CF and passed in).
I was hoping this would work! Can I use it to create a menu for a specific
user based on Permissions? Do you have an example of the XSLT file showing
how I could do this?
Andy
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Friday, July 29, 2005 1:54 PM
To: CF-
Another advantage is XSLT transformations. That was the primary
reason we did it. Simple to have have a single XML doc that describes
your menu, and then run it through an XSLT stylesheet to generate the
same menu with various look and feels. It's also potentially easier
to deal with, because an
Russ,
If I understand correctly, this might be of help:
#Mid(teststring,REFind(regex,teststring,start),11)#
The regular expression is based on that you have a dd-mmm-
pattern. Then you loop over your file content until it runs out of
"hits".
Best of luck,
Caroline Wise
On 7/29/
Replace just does a straight string literal matching, REReplace dose regex,
which requires a little more processing to go with the increased power of
matching patterns not just string literals..
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
"C code.
Thanks! I actually did have the one line with REReplace but a well hidden
syntax error got me to separate the two.
For my own education, what is REReplace doing that Replace is not which adds
the overhead?
>From: <[EMAIL PROTECTED]>
>Reply-To: cf-talk@houseoffusion.com
>To: CF-Talk
>Subject:
Thanks Barney.
Charlie, I am doing it because I can easily create and maintain the menus
using an XML Editor such as xmlSpy and load at the beginning of a session
based off of language preferences.
Andy
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Friday, Jul
I did try something along those lines originally, but CF doesn't seem to be
able to pickup the chr(10) or chr(13)
Russ
-Original Message-
From: Spike [mailto:[EMAIL PROTECTED]
Sent: 29 July 2005 18:03
To: CF-Talk
Subject: Re: regex
You don't need to use a regex to get that
>>it doesn't write the REGEX for you
Such a tag is still to be invented ;-)
However, the main idea in CF_REExtract is that most of the time it is
MUCH easier
to describe in a REGEX what's before and what's after the string you
want to extract,
than to describe the string itself.
Sometimes, you
Well as all WHOIS output is different for every domain, I of course do not
have that string, thus why I need to extract it from the WHOIS output as I
stated.
Russ
-Original Message-
From: Jim Davis [mailto:[EMAIL PROTECTED]
Sent: 29 July 2005 18:15
To: CF-Talk
Subject: RE: [
curious...what's the advantage of using XML versus just storing an an
array of structs?
On 7/29/05, Barney Boisvert <[EMAIL PROTECTED]> wrote:
> I've used this format with great success:
>
>
>
> User List
>
>
>
> Add User
> User List
>
>
I've used this format with great success:
User List
Add User
User List
cheers,
barneyb
On 7/29/05, Andy <[EMAIL PROTECTED]> wrote:
> Does anyone have an XML format that they would share? I want to c
Does anyone have an XML format that they would share? I want to convert my
"hard-coded" system and an easily maintainable XML file seems like a good
approach.
Andy
~|
Discover CFTicket - The leading ColdFusion H
> -Original Message-
> From: Russ Michaels [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 29, 2005 11:51 AM
> To: CF-Talk
> Subject: FW: [CF-Dev] regex
>
> As I suck at REGEX, I'll put this out to those of you that don't :-)
>
> Rich ?
>
> I need to extract data from WHOIS output.
>
> E
You don't need to use a regex to get that info out of the whois output.
#expiryDate#
Spike
On 7/29/05, Russ Michaels <[EMAIL PROTECTED]> wrote:
>
> While that tag looks very handy, it doesn't write the REGEX for you, you
> still have to supply the REGEX to the tag for it to find th
While that tag looks very handy, it doesn't write the REGEX for you, you
still have to supply the REGEX to the tag for it to find the text your
looking for.
Russ
-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: 29 July 2005 17:22
To: CF-Talk
Subject
There are, of course, other ways to do it, generally involving
programming in Java or .NET, then to notify CF, you'd have to hit your
site via http.
I've done it in c# using System.IO.FileSystemWatcher. I could send it to
you, if you like, it's a little GUI tool i made just to sample the
techn
>>I need to extract data from WHOIS output.
Have a look a CF_REExtract:
http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm?p=hf
It has especially developed for this king of job.
--
___
REUSE CODE! Use custom tags;
See http://www.contentb
Here's how I would do it:
You're still calling replace twice, but it's only one line of code. And
Barney's right...don't use REReplace if you don't need it, it's extra overhead.
Dave
---Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Friday, July 29, 2005 12:05 PM
What solutions have people put in place for performing anti-virus scans on
CFFILE-based uploads?
There's a relatively old (CF 4.5) CFX tag on the exchange, and there's also
PrismAV for ColdFusion (
http://www.coolfusion.com/products/prismav/prismavforcoldfusion.cfm ). Has
anyone had experience wit
Nope, but you don't REreplace at all, a simple replace will do the
trick just as well, and with less overhead. You could even use
replaceList, but I'd not recommend that, as it has some weird quirks.
cheers,
barneyb
On 7/29/05, B G <[EMAIL PROTECTED]> wrote:
> Is it possible to replace two diffe
Cool, thanks Dave. You are correct, there are reasons to remove
SYSTEM. (I was only changing permissions on the dev server so far)
>From what I've researched since my last post it seams that removing
SYSTEM is good because the SYSTEM account has the same internal id on
every installation which make
You can use conText in oracle 8i. That'll give you fuzzy matches and
stemming and such. You basically set up an index on the column
(columns) you want to search and then you use the Contains keyword.
On 7/29/05, Matt Osbun <[EMAIL PROTECTED]> wrote:
> That's trolling as in "Fishing", rather than
As I suck at REGEX, I'll put this out to those of you that don't :-)
Rich ?
I need to extract data from WHOIS output.
Example, I need to extract things like the renewal date (only the date
portion).
Renewal Date: 02-May-2006
Russ
~
Is it possible to replace two different items in a string?
I have a table holding brand names. All ~ should be ® AND all ^ should be
TM. Currently I am doing the following:
Is it possible to do this in one REReplace statement?
Thanks.
> well i think they definitely need a technote. I found a bunch
> of threads with the same problem but no solution. I finally found
> one talking about permissions. It turns out that for whatever
> reason the sys admins removed the permissions for the SYSTEM
> account, which coldfusion is run a
That's trolling as in "Fishing", rather than "Being nasty just to get a
rise out of people" ;)
I have a need to create some sort of keyword-searchable index for a CF
application, so that the user can enter a person's first and last name
into a form and search on it. I'm not particular as to what
Well, yeah - it would certainly help but it would no doubt involve some kind
of interim parsing before CF put the page together as a whole..
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: 29 July 2005 16:06
To: CF-Talk
Subject: RE: Executing CF function from da
Not without "help" anyway.
> Yeah, AFAIK, there is no way to get CF to parse CF code
> when it comes out of the DB.
> -Original Message-
> From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
> Sent: 29 July 2005 16:01
> To: CF-Talk
> Subject: RE: Executing CF function from databased content?
Yeah, AFAIK, there is no way to get CF to parse CF code when it comes out of
the DB.
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: 29 July 2005 16:01
To: CF-Talk
Subject: RE: Executing CF function from databased content?
Yeah, that sounds kinda dangerous to m
Yeah, that sounds kinda dangerous to me too... and I've never heard of
it working that way before
The alternative I neglected to mention before is to write a custom tag
or function which actually writes the content to a file and then
includes the file... Of course, you still have to be careful wi
On 7/29/05, Chris Peters <[EMAIL PROTECTED]> wrote:
> > Anyone know of any good tutorials/information out there on
> > implementing Verity with MX ? Assuming someone knows absolutely
> > nothing about Verity...
> >
Any reason the supplied LiveDocs don't help? Macromedia went through
great efforts
Hi
I get this error creating a verity collection in MX7 with hot fix
3 & windows XP
An error occurred while creating the collection:
com.verity.api.administration.ConfigurationException: Failed to
retrieve style path. (-6044)
Has anyone had this before or know what to do about it?
Ta
Sea
> well i think they definitely need a technote. I found a
> bunch of threads with the same problem but no solution.
> I finally found one talking about permissions. It turns
> out that for whatever reason the sys admins removed the
> permissions for the SYSTEM account, which coldfusion is
> run as
This looks like a good use of a Tally table. A "Tally" table is a table that
contains just an ID field with records from 1 to 10,000 (you can use any upper
bound you need). You can then join this table to generate queries based on
ranges.
To test, I created the following table:
ID int
arrival
Have you verified whether the administrator and files do actually exist.
Presuming your using IIS, theere will be a CFIDE virtual directory in the
default web site.
Satachi Internet Development Web Development and Consulting
Russ Michaels
[EMAIL PROTECTED]Satachi
The Lodge
Ben Forta's CFWACK is a great resource for beginners of Verity. He has a whole
chapter or two dedicated to the subject.
- Chris Peters
> Anyone know of any good tutorials/information out there on
> implementing Verity with MX ? Assuming someone knows absolutely
> nothing about Verity...
>
>
You can download my presentation from CFUNITED. It is mainly for what
is _new_ in Verity, not the 101 of Verity, but you may still find it
useful:
http://ray.camdenfamily.com/index.cfm/2005/7/1/CFUNITED05-Presentations
On 7/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Anyone know of any
This works? I must say I haven't tried it...wouldnt it pose a security risk?
I mean it would allow any Joe Sixpack who can update content to add CF tags
to a DB which will then be parsed and executed?
Is this an MX only oddity?
-Original Message-
From: Dave Phipps [mailto:[EMAIL PROTECTED
I have tried this in the past and I managed to get the following to work:
In your db content you can place
#LSDateFormat(Now(),"dd/mm/yy)#
This will output the date when you output the result of your cfquery.
Not sure if this will work for a UDF though? The key was placing
around the variable.
Neat tool, too bad it cannot be purchased anymore. That was a year and
a half ago and looks like Jzox has not created any new tools.
Dan
On 7/27/05, James Holmes <[EMAIL PROTECTED]> wrote:
> Eg:
>
> http://www.jzox.com/products.jsp
>
>
~
Not sure what you mean - do you mean get CF to parse data which is stored in
a DB column as if it were inline to the page? I am not sure if this is
possible?
-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED]
Sent: 29 July 2005 03:51
To: CF-Talk
Subject: Executing CF f
How are you creating the Excel sheet?
-Original Message-
From: CHANCE, JENNIFER M. (JSC-BJ) (BAS)
[mailto:[EMAIL PROTECTED]
Sent: 28 July 2005 16:27
To: CF-Talk
Subject: Cfcontent Excel Problems
Hi there...
I have created a dynamic excel page in coldfusion. Everything is great
except
Beautiful - thanks
Seamus
You wrote
Yes, turn off the mail spool with spoolenable="false" so that the
>message is sent before the template continues.
>
>On 7/29/05, Seamus Campbell <[EMAIL PROTECTED]> wrote:
>
>> Is there any elegant way to delay the delete?
>
>~
Yes, turn off the mail spool with spoolenable="false" so that the
message is sent before the template continues.
On 7/29/05, Seamus Campbell <[EMAIL PROTECTED]> wrote:
> Is there any elegant way to delay the delete?
~|
Logware (
Hi
I am using cfmail to send an email with an attachment. The
attachment is in a temp directory and I want to delete the
attachment after the email has been delivered.
At the moment I just do the cfmail stuff then the delete - but it
appears that the delete gets done before the attachment is
59 matches
Mail list logo