Search found 12 matches

by dudely
Thu Aug 24, 2006 3:01 pm
Forum: General discussions
Topic: Send email to friend WITH article content
Replies: 2
Views: 7084

Thanks Matteo!
That works perfectly. I had come up with a solution on my own but I like yours better :wink: .

Dan
by dudely
Wed Aug 23, 2006 8:39 pm
Forum: General discussions
Topic: Send email to friend WITH article content
Replies: 2
Views: 7084

Send email to friend WITH article content

Hello,
I'm trying to find a way to actually send the content of an article in an email instead of sending just the link. Is there a simple solution to this or is this a feature coming up in a later version? Thanks.

-Dan
by dudely
Wed Jul 26, 2006 3:33 pm
Forum: General discussions
Topic: {writeCategory}
Replies: 3
Views: 7324

I found the PHP array $PMF_LANG where I think this is defined, but I can't find where to change it. I checked constants.php, functions.php, and several other files without luck. Basically what I want to do is change "Questions in Category" to "Topics in Category". Not a big deal but it would make ...
by dudely
Wed Jul 26, 2006 3:21 pm
Forum: General discussions
Topic: Attachment problem
Replies: 4
Views: 9003

I just found the problem. For anyone else that runs into this issue, there are actually two settings you need to change in the php.ini file if you want to change the upload limit. The first is post_max_size (I assume the attach file function uses POST, its default was 8M) and the second is upload ...
by dudely
Wed Jul 26, 2006 3:00 pm
Forum: General discussions
Topic: Attachment problem
Replies: 4
Views: 9003

Yes I can upload smaller files. The biggest one I've successfully uploaded so far was 3 MB.
by dudely
Tue Jul 25, 2006 9:44 pm
Forum: General discussions
Topic: Attachment problem
Replies: 4
Views: 9003

Attachment problem

I am having trouble attaching large PDF files to records. I have the limit set to 20 megs in both the phpMyFAQ settings and in the php.ini file. Upon trying to upload a 15 MB PDF I get the following error: The file attachment.php cannot be opened without proper authentification. Any idea what would ...
by dudely
Tue Jul 25, 2006 7:13 pm
Forum: General discussions
Topic: {writeCategory}
Replies: 3
Views: 7324

{writeCategory}

Hello,
I'm wondering how I can edit the values of things like {writeCategory} found in the template files. I can't seem to find the file they are defined in. Any help would be appreciated.

Thanks,
Dan
by dudely
Fri Jul 21, 2006 4:50 pm
Forum: General discussions
Topic: Rankings and Top 10 not working
Replies: 8
Views: 15774

I'm not sure exactly what I did, but now everything is working after I removed DISTINCT form the queries. It may have been an issue with cookies or something. Thanks for the help, I will try the database fix next.
by dudely
Fri Jul 21, 2006 4:17 pm
Forum: General discussions
Topic: Rankings and Top 10 not working
Replies: 8
Views: 15774

I was running the query from functions.php incorrectly before. I missed the part after the function checks for a set category and language. That takes care of providing distinct records. However, I added a line that would print the query before it executes and on the startpage the query string is ...
by dudely
Fri Jul 21, 2006 3:48 pm
Forum: General discussions
Topic: Rankings and Top 10 not working
Replies: 8
Views: 15774

Without DISTINCT the query will run in the analyzer, but returns too many duplicates (i.e. 10 results for each article with each having a different number of visits). When I took DISTINCT out of the query in functions.php, the top 10 still shows no data on the faq startpage.

With a simplified query ...
by dudely
Fri Jul 21, 2006 2:51 pm
Forum: General discussions
Topic: Rankings and Top 10 not working
Replies: 8
Views: 15774

Thanks for the quick reply. I also tried the Top 10 query from functions.php in the Query Analyzer and got this error message: "The text data type cannot be selected as DISTINCT because it is not comparable". I also noticed that in functions.php this query has a WHERE statement on the end of it with ...
by dudely
Thu Jul 20, 2006 9:52 pm
Forum: General discussions
Topic: Rankings and Top 10 not working
Replies: 8
Views: 15774

Rankings and Top 10 not working

Hello,
First I want to say this is really a wonderful program. I am using version 1.6.3 and am running PHP 5.1.4 on a Windows Server 2003 box with a Microsoft SQL Server 2005 backend. Everything is working fine except the article rankings on the admin page and the top 10/ top 5 on the start page ...