Page 1 of 2

Missed features in Phoca Download

Posted: 14 Nov 2008, 23:21
by adriano
But first, thank you for this great component. ! The Installation was easy and during the configuration I stumbled over a few things, where I missed a matching enable/disable-option :

- To hide the "Powered by"-Banner, similar f.e. to PhocaGallery
- To hide the "Most downloaded files"-Section
- To link to a specific category, so the user won't see the sections
- To hide the h3-Section-Box

And is it possible, that there can be problems when I turn on mod_rewrite in Joomla and then link directly to a specific category ? When I link to a category with a search-engine-friendly-link like "downloads/category/1-category" Joomla gives me a 404-error. Links like "me a 404-error ... when I make a link f.e. "index.php?option=com_phocadownload&view=sections&Itemid=11" everything works fine.

Maybe some possibilities to improve this already excellent script ... thanks again, great job ! :twisted:

Greetings,
adriano.

Re: Missed features in Phoca Download

Posted: 15 Nov 2008, 00:33
by Jan
Hi, I am testing it with SEO and mod_rewrite and get no problems there :-(.. The links are created by Joomla! Jroute method... Link to specific category - it is in feature request list ... the problem is with Itemid (which will be other the the itemid of sections view and there will be problems with back links)

Jan

Re: Missed features in Phoca Download

Posted: 16 Nov 2008, 11:54
by adriano
Hi Jan,

Thanks for your reply !
I've tested it again and it don't works so.
Anyway - I use the classic link and maybe one day
there will be a possibility to chose the categorie in
your script.

Thanks again,
adriano.

Re: Missed features in Phoca Download

Posted: 17 Nov 2008, 00:01
by adriano
Hi Jan,

I don't know if this is a common problem or just a error on my server. Anyway,
when I activate SEO and mod_rewrite there is also an error when I try to download
a specific file. For example :

A file without SEO and mod_rewrite :
... index.php?option=com_phocadownload&view=category&id=1:test&download=5:test&Itemid=11
The same file with SEO and mod_rewrite > Download fails.
... /component/phocadownload/category/1-test?download=5%3Atest

What do you think ? Thanks for your help !

adriano.

Re: Missed features in Phoca Download

Posted: 17 Nov 2008, 01:01
by Jan
??? No idea, I have tested it on my server (SEO + mod_rewrite) without any problems... Links are created by standard JRoute Joomla! method, so there should not be a problem ???

Jan

Re: Missed features in Phoca Download

Posted: 17 Nov 2008, 09:56
by adriano
What is about your .htaccess ? I have activated the standard Joomla .htaccess with a php52-addition. Maybe you have something else added ?

adriano.

Code: Select all

Action php /cgi-php52/php
AddHandler php52 .php

##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)

# RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section



Re: Missed features in Phoca Download

Posted: 19 Nov 2008, 14:24
by Jan
Hi, it is in feature request list, planned ...

Re: Missed features in Phoca Download

Posted: 11 Jan 2009, 21:45
by lougaou
HI
Do you have any idea when SEO/URL rewrite will work?
Its a very good component but that faeture is missing :(

Something else missing is the advlink with JCE: we can not link an item from an article.

Re: Missed features in Phoca Download

Posted: 11 Jan 2009, 22:40
by Jan
Do you have any idea when SEO/URL rewrite will work?
Sorry I don't understand:

see: https://www.phoca.cz/download/category/4 ... -component (this link is a link in Phoca Download and is a SEO link)

???

All Phoca Component work with SEF from beginning.

JCE or other editors: Plugin which is working on Phoca Sites is ready, but I should it complete and release it. I hope it will be soon.

Jan

Re: Missed features in Phoca Download

Posted: 11 Jan 2009, 23:04
by lougaou
Regarding sef: my mistake it works finei made a mistake on my conf file !

I look forward for the JCE advlink plugin :)
Tnx!