vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - VB Pro Garage Timeslips (https://vborg.vbsupport.ru/showthread.php?t=236888)

Mark4865 07-09-2011 01:38 PM

hello Dylan worked perfectly thanks would also like to remove URL and 2nd description box.

Also if I change colour spelling will that effect anything

MotMann 07-10-2011 12:26 PM

I need the german Phrases. Did you have these?

Thank's :-)

av8or1 07-10-2011 02:46 PM

Quote:

Originally Posted by Dylanblitz (Post 2218461)
Yes you would need to modify the code for something like that. You could probably tweak the timeslips page to work as a show page. Depends on what kind of fields you want.

Ok thank you for the confirmation Dylan. I can make these modifications myself, but how do you feel about that? Is it ok for me to proceed? The intent is to modify it for our forum only. Should I offer the result back to you or something?

Thank you again for replying to my inquiry.

Jerry

Dylanblitz 07-10-2011 05:28 PM

Quote:

Originally Posted by Mark4865 (Post 2218511)
hello Dylan worked perfectly thanks would also like to remove URL and 2nd description box.

Also if I change colour spelling will that effect anything

To remove the url open that template and delete

Code:

        <tr>
        <td><b>{vb:rawphrase garage_txt_vehicle_url}</b>
        </td>
        <td><input type="text" name="vehicle_url" id="vehicle_url" maxlength="250" size="45" value="{vb:raw my_vehicle_data[vehicle_url]}">
        </td>
        </tr>

The second box is

Code:

        <tr>
        <td><b>{vb:rawphrase garage_thead_todolist}</b>
        </td>
        <td>
<textarea id="todo_list" name="todo_list" rows="8" cols="60">{vb:raw my_vehicle_data[todo_list]}</textarea>
        </td>
        </tr>

You can change colour by searching the phrases for garage_thead_color. It wont effect anything.

Dylanblitz 07-10-2011 05:31 PM

Quote:

Originally Posted by av8or1 (Post 2218961)
Ok thank you for the confirmation Dylan. I can make these modifications myself, but how do you feel about that? Is it ok for me to proceed? The intent is to modify it for our forum only. Should I offer the result back to you or something?

Thank you again for replying to my inquiry.

Jerry

You can tweak it however you want, I don't mind. Most people tweak it some way or another.

Mark4865 07-11-2011 07:01 AM

thanks Dylan, great support as always much appreciated

Mark4865 07-11-2011 09:23 AM

worked perfectly thanks

av8or1 07-12-2011 03:20 AM

Quote:

Originally Posted by Dylanblitz (Post 2219018)
You can tweak it however you want, I don't mind. Most people tweak it some way or another.

Ok thank you Dylan. I was able to do that fairly easily; I removed the timeslips stuff and just added a few fields similar to the description field. Works just fine.

I did notice along the way that there were a few phrases and labels that were missing; the fuel_type stuff comes to mind ... and I think the todo_list field didn't have a label phrase. Anyway, just FYI. I added the phrases and they displayed without a problem.

Thanks again, great mod!

-J

MotMann 07-12-2011 07:30 PM

User can't see Garage. But they have permissions. What shell i do?
And i try to change the phrases to german, but that's mosly not going.. need help :(

av8or1 07-13-2011 02:59 AM

1 Attachment(s)
Hi again Dylan,

I liked your mod enough that I decided to have a go tonight at replicating the forumhome image display stuff in a vBa module. I was successful, and I think it looks great on our forum "splash" page, for which we use vBa.

In the code I attributed you as the author and now I would like to release it as a portal add-on so that the rest of the vBa folk could use it if they have your mod installed. Clearly this vBa module relies completely on your mod. :-)

Anyway before I do that I wanted to ask for permission first. I'm not seeking any "glory" for this work and again, I have credited you as the author. The only reason I ask is to help others, as they might like this vBa module as well.

Thanks!

Jerry

ps-pic of working module attached.

Mark4865 07-21-2011 11:06 AM

hello Dylan,

hope do I get rid of the block showing the BB code and the direct link code on the individual vehicle page please

Fantastic mod

Mark4865 07-21-2011 02:08 PM

Can you also confirm users can edit and delete their own vehicles without having admin permissions

If so how do I set this up

RollaJedi 07-21-2011 03:07 PM

