Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vBgarage
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Multiple Cars/Garages for vBGarage Details »»
Multiple Cars/Garages for vBGarage
Version: , by noppid noppid is offline
Developer Last Online: Sep 2015 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-24-2005 Last Update: Never Installs: 0
 
No support by the author.

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:
// New vbgarage.php

// New vB file edits
Who's online instructions will be included

// Database changes

Table: vbgarage_comments
added field `vbgarageid`
added index on field `vbgarageid`

Table: vbgarage_users
dropped Primary Index on field `userid`
added field `garageid` int(10) unsigned NOT NULL auto_increment,
added index PRIMARY KEY (`garageid`),
added index KEY `userid` (`userid`)

Table: vbgarage_images
added field `id` smallint(6) unsigned NOT NULL default '0',
added index KEY `id` (`id`),
added index KEY `userid` (`userid`)

// templates changed

vbgarage_editgarage
vbgarage_editimagebits
vbgarage_imagebits
vbgarage_latestbits
vbgarage_listbits
vbgarage_viewgarage
vbgarage_commentbits
vbgarage_listgarage
vbgarage_popup

// template additions

vbgarage_editparkedbits
vbgarage_parkedbits
vbgarage_parkedlist
vbgarage_randombits
vbgarage_inactive_warning
vbgarage_error

//new settings
vbgwysiwyg
grouptitle = vbgarage
value = 1
default = 1
optioncode = yesno
displayorder = 60
advanced = 0
volatile = 0

// new phrases
Globals
vbgarage_alert_off = The Garage is Currently Turned OFF!!! Only Admins can see the Garage!
vbgarage_parked_cars = Car List
vbgarage_gallery = Photo Gallery
vbgarage_add_edit = (Add/Edit your Car)

Setting Phrases
setting_vbgwysiwyg_desc = Use the WYSIWYG Editor?
setting_vbgwysiwyg_title = Editor Options

// images
Two new images
forums/images/misc/deletegarage.gif
forums/images/misc/editgarage.gif
Thanks for your time.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-27-2005, 10:00 AM
oly51's Avatar
oly51 oly51 is offline
 
Join Date: Mar 2002
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfectly now. I like the header changes.
Reply With Quote
  #13  
Old 01-27-2005, 04:00 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by oly51
Works perfectly now. I like the header changes.
Joeychgo and I worked on that till 4:30am. The idea of the title and headers was his and is for SEO optimization.

We also nixed the DHTML popup as it is inconsistant in drawing itself and while it looks cool, without a full frame, it just didn't look right to us.

Joe gave me a long list of to do's that I'm going to address to enhance things before we even consider a release. That time is not going to be too soon.

But let me remind you, the next version will require 4.0.0 to be installed to upgrade to multi garage.
Reply With Quote
  #14  
Old 01-31-2005, 07:16 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The list of changes has been updated. The first post in this thread is basically what will need to be done to upgrade to multi garage/car mode.

Take a look at that we have so far... http://www.cpurigs.com/forums/vbgarage.php

We need more feedback please.
Reply With Quote
  #15  
Old 02-04-2005, 10:21 PM
nexialys
Guest
 
Posts: n/a
Default

feedbacks.. we NEED this, how can we feedback something we can't play with ?!

release that multi-garage hack, we will evaluate and help on coding extensions if needed... ;0)
Reply With Quote
  #16  
Old 02-04-2005, 10:36 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys
feedbacks.. we NEED this, how can we feedback something we can't play with ?!

release that multi-garage hack, we will evaluate and help on coding extensions if needed... ;0)
Easier said then done. You see how this is going, 30 installs and only an upgrader and converter revision? That's how the next release is supposed to be too. I don't want to be a slave to code that folks need fixed on live sites cause we missed a bug that is hard to work out.

It would be appreciated if folks would go to the computer site in my signature and register and test the new version. We can have problems there and not really effect anyone.

I'm not hawking for membership, I never expect to see you guys again after it works, we need testers.

Thanks
Reply With Quote
  #17  
Old 02-05-2005, 11:16 AM
nexialys
Guest
 
Posts: n/a
Default

i never knew you needed us to register to test... btw, i never test on others boards, i take the codes and test it on my own server, because i'm "so intense" ..

i'll wait for the release of the files to test it, so if you want me to test on my side, just shoot me the files...
Reply With Quote
  #18  
Old 02-05-2005, 02:47 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys
i never knew you needed us to register to test... btw, i never test on others boards, i take the codes and test it on my own server, because i'm "so intense" ..

i'll wait for the release of the files to test it, so if you want me to test on my side, just shoot me the files...
Well, if no one tests it, it won't be debugged. If no one registers, no one can debug the add and edit and wysiwyg.

I would say with the help I have now, it will be another month.
Reply With Quote
  #19  
Old 02-05-2005, 08:48 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, done.

Problem #1

How do you edit/remove a photo from your garage once uploaded? I uploaded the wrong pic but cant get it to remove.

Problem #2

Large images break the page. Is there a way to make a certain max width?

Problem #3

How do we completely remove a garage?

Looks good so far!!
Reply With Quote
  #20  
Old 02-05-2005, 09:58 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trackpads
Ok, done.

Problem #1

How do you edit/remove a photo from your garage once uploaded? I uploaded the wrong pic but cant get it to remove.

Problem #2

Large images break the page. Is there a way to make a certain max width?

Problem #3

How do we completely remove a garage?

Looks good so far!!
1) You need to click edit/add your computer on forumhome or from the menu in your user control panel. Then on the right of the list you will see buttons for delete and edit.

You also found a bug, when you view your garage you should see an edit and delete link, that is fixed.

2) That's gonna take some JAVA I believe. Someone said they could help with Java on popups, maybe we can set some help here too.

Or

We could add resizing of pics on upload. Only larger to Smaller by width is what I'm thinking.

3) See number one.

Thanks for your help, it is appreciated.

4) I don't like what quote and code tags do either.
Reply With Quote
  #21  
Old 02-05-2005, 10:59 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, just noticed something else. The comments are displaying backwards, ie. most recent first. Any way to reverse that?

Also, it works perfectly for large JPG uploads:

http://www.cpurigs.com/forums/vbgara...=241&garage=48

But gifs are a problem:

http://www.cpurigs.com/forums/vbgara...=241&garage=47

Is there a way to allow more than one image in the garage when you create it? Right now you have to go back and edit, add a pic, edit again, add another pic etc etc
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:38 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07169 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete