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)

cogimo 07-17-2004 11:52 PM

HI

I just installed it on my site and I have no problems. Since I did not have GD installed on this server yet I just used the code posted for those who did not run GD

The sites is running 3.0.3

The site is at raisedvoices.com

vwturbo 07-18-2004 12:38 AM

Quote:

Originally Posted by cogimo
HI

I just installed it on my site and I have no problems. Since I did not have GD installed on this server yet I just used the code posted for those who did not run GD

The sites is running 3.0.3

The site is at raisedvoices.com

Do you get an error when modifying the Registered Users group? I posted it 3 posts back.

cogimo 07-18-2004 04:37 AM

Hi

I turned it on for the registered users and the admin and I did not get an error


Quote:

Originally Posted by vwturbo
Do you get an error when modifying the Registered Users group? I posted it 3 posts back.


vwturbo 07-18-2004 01:43 PM

How did you deal with this part of the instructions?

3b. In INCLUDES/INIT.PHP:

Find:
#######################
'caneditownusernotes' => 131072
#######################

REPLACE with:
#######################
'caneditownusernotes' => 131072,
// START VBGARAGE HACK
'canvbgarage' => 262144
// END VBGARAGE HACK
#######################

I had another field that would come after canvbgarage with the same value. What did you do here? can you show me this section of code?

cogimo 07-18-2004 04:10 PM

Hi is how my includes/init.php look, I also have other fields after this one

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



Quote:

Originally Posted by vwturbo
How did you deal with this part of the instructions?

3b. In INCLUDES/INIT.PHP:

Find:
#######################
'caneditownusernotes' => 131072
#######################

REPLACE with:
#######################
'caneditownusernotes' => 131072,
// START VBGARAGE HACK
'canvbgarage' => 262144
// END VBGARAGE HACK
#######################

I had another field that would come after canvbgarage with the same value. What did you do here? can you show me this section of code?


87accordlxi 07-19-2004 08:05 PM

The hack is installed on our board, however the only people who have permission to view it are the Super Administrators. When other people try to get into the vbgarage, they get a "no permission" error like you would get when going into a restricted forum. Is there a line of code somewhere that needs to be edited to allow all usergroups to view the vbgarage? What I want to do is allow all usergroups to view the garage, and only allow a few usergroups to actually be able to upload stuff to it. I am aware of the "can use vbgarage" option under usergroup manager, but that means nothing if they don't even have permission to view it.

Mr. Brian 07-19-2004 10:26 PM

I don't think there's any admin option inside the admincp?

iamwhitey 07-20-2004 05:57 PM

anyway to get the images stored to a folder instead of the database? or a way to disable hot linking?

kyrnel 07-21-2004 02:55 PM

3.0.3 Compatibility

It looks like an array is being created in includes/init.php that stores permissions as boolean values in a binary string. Each of the permissions refernces a binary position (i.e., 1, 2, 4, 8, 16, etc.)
In 3.0.3 the value 'canseehiddencustomfields' is added that uses the same space as the 'canvbgarage' value. So all you need to do to fix this is change the 'canvbgarage' position so it doesnt interfere with the new value.

I changed the code to this and it works fine:
// START VBGARAGE HACK
'canvbgarage' => 16777216,
// END VBGARAGE HACK

If you leave it the same as the other value then they will interfere with each other.

noppid 07-22-2004 11:36 AM

Quote:

Originally Posted by kyrnel
3.0.3 Compatibility

It looks like an array is being created in includes/init.php that stores permissions as boolean values in a binary string. Each of the permissions refernces a binary position (i.e., 1, 2, 4, 8, 16, etc.)
In 3.0.3 the value 'canseehiddencustomfields' is added that uses the same space as the 'canvbgarage' value. So all you need to do to fix this is change the 'canvbgarage' position so it doesnt interfere with the new value.

I changed the code to this and it works fine:
// START VBGARAGE HACK
'canvbgarage' => 16777216,
// END VBGARAGE HACK

If you leave it the same as the other value then they will interfere with each other.

That's been covered already. https://vborg.vbsupport.ru/showpost....&postcount=998


All times are GMT. The time now is 08:52 PM.

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.01878 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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