Forums


Marketplace (en)

Forum for Marketplace, a Joomla! 1.0 classified ads component. Posts in english language.
Last post
Forums  » Marketplace (en)  » Eleminate Username inside the overview
crudi

crudi
11 posts
---
Location:
n.a.
06.03.2010 08:02

Eleminate Username inside the overview

I already postet in this in the german forum, but I got no answer. Hope to get one here.

I don't want to display the username in the categorie overview in the column "last post". Does anybody know what I have to do???




 
cro24all

cro24all
35 posts
---
Location:
Croatia
06.03.2010 13:42

Re: Eleminate Username inside the overview

I already postet in this in the german forum, but I got no answer. Hope to get one here.

I don't want to display the username in the categorie overview in the column "last post". Does anybody know what I have to do???

show_category.php


// echo "".$row->user."";

find it about text
// get ad type from db




 
crudi

crudi
11 posts
---
Location:
n.a.
28.03.2010 13:27

Re: Eleminate Username inside the overview

Hi,

thanks for your answer but that doesnt solve the problem. I want to eleminate on that page http://www.bielefeld-inside.de/kleinanzeigen.html in the right column the Von:... entry.

I also tried to find it in other files, but I doesnt find how to eliminate...

any other idea??

Thx
Chris




 
prieku

prieku
4 posts
---
Location:
n.a.
21.04.2010 05:12

Re: Eleminate Username inside the overview

open file show_index.php

Step 1, go to line 185 :
find this script =

echo "".JOO_LASTENTRY."";

change to (just add special char /* and */)=

/*echo "".JOO_LASTENTRY."";*/

Step2, go to line 301:
Find this script =

if($row->has_entries > 0) {
echo "";

// last entry

if( $bAdminMode == true || $bModeratorMode == true) { // admin or moderator
$database->setQuery(" SELECT user, date_format(date_created, '%d.%m.%Y' ) as date_cr
FROM #__marketplace_ads
WHERE category='$row->id'
ORDER BY date_created DESC, id DESC
LIMIT 1");
}
else {
$database->setQuery(" SELECT user, date_format(date_created, '%d.%m.%Y' ) as date_cr
FROM #__marketplace_ads
WHERE category='$row->id' AND published='1'
ORDER BY date_created DESC, id DESC
LIMIT 1");
}


$rows_date = $database->loadObjectList();

$datum = "-";
foreach($rows_date as $row_date) {
$datum = $row_date->date_cr;
$ad_username = $row_date->user;
}
echo $datum;

if ( $ad_count > 0) {
echo "";
echo "";
echo JOO_FROM;
echo "".$ad_username."";
echo "";
}
echo "";
}

echo "";

Just add special char /* (before) and */(after)

www.batamplazza.com



www.batamplazza.com

 
Forums  » Marketplace (en)  » Eleminate Username inside the overview

Codingfish operates

italobikes.com
Community for friends of italian motorcycles

fuldany.de
Das soziale Netzwerk für Fulda (im Aufbau)

kiwinity.co.nz
The New Zealand Community (in preparation)

Login