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)
-   -   Major Additions - ibProArcade - professional Arcade System (https://vborg.vbsupport.ru/showthread.php?t=101554)

abdulla1 03-18-2007 05:07 PM

alright thanks bro i'll be working with it. If i have any problem i'll let you know.
i guess i just got the root idea thanks alot.

regards,

elitemerlin 03-18-2007 11:52 PM

hey guys, i have ran into a little problem installing this mod, any help would be appreciated.

Im installing this for VB 3.6 - heres the problem,


everything has went fine during the install process, except the very last step.

The last step says to:
* edit the Template navbar (below "Navigation/Breadcrumb Templates")

In this navbar-Template search for:
Code:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
Below add:
Code:

<td class="vbmenu_control"><a href="arcade.php?$session[sessionurl_q]">Arcade</a></td>

The problem here is that when i search for
Code:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
It's no where to be found in the file. I am posting below my exact navbar template, so someone can hopefully tell me where to place the code.

My Template:

Code:

<script type="text/javascript">
<!--
function log_out()
{
        ht = document.getElementsByTagName("html");
        ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
        if (confirm('$vbphrase[sure_you_want_to_log_out]'))
        {
                return true;
        }
        else
        {
                ht[0].style.filter = "";
                return false;
        }
}
//-->
</script>

<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="alt1" width="100%">
                <if condition="is_array($navbits)">
                        <table cellpadding="0" cellspacing="0" border="0">
                        <tr valign="bottom">
                                <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
                                <td>&nbsp;</td>
                                <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
                        </tr>
                        <tr>
                                <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
                        </tr>
                        </table>                       
                <else />
                        <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
                </if>
        </td>       
       
        <if condition="$show['member']">
       
                <td class="alt2" valign="top" nowrap="nowrap">
                <div class="smallfont">
                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
                        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
                        <if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
                </div>
                </td>
               
        <else />
               
                <td class="alt2" nowrap="nowrap" style="padding:0px">
                       
                <!-- login form -->
                <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
                <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                <tr>
                        <td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
                        <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
                        <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
                </tr>
                <tr>
                        <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
                        <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
                        <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
                </tr>
                </table>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="login" />               
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>
                <!-- / login form -->
                       
                </td>
               
        </if>       
       
</tr>
</table>
<!-- / breadcrumb, login, pm info -->

  <div class="spacer"></div>

<if condition="$show['forumdesc']">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
        </tr>
        </table>
        <br />
</if>

THANKS IN ADVANCED!

Chadi 03-19-2007 01:47 AM

Anyway to get this in a cleaner interface like v3arcade?

casper989 03-19-2007 02:11 AM

after i installed mine, when u go to the arcade section. all of the games under "new games" when u click on them the theme gets screwy and the game window is just a blank flash window, but if you go down to the bottom where all the games are, u play it like that and they work fine. dont know whats going on.

MortysTW 03-19-2007 02:54 AM

Quote:

Originally Posted by chadi (Post 1207018)
Anyway to get this in a cleaner interface like v3arcade?

In the Arcade Settings in the AdminCP>Arcade you will find a drop down option of setting the interface to v3arcade if you would like. I agree, and I have mine set to the v3 style.

Quote:

Originally Posted by casper989 (Post 1207037)
after i installed mine, when u go to the arcade section. all of the games under "new games" when u click on them the theme gets screwy and the game window is just a blank flash window, but if you go down to the bottom where all the games are, u play it like that and they work fine. dont know whats going on.

I have no idea what you are trying to say here. Sorry.

Quote:

Originally Posted by elitemerlin (Post 1206927)
hey guys, i have ran into a little problem installing this mod, any help would be appreciated.

Im installing this for VB 3.6 - heres the problem,


everything has went fine during the install process, except the very last step.

Personally, when I am doing template modifications like this doing the FIND/REPLACE/ADD/WHATEVER steps, I often have problems too and I take a part of the FIND bit the author mentions and then compare and see if what I "found" is what they mention. Cuz alot of times the only difference is a SPACE or something else really simple that causes the issue of not finding a match.

So for this particular thing, I would do a search for calendar.php every time it appears I'd visually look over that bit of code/html and see if it matches what the author is referring to. If you do that, I'm sure you will quickly be able to complete this installation.

elitemerlin 03-19-2007 03:46 AM

Quote:

Originally Posted by MortysTW (Post 1207060)
Personally, when I am doing template modifications like this doing the FIND/REPLACE/ADD/WHATEVER steps, I often have problems too and I take a part of the FIND bit the author mentions and then compare and see if what I "found" is what they mention. Cuz alot of times the only difference is a SPACE or something else really simple that causes the issue of not finding a match.

So for this particular thing, I would do a search for calendar.php every time it appears I'd visually look over that bit of code/html and see if it matches what the author is referring to. If you do that, I'm sure you will quickly be able to complete this installation.

I always have to do this too, but this time, there is no mention of calender.php referenced in my navbar, you saw what i posted above, my entire navbar template - you can scim it yourself and see there is no reference to it, maybe you could look @ my navbar template i posted and see if you know what i need to do. Thanks

The Bish 03-19-2007 04:32 AM

Quote:

Originally Posted by elitemerlin (Post 1207086)
I always have to do this too, but this time, there is no mention of calender.php referenced in my navbar, you saw what i posted above, my entire navbar template - you can scim it yourself and see there is no reference to it, maybe you could look @ my navbar template i posted and see if you know what i need to do. Thanks

I too do not have a calendar.php in my navbar template so what I did was I found another link.. say 'Classifieds' and mimiced what I had there. Worked like a charm.

What I do not see in your Navbar Template is what I have in mine...

HTML Code:

<!-- nav buttons bar -->
<div align="center">
  <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
    <tr align="center">
      <if condition="$show['member']">
        <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">User CP</a></td>
      </if>
      <if condition="$show['registerbutton']">
        <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">Register</a></td>
      </if>
<if condition="THIS_SCRIPT != 'index'">
      <td class="vbmenu_control"><a href="index.php">Home</a></td>
</if>
<if condition="THIS_SCRIPT != 'forums'">
      <td class="vbmenu_control"><a href="forums.php">Forums</a></td>
</if>
      <td class="vbmenu_control"><a href="vbgooglemapme.php" accesskey="5">Map</a></td>
          <td class="vbmenu_control"><a href="vbarticles.php$session[sessionurl_q]">Blogs</a></td>
      <td class="vbmenu_control"><a href="arcade.php$session[sessionurl_q]">Arcade</a></td>
          <td class="vbmenu_control"><a href="/photoplog/index.php$session[sessionurl_q]">Photos</a></td>
      <td class="vbmenu_control"><a href="vbclassified.php$session[sessionurl_q]">Classifieds</a></td>
    </tr>
  </table>
</div>
<!-- / nav buttons bar -->

So maybe you need to create it so you actually have somewhere to place a link.

elitemerlin 03-19-2007 08:17 AM

Ok i fixed this problem instead of finding this line of code

Code:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
in the navbar template, i found something simular to this in the Forum Home Templates > Header, the code i found was this.

Code:

<td class="h_nav"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
So i took this code:

Code:

<td class="vbmenu_control"><a href="arcade.php?$session[sessionurl_q]">Arcade</a></td>
and modified the code like this:

Code:

<td class="h_nav"><a href="arcade.php?$session[sessionurl_q]">Arcade</a></td>
and placed it under it like the install read me says to. and it worked. So to the author of this mod, it might be a good idea to add in, that if you cant find what your looking for in the navbar to look in the header, and make the appropriate changes.

Now on my site, in the header i see the Arcade link, and when i click it, i go to the arcade page, and it looks awsome, im a admin on my site (obviously) and when i try to play a game it says this:

The administrator has disabled playing games for your usergroup.

So i did the obvious thing to do (what the read me says) and logged back into my Admin CP and look for the Arcade drop down menu in the AdminCP, click permissions and adjust accordingly, the thing is, i have no Arcade menu in the Admin CP on the left like it says.

What should i do so i can view this in the admincp?

elitemerlin 03-19-2007 08:29 AM

I have fixed the AdminCP problem, it turns out by default Arcade.php (the one you place in the admincp) was permission to 644, i changed it to 755, refreshed my AdminCP and it was there.

b6gm6n 03-19-2007 12:44 PM

Hello... one of the most bizarre aspects of my arcade is the odd scoring and duplicate scores... for example one guy got the high score to a game, entered his comment and it registered...cool, under that in 2nd place is the exact same score by the same member, different time (1 sec difference) but with no comment... thats everywhere on my arcade... i dunno who's cheating, even if there not...how can i fix this?...i believe its a problem for me

-b6


All times are GMT. The time now is 01:54 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.06619 seconds
  • Memory Usage 1,815KB
  • 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
  • (8)bbcode_code_printable
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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