Page 59 of 65

Re: [DEV] phpBB Garage 2.0

Posted: Wed Dec 15, 2010 8:49 am
by Holger
I double-checked. Still does not work uploading pics as normal user. The admin can upload. :shock:

Re: [DEV] phpBB Garage 2.0

Posted: Wed Dec 15, 2010 9:48 am
by Holger
I have now found out that the groups-permission does not work.
If I grant a single USER permission to upload then it works. But not if I grant a group of users the permission.

What am I doing wrong?
Do I have to grant single users permission? Why does the group-permission not work?

Re: [DEV] phpBB Garage 2.0

Posted: Wed Dec 15, 2010 5:09 pm
by Blue Blood
I can't replicate your problem.
I know in b5 you have to manually add an upload folder in the garage folder.
You have to chmod the folder 775 or 777 depending on your host.

@ poyntesm
I don't mean to be a A$$ hole but....
Its now 3 weeks sense your last post and October, scene your last update or even login to http://www.phpbbgarage.com!

Should we assume you have abandoned your baby again!

Does some one need to step up and finish this for you?
If you not dedicated to finishing this I told you I would continue the development.
It seems that you only reason why you restarted development is because I wanted to take it over.

Let us garage fans know what your plains are!!!
Please....

Re: [DEV] phpBB Garage 2.0

Posted: Wed Dec 15, 2010 8:23 pm
by Holger
Problem solved.
I granted the Registered Users group FULL access to the garage.
After that they where able to upload pics.
It was not enough to just tick the Allow pic upload-option.

Re: [DEV] phpBB Garage 2.0

Posted: Wed Dec 15, 2010 11:15 pm
by vesek
Hi, i´m getting this error
its a new instalation of B4 on phpbb 308
could you help me ?

Code: Select all

Error General
SQL ERROR [ mysql4 ]

Unknown column 'u.user_id' in 'on clause' [1054]

SQL

SELECT u.user_id, v.id as vid FROM bb_users u , bb_user_group ug LEFT JOIN bb_garage_vehicles v ON ( v.user_id = u.user_id AND v.main_vehicle = 1 ) WHERE u.user_type IN (0, 3) AND ug.user_pending = 0 AND u.user_id = ug.user_id AND ug.group_id = 7556 ORDER BY ug.group_leader DESC, u.user_regdate ASC LIMIT 30

BACKTRACE

FILE: includes/db/mysql.php
LINE: 175
CALL: dbal_mysql->sql_error()

FILE: includes/db/mysql.php
LINE: 222
CALL: dbal_mysql->sql_query()

FILE: includes/db/dbal.php
LINE: 170
CALL: dbal_mysql->_sql_query_limit()

FILE: memberlist.php
LINE: 1502
CALL: dbal_mysql->sql_query_limit()
thx!

Re: [BETA] phpBB Garage 2.0

Posted: Wed Dec 15, 2010 11:42 pm
by vesek
matt1206 wrote:
thejdm wrote:same error i am getting. very strange. not sure what is causing this.
n00bstorm wrote:And now even when I try to look at my Legend :: Administrators, Global moderators I get this error

Code: Select all

General Error
SQL ERROR [ mysqli ]

Unknown column 'u.user_id' in 'on clause' [1054]

SQL

SELECT u.user_id, v.id as vid FROM phpbb_users u , phpbb_user_group ug LEFT JOIN phpbb_garage_vehicles v ON ( v.user_id = u.user_id AND v.main_vehicle = 1 ) WHERE u.user_type IN (0, 3) AND ug.user_pending = 0 AND u.user_id = ug.user_id AND ug.group_id = 5 ORDER BY ug.group_leader DESC, u.user_regdate ASC LIMIT 25

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/db/mysqli.php
LINE: 205
CALL: dbal_mysqli->sql_query()

FILE: includes/db/dbal.php
LINE: 170
CALL: dbal_mysqli->_sql_query_limit()

FILE: memberlist.php
LINE: 1383
CALL: dbal->sql_query_limit()
I fixed this by removing a code change added when installing the garage. Affected file is memberlist.php

Code: Select all

// Get us some users :D
                $sql = "SELECT u.user_id, v.id as vid
                        FROM " . USERS_TABLE . " u
                                $sql_from
                        LEFT JOIN " . GARAGE_VEHICLES_TABLE . " v
                                ON (
                                        v.user_id = u.user_id AND v.main_vehicle = 1
                                )
                        WHERE u.user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ")
                                $sql_where
                        ORDER BY $order_by";
                $result = $db->sql_query_limit($sql, $config['topics_per_page'], $start);
 
Change this back to the original code

Code: Select all

// Get us some users :D
                $sql = "SELECT u.user_id
                        FROM " . USERS_TABLE . " u
                                $sql_from
                        WHERE u.user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ")
                                $sql_where
                        ORDER BY $order_by";
                $result = $db->sql_query_limit($sql, $config['topics_per_page'], $start);
 
