71
Northern
Re: " Car Garage" Module
  • 2007/7/17 18:04

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


welcome aboard,

i have the template desiged, but debatable

i do need a list of makes and models, if any one would like to lend a hand.

72
script_fu
Re: " Car Garage" Module

We are going to have a problem with us/uk/au so it needs to be more modular based on country code I would think.

Manufactures are no problem.
Models are a whole different story.

Its going to be hard to have every model in the list.


Edit: I took my link down... Let me know how you want the data make/model set up.

73
Northern
Re: " Car Garage" Module
  • 2007/7/17 19:42

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


we can do the same thing as theat, but if you pick a maker, you will only get that makers, models.

it can be done in some sql files, it would make it a faster load time too.

check it out.

[quote]

somthing like this for the makes
xoops_garage_makes VALUES (86'Toyota');
xoops_garage_makes VALUES (87'Triumph');
xoops_garage_makes VALUES (88'TVR');


and this for models
xoops_garage_models VALUES (69386'Hilux');
xoops_garage_models VALUES (69486'Landcruiser');
xoops_garage_models VALUES (69586'Liteace');
xoops_garage_models VALUES (71487'Spitfire');
xoops_garage_models VALUES (71887'TR6');
xoops_garage_models VALUES (71987'TR7');
xoops_garage_models VALUES (72087'TR8');
xoops_garage_models VALUES (72188'280I');
xoops_garage_models VALUES (72588'Cerbera');
xoops_garage_models VALUES (72788'Griffith');
xoops_garage_models VALUES (72888'S Convertible');


Notice the ( ###, ##, 'model')
the 2 digit is the maker
the 3 didgt is the model number.
quote]

74
Northern
Re: " Car Garage" Module
  • 2007/7/17 19:45

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


ive tested it and it work.
with this set up.
#
#-----[ SQL ]------------------------------------------
#
# Garage Makes Table

CREATE TABLE xoops_garage_makes (
  `
idint(10unsigned NOT NULL auto_increment,
  `
makevarchar(255NOT NULL default '',
  
PRIMARY KEY  (`id`),
  
KEY `make` (`make`(64))
TYPE=MyISAM;

#
#-----[ SQL ]------------------------------------------
#
# Garage Models Table

CREATE TABLE xoops_garage_models (
  `
idint(10unsigned NOT NULL auto_increment,
  `
make_idint(10unsigned NOT NULL default '0',
  `
modelvarchar(255NOT NULL default '',
  
PRIMARY KEY  (`id`),
  
KEY `make_id` (`make_id`)
TYPE=MyISAM;

75
gtop00
Re: " Car Garage" Module
  • 2007/7/17 21:55

  • gtop00

  • Friend of XOOPS

  • Posts: 498

  • Since: 2004/11/13


For an unknown (to me) reason, the thread stopped here and "moved" to another.


Dear Bluestocking,

Out of politeness you should note here that you are moving the continuity of this thread in another and also give the link.
We cannot predict your action and adjust (at least) the notifications.

Thanks
George

And here is the link...

I want to believe that (hopefully) nobody will delete this thread...

76
Mudnuts4x4
Re: " Car Garage" Module
  • 2007/7/17 23:09

  • Mudnuts4x4

  • Just popping in

  • Posts: 36

  • Since: 2007/2/21


I do wish i could help... however, I have no clue about how to write script, code or anything that deals with creating a module.
Mudnut

77
gtop00
Re: " Car Garage" Module
  • 2007/7/17 23:42

  • gtop00

  • Friend of XOOPS

  • Posts: 498

  • Since: 2004/11/13


Hi Mudnut,

Don't blame yourself. We are on the same side...

If we knew PHP programming, I believe that we could make it happen, simply because we love to have and need it a lot.

78
Mudnuts4x4
Re: " Car Garage" Module
  • 2007/7/26 15:01

  • Mudnuts4x4

  • Just popping in

  • Posts: 36

  • Since: 2007/2/21


the module looks like its going to be great!!
Mudnut

79
gtop00
Re: " Car Garage" Module
  • 2007/7/26 15:49

  • gtop00

  • Friend of XOOPS

  • Posts: 498

  • Since: 2004/11/13


Join the teams at http://www.XoopsGarage.org

80
script_fu
Re: " Car Garage" Module


Login

Who's Online

503 user(s) are online (378 user(s) are browsing Support Forums)


Members: 0


Guests: 503


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits