• Page 1 of 1
  • 1
How to add text "ENTRY HAS EXPIRED" on the entry in Ad Board
VN_Zik-:-Life_4_Die
Posts: 87
Reputation: 1

Message # 1 | 2:28 PM
I want to add text "ENTRY HAS EXPIRED" on the entry has expired in Ad Board.
How to do this?
Thanks!!!
joexyz
JOE-vascript
Posts: 1768
Reputation: 78

Message # 2 | 3:38 PM
VN_Zik-:-Life_4_Die, what do you mean by "Entry is expired"? Do you mean, you want to show a message like this?
Quote
Entry has expired and it may contain outdated informations

hey i'm joe and i do not work for the company anymore, please contact tech support for help!

sometimes i lurk here
VN_Zik-:-Life_4_Die
Posts: 87
Reputation: 1

Message # 3 | 4:53 PM
After expired, entry will automatically add the text "entry has expired"
Attachments: 7489552.png (18.8 Kb)
Post edited by VN_Zik-:-Life_4_Die - Wednesday, 2014-09-03, 4:55 PM
Sunny
Posts: 9296
Reputation: 456

Message # 4 | 2:53 PM
VN_Zik-:-Life_4_Die, try to use the variable $PLACED_TILL$ + conditional operators: compare $PLACED_TILL$ with current date - if current date is bigger, some text is displayed.
I'm not active on the forum anymore. Please contact other forum staff.
VN_Zik-:-Life_4_Die
Posts: 87
Reputation: 1

Message # 5 | 4:35 PM
Sunny, $DATE$ Code in "Appearance of entries" of Ad Board: only date posted entries, not the current date.
Sunny
Posts: 9296
Reputation: 456

Message # 6 | 1:49 PM
VN_Zik-:-Life_4_Die, yes, you are right. It stands for current date in "Page with full entry text and associated comments" though.
I'm not active on the forum anymore. Please contact other forum staff.
  • Page 1 of 1
  • 1
Search:
Support
Need help? Contact our support team via the contact form or email us at support@ucoz.com.