Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vBgarage

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
  #22  
Old 02-05-2005, 11:30 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trackpads
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
If we sort the other way, the first page fills up and looks dead. I know it's the oposite of threads, but at least the garage looks active. It's not for conversation, it's for comments.

Of course there is a way to do multiple uploads, I just don't have the time for
adding it. But it's a cool idea.

The GIF is not the problem, the quotes and code in the text are. I have not decided how to deal with that yet.

Thanks again for taking the time to try things out.
Reply With Quote
  #23  
Old 02-05-2005, 11:45 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by noppid
If we sort the other way, the first page fills up and looks dead. I know it's the oposite of threads, but at least the garage looks active. It's not for conversation, it's for comments.
Great point. Your right, better this way.

Quote:
The GIF is not the problem, the quotes and code in the text are. I have not decided how to deal with that yet.
Oh okay, because the penguin is humongous, but when you click the pop up to see larger size it is small and normal.

-Jason
Reply With Quote
  #24  
Old 02-06-2005, 12:13 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trackpads
Oh okay, because the penguin is humongous, but when you click the pop up to see larger size it is small and normal.

-Jason
Yes, that is a problem with browser resizing, smaller pics can be really streched.

Maybe some suggestions will roll in before we just let it be.

I checked the streching of the width of the text side. That is caused by vB php tags. I doubt many will use those.

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...
I enabled full size images for guests. How about a comment on the layout on your mac?

Thanks
Reply With Quote
  #25  
Old 02-06-2005, 02:14 PM
WhisperPntr's Avatar
WhisperPntr WhisperPntr is offline
 
Join Date: Apr 2002
Location: Hong Kong
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there. I'm really happy with what you're doing as I've been anxious to get a gallery for my own forum. Because I know how it can feel "alone" when coding, I'll be happy to help with debugging and whatever needs you may have.

But before I begin... do you prefer we type here or there when we see something? I will type here but may type there under vbgarage if I see something.

Last note, my name will be corapanther and just for clarification's sake I'm a she not he
Reply With Quote
  #26  
Old 02-06-2005, 02:29 PM
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any I deal when this hack will be released?
Iv been looking for this hack for about 6 months lol
Good luck guys and keep up the good work.
If ya hook me up with the codding ill test it on my site
Reply With Quote
  #27  
Old 02-06-2005, 02:30 PM
WhisperPntr's Avatar
WhisperPntr WhisperPntr is offline
 
Join Date: Apr 2002
Location: Hong Kong
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey there. I think the code is awesome but there are a few things I managed to break or noticed needed a teeny bit of fixing.

First, the description on the uploaded images for some reason disfigures the look on mozilla. My resolution is set at 1280x1024 and that may have something to do with it...though I do prefer it to be a wee bit smaller!

Second, I managed to break the model area by including php code.

I'll get on more stuff later. it's already 12:30 here in hong kong so I need a bit of beauty sleep

Looks absolutely wonderful thus far and if there's anything else you want us/me to do please don't hesitate to say it!
Reply With Quote
  #28  
Old 02-06-2005, 03:27 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WhisperPntr
Hey there. I think the code is awesome but there are a few things I managed to break or noticed needed a teeny bit of fixing.

First, the description on the uploaded images for some reason disfigures the look on mozilla. My resolution is set at 1280x1024 and that may have something to do with it...though I do prefer it to be a wee bit smaller!

Second, I managed to break the model area by including php code.

I'll get on more stuff later. it's already 12:30 here in hong kong so I need a bit of beauty sleep

Looks absolutely wonderful thus far and if there's anything else you want us/me to do please don't hesitate to say it!
Exactly what version on you running? 3.11? 3.11-3.0.5? 4.0.0? 4.0.1? 4.0.2?

Quote:
Originally Posted by djjeffa
Any I deal when this hack will be released?
Iv been looking for this hack for about 6 months lol
Good luck guys and keep up the good work.
If ya hook me up with the codding ill test it on my site
Thanks for the help. However I have no clue as to when I can give out code.
Reply With Quote
  #29  
Old 02-06-2005, 03:31 PM
nexialys
Guest
 
Posts: n/a
Default

why everybody on a PC think that the layout on a Mac is completely different and need to be debugged ?! damn.. when it's not working on a Mac, it's not compliant, that's all..
Reply With Quote
  #30  
Old 02-06-2005, 03:41 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys
why everybody on a PC think that the layout on a Mac is completely different and need to be debugged ?! damn.. when it's not working on a Mac, it's not compliant, that's all..
Well I'm trying to be polite since you're giving suggestions and seem to want to help, even though you won't register.

I've implementesd the -1 thing in the phrases you suggested and thought ya may have wanted to give more feedback where possible.

So, having said that. The layout works in IE and FF for me and validates as XHTML valid, so I consider it done.

Thanks.
Reply With Quote
  #31  
Old 02-06-2005, 04:02 PM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nicely done so far, just noticed when you click on an image, you have to register first! Like that Ideal!

A bit off topic, but if its not to much trouble, how did you get the google ads in their under the users list of modifications on their personal page? I'd like to put a <hr> break in ther like you have, then under that, list some paid links of some sort!
Reply With Quote
Reply

Thread Tools

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 02:22 PM.


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.04955 seconds
  • Memory Usage 2,310KB
  • 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
  • (9)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
  • (4)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
  • (10)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