Hi,
well, I concentrate on the new version, hence I really don't plan to add new features to the old bot. The problem as I see it is more a webdesign problem than a problem with the bot. As I said, the changes go into bot_collection.php (in the function itemlink), for example:
| Code: |
$query = "SELECT title,catid,asin,webservice,fetchimage,fetchtitle FROM #__collection WHERE id=".intval($id);
|
could be changed to something like
| Code: |
$query = "SELECT title,catid,asin,webservice,fetchimage,fetchtitle,info1,info2,info3,typeid FROM #__collection WHERE id=".intval($id);
|
Also, the type could be fetched with
| Code: |
$query = "SELECT * FROM #__collection_type WHERE id=".intval($row->typeid);
$database->setQuery($query);
$type = null;
$database->loadObject($type);
|
Then, after the link is created, you could add
| Code: |
if($crow->info1) {
$info1 = $crow->info1;
} else {
$info1 = $row->info1;
}
|
and then
| Code: |
$alink .= "<br />".$type->info1.": ".$info1;
|
(the same for the other info fields).
The problem with this is that the bot does insert HTML code with linebreaks, hence the layout is shifted. I am not a webdesigner, but I suspect that some clever
magic could do the trick.
Feel free to email me (also in German) with your questions.
HTH,
Thorsten.