| |||||||
| Register | Projects | FAQ | Members List | Mark Forums Read |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I am posting this in hopes that Dody will fix it in the SVN prior to releasing version 6.0. This would take 1 minute to update and is a problem in both version 5.4 and still in 6.0. Here is the bug or problem. Go to your link submit form (add.php) and submit a link without using http:// (Add mytestdomain.com.com for example). I know it is already entered into the form by default, but IndexU users are getting submissions without the http://. I know this because I have fixed it for at least 2 users who were getting submissions without the http://. No go to your admin and view the link by clicking on "Validate Links". For this example, lets say the domain submitted was mytestdomain.com. If you try to visit the link it will take you to http://www.yourdomain.com/test/admin/mytestdomain.com. You have to go and modify the link and add the http:// onto it. If you accept the domain and add it to your site without correcting the error, it will take you to http://www.yourdomain.com/categoryname/mytestdomain.com while browsing the category, and in the detail page it will take you to http://www.yourdomain.com/detail/lin...testdomain.com. Now how do we fix it? The way I have been doing it is to check the form to make sure it has all the properties of a valid domain name using $urlinfo['host']. With my fix, if a domain is submitted without the http://, it will automatically add it before adding the link to the database. Here is my code to fix this issue. Open the add.php file (upload/add.php) and find the area of code like this: Code: Content visible to License Owner only. Code: Content visible to License Owner only. Code: Content visible to License Owner only. This would only take the programmers a minute or two to modify and would eliminate the need for users to modify their own script to do something it should do right out of the box. If you have opinions or have a better solution to this problem, feel free to post your comments. If you have ever had a submission without http:// and had to do this, post to this thread. Maybe we can get this added before the release next week. Regards Wayne
__________________ For questions related to any mods I developed, please contact me by pm or email at webmaster [at] scriptdragon [dot] com |
| ||||
|
I cant tell you the amount of times I get submssions like this ( without the "http://" ). I think its being done by auto-submission programs, like RoboForm or IBP, etc. The submission programs will overwrite whats already populated in the text area.
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| character problem after upgrading php version to 4.4.2 | gtithesexy | v5.x | 0 | 10-11-2006 07:42 AM |
| Version 5.1.0 problem | jhanna | v5.x | 3 | 04-12-2006 12:37 AM |
| Dropdown menu and version 5.03 problem | jhanna | v5.x | 3 | 04-02-2006 07:16 PM |
| Version 4 | morgankd | v5.x | 2 | 08-31-2004 01:59 AM |
| difference between the full version and the lite version | Frisk151 | Pre-Sales Questions | 3 | 08-04-2003 10:21 AM |