Support Forums

View All Listings of Owner

This is a discussion on View All Listings of Owner within the Technical Support forums, part of the Technical Support Forums category; Hi, When viewing the Owner page (member.tpl), there is a link that says "See all Listings from this person". When ...


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

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 02-09-2009, 01:44 PM   #1
Customer
 
Join Date: Aug 2008
Posts: 80
Rep Power: 16
nagrap2 is on a distinguished road
Default View All Listings of Owner

Hi,

When viewing the Owner page (member.tpl), there is a link that says "See all Listings from this person". When you click this link it displays all listings created by this person.

What I would like to do is display all listings by the owner underneath the owner's details by default when user navigates to the Owner page (member.tpl) as opposed to having to click a link to see all listings by this person.

Can someone help?

Thanks in advance....
__________________
Many Thanks,

Nagrap2

Developer Version 4.1
nagrap2 is offline  
Old 02-09-2009, 02:54 PM   #2
Developer & Moderator
 
Mike-N-Tosh's Avatar
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,427
Rep Power: 75
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

I haven't done this, but I would suggest that you copy the showlistings.tpl and copy the results part into the member.tpl file. I would add a require_once(FILESYSTEM_PATH .'includes/classes/kernel/Listings.php'); to the viewmember.php file.

Take a look at the searchresults.php and copy/modify it into the end of the viewmember.php assigning the variables to the member.tpl file.

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline  
Old 02-09-2009, 03:24 PM   #3
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 136
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I really like this idea. Something I never thought about before.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 02-09-2009, 03:46 PM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

The biggest hrudle I see is how do you deal with members who have a lot of ads? To paginate or not paginate, that is the question

A user with 500 ads could create quite the long page
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
view emails sent via "Contact The Owner" Success Pre Sales Questions 5 07-26-2007 06:27 PM


All times are GMT -4. The time now is 12:42 AM.


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