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)

magnus 04-09-2004 09:21 PM

Quote:

Originally Posted by rockergrrl
Init.php is unhacked for me..

The clean init.php file has this 'canseedelnotice' => 262144

So having 'canvbgarage' => 262144, just wouldn't work

what should it be then?

Err.. 'canseedelnotice' is in a separate array. It's under:
PHP Code:

$_BITFIELD['usergroup']['forumpermissions'] = array( 

You need to be adding 'canvbgarage' under this array:
PHP Code:

$_BITFIELD['usergroup']['genericpermissions'] = array( 

In the end, it should look like this:

PHP Code:

$_BITFIELD['usergroup']['genericpermissions'] = array(
    
'canviewmembers'           => 1,
    
'canmodifyprofile'         => 2,
    
'caninvisible'             => 4,
    
'canviewothersusernotes'   => 8,
    
'canmanageownusernotes'    => 16,
    
'canseehidden'             => 32,
    
'canbeusernoted'           => 64,
    
'canprofilepic'            => 128,
    
'canseeraters'             => 256,
    
'canuseavatar'             => 512,
    
'canusesignature'          => 1024,
    
'canusecustomtitle'        => 2048,
    
'canseeprofilepic'         => 4096,
    
'canviewownusernotes'       => 8192,
    
'canmanageothersusernotes' => 16384,
    
'canpostownusernotes'      => 32768,
    
'canpostothersusernotes'   => 65536,
    
'caneditownusernotes'      => 131072,
// START VBGARAGE HACK
    
'canvbgarage'              => 262144
// END VBGARAGE HACK
); 


magnus 04-09-2004 09:23 PM

Quote:

Originally Posted by dede1
Database is ok per phpmyadmin :

vbgarage_images
vbgarage_users


but how get I now the new Pharasen added?

Run the following queries:
[SQL]
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'vbgarage', 'vBGarage', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'vbgarage_allowed_total', 'You are allowed a preset number of images. Once that limit is reached, you will no longer be able to upload. Delete existing pictures to regain upload ability.', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'vbgarage_file', 'File', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_footer', 'Powered by: <b>vBGarage</b> by magnus', 1)
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_year', 'Year', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_make', 'Make', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_model', 'Model', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_text', 'Text', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_text_desc', '<a href=\"$vboptions[bburl]/misc.php?do=bbcode\">vB code</a> is <b>On</b><br /> <a href=\"$vboptions[bburl]/misc.php?do=showsmilies\">Smilies</a> are <b>On</b><br /> <a href=\"$vboptions[bburl]/misc.php?do=bbcode#imgcode\">[IMG]</a> code is <b>Off</b><br /> HTML code is <b>Off</b><br />', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'vbgarage_uploaded_images', 'Uploaded Image(s)', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_car', 'Car', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_listtitle', 'Member vBGarage(s)', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_edit', 'Edit vBGarage', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'can_vbgarage', 'Can use vBGarage?', 3);
[/SQL]

rockergrrl 04-09-2004 09:35 PM

Quote:

Originally Posted by magnus
Err.. 'canseedelnotice' is in a separate array. It's under:
PHP Code:

$_BITFIELD['usergroup']['forumpermissions'] = array( 

You need to be adding 'canvbgarage' under this array:
PHP Code:

$_BITFIELD['usergroup']['genericpermissions'] = array( 

[/PHP]

Bah.... Its been one of those days.... (Never try and hack of vBulletin when you have kids screaming)

now it works ;)

dede1 04-09-2004 09:45 PM

@magnus

I thank you it run error free

magnus 04-09-2004 10:10 PM

Glad to hear you both got it working. ;)

For those who are playing at home, I'm working on adding user comments to the pages as well.. this turned out to be easier than I thought, so I may release it as an add-on. :)

magnus 04-09-2004 10:13 PM

dede1,

I checked out your site. One note, you might want to add a space to the end of your vbgarage_imagebits template. It will wrap the pictures, rather than having them all in a single line.

Just, literally, add a space to the end, that's it. :)

dede1 04-09-2004 10:17 PM

magnus

schau times with you are please here the fig. 3 with me all 6 next to
each other next to each other sees bloed out with me which must I
change around there as with you the in addition-gotten?

http://63.246.136.220/Board/vbgarage.php?do=view&id=1

magnus 04-09-2004 10:27 PM

Quote:

Originally Posted by dede1
magnus

schau times with you are please here the fig. 3 with me all 6 next to
each other next to each other sees bloed out with me which must I
change around there as with you the in addition-gotten?

http://63.246.136.220/Board/vbgarage.php?do=view&id=1

Like I said above, edit your vbgarage_imagebits template, go to the end of the last line, and press the spacebar, leaving a space at the end. Then, click save. That's it! :)

dede1 04-09-2004 10:45 PM

Thanks :)

Envy-UK 04-09-2004 10:55 PM

I've installed everything, it appeared to be fine.

However, when vbgarage.php is called (both by /vbgarage.php?do=list & vbgarage.php), I end up with a blank screen.

Anyone?


All times are GMT. The time now is 03:11 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.05037 seconds
  • Memory Usage 1,763KB
  • 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
  • (5)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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