The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Multiple Cars/Garages for vBGarage Details »» | ||||||||||||||||||||||||||
I wrote some code today. I'm using some code snippets and the basic logic that magnus sent me. I believe the author was Action-N and magnus. Thanks again to both of them for sharing. We needed some logic, code, and templates to do this addition and again they cheerfully provided them.
vBGarage public release will be an adaptation using the above logic, some edited code, and some edited templates. If you have seen those branchs of the code, you may see some similarities and some differences in the adaptation. You can see what I have so far at my Computer Rigs Forum. I have two garages set up to view. I really need a few testers to register and login to test using the garage to provide feedback on addition work. There are database changes, template changes, template additions, and an updated vbgarage.php so far. URL's are also affected by including/passing addition variables. Comments are needed in this thread, please give us your two sense and we'll see where the chips fall. Here's the list of changes so far... Quote:
Show Your Support
|
Comments |
#2
|
||||
|
||||
Here's what I am using for mine ( well not exactly, i changed it quite a bit, but this should present the gist of the table structures. )
Code:
# # Table structure for table `vbgarage_comments` # CREATE TABLE `vbgarage_comments` ( `id` int(10) unsigned NOT NULL auto_increment, `garageid` int(10) unsigned NOT NULL default '0', `username` varchar(50) NOT NULL default '', `pagetext` text NOT NULL, `dateline` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`id`) ) TYPE=MyISAM AUTO_INCREMENT=1; # -------------------------------------------------------- # # Table structure for table `vbgarage_images` # CREATE TABLE `vbgarage_images` ( `imageid` int(10) unsigned NOT NULL auto_increment, `garageid` int(10) unsigned NOT NULL default '0', `name` varchar(50) NOT NULL default '', `data` longblob NOT NULL, `type` varchar(50) NOT NULL default '', PRIMARY KEY (`imageid`) ) TYPE=MyISAM AUTO_INCREMENT=1; # -------------------------------------------------------- # # Table structure for table `vbgarage_ratings` # CREATE TABLE `vbgarage_ratings` ( `rateid` int(10) NOT NULL auto_increment, `garageid` int(10) NOT NULL default '0', `userid` int(10) NOT NULL default '0', `rating` int(10) NOT NULL default '0', PRIMARY KEY (`rateid`) ) TYPE=MyISAM AUTO_INCREMENT=1; # -------------------------------------------------------- # # Table structure for table `vbgarage_users` # CREATE TABLE `vbgarage_users` ( `garageid` int(10) unsigned NOT NULL auto_increment, `userid` int(10) unsigned NOT NULL default '0', `text` text, `lastactivity` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`garageid`) ) TYPE=MyISAM AUTO_INCREMENT=1; |
#3
|
|||
|
|||
Quote:
Appreciate it, but I'm done. The list above reflects what I did, not intened to do. In case you're interested, here's what the tables look like... PHP Code:
|
#4
|
||||
|
||||
Opps.
What kind of comments are you looking for then ? |
#5
|
|||
|
|||
Quote:
Thanks |
#6
|
|||
|
|||
OK folks, I can't call this new code tested till I get some folks to try it out. I'm not ready to let anyone beta test it yet and I have no immediate plans for release, but I need help debugging.
Come on over to http://www.cpurigs.com/forums please and register and test the multicar vBGarage. P.S. Upgrading to multicar mode will require vBGarage 4.0.0 to have been installed first. |
#7
|
||||
|
||||
Just uploaded "Multiples" to the test page.
Only issue, After you upload the image, you are taken back to the Submit screen. Hit "Submit' and you remain at that screen. It does not take you to the garage so you don't know if it uploaded or not. Works great otherwise. I'll give it a shot whenever you are ready! Also noticed that when you click on the thumb, the google ads are in front of the full size image. |
#8
|
|||
|
|||
Quote:
What browser are you using when you see the ads in front of the full size image? I cannot duplicate that in IE or Firefox. Thanks |
#9
|
||||
|
||||
Quote:
|
#10
|
|||
|
|||
Interesting. That may be a show stopper? The script is from 2003. I wonder if there is an update or similar more current version?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|