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)

sekel 09-24-2011 04:03 AM

Quote:

Originally Posted by Dylanblitz (Post 2248539)
Change it to

Code:

$user_link = 'member.php?u=' . $user_id;
That should work

Works like a charm. Thanks so much, appreciate the feedback!

One more question, the forum's favicon seems to reset to default whenever the Garage is opened, what should be changed for the garage to have the same favicon?

Thanks in advance.

cdoyle 09-25-2011 12:39 AM

Hi,
I hope someone can help, our garage used to work. But at some point it stopped working.

What happens is, if someone tries to upload an image.

at the top of the forum they see this messsage

Quote:

Warning: move_uploaded_file(images/garage/attach/1/garage_vehicle-14-13169136471_full.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in [path]/includes/garage_func_var.php on line 2821

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpOcgF6R' to 'images/garage/attach/1/garage_vehicle-14-13169136471_full.jpg' in [path]/includes/garage_func_var.php on line 2821
And then in the garage they see this
Error: Image could not be moved.

when I go and check the permission of images/garage/attach
1,2,3 they are set at 755

Is this correct? the rest are at 777

I tried to change them to 777 but they revert back to 755.

Any ideas?

Dylanblitz 09-25-2011 04:16 AM

Quote:

Originally Posted by sekel (Post 2249489)
Works like a charm. Thanks so much, appreciate the feedback!

One more question, the forum's favicon seems to reset to default whenever the Garage is opened, what should be changed for the garage to have the same favicon?

Thanks in advance.

You can edit the template garage_headinclude and add it in there.

Dylanblitz 09-25-2011 04:17 AM

Quote:

Originally Posted by cdoyle (Post 2249766)
Hi,
I hope someone can help, our garage used to work. But at some point it stopped working.

What happens is, if someone tries to upload an image.

at the top of the forum they see this messsage



And then in the garage they see this
Error: Image could not be moved.

when I go and check the permission of images/garage/attach
1,2,3 they are set at 755

Is this correct? the rest are at 777

I tried to change them to 777 but they revert back to 755.

Any ideas?

You should talk to your host. Since it worked before I have a feeling they upgraded something that broke your permissions.

bosken 09-29-2011 01:35 PM

Suddenly ONLY me, Admin can see the postbit dropdown link to albums under the avatars. No one else. Can?t find any settings for this in the permissions menus. ?!?

Tried to reimport file, no luck. Also runned the "Rebuild Vehicle Postbit Dropdowns" thingy

https://vborg.vbsupport.ru/external/2011/09/7.jpg

Dylanblitz 09-29-2011 05:37 PM

Quote:

Originally Posted by bosken (Post 2251241)
Suddenly ONLY me, Admin can see the postbit dropdown link to albums under the avatars. No one else. Can?t find any settings for this in the permissions menus. ?!?

Tried to reimport file, no luck. Also runned the "Rebuild Vehicle Postbit Dropdowns" thingy

https://vborg.vbsupport.ru/external/2011/09/7.jpg

The first thing that comes to mind is that it's something with your style. The postbit dropdown is really just data stored in a custom user profile field. There is no group permissions on it, it's either on or off. I am outputting the data into the template hook postbit_userinfo_right (since you are using legacy postbit). Maybe you have some admin only code in there that has that template hook contained in it?

bosken 09-29-2011 06:11 PM

Thanx for the reply! It worked this morning, I bough two skins from CompleteVb, installed them and i THINK after that it stopped working,. Did some other minor stuff also but have no clue what caused this. Same thing in ALL my skins/styles (even in default style that is untouched).

Not so good at this, what do you mean with admin only code? Such as? I have no clue what to look for.

bosken 09-29-2011 07:51 PM

I tried to put a regular registered user in the moderator group, and BAM, he now could see the Garagebutton again....
so admin, super moderators and moderators see users garage buttons. reg users; no.

:confused:

Dylanblitz 09-30-2011 04:30 AM

Quote:

Originally Posted by bosken (Post 2251386)
I tried to put a regular registered user in the moderator group, and BAM, he now could see the Garagebutton again....
so admin, super moderators and moderators see users garage buttons. reg users; no.

:confused:

What does it do on the default theme? It sounds like the template hook is contained within a conditional that is only for moderators and above.
I can check it out if you can't figure it out, I'd need temp admin access.

Dylanblitz 10-01-2011 05:55 PM

I've gotten it fixed, looks like they did some permission changes. Good for forums, bad for me lol.
They made it so private custom profile fields can't be accessed at all anymore. So I modified the custom field to be visible and moved it to the Other area so it wont show on their main About Me profile page.

bosken 10-01-2011 08:43 PM

Thanx alot Dylan! :D

bosken 10-02-2011 03:03 PM

One more thing - will it still work after I upgrade from vB 4.1.5 - 4.1.7?

Dylanblitz 10-02-2011 04:38 PM

Quote:

Originally Posted by bosken (Post 2252361)
One more thing - will it still work after I upgrade from vB 4.1.5 - 4.1.7?

Yes, I changed the format of the custom field, upgrading doesn't change that.

bosken 10-03-2011 06:51 AM

Think I found another bug (think this happened after your last "hack"). See pic. Users CAN?T change or add signatures (no. 1).
As soon as they or I add some text to their signature no. 3 appears.
No. 3 I fix with "Rebuild Vehicle Postbit Dropdowns" in the admincp. But signature still not showing.
I also can not close the post bit function in admincp, can set to no, but they still showing.


https://vborg.vbsupport.ru/external/2011/10/64.jpg

Dylanblitz 10-03-2011 05:01 PM

Quote:

Originally Posted by bosken (Post 2252602)
Think I found another bug (think this happened after your last "hack"). See pic. Users CAN?T change or add signatures (no. 1).
As soon as they or I add some text to their signature no. 3 appears.
No. 3 I fix with "Rebuild Vehicle Postbit Dropdowns" in the admincp. But signature still not showing.
I also can not close the post bit function in admincp, can set to no, but they still showing.


https://vborg.vbsupport.ru/external/2011/10/64.jpg

Do I still have admin? I'll take a look at it.

cdoyle 10-05-2011 02:02 AM

Quote:

Originally Posted by cdoyle (Post 2249766)
Hi,
I hope someone can help, our garage used to work. But at some point it stopped working.

What happens is, if someone tries to upload an image.

at the top of the forum they see this messsage



And then in the garage they see this
Error: Image could not be moved.

when I go and check the permission of images/garage/attach
1,2,3 they are set at 755

Is this correct? the rest are at 777

I tried to change them to 777 but they revert back to 755.

Any ideas?

Can someone confirm if
images/garage/attach folders 1, 2, 3 are supposed to be 777?

I want to make sure before I have them changed to this.

If it's not, anyone know why I'm having this problem

cdoyle 10-05-2011 02:32 AM

Quote:

Originally Posted by cdoyle (Post 2253336)
Can someone confirm if
images/garage/attach folders 1, 2, 3 are supposed to be 777?

I want to make sure before I have them changed to this.

If it's not, anyone know why I'm having this problem

My host was able to fix it! We came from another host, and the permissions were configured wierd when we migrated.

cdoyle 10-16-2011 02:22 AM

1 Attachment(s)
Hi,
Now that I have the images fixed, I'm noticing some other little bugs in our garage.

When viewing a car, lower left hand corner is a dropdown and the only option is 'all Vehicles' what is this for?

Also, When you edit a car. The very first 2 fields on the screen are there but no lables. What are they for? Should they be there, or do they need to be removed somehow.

Also, on the garage homepage. When someone updates a car, the updated date does not change. Looks to the created date not the last modified date.

Anyone know how to fix these?

Dylanblitz 10-16-2011 07:40 AM

Quote:

Originally Posted by cdoyle (Post 2257623)
Hi,
Now that I have the images fixed, I'm noticing some other little bugs in our garage.

When viewing a car, lower left hand corner is a dropdown and the only option is 'all Vehicles' what is this for?

Also, When you edit a car. The very first 2 fields on the screen are there but no lables. What are they for? Should they be there, or do they need to be removed somehow.

Also, on the garage homepage. When someone updates a car, the updated date does not change. Looks to the created date not the last modified date.

Anyone know how to fix these?

It looks like you didn't import the latest language file. There are missing phrases from newer versions then the original one you had.

For the date, open includes/garage_func_var.php
About line 3368 and 3370 you will see

Code:

$latest_vehicles = $vbulletin->db->query_read("SELECT guv.*, guv.date_created AS QueryDate FROM
Change the guv.date_created to guv.date_updated


EDIT:
The dropdown on the left is for the admin to set an image as a front page category's image.

Santi86 10-17-2011 07:40 AM

Quote:

Database error in vBulletin 4.1.7:

Invalid SQL:
SELECT COUNT(vehicle_id) AS vehicles FROM garage_user_vehicle WHERE active = '0';

MySQL Error : Table 'hyundais_hs.garage_user_vehicle' doesn't exist
Error Number : 1146
Request Date : Monday, October 17th 2011 @ 10:39:22 AM
Error Date : Monday, October 17th 2011 @ 10:39:22 AM
Script : http://*.pl/forum.php
Referrer : http://*.pl/f2/
IP Address : 93.105.44.5
Username : Santi
Classname : vB_Database
MySQL Version : 5.5.11
I uploaded files, imported a product and see this. Help!

cdoyle 10-17-2011 11:28 PM

Quote:

Originally Posted by Dylanblitz (Post 2257672)
It looks like you didn't import the latest language file. There are missing phrases from newer versions then the original one you had.

For the date, open includes/garage_func_var.php
About line 3368 and 3370 you will see

Code:

$latest_vehicles = $vbulletin->db->query_read("SELECT guv.*, guv.date_created AS QueryDate FROM
Change the guv.date_created to guv.date_updated


EDIT:
The dropdown on the left is for the admin to set an image as a front page category's image.

thanks, that seemed to fix it :)

cdoyle 10-18-2011 01:08 PM

Hi,
Have another question, Right now I have my garage set to old blocks. And on my garage page it shows all the blocks. When I go into the Admin panel, I see the option of block order but how do you change it? Right now everything is listed in the left column? I can't drag it over, or do anything to change it.

I would like to have my blocks side by side, like it is in some of the examples.

Thanks

cdoyle 10-20-2011 12:56 PM

Quote:

Originally Posted by cdoyle (Post 2258570)
Hi,
Have another question, Right now I have my garage set to old blocks. And on my garage page it shows all the blocks. When I go into the Admin panel, I see the option of block order but how do you change it? Right now everything is listed in the left column? I can't drag it over, or do anything to change it.

I would like to have my blocks side by side, like it is in some of the examples.

Thanks

Anyone know how to do this?

cdoyle 10-22-2011 12:05 AM

Anyone out there know?

cdoyle 10-23-2011 03:48 PM

Another Question, the images on forumhome.
I have mine set to 'Random' but it doesn't seem to be actually pulling random images from my garage. I just see the same set of images over and over, just in a different order.

http://www.caraudiocentral.net/forums/

I never see any of the new images I've added to the garage, and I don't have many members with a garage. So I should at least see the new images I added once in awhile.

I'm also still looking for an answer to the question I had above about the blocks too.

I really would like to get my garage all working correctly, it's a great hack.

Dylanblitz 10-24-2011 06:17 AM

Quote:

Originally Posted by cdoyle (Post 2258570)
Hi,
Have another question, Right now I have my garage set to old blocks. And on my garage page it shows all the blocks. When I go into the Admin panel, I see the option of block order but how do you change it? Right now everything is listed in the left column? I can't drag it over, or do anything to change it.

I would like to have my blocks side by side, like it is in some of the examples.

Thanks

Do you get any ajax errors? You should be able to drag and drop the blocks left/right up/down.

Dylanblitz 10-24-2011 06:19 AM

Quote:

Originally Posted by cdoyle (Post 2260564)
Another Question, the images on forumhome.
I have mine set to 'Random' but it doesn't seem to be actually pulling random images from my garage. I just see the same set of images over and over, just in a different order.

http://www.caraudiocentral.net/forums/

I never see any of the new images I've added to the garage, and I don't have many members with a garage. So I should at least see the new images I added once in awhile.

I'm also still looking for an answer to the question I had above about the blocks too.

I really would like to get my garage all working correctly, it's a great hack.

If they are in the database it should select them. I'm doing a basic mysql RAND() selection, so I'm leaving it up to mysql to select them randomly heh.

cdoyle 10-25-2011 12:35 PM

Quote:

Originally Posted by Dylanblitz (Post 2260828)
Do you get any ajax errors? You should be able to drag and drop the blocks left/right up/down.

I was able to drag them using IE, but in FF you can't move them.
But even after moving them, it made no difference on my garage page. Everything is still in one column?

cdoyle 10-25-2011 12:37 PM

Quote:

Originally Posted by Dylanblitz (Post 2260829)
If they are in the database it should select them. I'm doing a basic mysql RAND() selection, so I'm leaving it up to mysql to select them randomly heh.

Mine doesn't seem to be updating, and it almost appears to only be displaying the profile pic of the garage. I don't see any other pics appearing at all.

Is there another setting somewhere for what pics it selects?

cdoyle 10-25-2011 08:10 PM

OK, so after awhile it appears that the blocks rearranged themselves.

But there are still some issues, you can see here
http://www.caraudiocentral.net/forums/garage.php

The latest image block is down too far, it's actually looks like the right column block is pushing it down.

I also noticed that the latest images, are not the latest images. I've uploaded a few (see my garage chrisfromwa) All the shots of the car in red were ones I uploaded the other day. But they never appeared in the latest image.

One last thing I noticed, is the categories, all the totals are 1?

Any ideas?

BajaBoatOwners 10-26-2011 03:30 PM

Language/Phrase file wouldn't upload. Getting error it's a older version than I'm using.

BajaBoatOwners 10-26-2011 03:35 PM

Getting this error

Quote:

Warning: require_once([path]/includes/garage_plugin_func.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php(509) : eval()'d code on line 201

Fatal error: require_once() [function.require]: Failed opening required '/home/content/06/7084206/html/includes/garage_plugin_func.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/06/7084206/html/includes/class_bootstrap.php(509) : eval()'d code on line 201

BajaBoatOwners 10-26-2011 04:32 PM

Quote:

Originally Posted by BajaBoatOwners (Post 2261722)
Language/Phrase file wouldn't upload. Getting error it's a older version than I'm using.

Found how to fix this, but other error I posted I'm unable to remedy.

cdoyle 10-27-2011 01:02 AM

1 Attachment(s)
Quote:

Originally Posted by cdoyle (Post 2261516)
OK, so after awhile it appears that the blocks rearranged themselves.

But there are still some issues, you can see here
http://www.caraudiocentral.net/forums/garage.php

The latest image block is down too far, it's actually looks like the right column block is pushing it down.

I also noticed that the latest images, are not the latest images. I've uploaded a few (see my garage chrisfromwa) All the shots of the car in red were ones I uploaded the other day. But they never appeared in the latest image.

One last thing I noticed, is the categories, all the totals are 1?

Any ideas?

Here is a screenshot of what I'm talking about
The latest image block is down too far, the actual 'latest image' isn't the latest image. They seem to be stuck from some point in time. Same with forumhome, it's the same images over and over no matter what I upload I never see anything new there.

And the categories all say (1)

cdoyle 10-27-2011 02:07 AM

Update: So on my forum home, the only way I can get one of my new images to display is if I delete the current image that keeps showing. So a new image is finally showing, but it's still just repeating this one image over and over.

It should be selecting any random image from all the garages right?


Just found another bug, When posting a comment on a image. I get the following error

Quote:

Database error in vBulletin 4.1.4:

Invalid SQL:
SELECT COUNT(image_id) AS ImageCommCount FROM garage_image_comments WHERE image_id = '6' WHERE active = '1';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE active = '1'' at line 1
Error Number : 1064
Request Date : Wednesday, October 26th 2011 @ 08:22:09 PM
Error Date : Wednesday, October 26th 2011 @ 08:22:10 PM
Script : http://www.caraudiocentral.net/forum...e_comments.php
Referrer : http://www.caraudiocentral.net/forum..._comments&id=6
IP Address : 216.39.156.121
Username : Chris from Washington
Classname : vB_Database
MySQL Version : 5.1.56-log

Dylanblitz 10-27-2011 07:08 AM

Quote:

Originally Posted by BajaBoatOwners (Post 2261754)
Found how to fix this, but other error I posted I'm unable to remedy.

The error is saying you don't have the garage_func_var.php file in the forums includes directory.

Dylanblitz 10-27-2011 07:15 AM

Quote:

Originally Posted by cdoyle (Post 2261896)
Update: So on my forum home, the only way I can get one of my new images to display is if I delete the current image that keeps showing. So a new image is finally showing, but it's still just repeating this one image over and over.

It should be selecting any random image from all the garages right?


Just found another bug, When posting a comment on a image. I get the following error

I haven't fixed the comment error in the files yet. Here is the fix
https://vborg.vbsupport.ru/showpost....&postcount=664

The block is down further because the right side column above it is longer then the left. It's set to line up vertically.

Do you have the page caching turned on? If you do, try turning it off and see if it fixes the images. I've had some problems with the caching, my first go at caching the way I did it and it didn't work out the way I wanted.

cdoyle 10-27-2011 12:11 PM

Quote:

Originally Posted by Dylanblitz (Post 2261985)
I haven't fixed the comment error in the files yet. Here is the fix
https://vborg.vbsupport.ru/showpost....&postcount=664

The block is down further because the right side column above it is longer then the left. It's set to line up vertically.

Do you have the page caching turned on? If you do, try turning it off and see if it fixes the images. I've had some problems with the caching, my first go at caching the way I did it and it didn't work out the way I wanted.


Turning the cache off, fixes the latest image block. Also on forum home, is the 'random image' using the same query as the 'latest image'? because I noticed that the images appear to be the same ones that are displayed in the Latest Image block.

I would really like forumhome to just randomly select any image from any garage in the database. Seeing the same images over and over, is not making users want to click.

Thanks for the fix on the comments too, that's all working now.

BajaBoatOwners 10-27-2011 03:50 PM

Quote:

Originally Posted by Dylanblitz (Post 2261983)
The error is saying you don't have the garage_func_var.php file in the forums includes directory.

Do I need to upload that file into my server? I uploaded the downloaded file as instructed. Just want to make sure I'm doing it correctly.

BajaBoatOwners 10-27-2011 03:52 PM

Quote:

Originally Posted by BajaBoatOwners (Post 2262064)
Do I need to upload that file into my server? I uploaded the downloaded file as instructed. Just want to make sure I'm doing it correctly.

I understand now I need to upload files to the server didn't realize this. Sorry.


All times are GMT. The time now is 09:10 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.02717 seconds
  • Memory Usage 1,869KB
  • 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
  • (27)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