I have a problem: i do not understand why the filename doesn't appear neither in the description nor keywords nor even in the title. Is this an error or a setting? I had a very busy day redesigning my website because of the upgrade.
Also I would want to know how to make a "remember me" function ( by checking ) for the users, and how to make a variable of the username for me to show something like "Welcome back USER" on the main.html template. I still do not know how to use or where to edit tha paging. Also I would want to know how can I change the ?op= reffering addres to some custom one so I can prevent eventual hacking with the system. I managed to do this with my old version.
Another problem has occured : users are complaining that the old file links like site/username/filecode.html are not working. Can you fix this too?
P.S.: What do you guys think of it? - www.fhosting.ro
XFileSharing Pro - Description, keywords and title
Description, keywords and title
Last edited by jeyul on Nov 20, 2009 4:27 am, edited 1 time in total.
-
- Posts: 11
- Joined: Nov 16, 2009 4:46 pm
Re: Description, keywords and title
About filename/description problem
Looks like you customized templates wrong and lost title and description from header.
About paging
You can change paging style in CSS (main.css)
About ?op=
What's wrong with it?
About URLs
Example?
[/b]
Looks like you customized templates wrong and lost title and description from header.
About paging
You can change paging style in CSS (main.css)
About ?op=
What's wrong with it?
About URLs
Example?
[/b]
About the filename: I did nothing wrong. Check your own site so you can see : http://upload-pro.com/hvj7fdb5xkek/smime3.dll.html and http://upload-pro.com/hvj7fdb5xkek
About the ?op: I want to change it into something unique like ?lp, ?ru or anything I want so it won't be the same. What I really want are friendly urls without any ?op in theme maybe redirected by .htaccess
About the urls: in the old version of mine (1.1) the links were like this: www.site.com/username/filename.html and these urls remain posted on the websites/blogs/forums and the visitors get a "File not found error (deleted)" because of the "username" in the url.
About the ?op: I want to change it into something unique like ?lp, ?ru or anything I want so it won't be the same. What I really want are friendly urls without any ?op in theme maybe redirected by .htaccess
About the urls: in the old version of mine (1.1) the links were like this: www.site.com/username/filename.html and these urls remain posted on the websites/blogs/forums and the visitors get a "File not found error (deleted)" because of the "username" in the url.
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Filename in Title fix: in index.cgi find
and add above:
Make sure news_last.html is chmod 666 = writable
IP2Files tables keeps unique IP-File pairs = unique downloads. No wonder it became bit huge. You can manually clean old records from there or put this line into cron.pl to clean them automatically:
this will remove all records older than 7 days.
About ?op=XXX - I agree that my_files.html will looks better than ?op=my_files, but what about rewriting URLs like this:
- this is sorting files by size in subfolder.
Code: Select all
$fname=~s/[_\.-]+/ /g;
Code: Select all
$fname=$file->{file_name};
IP2Files tables keeps unique IP-File pairs = unique downloads. No wonder it became bit huge. You can manually clean old records from there or put this line into cron.pl to clean them automatically:
Code: Select all
$db->Exec("DELETE FROM IP2Files WHERE created<NOW()-INTERVAL 7 DAY");
About ?op=XXX - I agree that my_files.html will looks better than ?op=my_files, but what about rewriting URLs like this:
Code: Select all
?fld_id=3&op=my_files&sort_field=file_size&sort_order=down