Support Forums

User Admin individual listing stats

This is a discussion on User Admin individual listing stats within the Technical Support forums, part of the Technical Support Forums category; V4.1.5 Designer I would like users who have multiple listings to be able to view the stats for each listing ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 01-29-2010, 12:12 PM   #1
Junior Member
 
Join Date: Mar 2008
Posts: 5
Rep Power: 0
bromelands@mac.com is on a distinguished road
Default User Admin individual listing stats

V4.1.5 Designer

I would like users who have multiple listings to be able to view the stats for each listing in the user admin "browse listings". If that's not possible, I would at least like a link to the the listing from user admin/browse listings to the actual listing, so they may see the stats there.

Anyone have any ideas on how to achieve either of these things. I am an ad salesman, not a web design specialist. I am NOT good with code.

Are there any modules or addons that can achieve this?
bromelands@mac.com is offline   Reply With Quote
Old 01-29-2010, 12:16 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,366
Rep Power: 135
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

what "stats" are you referring to?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 01-29-2010, 12:27 PM   #3
Junior Member
 
Join Date: Mar 2008
Posts: 5
Rep Power: 0
bromelands@mac.com is on a distinguished road
Default

Sorry, I should have said views. The number of Views for each individual listing.
bromelands@mac.com is offline   Reply With Quote
Old 01-29-2010, 12:36 PM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,366
Rep Power: 135
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

edit your /user/userbrowselistings.tpl and find the section where the users ads are displayed.Add a new table cell and in it place the smarty variable {$entry.hitcount}
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 01-29-2010, 04:02 PM   #5
Junior Member
 
Join Date: Mar 2008
Posts: 5
Rep Power: 0
bromelands@mac.com is on a distinguished road
Default

I can't find that file. These are the only files I can find:

userindex.tpl
userjoin.tpl
userlogin.tpl
usermodifylisting.tpl
bromelands@mac.com is offline   Reply With Quote
Old 01-29-2010, 04:10 PM   #6
curmudgeon
 
Join Date: Mar 2006
Posts: 5,366
Rep Power: 135
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

You neglectedto give any specifics about your template so I assume you are using a 3rd party one which means it may not have all of the files and relies on files in the default template folder.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 01-29-2010, 04:18 PM   #7
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,046
Rep Power: 75
seymourjames is a jewel in the rough
Default

If you are using one of our templates then you need to copy the file from the default template into each template folder. Then make the change to each of those. We use the default template file for this page. This is how template work in 68 classifieds. The system looks in the current template folder then if it cannot find it, it looks in the default. Its the same approach take n with the 3-column default, purple ,etc
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates and list your 68C site on ClassifiedCodes.com
seymourjames is offline   Reply With Quote
Old 01-29-2010, 04:43 PM   #8
Junior Member
 
Join Date: Mar 2008
Posts: 5
Rep Power: 0
bromelands@mac.com is on a distinguished road
Default

Where in this code to I input that value and what exactly needs to be entered:

<table class="main" width="100%">
<tr>
<th>{$smarty.const.LANG_TITLE}</th>
<th>{$smarty.const.LANG_LISTING_ACTIVE}</th>
<th>{$smarty.const.LANG_LISTING_EXPIRATION}</th>
<th>{$smarty.const.LANG_LISTING_MODIFY}</th>
<th>{$smarty.const.LANG_LISTING_DELETE}</th>
<th>{$smarty.const.LANG_VIEWS}</th>
</tr>
{if $results}
{foreach from=$results item="entry"}
<tr>
<td class="{cycle values="row1,row2" advance=false}">{$entry.title}</td>
<td class="{cycle values="row1,row2" advance=false}">
{if $entry.expirationTime < $smarty.now}
{$smarty.const.LANG_EXPIRED}
{elseif $entry.display == "Y"}
{$smarty.const.LANG_YES}
{elseif $entry.oStatus == 3}
Pending Payment
{else}
{$smarty.const.LANG_NO}
{/if}
</td>
<td class="{cycle values="row1,row2" advance=false}">
{$entry.expiration|date_format:$dateformat}

{if $entry.oStatus == 3 || $entry.oStatus==4}
 
{elseif $entry.renew}
<br /><a href="userrenew.php?action=renew&listingid={$e ntry.id}&orderid={$entry.orderID}">{$smarty.co nst.LANG_LISTING_CLICK_TO_RENEW}</a>
{else}
<br /><a href="userrenew.php?action=renew&listingid={$e ntry.id}&orderid={$entry.orderID}">{$smarty.co nst.LANG_LISTING_UPGRADE}</a>
{/if}
</td>
{if $entry.oStatus==3 || $entry.oStatus==4}
<td class="{cycle values="row1,row2" advance=false}"><input type="button" value="{$smarty.const.LANG_MAKE_PAYMENT}" onClick="MM_goToURL('parent','usercheckout.php?ste p=6&listingid={$entry.id}&productid={$entry.oProdu ctID}');return document.MM_returnValue" /></td>
{else}
<td class="{cycle values="row1,row2" advance=false}"><input type="button" value="{$smarty.const.LANG_LISTING_MODIFY}" onClick="MM_goToURL('parent','usermodifylisting.ph p?view={$entry.id}');return document.MM_returnValue" /></td>
{/if}
<td class="{cycle values="row1,row2" advance=true}"><input type="button" value="{$smarty.const.LANG_LISTING_DELETE}" onClick="delrec('{$entry.id}')" /></td>
</tr>
{foreachelse}
<tr>
<td colspan="9" align="center">{$smarty.const.LANG_LISTING_NO_ADS} </td>
</tr>
{/foreach}
{else}
<tr>
<td colspan="9" align="center">{$smarty.const.LANG_LISTING_NO_ADS} </td>
</tr>
{/if}
</table>
</form>
bromelands@mac.com is offline   Reply With Quote
Old 01-30-2010, 07:41 AM   #9
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,046
Rep Power: 75
seymourjames is a jewel in the rough
Default

You need to create another column and put it in where you want it. Probably just after this will be best.

<td class="{cycle values="row1,row2" advance=false}">{$entry.title}</td>

You will also need to move the heading for that column too.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates and list your 68C site on ClassifiedCodes.com
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Title Tag on Individual Categories shanedawg Technical Support 4 10-01-2009 06:12 PM
No Admin User go3matix Technical Support 1 03-25-2009 08:20 AM
"View Listing" missing from user admin crystal Technical Support 1 06-29-2007 10:21 PM


All times are GMT -4. The time now is 08:53 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0