Browsing this Thread:
1 Anonymous Users
Modifying Ads |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
2008/2/27 9:44 Posts:
36
![]() |
Hello John! It's been a while! Congratulations on your recent RC2 release :)
How do I stop Classifieds from updating the date when an ad is being edited by admin? Thanks!
Posted on: 6/23 6:03
|
|
Transfer
|
||
Re: Modifying Ads |
||
|---|---|---|
|
Webmaster
![]()
Joined:
2004/10/6 16:13 Posts:
927
![]() |
c0ntrite,
In the new version go to about line 527 and find this line: echo "<input type="hidden" name="date" value="$time">"; change it to: echo "<input type="hidden" name="date" value="$date2">"; That should do it. John
Posted on: 6/23 7:04
|
|
Transfer
|
||
Re: Modifying Ads |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
2008/2/27 9:44 Posts:
36
![]() |
the ad disappears when I edited it. then I received an email stating that the ad expired.
Posted on: 6/23 7:44
Edited by c0ntrite on 2010/6/23 8:32:07
|
|
Transfer
|
||
Re: Modifying Ads |
||
|---|---|---|
|
Webmaster
![]()
Joined:
2004/10/6 16:13 Posts:
927
![]() |
Sorry about that. Maybe just this,
Go to admin/index.php about line 563 and remove this from the line: date='$date', I think that will do it. Let me know. John
Posted on: 6/23 9:11
|
|
Transfer
|
||
Re: Modifying Ads |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
2008/2/27 9:44 Posts:
36
![]() |
its ok :) nothing changed. it still brings the updated ad on top of the list.
Posted on: 6/23 11:18
|
|
Transfer
|
||
Re: Modifying Ads |
||
|---|---|---|
|
Webmaster
![]()
Joined:
2004/10/6 16:13 Posts:
927
![]() |
I just tested this by just removing the date=$date, from the index page and I get the results you are looking for. Updated but not changed in the latest listings.
John
Posted on: 6/23 12:12
|
|
Transfer
|
||
Re: Modifying Ads |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
2008/2/27 9:44 Posts:
36
![]() |
oops. i didn't read your previous post right. I thought you said to change line 565 to:
date='$date', I changed it from: date='$now', :D my fault sorry. will try again, will let you know if it works with the old version :)
Posted on: 6/24 13:07
|
|
Transfer
|
||
Re: Modifying Ads |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
2008/2/27 9:44 Posts:
36
![]() |
it works! thanks! as always ;) I deleted both $date='$date', and $date='$now', is that ok?
Posted on: 6/24 13:24
|
|
Transfer
|
||
Re: Modifying Ads |
||
|---|---|---|
|
Webmaster
![]()
Joined:
2004/10/6 16:13 Posts:
927
![]() |
Are you able to add new listings?
Are you modifying a listing or approving a listing? John
Posted on: 6/29 8:33
|
|
Transfer
|
||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.




Transfer
