Is this possible to remove URL's from all descriptions automatically (not manually?) for all submitted sites ?
Is this possible to remove URL's from all descriptions automatically (not manually?) for all submitted sites ?
www.zgred.pl | www.linksor.com | www.multiportal.pl | www.szukaj24.pl | www.sidlink.com | www.pirlo.pl - all ON IU 5.4.x
Do you mean that you want to remove any URL's thats in the description section of the details page??
or
Do you want to remove the URL from the details page?
If its the last one, you should just be able to remove from /templates/<your_template>/detail_list.html where it calls the URL field to display.
Last edited by FSGDAG; 08-05-2009 at 12:26 PM. Reason: wrote wrong file name
FSGDAG | IndexU Hosting | Owner
Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
Follow Us On Twitter | FaceBook Profile | YouTube Videos
as I wrote: from all descriptions submitted to directory
you have i.e. blahahahaha <a href="sth">anchor</a> - how to remove all except anchor text
www.zgred.pl | www.linksor.com | www.multiportal.pl | www.szukaj24.pl | www.sidlink.com | www.pirlo.pl - all ON IU 5.4.x
The easiest way I would think this could be done would be to export your database. Maybe not the entire database, but the idx_links table. Then use a program to find and replace. You could do a find for "<a href" and have the replacement be blank
FSGDAG | IndexU Hosting | Owner
Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
Follow Us On Twitter | FaceBook Profile | YouTube Videos
You can use strip_tag from php function. It is not only removing links, but all HTML code.
FSGDAG | IndexU Hosting | Owner
Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
Follow Us On Twitter | FaceBook Profile | YouTube Videos
At the moment for 150 submitted sites I am removing 5-10 daily
But I wil take a look on strip_tag ... or substr - because I have one dir (imported from qlweb) with 4000 URLsso manual correcting is possible but ... won;t die before I finish )
www.zgred.pl | www.linksor.com | www.multiportal.pl | www.szukaj24.pl | www.sidlink.com | www.pirlo.pl - all ON IU 5.4.x
It will involved a programming work. With a small fee, we can create a small script that do:
1) checking description in the existing database
2) altering add.php and modify.php so the submitter won't enter html code / anchor text
Please pm me if you are interested.