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)
-   -   v3 Arcade - Games Arcade & Challenge System [vB 3.0.3] (https://vborg.vbsupport.ru/showthread.php?t=60377)

grief 07-11-2004 03:22 AM

This Hack Rocks
gj ;)

Battle_Ring 07-11-2004 09:02 PM

Help

includes/functions_showthread.php
=================================

Find:
__________________________________________________ _________________________________________

// ###################### Start getreputationimage #######################

i dont have that in my file???

RichieBoy67 07-11-2004 09:20 PM

Battle--Put it over or under this instead....you have vb3.03??? me too...do it this way and it will work fine..


###################### Start doimicons #######################

romeshomey 07-12-2004 07:28 AM

Mine is installed and working, but Im having a problem with the image directory.

When I did this :
Code:

======================
includes/functions.php
======================

Find:
___________________________________________________________________________________________

// get CSS width for outerdivwidth from outertablewidth

???????????????????????????????????????????????????????????????????????????????????????????

Above this, add:
___________________________________________________________________________________________

        // declares the arcade image directory
        $stylevar['imgdir_arcade'] = "images/arcade";

I got a SQL error. I tried it several times with a backup file.

I ended up having to put the images in my root directory to get it to work and not modify that file.

Anyone else have that problem?

Deviant Mind 07-12-2004 04:35 PM

I'm having the same problem with the functions.php Any suggestions ?

aberg 07-12-2004 05:43 PM

How can i let work this hack in version 3.03??

RichieBoy67 07-12-2004 08:21 PM

I just installed it in 3.03 and it works fine..

OK, in vb 3.03 there is no #########start Reputations########

Instead there is

###################### Start doimicons #######################

The code will work fine if you follow the instructions but when it says to place code over or under Start Reputations in includes/functions_showthread.php place it over or under the code I just posted..

Do you have the images in the proper directory??

Deviant Mind 07-12-2004 09:14 PM

yes the images are in the right Dir. It's the code pasted into the Functions.php that gives me an error. And without it the images don't show up

Watson 07-13-2004 02:16 AM

great hack, works perfect. Where are the games? I didnt read the whole thread, rather long. but are they inside this thread?

And is there instructions on how to install?

Watson

Pseudomizer 07-13-2004 02:44 AM

Quote:

Originally Posted by Watson
great hack, works perfect. Where are the games? I didnt read the whole thread, rather long. but are they inside this thread?

And is there instructions on how to install?

Watson

R(ead)T(he)F(.....)T(hread) :devious:

Cheers,

romeshomey 07-13-2004 03:04 AM

Quote:

Originally Posted by Deviant Mind
yes the images are in the right Dir. It's the code pasted into the Functions.php that gives me an error. And without it the images don't show up

I had the same problem.

Just put the images in your root www/ folder and then they will show up.

flstreetscene 07-13-2004 03:12 AM

wow i'm currently using vbulletin 3.0.1 and no way has I got the arcade to work neither has my host. Theres a bunch of messes in the db now with the arcade files so a clean install would be the best except even that is impossible because im getting mysql errors during the installation. This is really frustrating as members have been bugging me for the past month for the arcade being down.