I solve the problem with this change

Force Garage @ First Login

Posted: Thu Dec 16, 2010 8:26 pm
by Blue Blood
EFiNSTORM wrote:Hey I really like the idea "force garage setup on first login " that would be a great feature.
Here is a complete rewrite
No bugs (that I know of) and no way to bypass..
This is how I want it to work!!!
includes ACP enable / Disable
Subsilver2 support

I started a Beta thread
Force Garage @ First Login 0.5.0
http://www.phpbb.com/community/viewtopi ... #p12917923

Re: [DEV] phpBB Garage 2.0

Posted: Sat Dec 18, 2010 4:13 am
by vesek
In the package is missing this file
./styles/prosilver/template/garage_view_guestbook.html

Is requiered to delete comments on guestbook

I know, my english is bad !! I hope you can understand me

Re: [DEV] phpBB Garage 2.0

Posted: Sat Dec 18, 2010 5:07 am
by Blue Blood
vesek wrote:In the package is missing this file
./styles/prosilver/template/garage_view_guestbook.html
Is requiered to delete comments on guestbook
I know, my english is bad !! I hope you can understand me
poyntesm seems to be MIA
So I have created an "Unofficial" phpBBGarage Support Forum!!
http://www.phpbbgaragemod.com
The host is shared so at times its slow.

Here is the solution to Deleting Guestbook Comments in phpBBGarage version 2.0b4 & 2.0B5
http://phpbbgaragemod.com/bbbt/viewbug.php?b=5

Yes the garage_view_guestbook.html is missing.
The file "garage_view_guestbook.html" is no longer needed.
This is code left over from phpBBGarage for phpBB2.
It just has not been converted yet.

Here is the solution for Editing Guestbook Comments in phpBBGarage version 2.0B5
http://phpbbgaragemod.com/bbbt/viewbug.php?b=29

Also the guest book comments are tied into the "Vehicles Per Page" setting in the ACP
so what ever you have this set as it will only show that many comments.
Default is 30, so only 30 comments will show & it wont bump the oldest one.

I have been working on a solution for this also, but have not worked it out yet.

keep checking http://www.phpbbgaragemod.com as I should have a solution soon.
Enjoy!!

Re: [DEV] phpBB Garage 2.0

Posted: Sat Dec 18, 2010 12:53 pm
by vesek
Thanks Blue Blood ! this two fixes work great

Im registering in http://www.phpbbgaragemod.com

This is an excellent mod and you are getting an excelent work keeping this mod alive

Re: [DEV] phpBB Garage 2.0

Posted: Sun Dec 19, 2010 3:09 am
by Blue Blood
OK I found the Guest Book Pagination Issue

It was really simple...

Check it out here!!
http://phpbbgaragemod.com/bbbt/viewbug.php?b=30

Here is custom code for Guest Book Pagination ACP setting
http://phpbbgaragemod.com/viewtopic.php ... 8&p=51#p51
I think this make it better!!

Also, I'm working on Pagination for the blog tab..

Re: [DEV] phpBB Garage 2.0

Posted: Sun Dec 19, 2010 3:30 pm
by Holger
Thanks a LOT for your efforts! :D

Re: [DEV] phpBB Garage 2.0

Posted: Mon Dec 20, 2010 12:01 am
by toricelli
Hi mates,
I checked database and garage files but i can't find CURRENCY data. How to change, delete or add new currency?

http://www.phpbb.com/community/viewtopi ... Y#p8153655
This link give some info but :*(

Re: [DEV] phpBB Garage 2.0

Posted: Mon Dec 20, 2010 1:43 am
by Blue Blood
toricelli wrote:Hi mates,
I checked database and garage files but i can't find CURRENCY data. How to change, delete or add new currency?

http://www.phpbb.com/community/viewtopi ... Y#p8153655
This link give some info but :*(
These links will show you everything you need to know!!
www.phpbbgaragemod.com
How to change, delete or add new currency!
How to change default Currency!
How to change the default Mileage!
Drop the Mileage & Currency Drop Boxes!

Re: [DEV] phpBB Garage 2.0

Posted: Mon Dec 20, 2010 4:12 am
by Blue Blood
vesek wrote:In the package is missing this file
./styles/prosilver/template/garage_view_guestbook.html

Is requiered to delete comments on guestbook

I know, my english is bad !! I hope you can understand me
Update
The guest book comments are tied into the "Vehicles Per Page" setting in the ACP
so what ever you have this set as it will only show that many comments.
Default is 30, so only 30 comments will show & it wont bump the oldest one.

Here is the solution!!
Guest Book Pagination Issues
Also
Guest Book Pagination stand alone settings