JCollection Homepage

  • Increase font size
  • Default font size
  • Decrease font size
Home Forum
Welcome, Guest
Please Login or Register.    Lost Password?

bot_collection-0.4.1- Questions about view
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: bot_collection-0.4.1- Questions about view
#9
Re:bot_collection-0.4.1- Questions about view 1 Year, 3 Months ago  
i use 0.4.3

i modifidet the bot_collection.php so many times and nothing works!
i have ne fields in this script and this works perfect but the bot makes me crazy!
Bucky
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/05/15 18:12 By Bucky.
The administrator has disabled public write access.
 
#16
Re:bot_collection-0.4.1- Questions about view 1 Year, 3 Months ago  
3 weeks of work and nothing works!
please help i dont know waht i make wrong!

can we write german here?
Bucky
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#17
Re:bot_collection-0.4.1- Questions about view 1 Year, 3 Months ago  
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
Code:

<div>...</div>
magic could do the trick.
Feel free to email me (also in German) with your questions.
HTH,
Thorsten.
tcriess
Posts: 224
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12

Donations

If you like JCollection, please consider a small donation to help developing the component. If you don't have a PayPal account and still wish to donate, feel free to send an Amazon.de gift certificate (to thorsten.riess@sh-riess.de). Thank you very much!

Amount: 

Flattr

Advertisement