Support Forums

Mod Wanted - Dealer logo in search results

This is a discussion on Mod Wanted - Dealer logo in search results within the Technical Support forums, part of the Technical Support Forums category; Hi, After a user makes a search they get a list of items, i want a new field with a ...


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 07-07-2008, 09:18 AM   #1
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default Mod Wanted - Dealer logo in search results

Hi,
After a user makes a search they get a list of items, i want a new field with a dealers picture or simply stating "Private seller" something like this http://everythingsfree.org/image//im...5613dealer.jpg
I need a mod made so that when a user registers they can upload a image/logo and then it will appear in the search. The user also needs to be able to change the logo in their own control pannel.

Is anyone interested in coding this? if so please send me a quote.
Cheers,
Nick
www.truckandmachinery.com.au
bowers01 is offline  
Old 07-27-2008, 05:12 AM   #2
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default

No one interested in coding this?
Cheers
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Old 09-13-2008, 09:49 AM   #3
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default

I have one more request for this,
when the user registers they choose either dealer or private. If they choose private it is exactly the same as it is now. If they choose Dealer, they should be prezented with extra fields that need to be entered, such as LMCT number, dealer name ect. And also have a upload for their logo.
In the viewlisting there should be a viewlisting.tpl for dealers and a viewlisting.tpl for private, as the dealer should show their address, LMCT and logo. Then is showlistings if they are a dealer it should show their logo but if they are private it should show "Private seller"

Any one interested in coding this?
Cheers,
Nick

Edit: Maybe the seller store could work, i have it in my viewlisting already.
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template

Last edited by bowers01; 09-13-2008 at 10:14 AM.
bowers01 is offline  
Old 09-13-2008, 05:15 PM   #4
The Master
 
Maffo's Avatar
 
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,342
Rep Power: 52
Maffo is just really nice Maffo is just really nice
Default

Nick, I have to say this. Why not have a go at this yourself? Get the developers kit and have a go. Its not that hard.

1st have a go at adding a dealer option.

Easy, add a radio button to the html registration form which defaults as 1 for Normal and 2 for Business User.

Add an extra field to the table 'users' - 'user_type'

With the developers code you can find the statement that injects this into the database and also where it is modified.

Once you have that coded you can set a session in php

PHP Code:
$_SESSION['user_type']=$rs['user_type'
You then have an easy frame to use

PHP Code:
if($_SESSION['user_type']==1){
// Do something for the normal user}
else{
Do 
something for the business user
You have that variable throughout your program.

As well as in smarty.

PHP Code:
{smarty.session.user_type
See if you can do all that on your own
__________________
**Bulk Upload System** has been upgraded. Works on all v4 versions with new functionality. Free upgrade for existing customers.
Maffo is offline  
Old 09-13-2008, 09:42 PM   #5
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default

Hi,
Would it be possible to make it when a user selects Dealer then more options appear? But if they slect Private they dont.
I dont want to buy developer if this cant be done.
Cheers
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Old 09-13-2008, 09:52 PM   #6
The Master
 
Maffo's Avatar
 
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,342
Rep Power: 52
Maffo is just really nice Maffo is just really nice
Default

To do that would require some basic javascript knowledge.

You do everything at your own pace.

If you are wanting to learn a bit of PHP and mySQL you should get the developers kit. Just think, everytime you want something doing, you will be able to attempt it yourself.
__________________
**Bulk Upload System** has been upgraded. Works on all v4 versions with new functionality. Free upgrade for existing customers.
Maffo is offline  
Old 09-20-2008, 02:44 PM   #7
Junior Member
 
Join Date: Jun 2008
Posts: 15
Rep Power: 14
roamex is on a distinguished road
Default

Hi I would be interested in this mod as well. I am looking for any mods that have advanced features for companies to set up stores with pictures ect. Was just wondering if i can get some of this coding or someone can create the mod.
roamex is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modification: Display Search String on Search Results Page jonahcoyote Modules / Plugins / Modifications 22 07-26-2008 06:08 AM
Display Search String on Results Page jonahcoyote Technical Support 3 06-30-2008 11:26 PM


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


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