Support Forums

Show users ads in userindex.tpl

This is a discussion on Show users ads in userindex.tpl within the Templates, HTML, CSS, and Design Help forums, part of the General category; I would like to list the the registered users ads under the statistics in user/userindex.tpl the same way it is ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 03-21-2010, 11:13 AM   #1
Customer
 
Join Date: Sep 2006
Location: USA
Posts: 156
Rep Power: 24
BigOrange will become famous soon enough
Default Show users ads in userindex.tpl

I would like to list the the registered users ads under the statistics in user/userindex.tpl the same way it is listed when you view an ad and click on "More ads from this seller". Can this be done with the designer addition of 4.1.6?

Thanks.
__________________
v4.1.9 Designer - Default template (modified)

"I have never forgotten anything... if I have I can't remember what it was."
BigOrange is offline   Reply With Quote
Old 03-21-2010, 03:14 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Im not sure I understand what you are saying, you say you want to list a users other ads, but then say like it does when viewing one of the users listings, but it doesnt actually display the users other listing, just a link to display them so are you wanted to create a link to display or actually display them?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 03-21-2010, 03:33 PM   #3
Customer
 
Join Date: Sep 2006
Location: USA
Posts: 156
Rep Power: 24
BigOrange will become famous soon enough
Default

What I want for a member/registered user to see a list, of all his active ads that he has online, displayed at the bottom of the userindex.tpl page.

The list displayed would be like what he would see if he clicks on one of his ads and then clicks "More ads from this seller".

I hope I have explained it a little better.

Thanks!
__________________
v4.1.9 Designer - Default template (modified)

"I have never forgotten anything... if I have I can't remember what it was."
BigOrange is offline   Reply With Quote
Old 03-21-2010, 04:33 PM   #4
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

I've never heard of anybody wanting to do that, but I could see the benefit of it.

I'm sure that it could be done as either a module or possibly a Smarty plugin. Essentially, you would need to capture the userID and then process it the same way that searchresults.php does sending it to Listings.php and call format.php, etc. and then output it to a new section in the userindex.tpl.
__________________
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   Reply With Quote
Old 03-21-2010, 04:46 PM   #5
Customer
 
Join Date: Sep 2006
Location: USA
Posts: 156
Rep Power: 24
BigOrange will become famous soon enough
Default

Thanks for your reply.

From what you are telling me, it appears to be something that cannot be done a the template level and probably is beyond my expertise. Maybe someone will offer another solution.

Thanks again.
__________________
v4.1.9 Designer - Default template (modified)

"I have never forgotten anything... if I have I can't remember what it was."
BigOrange is offline   Reply With Quote
Old 03-21-2010, 09:23 PM   #6
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

You can probably use this plugin:
Feature Listings Horizontal - 68 Classifieds

Code:
{feature_listings_horizontal owner=$smarty.session.uid featured="N" number=8 cols=3 table_attr='width="100%" style="border: 1px solid #000;"' td_attr='valign="middle" align="left"'}
Keep in mind you will have to manually set a number and the list will not be paged.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 03-21-2010, 11:41 PM   #7
Customer
 
Join Date: Sep 2006
Location: USA
Posts: 156
Rep Power: 24
BigOrange will become famous soon enough
Default

Thanks Eric.

It's not exactly what I had in mind but that will work. I think it will be useful information for the user and it will take up some empty space below the normal info found there.
__________________
v4.1.9 Designer - Default template (modified)

"I have never forgotten anything... if I have I can't remember what it was."
BigOrange is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
userindex.tpl help required please jason1971 Templates, HTML, CSS, and Design Help 6 02-13-2010 02:50 AM
68Green userindex.php dphibb Templates, HTML, CSS, and Design Help 2 06-26-2007 03:17 PM


All times are GMT -4. The time now is 11:37 AM.


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