(http://www.floridastreetscene.com/forums/arcade.php?)

domeen 07-13-2004 01:00 PM

Everything works fine for me, I can play games and so on, but when I want to add an comment, it says :

you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Have checked through the changes again and everything seems fine. Any ideas where my problem could be?

What could be wrong?
I looked twice the init and global
The only thing was in init.php
where: I had already installed the ucash and ushop script, then this looked so:
$specialtemplates = array_merge(array(
'options',
'cron',
'forumcache',
'usergroupcache',
'stylecache',
'utt_store_act'
), $specialtemplates);

now when I cahnaged it looked like this:
$specialtemplates = array_merge(array(
'options',
'cron',
'forumcache',
'usergroupcache',
'stylecache',
'utt_store_act',
'arcadesettings'
), $specialtemplates);

Is it ok?

domeen 07-14-2004 05:33 AM

Can someone help?
I did check the permissions on the usergroups, everything seems ok there.
But still I can`t post comment after game.

forum link : http://www.foorum.net

ChuanSE 07-14-2004 06:09 AM

Quote:

Originally Posted by domeen
Can someone help?
I did check the permissions on the usergroups, everything seems ok there.
But still I can`t post comment after game.

What's your board link?

ChuanSE 07-14-2004 06:11 AM

Quote:

Originally Posted by flstreetscene
wow i'm currently using vbulletin 3.0.1 and no way has I got the arcade to work neither has my host. Theres a bunch of messes in the db now with the arcade files so a clean install would be the best except even that is impossible because im getting mysql errors during the installation. This is really frustrating as members have been bugging me for the past month for the arcade being down.

(http://www.floridastreetscene.com/forums/arcade.php?)

I could help you out, but you will need to pm me some details. ;)

ChuanSE 07-14-2004 06:13 AM

Quote:

Originally Posted by romeshomey
I had the same problem.

Just put the images in your root www/ folder and then they will show up.

Images should go into /forumroot/images/arcade/

no where else ;)

I don't understand this doesn't work for you guyz, it's the easiest hack ever :x

describe your problems again from start of install...

Maybe we can help

romeshomey 07-14-2004 06:34 AM

Quote:

Originally Posted by ChuanSE
Images should go into /forumroot/images/arcade/

no where else ;)

I don't understand this doesn't work for you guyz, it's the easiest hack ever :x

describe your problems again from start of install...

Maybe we can help

I followed the instructions very well, even double and triple checked things. Everything workds great but the image directory.

Of course my images work becuase I put them in my main folder for now, but Ill explain below....

For 1. You had things in the install to edit that werent on some of our V3 files. Like this:
Code:

=================================
includes/functions_showthread.php
=================================

Find:
___________________________________________________________________________________________

// ###################### Start getreputationimage #######################

???????????????????????????????????????????????????????????????????????????????????????????

Above this, add:
___________________________________________________________________________________________

if ($arcadegeneral['awardson']==1) {
        // declares the arcade image directory
        $stylevar['imgdir_arcade'] = "images/arcade";
        $arcade_result = $DB_site->query("SELECT shortname,title,gamesettings,highscorerid,highscore,miniimage,gameid FROM " . TABLE_PREFIX . "games ");
        while ($arcade = $DB_site->fetch_array($arcade_result)){
                if (($arcade[gamesettings] & $_GAMESCHECK['showaward'])){
                        $awards[$arcade[shortname]]['userid'] = $arcade['highscorerid'];
                        $awards[$arcade[shortname]]['gametitle'] = $arcade['title'];
                        $awards[$arcade[shortname]]['icon'] = $arcade['miniimage'];
                        $awards[$arcade[shortname]]['highscore'] = $arcade['highscore'];
                        $awards[$arcade[shortname]]['gameid'] = $arcade['gameid'];
                }
        }
}

Some of us dont have this part in that PHP so alot of us added it here:
Code:

        // declares the arcade image directory
        $stylevar['imgdir_arcade'] = "images/arcade";
        $arcade_result = $DB_site->query("SELECT shortname,title,gamesettings,highscorerid,highscore,miniimage,gameid FROM " . TABLE_PREFIX . "games ");
        while ($arcade = $DB_site->fetch_array($arcade_result)){
                if (($arcade[gamesettings] & $_GAMESCHECK['showaward'])){
                        $awards[$arcade[shortname]]['userid'] = $arcade['highscorerid'];
                        $awards[$arcade[shortname]]['gametitle'] = $arcade['title'];
                        $awards[$arcade[shortname]]['icon'] = $arcade['miniimage'];
                        $awards[$arcade[shortname]]['highscore'] = $arcade['highscore'];
                        $awards[$arcade[shortname]]['gameid'] = $arcade['gameid'];
                }
        }
}

