Status
Not open for further replies.

GoodApples

Customer
I asked in the discussion here
How to turn off Time Left...

To Quote myself...

In regards to the: All Listing Types now display a countdown for the time left until the end of the listing ...is there an option to turn this off?

I have some usergroups who have longer listings time frames and don't wish to display the length of the listing!
I would be okay if the Admin could view the length but not everyone else!

Request for usergroup permissions and user permissions so that Admin and Listing User would be the only ones who can see it...

In the mean time I could use a little help with editing to hide it :)
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Okay, found it but I'm currently not using the Auction Listing but will be shortly so I hope this does not remove the countdown timer from the Auction...?

Code:
dbtech_classifieds_viewlisting

Admin Only
Code:
<vb:if condition="is_member_of($bbuserinfo, 6)"><div id="timeleft">
                    <img class="datasubimage" src="dbtech/classifieds/images/text_bubble_16.png" />
                    <div class="leftcol"><vb:if condition="$item['ended'] == 0">{vb:rawphrase dbtech_classifieds_time_left}<vb:else />{vb:rawphrase dbtech_classifieds_ended}</vb:if></div>
                    <div class="middlecol"><vb:if condition="$item['ended'] == 0"><span<vb:if condition="$item['timeleftunix'] < 3600"> class="lasthour"</vb:if>>{vb:raw item.timeleft}</span> <span class="meta">({vb:raw item.realenddate})</span><vb:else />{vb:raw item.realenddate}</vb:if></div>
                </div></vb:if>


Hidden from all
Code:
<vb:comment><div id="timeleft">
                    <img class="datasubimage" src="dbtech/classifieds/images/text_bubble_16.png" />
                    <div class="leftcol"><vb:if condition="$item['ended'] == 0">{vb:rawphrase dbtech_classifieds_time_left}<vb:else />{vb:rawphrase dbtech_classifieds_ended}</vb:if></div>
                    <div class="middlecol"><vb:if condition="$item['ended'] == 0"><span<vb:if condition="$item['timeleftunix'] < 3600"> class="lasthour"</vb:if>>{vb:raw item.timeleft}</span> <span class="meta">({vb:raw item.realenddate})</span><vb:else />{vb:raw item.realenddate}</vb:if></div>
                </div></vb:comment>
 
The system uses the same template for each listing type. I'll work in some permissions for whether to display it or not. So you are wanting to make it possible either to deactivate completely, or only be seen by certain usergroups?
 
I would like the Time Left to remain on Auctions but on the other Listings it would be certain Usergroups.

An option for user to see their own classified (Time Left) at all times is good! I would consider that to be a step towards good communication between the site and the person who posted the Listing.

I would be happy as long as the Admin and the listing poster can view by default then by Usergroup

How about permissions for each Listing Type ...so Auctions can keep the timer !
 
Status
Not open for further replies.
Back
Top