Hello

I was trying to install this and got to the part about installing the language pack in the languages and phrases area.

When i try to do this, it comes back with this message:

This file was created using a different version of vBulletin from the one you are running.

Your version: 4.1.4
File version: 3.7.4


So, i can't see any of the words in the settings area at all.:confused:

Dylanblitz 07-21-2011 05:55 PM

Quote:

Originally Posted by MotMann (Post 2219748)
User can't see Garage. But they have permissions. What shell i do?
And i try to change the phrases to german, but that's mosly not going.. need help :(


Sorry, I didn't see this MotMann, did you get it worked out? Let me know if you didn't, I'll be glad to help. If they can't see the garage then most likely the nav button is set to admin only still. Its in the vB Options/Garage General Settings tab.

Dylanblitz 07-21-2011 06:02 PM

Quote:

Originally Posted by Mark4865 (Post 2223160)
hello Dylan,

hope do I get rid of the block showing the BB code and the direct link code on the individual vehicle page please

Fantastic mod

The bbcode and direct link are only visible to the admin and vehicle owner. But if you do want to remove it
In the ACP go to Options/Garage Vehicle Settings

Find the option for Enable Direct and BBCode links? and set it to disabled.

As far as permissions to edit/delete, if a user can create vehicles they can edit and delete their own vehicles. There is no special permissions to set for this.

Dylanblitz 07-21-2011 06:03 PM

Quote:

Originally Posted by RollaJedi (Post 2223245)
Hello

I was trying to install this and got to the part about installing the language pack in the languages and phrases area.

When i try to do this, it comes back with this message:

This file was created using a different version of vBulletin from the one you are running.

Your version: 4.1.4
File version: 3.7.4


So, i can't see any of the words in the settings area at all.:confused:

When you import the language file you want to select Yes for Ignore Language Version.

RollaJedi 07-21-2011 06:21 PM

just tried this but it comes back with this now:

The file you attempted to import only contains phrases and none of the settings required. You will be unable to make a new language with this file.

i'm affraid to overwrite the english language one

Dylanblitz 07-21-2011 06:28 PM

Quote:

Originally Posted by RollaJedi (Post 2223308)
just tried this but it comes back with this now:

The file you attempted to import only contains phrases and none of the settings required. You will be unable to make a new language with this file.

i'm affraid to overwrite the english language one

That's the only way to do it. I don't use any OOB phrases, so you wont be overwriting any stock phrases, it will just add the garage phrases to the existing.

RollaJedi 07-21-2011 06:47 PM

Ok, thanks! One more question though. How could i get the navbar button to say something beside 'Garage'? Thanks!

RollaJedi 07-21-2011 06:53 PM

nevermind, i got it!

Dylanblitz 07-21-2011 06:55 PM

It depends.
The text is in the phrase garage_global_garage, but it is used lots of other places. So if you want only the nav link to be changed I would edit the garage_nav_button template and replace {vb:rawphrase garage_global_garage} with whatever you want it to be.
If you want it changed everywhere it says Garage then change that phrase.

RollaJedi 07-21-2011 07:37 PM

I love this mod, but i dont want it for cars. I run a star wars site where my members collect the toys. I would love to use this mod for them to show off their collections, but there are some things that wouldnt make sense on the adding a new vehicle (collection) and viewing the vehicle (collection) i wish i could take off:

-the color question
-mileage
-purchase date
-no year
-no timeslips
-and just have one of the model/make dropdowns

Is there anyway at all i could do this as maybe a custom non-vehicle garage? I'm not a coder so i dont wanna screw anything up. It would probably be really useful for others like me that want to use this to display a collection.

Thank you!!

Mark4865 07-23-2011 11:20 AM

perfect thanks Dylan this mod looks really great on my website and the members are loving it thanks for all the hard work

Big Kahuna 07-28-2011 10:23 AM

I can get the Garage tab to display between Forums and What's New while an admin -- but it doesn't display for the other member groups?

Big Kahuna 07-28-2011 10:59 AM

Quote:

Originally Posted by Big Kahuna (Post 2225963)
I can get the Garage tab to display between Forums and What's New while an admin -- but it doesn't display for the other member groups?

found my answer elsewhere in the thread -- problem resolved. Thanx - great Add-on
Quote:

