Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 11:04 am EST
Geeklog Forums
zClassified Ads 1.0 for GL1.3.11 - Testers Wanted
Page navigation
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
@redneck:
No, I didn't see anything like that.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Before I upgrade is there a way for payment request in this version. So I can charge for submitting an ad?
No, I didn't see anything like that.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
28
23
Quote
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
A quick fix of images displaying.
Step 1
Overwrite current detail.php file with detail.php from RC4. NOTE: detail.php under public_html ->advt->detail.php
Step 2
Edit index.php and recent.php (under public_html->advt) and replace this piece of code
if( DB_numRows( $photo ) >= 1 )
{
while( $prow = DB_fetchArray( $photo ) )
{
echo "<a href=\"$IMAGE_DIR/{$prow['photo_id']}.jpg\" target=\"_blank\"><img src=\"$IMAGE_DIR/thumb/{$prow['photo_id']}.jpg\" height=\"60\" width=\"50\" border=\"0\" alt=\"$LANG_ADVT[click_to_enlarge]\"></a><br>";
}
}
With this bit
$prow = DB_fetchArray( $photo );
if( DB_numRows( $photo ) >= 1 )
{
echo "<a href=\"$IMAGE_DIR/{$prow['photo_id']}.jpg\" target=\"_blank\"><img src=\"$IMAGE_DIR/thumb/{$prow['photo_id']}.jpg\" height=\"60\" width=\"50\" border=\"0\" alt=\"$LANG_ADVT[click_to_enlarge]\"></a><br>";
}
Thanks again beewee
Geeklog Polish Support Team
Step 1
Overwrite current detail.php file with detail.php from RC4. NOTE: detail.php under public_html ->advt->detail.php
Step 2
Edit index.php and recent.php (under public_html->advt) and replace this piece of code
Text Formatted Code
$photo = DB_query( "SELECT photo_id FROM {$_TABLES['ad_photo']} WHERE ad_id=$row[ad_id]" ) or error( mysql_error() );if( DB_numRows( $photo ) >= 1 )
{
while( $prow = DB_fetchArray( $photo ) )
{
echo "<a href=\"$IMAGE_DIR/{$prow['photo_id']}.jpg\" target=\"_blank\"><img src=\"$IMAGE_DIR/thumb/{$prow['photo_id']}.jpg\" height=\"60\" width=\"50\" border=\"0\" alt=\"$LANG_ADVT[click_to_enlarge]\"></a><br>";
}
}
With this bit
Text Formatted Code
$photo = DB_query( "SELECT photo_id FROM {$_TABLES['ad_photo']} WHERE ad_id=$row[ad_id]" ) or error( mysql_error() );$prow = DB_fetchArray( $photo );
if( DB_numRows( $photo ) >= 1 )
{
echo "<a href=\"$IMAGE_DIR/{$prow['photo_id']}.jpg\" target=\"_blank\"><img src=\"$IMAGE_DIR/thumb/{$prow['photo_id']}.jpg\" height=\"60\" width=\"50\" border=\"0\" alt=\"$LANG_ADVT[click_to_enlarge]\"></a><br>";
}
Thanks again beewee
Geeklog Polish Support Team
32
31
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
I tried that, the detail.php is OK now , but recent.php is not.
Shouldn't recent.php be changed, and not index.php?
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Shouldn't recent.php be changed, and not index.php?
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
43
27
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Great, I've already translated the language file to my needs in Dutch and was working on the template and css when I found out that it didn't look like it used to....
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
26
26
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
Quote by beewee: I can't find/figure the word Category in the What's Hot part on detail.php.
Right. It's in functions.inc under
function displayCat( $id )
add to global after a coma this-> $LANG_ADVT
and replace Category with this-> $LANG_ADVT[category]
It must have slipped through my eyes.
Cheers Robert
Geeklog Polish Support Team
21
24
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Well, I'm nearly done, but am still not happy with the layout when you browse the ads by category. How can I change the layout of the index.php&cat=.. file so that it looks as nice as the layout of recent.php?
There's too much PHP for me in these files (sorry, still a PHP newbie) to try to change more than some details.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
There's too much PHP for me in these files (sorry, still a PHP newbie) to try to change more than some details.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
30
24
Quote
Page navigation
All times are EST. The time is now 11:04 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content