|
The Web Links administration module provides a couple other advanced functions, which are available as links at the top of the Web Links administration page. The first, Clean Links Votes, simply clears out the user ratings for Web links, resetting every link's score back to zero. You can use this if you've recently added a bunch of new links and don't want older links that have already been rated to be the only ones showing up on the Most Popular links list that users can access within the Web Links module. The second, Validate Links, doesn't do quite what you think. It doesn't run out and make sure that every link in your database is real and valid; all it does is make sure that your links look like a valid link. That may not be its intended purpose, but that's what it does. For example, check out Figure 30.4, where I've asked PHP-Nuke to validate three links. Two of them are properly formatted (they start with http://) links using bogus domain names; the third is improperly formatted (doesn't start with http://), and the fourth is using a completely bogus URL (www.steaks.prpogo, which isn't a legitimate domain name). Although none of the sites is real (the domain names aren't even registered), only the badly formatted one shows up with any problems. Figure 30.4. Validating Web links.While the error message shown implies that PHP-Nuke is actually checking to see if it can get a numeric Web site address from the URL provided, it is, in fact, doing no such thing, so you can't rely on it to automatically find broken links for you.
|
|