Originally Posted by MotMann https://vborg.vbsupport.ru/external/2011/07/1.gif
User can't see Garage. But they have permissions. What shell i do?
And i try to change the phrases to german, but that's mosly not going.. need help :(
Sorry, I didn't see this MotMann, did you get it worked out? Let me know if you didn't, I'll be glad to help. If they can't see the garage then most likely the nav button is set to admin only still. Its in the vB Options/Garage General Settings tab.

otectom 07-31-2011 04:16 PM

Hi I have this mod installed on my site, and my users love it, but we are experiencing some issues. I tried to read through this entire thread to see if they have already been addressed, but it is very long.

Issues:
Page does not display correctly. Pages are not centered, and my background disappears. Not sure if this is theme related?

Only admins and mods can edit vehicles once they are posted, regular users cannnot even though the setting is enabled.

There is no proper error page, if a mistake is made when a user is adding a vehicle they only see a page with the error in a line of code. This is confusing to some users. Also when this happens the vehicle is still created, but it cannot be edited to be fixed. This leads us to have multiple additions of the same vehicle with only one being correct (if the user bothers to try over and over till it's right)

Random vehicle images olny shows images that are set as the default image, shouldn't this show any random image?

You should build a widget so random images, pr featured images can be shown on the home page of the site.

Any attention to these issues would be greatly appreciated! Please visit http://www.teamotec.net to see.

Dylanblitz 08-01-2011 05:45 AM

Quote:

Originally Posted by otectom (Post 2227286)
Hi I have this mod installed on my site, and my users love it, but we are experiencing some issues. I tried to read through this entire thread to see if they have already been addressed, but it is very long.

Issues:
Page does not display correctly. Pages are not centered, and my background disappears. Not sure if this is theme related?

Only admins and mods can edit vehicles once they are posted, regular users cannnot even though the setting is enabled.

There is no proper error page, if a mistake is made when a user is adding a vehicle they only see a page with the error in a line of code. This is confusing to some users. Also when this happens the vehicle is still created, but it cannot be edited to be fixed. This leads us to have multiple additions of the same vehicle with only one being correct (if the user bothers to try over and over till it's right)

Random vehicle images olny shows images that are set as the default image, shouldn't this show any random image?

You should build a widget so random images, pr featured images can be shown on the home page of the site.

Any attention to these issues would be greatly appreciated! Please visit http://www.teamotec.net to see.

Can you create me an account with permissions to add to the garage? I don't have any create only type code in there, so if someone creates a vehicle they should be able to edit it.
What are they missing when they get an error? Everything required that might be missing I thought I had accounted for with an error page.

The style does look like it's having a conflict with the garage. There is a template called garage_css where you can try and adjust/tweak it.

otectom 08-01-2011 08:14 PM

Sure thing I have created a user named testie with the pw testpassword
That user is a regular user with no special privileges.

The error message seemed to spawn from users adding images that were too large in file size, so I was able to skirt that by increasing the file size cut off.

I'm not sure what I'll have to do with that css file to make it look completely correct, but I'll take a look at it.

Thank you for the speedy response!

Dylanblitz 08-02-2011 08:09 AM

Quote:

Originally Posted by otectom (Post 2227870)
Sure thing I have created a user named xxxxxx with the pw xxxxxx
That user is a regular user with no special privileges.

The error message seemed to spawn from users adding images that were too large in file size, so I was able to skirt that by increasing the file size cut off.

I'm not sure what I'll have to do with that css file to make it look completely correct, but I'll take a look at it.

Thank you for the speedy response!

I got the info, you want to edit your post and delete it?
Might want to send that through a pm next time :)

EDIT:
I can edit my vehicle fine. Are you sure they are doing it right?
The red make/model with the down arrow is a dropdown menu. I was able to select it and change the make/model.
Do they get an error or maybe they just don't see the dropdown?

otectom 08-02-2011 08:23 PM

Well, that would explain it! I had been using the admin controls to edit my own vehicle, and had been telling people that's where the button would be. I never knew there was a drop down. I feel stupid, thank you!

Also the testie password has already been changed, so it's no biggie.

bosken 08-03-2011 07:14 AM

Installed the product on new 4.1.5, works perfect. ( you can check my site )

Thanx for a great product.

PS: Have almost translated all to Swedish if somebody wants that.

matt94gt 08-03-2011 05:14 PM

Hi I am getting these errors:

Warning: mkdir() [function.mkdir]: Permission denied in [path]/includes/garage_func_var.php on line 2744

Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744

Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744

Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744

Warning: move_uploaded_file(images/garage/attach/7/9/6/4/garage_vehicle-4-13123951741_full.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]/includes/garage_func_var.php on line 2821

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php7wVpvf' to 'images/garage/attach/7/9/6/4/garage_vehicle-4-13123951741_full.jpg' in [path]/includes/garage_func_var.php on line 2821

I set the arage_func_var.php permissions to 777...

any suggestions?

bosken 08-03-2011 09:03 PM

Noticed this feature on an another forum.. (FYI running vB 3.7.1)

Is it possible to add this feature? I like it..

https://vborg.vbsupport.ru/external/2012/01/59.jpg

Dylanblitz 08-04-2011 04:14 PM

Quote:

Originally Posted by matt94gt (Post 2228812)
Hi I am getting these errors:

Warning: mkdir() [function.mkdir]: Permission denied in [path]/includes/garage_func_var.php on line 2744

Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744

Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744

Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744

Warning: move_uploaded_file(images/garage/attach/7/9/6/4/garage_vehicle-4-13123951741_full.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]/includes/garage_func_var.php on line 2821

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php7wVpvf' to 'images/garage/attach/7/9/6/4/garage_vehicle-4-13123951741_full.jpg' in [path]/includes/garage_func_var.php on line 2821

I set the arage_func_var.php permissions to 777...

any suggestions?

It's not the file permissions itself. The images folder doesn't sound like it has permissions for the script to write to. You can change it in the script but the default is images/garage/attach and any sub folders that are created.

bosken 08-05-2011 06:55 PM

Anyone can vote on a "bike" how many times they want, and even vote on their own :(

Can this be disabled somehow?

Dylanblitz 08-06-2011 02:44 AM

Quote:

Originally Posted by bosken (Post 2229802)
Anyone can vote on a "bike" how many times they want, and even vote on their own :(

Can this be disabled somehow?

It's a bug that I have fixed in the next version

Open includes/garage_func_var.php
Find
Code:

$rating_query = $vbulletin->db->query_read("SELECT id FROM " . TABLE_PREFIX . "garage_ratings WHERE vehicle_id = '$id' && user_id = '$bbuserinfo[userid]'");
replace with

Code:

$rating_query = $vbulletin->db->query_read("SELECT id FROM " . TABLE_PREFIX . "garage_ratings WHERE vehicle_id = '" . $id . "' && user_id = " . $vbulletin->userinfo['userid'] . "");
That should fix it.

Dylanblitz 08-06-2011 02:45 AM

Quote:

Originally Posted by bosken (Post 2228938)
Noticed this feature on an another forum.. (FYI running vB 3.7.1)

Is it possible to add this feature? I like it..

https://vborg.vbsupport.ru/external/2012/01/59.jpg

I'll take a look at the code and see what would need to be modified.

bosken 08-07-2011 08:00 AM

Quote:

Originally Posted by Dylanblitz (Post 2229952)
It's a bug that I have fixed in the next version

Open includes/garage_func_var.php
Find
Code:

$rating_query = $vbulletin->db->query_read("SELECT id FROM " . TABLE_PREFIX . "garage_ratings WHERE vehicle_id = '$id' && user_id = '$bbuserinfo[userid]'");
replace with

Code:

$rating_query = $vbulletin->db->query_read("SELECT id FROM " . TABLE_PREFIX . "garage_ratings WHERE vehicle_id = '" . $id . "' && user_id = " . $vbulletin->userinfo['userid'] . "");
That should fix it.


It did! Great, thanx! :up:

bosken 08-07-2011 08:00 AM

Quote:

Originally Posted by Dylanblitz (Post 2229953)
I'll take a look at the code and see what would need to be modified.

If it is to any help, site is www.hdforums.com where the avatar mod is.

RollaJedi 08-08-2011 01:59 PM

any help with my question??


All times are GMT. The time now is 03:42 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.01964 seconds
  • Memory Usage 1,858KB
  • 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
  • (6)bbcode_code_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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