PDA


View Full Version : Two Questions ...


OneShot
06-30-2008, 06:16 PM
Hi all, maybe someone can help me out here ... I've got two questions ...

1) How can I disable the Thumbsdisplay (of the website) for a certain category and its subcategorys ?

2) I want to use vBaLinks to link directly to files, which works well but I'd like to display filetype icons instead of the website thumbnails in a particular category (this dovetails with question 1). Since I'm using vBa Links for both links to websites and to files I dont want to loose any of the current functionality (obviously).

Thanks
OS

Brian
06-30-2008, 07:56 PM
1). You could add a new plugin to the 'vba_links_browselinks_start' hook location with code that looks something like this:
if (in_array($catid, array(X, Y, Z)))
{
$vba_options['links_thumbshots'] = 0;
}
Replace X, Y, Z with the catid's of the categories you wish to disable thumbnails on.


2). That may be possible with some hacking, but there are not any default options that are going to help with that. vBa Dynamics does show icons for different filetypes, though the use would have to upload the file as an attachment instead of being remotely hosted.

OneShot
07-01-2008, 06:09 AM
Thanks for the help, I've just got an idea on how to realize what I want to accomplish ... I'll post here when I have something useful.