// ###################### Start doimicons #######################


Then for 2. This coudnt be done:
Code:

includes/functions.php
======================

Find:
___________________________________________________________________________________________

// get CSS width for outerdivwidth from outertablewidth

???????????????????????????????????????????????????????????????????????????????????????????

Above this, add:
___________________________________________________________________________________________

        // declares the arcade image directory
        $stylevar['imgdir_arcade'] = "images/arcade";

???????????????????????????????????????????????????????????????????????????????????????????
==============
Save and Close
==============

Everytime I did that edit I got a PHP error like this
Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/drewster/public_html/forums/includes/functions.php on line 1887

ChuanSE 07-14-2004 06:40 AM

Which OS? Which apache or ISS? Which Vb? ... are you using?

romeshomey 07-14-2004 06:49 AM

VB 3.0.3

Operating system Linux

Apache version 1.3.31 (Unix)

romeshomey 07-14-2004 06:56 AM

Im going to do this.

Im going to take my original includes/functions.php file that came with my VB3.0.3 install.

Then IM going to go through it and redo all my hacks that had a mod to that file, with this one 1st and test in between each one and see what happens.

Maybe something got messed up in my functions.php, who knows, but it was working fine before that change, and then working again after I took it back out.

Ill let you know. I probably wont get too it till tomorrow. Im beat...

Thanks for trying to help out. Its greatly appreciated...

domeen 07-14-2004 11:03 AM

Quote:

Originally Posted by ChuanSE
What's your board link?


Hi

Link is http://www.foorum.net
But its translated into estonian language.
But maybe You can help

flstreetscene 07-14-2004 12:45 PM

Ok, set up a brand new database with 3.0.3 Updated the files uploaded everything and installed arcade. Arcade installed successfully but I still get the no permission message. I checked to see if all usergroup access were correct and indeed they were. I checked the arcade's general settings to find all the permissions in the "no" checkbox. So I select "yes" to all and click update only to find that they are reset back to "no".

I also got to mention that when I uploaded the modified 'includes/functions.php' the entire board stopped working so I had to work backwards to figure out which file was causing the trouble. I'm not sure if that's what could be causing the trouble...

http://www.floridastreetscene.com/te...ms/arcade.php?

Ph0eniX 07-14-2004 02:30 PM

Does it work with 3.02 yet?

romeshomey 07-14-2004 05:29 PM

Quote:

Originally Posted by flstreetscene
I also got to mention that when I uploaded the modified 'includes/functions.php' the entire board stopped working so I had to work backwards to figure out which file was causing the trouble. I'm not sure if that's what could be causing the trouble...

Dont worry, your not the only one with that problem. It shuts my board down with a parse error if I do what they say to the funtions.php as well . Not sure what the deal is there lol.

flstreetscene 07-14-2004 07:39 PM

