vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBGarage v3.1.1 (now with GD-Lib support!) (https://vborg.vbsupport.ru/showthread.php?t=63681)

UManiac 12-17-2004 12:17 AM

great Hack! Thank you!

dieselpowered 12-17-2004 05:56 AM

Worked fine here...Thanks!

IanW-GC8 12-17-2004 10:14 PM

I was just about to install this hack (which looks really good BTW) and I got to the point where I need to edit init.php where i noticed this.

Code:

        // START VBGARAGE HACK
        'canvbgarage'              => 262144,
        // END VBGARAGE HACK
        'canseehiddencustomfields' => 262144,

Is the fact that these 2 ID's are the same going to cause any problems?

dieselpowered 12-17-2004 10:40 PM

The only issue I am having is the adding of the image to the postbit template....The image does not show???

Any thoughts? The image exist so I do not have a clue??

Action-N 12-17-2004 11:33 PM

Quote:

Originally Posted by IanW-GC8
I was just about to install this hack (which looks really good BTW) and I got to the point where I need to edit init.php where i noticed this.

Code:

        // START VBGARAGE HACK
        'canvbgarage'              => 262144,
        // END VBGARAGE HACK
        'canseehiddencustomfields' => 262144,

Is the fact that these 2 ID's are the same going to cause any problems?

Yes it will, how the instructions should read is. At the end of that list add 'canvbgarage' => 262144 (or enter double previous number)
Code:

,
'canvbgarage'              => 262144

I should see if I can set it up with it's own permissions field so we don't have these problems come next release. Do a search for "canvbgarage" in this thread if you don't understand what I wrote here, cuase this has been asked many times within this thread. Magnus should put links in the main thread to all the fixes for these bugs.

IanW-GC8 12-17-2004 11:37 PM

Many thanks Scott, that makes sense however i'll search this thread as well! :D

therczone 12-18-2004 05:09 PM

To be honest, I can't read all 98 pages of this.. so if it was already discussed, my apologies.

I would like to change the name of it, instead of vBGarage. I don't want to change the credit link on the bottom, just the title that is shown everywhere. Like "Fishtank Garage" (just a random example).

I.E. here it says "Member VBGarage(s)": https://vborg.vbsupport.ru/attachmen...chmentid=18056

How would I do this? Would editing the phrase do it? Also, I want to rename vbgarage.php to fishtankgarage.php (or w/e). If I were to open vbgarage.php and do a replace all on the word "vbgarage" and make it change to "fishtankgarage" would it still work?

Action-N 12-18-2004 05:28 PM

Quote:

Originally Posted by therczone
To be honest, I can't read all 98 pages of this.. so if it was already discussed, my apologies.

I would like to change the name of it, instead of vBGarage. I don't want to change the credit link on the bottom, just the title that is shown everywhere. Like "Fishtank Garage" (just a random example).


How would I do this? Would editing the phrase do it? Also, I want to rename vbgarage.php to fishtankgarage.php (or w/e). If I were to open vbgarage.php and do a replace all on the word "vbgarage" and make it change to "fishtankgarage" would it still work?

Well to be honest yes it was, but like you I'm not about to search 98 pages looking for it so were even. There is a phrase for vbgarage in your phrases you can change, doing a search in phrases for "vbgarage" useing Phrase Variable Name Only will find it. But as some have found out that some vbgarage titles where hardcoded within the php file so you'll have to search through that an replace what you want.

To replace the name of the php file you are right in that you'll need to go through everything an change the name, but yes no reason why it can't be done. Just use an editor to find & replace. One that lets you match case values. Then don't forget to edit "define('THIS_SCRIPT', 'vbgarage');" to php files new name.

Fishtanks huh, well the only two variables that it recuires when making a garage is year and make. The rest it doesn't check for. If you don't need these I bet you can just change the text for these without changeing the variables. Your members won't know what you have the variables named as in the background. Goodluck an let us know how you make out, cuase I bet you're not the only one wanting to do this.

IanW-GC8 12-18-2004 11:16 PM

Scott,

Thanks for your help yesterday, I installed it today without any problems what so ever! :D

Ian

Action-N 12-19-2004 12:57 AM

Well glad you have it working now.

I wanted to let those following the thread know that I am making progress now with storeing files on the server. So far I have it making user folders, uploading multiple files at once into the folders an updating file counts stored in user table. I posted a picture of the front page, even thought you can see it live on my website. The three fields with pictures above them are for photos, sounds, and videos. Hopefully I've been through the hard part an the rest is smooth sailing.


All times are GMT. The time now is 11:57 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02731 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete