vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vbProArcade Beta 2 (https://vborg.vbsupport.ru/showthread.php?t=42880)

2 X Viverridae 09-10-2002 10:27 PM

Well - futureral fixed the problem on my site with the little red X's in the logo upload...

It seems that *I* had the incorrect version of the proarcadeadmin.php file! :rolleyes:

My bad!

Thanks so much, futureal, for taking the time to rectify that for me!

Gohan 09-10-2002 11:26 PM

Wauw! i LOVE your hack!! Thumb up

I've install and without problem :D

Dark Jim 09-10-2002 11:44 PM

Duh! I got the images working. I editted the proarcadeadmin file where it uploads the images. The filepath was incorrect.

Gohan 09-11-2002 12:35 AM

Quote:

Originally posted by Dark Jim
Duh! I got the images working. I editted the proarcadeadmin file where it uploads the images. The filepath was incorrect.

found bug (not real bug but little ;))

open proarcadeadmin.php and find:
PHP Code:

echo "<tr class='".getrowbg()."' valign='middle'>\n<td>Current " $thisgame[title] . "  Thumbnail</td><td><img src=\"/forum/proimage.php?id=$thisgame[gameid]\"></td></tr>\n"

change to:

PHP Code:

echo "<tr class='".getrowbg()."' valign='middle'>\n<td>Current " $thisgame[title] . "  Thumbnail</td><td><img src=\"$bburl/proimage.php?id=$thisgame[gameid]\"></td></tr>\n"


Gohan 09-11-2002 12:55 AM

futureal

Everything does perfect working but not for new addon usergroup permission..

PHP Code:

    if (($bbuserinfo[usergroupid] != 2
    and (
$bbuserinfo[usergroupid] != 5
    and (
$bbuserinfo[usergroupid] != 6
    and (
$bbuserinfo[usergroupid] != 7)) {
      
show_nopermission();
    } 

Well i need modify to for myself usergroupid number

PHP Code:

    if (($bbuserinfo[usergroupid] != 2
    and (
$bbuserinfo[usergroupid] != 5
    and (
$bbuserinfo[usergroupid] != 6
    and (
$bbuserinfo[usergroupid] != 7
    and (
$bbuserinfo[usergroupid] != 8
    and (
$bbuserinfo[usergroupid] != 9
    and (
$bbuserinfo[usergroupid] != 10
    and (
$bbuserinfo[usergroupid] != 11
    and (
$bbuserinfo[usergroupid] != 12
    and (
$bbuserinfo[usergroupid] != 13
    and (
$bbuserinfo[usergroupid] != 14
    and (
$bbuserinfo[usergroupid] != 15
    and (
$bbuserinfo[usergroupid] != 16
    and (
$bbuserinfo[usergroupid] != 17
    and (
$bbuserinfo[usergroupid] != 18
    and (
$bbuserinfo[usergroupid] != 19)) {
      
show_nopermission();
    } 

Maybe you could make better code for usergroupid without modify above code?

Gohan 09-11-2002 01:06 AM

Maybe solve...

I did change:

Open proacrade.php and find:

PHP Code:

    if (($bbuserinfo[usergroupid] != 2
    and (
$bbuserinfo[usergroupid] != 5
    and (
$bbuserinfo[usergroupid] != 6
    and (
$bbuserinfo[usergroupid] != 7)) {
      
show_nopermission();
    }
    break; 

change to:

PHP Code:

    if (($bbuserinfo[usergroupid] != 1
    and (
$bbuserinfo[usergroupid] != 3
    and (
$bbuserinfo[usergroupid] != 4)) { } else {
      
show_nopermission();
    }
    break; 


futureal 09-11-2002 01:59 AM

Dark Jim: You must have had an older version of the admin file; the newer ones have the corrected path.

Gohan: Same as above on the image path problem. As for the usergroups, that is a known limitation and it will be addressed in the next version. You sure have a lot of user groups! :)

mewgood 09-11-2002 03:35 AM

hm..
now I have sloved the errors but after I uploaded the imagesm it still is a broken images..

futureal 09-11-2002 05:02 AM

Quote:

Originally posted by mewgood
now I have sloved the errors but after I uploaded the imagesm it still is a broken images..
Unfortunately it seems like there is a problem with your server, since I have not seen the error you're getting anywhere else. I really am not sure what I can do to fix it.

I'm glad you were able to work the other stuff out...

futureal 09-11-2002 05:04 AM

Regarding Beta 2, here is one of the first "teaser" shots of some of the added functionality:

https://vborg.vbsupport.ru/external/2002/09/1.jpg

This allows the admin to easily configure who can and can't access the arcade. The arcade will still default to groups 2, 5, 6, and 7 which are the default vBulletin groups for Registered Users. Mods, Admins and Super Mods.


All times are GMT. The time now is 01:55 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.03839 seconds
  • Memory Usage 1,765KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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