patiently waiting... :(

Daniel.C 07-14-2004 07:47 PM

i keep getting this error with mine:
I run the install script and i keep getting this error:

Database error in vBulletin 3.0.3:
Invalid SQL:
INSERT INTO vb3_datastore VALUES('arcadesettings', 845)

mysql error: Duplicate entry 'arcadesettings' for key 1
mysql error number: 1062
Date: Wednesday 14th of July 2004 02:24:05 PM
Script: http://www.infinitiveintentions.com...tall_arcade.php
Referer:
Username: Sparky


What should i do to get rid of this error ? Is there anyway to empty the database of the arcade stuff.

romeshomey 07-14-2004 07:51 PM

Quote:

Originally Posted by romeshomey
Im going to do this.

Im going to take my original includes/functions.php file that came with my VB3.0.3 install.

Then IM going to go through it and redo all my hacks that had a mod to that file, with this one 1st and test in between each one and see what happens.

Maybe something got messed up in my functions.php, who knows, but it was working fine before that change, and then working again after I took it back out.

Ill let you know. I probably wont get too it till tomorrow. Im beat...

Thanks for trying to help out. Its greatly appreciated...

Ok, I tried using my original includes/functions.php that came with my install. Made just that change on it and it shut my board down again. So its not something in my functions.php , has to be something in that edit that causes it. Gives me a parse error everytime.
Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/drewster/public_html/forums/includes/functions.php on line 1887
Strange thing is, I made no edits on or near line 1887. The edit I made was on lines 3527 and 3528..

trackpads 07-15-2004 01:43 AM

Just started a poll over at miniclip.com, maybe we can get some grassroots support to get them to make games for V3arcade?

http://64.239.33.252/forum/viewtopic.php?t=14118

Please vote!

-Jason

version2 07-15-2004 04:55 PM

This happens every time someone accesses showthread.php

Warning: Invalid argument supplied for foreach() in /var/www/html/mw/includes/functions_showthread.php on line 701

Help?

romeshomey 07-15-2004 06:42 PM

RichieBoy67 was able to get my images to work for me. Thanks!

Also, wanted to thank John again for the awsome hack...

PolishPanda 07-15-2004 09:10 PM

EDIT: I think I figured it out. I guess I just needed to look at it more closely. Heh

I have a different postbit template. Could someone maybe tell me where to add the code needed? I got the first one done but can't find where to put the other one.

Here is my postbit:

HTML Code:

<!-- post #$post[postid] -->
<if condition="$show['spacer']">
        $spacer_open
        <div style="padding:0px 0px $stylevar[cellpadding]px 0px">
        <if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>       
</if>
<table bgcolor="#FFFFFF" width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td width="100%"><!-- spacer -->

<table cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF" style="border:1px solid #5F6A79" width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0"  width="100%">
<tr>
  <td colspan="2" valign="top"  bgcolor="#ACB2BA" background="skynetimages/misc/bg.gif" class="thead" align="left" $scrolltothis><if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new"><strong>$post[postcount]</strong></a> &nbsp;</if><img src="skynetimages/misc/small_arrow.gif" border="0" alt="" allign="absmiddle"> <font face="verdana,arial,helvetica" size="1"  color="#FFFFFF"> <b><if condition="$post['title']"><strong>$post[title]</strong></if></b></font></td>
  </tr>
  <tr>
        <td width="175" height="100%" valign="top" nowrap bgcolor="#E4E5E5">
        <a name="post26"></a>
       
        <table width="170">
  <tr><td align="center"><if condition="$show['avatar']"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></if><br />
                                               
                                                        <table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#94979D" width="100%">
                                                                        <tr>       
                  <td width="100%" align="center">
                  <table border="1" style="border-collapse: collapse" bordercolor="#94979D" width="90%" cellpadding="2">
                    <tr>
                      <td width="100%" bgcolor="#FFFFFF"><table cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF">
<tr>
<td>        <font face="verdana,arial,helvetica" size="1"  color="#183562"><b><font size="1" face="Tahoma">Name:  </font></b></font></td>       
<td>                                <div id="postmenu_$post[postid]">
                                        <if condition="$show['profile']">
                                        <a href="member.php?$session[sessionurl]u=$post[userid]">&nbsp;$post[musername]</a>
                                        <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                                        <else />
                                        $post[musername]
                                        </if>
</div></td></tr></table>
</td>
                    </tr>
                    </table></td>
                </tr>
                                                                        <tr>
                                                                          <td align="center"><table border="1" style="border-collapse: collapse" bordercolor="#94979D" width="90%" cellpadding="2">
                                                <tr>
                                                  <td width="100%" bgcolor="#FFFFFF"><font face="verdana,arial,helvetica" size="1"  color="#183562"><b><font size="1" face="Tahoma">Status:</font></b></font><font size="1" face="Tahoma"> <font face="verdana,arial,helvetica" size="1" > $post[onlinestatus]</font></font><font face="Tahoma"><font face="verdana,arial,helvetica" size="1" ></font></font><font face="verdana,arial,helvetica" size="1" ></font></td>
                                                </tr>
                                              </table></td>
                                          </tr>
                                <if condition="$post['usertitle']">
                                                <tr>       
                  <td width="100%" align="center">
                  <table border="1" style="border-collapse: collapse" bordercolor="#94979D" width="90%" cellpadding="2">
                    <tr>
                      <td width="100%" bgcolor="#FFFFFF">
        <font face="verdana,arial,helvetica" size="1"  color="#183562"><b><font size="1" face="Tahoma">Title:</font></b></font><font size="1" face="Tahoma"> <font face="verdana,arial,helvetica" size="1" > $post[usertitle]</font></font><font face="Tahoma"><font face="verdana,arial,helvetica" size="1" ></font></font><font face="verdana,arial,helvetica" size="1" ></font></td>
                    </tr>
                    </table></td>
                </tr></if>

                                                                        <if condition="$show['reputation']"><tr><td align="center"><table border="1" style="border-collapse: collapse" bordercolor="#94979D" width="90%" cellpadding="2">
                                                <tr>
                                                  <td width="100%" bgcolor="#FFFFFF"><font face="verdana,arial,helvetica" size="1"  color="#183562"><b><font size="1" face="Tahoma">Reputation:</font></b></font><font size="1" face="Tahoma"> <font face="verdana,arial,helvetica" size="1" > $post[reputationdisplay]</font></font><font face="Tahoma"><font face="verdana,arial,helvetica" size="1" ></font></font><font face="verdana,arial,helvetica" size="1" ></font></td>
                                                </tr>
                                              </table></td>
                                          </tr></if>

                                <if condition="$post['rank']">       
                                                <tr>       
                  <td width="100%" align="center">
                  <table border="1" style="border-collapse: collapse" bordercolor="#94979D" width="90%" cellpadding="2">
                    <tr>
                      <td width="100%" bgcolor="#FFFFFF">
        <font face="verdana,arial,helvetica" size="1"  color="#183562"><b><font size="1" face="Tahoma">Rank:</font></b></font><font size="1" face="Tahoma"> <font face="verdana,arial,helvetica" size="1" > $post[rank]</font></font><font face="Tahoma"><font face="verdana,arial,helvetica" size="1" ></font></font><font face="verdana,arial,helvetica" size="1" ></font></td>
                    </tr>
                    </table></td>
                </tr>
</if>
<if condition="$show['postcount']">
                                        <tr>       
                  <td width="100%" align="center">
                  <table border="1" style="border-collapse: collapse" bordercolor="#94979D" width="90%" cellpadding="2">
                    <tr>
                      <td width="100%" bgcolor="#FFFFFF">
        <font face="verdana,arial,helvetica" size="1"  color="#183562"><b><font size="1" face="Tahoma">Posts:</font></b></font><font size="1" face="Tahoma"><font face="verdana,arial,helvetica" size="1" > $post[posts]</font>
                      </font></td>
                    </tr>
                    </table></td>
                </tr>
</if>
                <tr>       
                  <td width="100%" align="center"><img src="skynetimages/misc/space.gif" alt="" width="1" height="3" border="0" align="absmiddle"></td>
                </tr>
                <tr>
                  <td align="center"><font face="verdana,arial,helvetica" size="1" >                        <if condition="$show['reputationlink']"><a href="#" onclick="return reputation($post[postid])"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></if> <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if> $post[iplogged]</font></td>
                </tr>


              </table></td></tr></table></td>
       
        <td width="100%" height="100%" valign="top" bgcolor="#E4E5E5"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="100%" height="10" align="right" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr valign="bottom">
            <td width="100%" align="left"><font face="verdana,arial,helvetica" size="1" >                        <!-- status icon and date -->
                        <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
                        <if condition="!$show['start_until_end']">
                                $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
                        <else />
                                <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
                        </if>
                        $post[firstnewinsert]
                        <!-- / status icon and date --> </font></td>
            <td width="192" align="right" nowrap><font face="verdana,arial,helvetica" size="1" >                        <if condition="$post['editlink']">
                                <a href="$post[editlink]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
                        </if>
                        <if condition="$post['forwardlink']">
                                <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
                        </if>
                        <if condition="$post['replylink']">
                                <a href="$post[replylink]"><img src="$stylevar[imgdir_button]/quote.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
                        </if>
                        <if condition="$SHOWQUICKREPLY AND !$show['threadedmode']">
                                <a href="$post[replylink]" onclick="return qr($post[postid]);"><img src="$stylevar[imgdir_button]/qreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
                        </if></font></td>
          </tr>
        </table></td>
            </tr>
          <tr>
            <td width="100%" height="200" valign="top" align="left">
<br />
                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<p><font face="verdana, arial, helvetica" size="1">        <!-- message, attachments, sig -->
               
                <!-- message -->
                <div>$post[message]</div>
                <!-- / message -->
       
                <if condition="$show['attachments']">
                <!-- attachments -->
                        <div style="padding:$stylevar[cellpadding]px">
                       
                        <if condition="$show['thumbnailattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_thumbnails]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                        $post[thumbnailattachments]
                                        </div>
                                </fieldset>
                        </if>
               
                        <if condition="$show['imageattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_images]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                        $post[imageattachments]
                                        </div>
                                </fieldset>
                        </if>
                       
                        <if condition="$show['imageattachmentlink']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_images]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[imageattachmentlinks]
                                        </table>
                                        </fieldset>
                        </if>
                       
                        <if condition="$show['otherattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_files]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[otherattachments]
                                        </table>
                                </fieldset>
                        </if>
                       
                        <if condition="$show['moderatedattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attachments_pending_approval]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[moderatedattachments]
                                        </table>
                                </fieldset>               
                        </if>
                       
                        </div>
                <!-- / attachments -->
                </if>
               
                <if condition="$post['signature']">
                <!-- sig -->
                        <div>
                                __________________<br />
                                $post[signature]
                        </div>
                <!-- / sig -->
                </if>
               
                <if condition="$show['postedited']">
                <!-- edit note -->
                        <div class="smallfont">                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                                <em>
                                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
                                <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
                                </em>
                        </div>
                <!-- / edit note -->
                </if>
       
               
        <!-- message, attachments, sig -->
</font></p>
       
        <p></p>
        <p></p></td>
            </tr>
          <tr>
            <td width="100%" height="10" align="right" valign="bottom"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr valign="bottom">
            <td width="100%" align="right"><font face="verdana,arial,helvetica" size="1" >
        <if condition="$show['profile']">
                <a href="member.php?$session[sessionurl]userid=$post[userid]" target="_blank"><img src="skynetimages/misc/profile.gif" border="0" alt="$vbphrase[view_public_profile]"></a>
        </if>
        <if condition="$post['arcadesettings'] & 4 AND $post[userid]!=$bbuserinfo[userid] AND $bbuserinfo[userid]!=0">
                <tr><td class="vbmenu_option"><a href="arcade.php?$session[sessionurl]do=newchallenge&userid=$post[userid]" target="_self">Challenge $post[username] in the Arcade</a></td></tr>
        </if>
        <if condition="$show['pmlink']">
        <a href="private.php?$session[sessionurl]do=newpm&amp;userid=$post[userid]"><img src="skynetimages/misc/sendpm.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>"></a>
        </if>
        <if condition="$show['homepage']"><a href="$post[homepage]"><img src="skynetimages/misc/home.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase>"></a></if>
        <if condition="$show['emaillink']">
                <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]"><img src="skynetimages/misc/email.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase>"></a>
        </if>
        <if condition="$show['search']">
<a href="search.php?$session[sessionurl]do=finduser&amp;userid=$post[userid]"><img src="skynetimages/misc/find.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase>"></a>
</if>
        <if condition="$post['userid']">
        <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><img src="skynetimages/misc/buddy.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase>"></a>
        </if></td>
          </tr>
        </table></td>
            </tr>
          </table></td>
</tr>


</table>
</td></tr></table>

<!-- spacer --></td></tr></table><br />

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
                <td class="thead">$post[username]</td>
        </tr>
        <if condition="$show['profile']">
                <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]userid=$post[userid]" target="_blank">$vbphrase[view_public_profile]</a></td></tr>
        </if>
        <if condition="$show['pmlink']">
                <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
        </if>
        <if condition="$show['emaillink']">
                <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
        </if>
        <if condition="$show['homepage']">
                <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
        </if>
        <if condition="$show['search']">
                <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
        </if>
        <if condition="$post['userid']">
        <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
        </if>
        </table>
</div>
<!-- / post $post[postid] popup menu -->




<if condition="$show['spacer']">
        </div>
        $spacer_close
</if>
<!-- / post #$post[postid] -->

Here is what the install file says:

HTML Code:

==============
postbit
==============

Find:
___________________________________________________________________________________________

<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

???????????????????????????????????????????????????????????????????????????????????????????

Below this, add:
___________________________________________________________________________________________

$post[arcadeawards]

???????????????????????????????????????????????????????????????????????????????????????????


TTG 07-15-2004 10:58 PM

Code:

<font face="verdana,arial,helvetica" size="1"  color="#183562"><b><font size="1" face="Tahoma">Rank:</font></b></font><font size="1" face="Tahoma"> <font face="verdana,arial,helvetica" size="1" > $post[rank]</font></font><font face="Tahoma"><font face="verdana,arial,helvetica" size="1" ></font></font><font face="verdana,arial,helvetica" size="1" ></font></td>
below that line add "$post[arcadeawards]"

Mickie D 07-16-2004 03:00 PM

hi did anyone work out a fix for playing your arcade in https ?

thanks very much

Battle_Ring 07-17-2004 08:41 PM

how can i stop the arcade fro msendign emaisl sayign your score was beaten

Intex 07-17-2004 08:42 PM

Each user has the option of setting this on and off. Go to Arcade | Your Settings.

royals 07-17-2004 09:08 PM

This is great!

Installed yesterday and everyone on the board loves it. Only problem is the latest arcade score is not updating. Its stuck on the same one. Not sure how to fix. Downloaded zip 7/16/04 and I'm using 3.0.1

Edited to say its working but its only recording scores for 3 card poker. Any thoughts?

sarge0087 07-18-2004 03:23 AM

I have a problem getting the arcade working. Go to my arcade: http://www.nextdictator.com/forum/arcade.php? and click on one of the games. Why aren't they working? I have version 3.0.3 and I saw a post that it does work with that version. I'm not sure what's wrong.

*EDIT: Whoops, sorry I forgot you had to register to see the arcade, but what happens is it'll bring me to a "The page cannot be displayed" page and the url in the url bar changes to http:///forum/arcade.php?do=extendsession I'm not sure what's going on.

Intex 07-18-2004 03:25 AM

You need to turn off the requirement to register before people can help with your problem. Either that or specify a test account so we can see what's going on.

Intex 07-18-2004 03:27 AM

royals - It could be that the arcade tasks have not run. These run by default at 23:00 daily. If you want to test that, go to AdminCP | Scheduled Tasks and select RUN NOW against the 'Arcade Tasks'.



Quote:

Originally Posted by royals
This is great!

Installed yesterday and everyone on the board loves it. Only problem is the latest arcade score is not updating. Its stuck on the same one. Not sure how to fix. Downloaded zip 7/16/04 and I'm using 3.0.1

Edited to say its working but its only recording scores for 3 card poker. Any thoughts?



All times are GMT. The time now is 08:06 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.03825 seconds
  • Memory Usage 2,061KB
  • 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
  • (7)bbcode_code_printable
  • (2)bbcode_html_printable
  • (10)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
  • (40)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