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)
-   -   v3Arcade - new look to your arcade main page (https://vborg.vbsupport.ru/showthread.php?t=71481)

Vevina 05-16-2005 10:14 PM

sweet installed :)

axi 05-19-2005 03:58 PM

how can we store game_size.php so nobody can run it? Can we rename it or store it in admincp folder?

MortysTW 05-20-2005 03:52 PM

Love this hack. ITs perfect. Thanks!

But I have the Categories mod installed and this Mod worked perfectly even with this Categories Mod. So that's not my issue. My issue is that the Categories Mod takes away listing of any game on the main entrance page to the arcade.php that visitors first see when they hit the arcade.

I would like to get this mod to also display on my main Arcade page below the list of categories. Can you help me out? I couldn't figure out which mod page would be better to post this question at.

steadicamop 05-23-2005 06:28 PM

I can't find this code, I've even tried searching for the three top lines individually and nothing came back

Code:

        // Gets all of the games
        while ($game = $DB_site->fetch_array($result_allgames)) {
                $gamename = $game['shortname'];
                if ($gamecache["$game[shortname]"]) {
                        $game = $gamecache["$game[shortname]"];
                } else {
                        // the game has never had a score recorded
                        // $extra is used as a conditional for the arcade_main_games_bit template
                        $extra = 1;
                }
                if (strlen($game['username'])>12) {
                        $game['username'] = "<font size=1>".$game['username']."</font>";
                }
                if (($game['gamesettings'] & 1)&&($g >= $startingfrom && $g<$upperlimit)) {
                        eval('$gamebits .= "' . fetch_template('arcade_main_games_bit') . '";');
                        exec_switch_bg();
                }
                if ($game['gamesettings'] & 1) {
                        $g++;
                }
                unset($extra);
        }

Any help plz :D

Polo 05-23-2005 07:55 PM

try looking for this line:

Quote:

unset($extra);
this line has to be there...

steadicamop 05-23-2005 08:05 PM

Believe it or not ... it's not there, just searched through arcade.php - not found :(

Polo 05-23-2005 08:06 PM

really?? mmm... did you modified the arcade.php file alot?

1nf3rn0 05-23-2005 09:53 PM

Quote:

Originally Posted by JasonWilliams
Believe it or not ... it's not there, just searched through arcade.php - not found :(

are you using an editor?..or just notepad or wordpad?..if usin any of them, make sure you are searching in the opposite direction from where your cursor is placed...please take no offense...ive just done this before...

steadicamop 05-24-2005 06:07 AM

I did the changes remotely via ftp .... I used CuteFTP's built in editor, that's pretty darn handy too.

I've not hacked the Arcade at all .. only for the resolution selection for the games, that's the only one installed.

I might just download the original arcade.php and see what happens if I replace it for the current one.

waza 05-27-2005 04:34 PM

You will probably need the latest version of v3arcade, v1.0.3.
The lines aren't there in v1.0.0,

Now for my problem:
I can't get the layout right, the page is totaly messed up.
So can somebody who has only installed this modification on v3arcade, share his arcade_main template?

Thx,
seba

MissKalunji 05-27-2005 04:48 PM

Quote:

Originally Posted by waza
You will probably need the latest version of v3arcade, v1.0.3.
The lines aren't there in v1.0.0,

Now for my problem:
I can't get the layout right, the page is totaly messed up.
So can somebody who has only installed this modification on v3arcade, share his arcade_main template?

Thx,
seba

<!-- arcade welcome -->
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="thead" width="20%">
<span class="smallfont"><b>Logged in</b> as</span></td>
<td class="thead" width="40%"><span class="smallfont"><b>Welcome</b> to the <b>Arcade</b>!</span></td>
<td class="thead" width="40%"><span class="smallfont">Arcade <b>News & Events</b></span></td>
</tr>
<tr align="center">
<td class="alt1" width="20%" valign="middle">
<if condition="$bbuserinfo[userid]!=0">
<b>$bbuserinfo[musername]</b>
<span class="smallfont"><br />
$bbuserinfo[usertitle]<br /><br />
$bbuserinfo[avatar]<br /><br />
<else />
<b><i>Guest</i></b><br />
<font size="1"><a href="$vboptions[bburl]/register.php">Click here to register!</a></font>
</if>
</span>

</td>
$welcomeblock
<td class="alt1" width="40%" valign="top">$arcadenews</td>
</tr>
</table></td>
</tr>
</table>
<!-- /arcade welcome -->
<if condition="$ischallengepending == 1">
<!-- small space -->
<span class="smallfont"><br>
</span>
<!-- /small space -->
<!-- personal -->
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="thead">Pending Challenges</td>
</tr>
<tr align="center">
<td class="alt1"><table>$challengebits</table></td>
</tr>
</table></td>
</tr>
</table>
<!-- /personal -->
</if>
<!-- small space -->
<br \><table cellspacing="0" border="0" width="$stylevar[tablewidth]">
<tr>
<td>

<if condition="$mhsusername">
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="400" align="left">
<tr>
<td> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="thead"><img src="$stylevar[imgdir_arcade]/king.gif" alt="The most Champions Titles !" align="absmiddle" border=0>Arcade-King:</td><td class="alt1">
<span class="smallfont"><a href="arcade.php?do=stats&userid=$mhsuser"><b>$mhs username</b></a> has <b>$mosthigh</b> Champions-Titles !</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</if>

<if condition="$mhsarray">
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="90%" align="left">
<tr>
<td> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="thead"><img src="$stylevar[imgdir_arcade]/morekings.gif" alt="The most Champions Titles !" align="absmiddle" border=0>Arcade-Kings:</td><td class="alt1">
<span class="smallfont"><b>$mhsarray</b></a> have <b>$mosthigh</b> Champions-Titles !</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</if>
<br \>
<td align="right">$pagenav</td>
</td>
</tr>
</table>
<span class="smallfont"><br>
</span>
<!-- /small space -->
<!-- games -->
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td colspan="3" class="thead">total games: $gamecount </td>
</tr>
$gamebits
<tr align="center">
<td class="thead" colspan="3" align="left"> </table></td>
</tr>
</table>
<!-- /games -->

<br />
$pagenav

MissKalunji 05-27-2005 05:37 PM

Quote:

Originally Posted by waza
You will probably need the latest version of v3arcade, v1.0.3.
The lines aren't there in v1.0.0,

Now for my problem:
I can't get the layout right, the page is totaly messed up.
So can somebody who has only installed this modification on v3arcade, share his arcade_main template?

Thx,
seba


did it work?

waza 05-27-2005 06:44 PM

Hey,
I first also had to upload my changed arcade.php (I uploaded the wrong one)
It was still a mess, but it worked with your template.
thx a lot!

MissKalunji 05-28-2005 12:32 AM

Quote:

Originally Posted by waza
Hey,
I first also had to upload my changed arcade.php (I uploaded the wrong one)
It was still a mess, but it worked with your template.
thx a lot!

glad i was able to help you :nervous:

VBUsers 06-03-2005 12:21 AM

i would like to take out the total of games shown. it makes it look funny since all the games are on the same page. where can i edit that out. i just want the games to be on the arcade page so it looks cleaner than it does now. thanks ahead of time for the help

VBUsers 06-07-2005 06:07 AM

Quote:

Originally Posted by lowandloudinc
i would like to take out the total of games shown. it makes it look funny since all the games are on the same page. where can i edit that out. i just want the games to be on the arcade page so it looks cleaner than it does now. thanks ahead of time for the help

bump

SpeedyHire 06-07-2005 12:27 PM

worx like a charm m8
many thanx for the mod:)

dsboyce8624 06-07-2005 03:06 PM

Quote:

Originally Posted by lowandloudinc
bump

Just remove that <tr></tr> section from the code.

VBUsers 06-07-2005 05:24 PM

Quote:

Originally Posted by dsboyce8624
Just remove that <tr></tr> section from the code.


could you be a little more specific please thanks

dsboyce8624 06-07-2005 06:40 PM

Quote:

Originally Posted by lowandloudinc
could you be a little more specific please thanks

Theres a line that says:
Code:

<tr align="center">
          <td colspan="4"  class="thead">total games: $gamecount </td>
        </tr>

Change the "total games: $gamecount " to whatever you want the header to say.

Aeolian_X 06-18-2005 12:43 AM

Great Hack! Looks great in my Arcade. Thank you!

*Clicks Install and Rocks On!*

ryne661 07-10-2005 04:06 PM

How can you undo

Code:

ALTER TABLE `games` ADD `filesize` INT( 10 ) DEFAULT '0' NOT NULL ;
in the db?

I am trying to uninstall this hack...

DjTaz 07-11-2005 07:00 AM

ryne661 - if u have phpmyadmin ... log into the sql , go to games and find the table filesize and delete it from there.

atxhorn 07-15-2005 01:10 PM

very nice

cherieann 07-21-2005 05:26 AM

Installed with a few differences, Prolly gonna edit it a bit more :) But thanks!

kregger 07-26-2005 02:33 AM

Where do I change the $pagenav so that more games show up per page? Sorry, a bit of a n00b staggering around here. hehe I think that's the thing I have to change(or would it be the $gamesbit). I got the hack to work but its only showing 10 games per page. TIA!

Craig

Gio~Logist 07-26-2005 02:35 AM

go to arcade.php and change

PHP Code:

    $perpage 10

to whatever number you'd like

kregger 07-26-2005 02:41 AM

Quote:

Originally Posted by gio~logist
go to arcade.php and change

PHP Code:

    $perpage 10

to whatever number you'd like

Wow! Quick answer! :D Thank ya!

Hack looks muuuuuuch better.

Craig

Warlord 07-28-2005 11:44 PM

Great Mod, my arcade looks loads better.

unknowngiver 08-07-2005 06:36 PM

https://vborg.vbsupport.ru/

I have this problem
can anyone help please

and i also changed the colspan=4 to colspan=2 but it didnt do anything

bigdog829 08-09-2005 02:47 AM

Quote:

Originally Posted by unknowngiver
http://img8.imageshack.us/img8/6484/untitled5kt1.jpg

I have this problem
can anyone help please

and i also changed the colspan=4 to colspan=2 but it didnt do anything


I removed this from arcade_main

PHP Code:

   <td class="thead">Game</td><td class="thead">Champion</td><td class="thead">Personal Best</td><td class="thead">Description</td

Replaced with

PHP Code:

<td colspan="4"  class="thead">total games$gamecount </td


csidlernet 08-10-2005 05:15 AM

sweet thanks

thephonemall 08-12-2005 04:51 AM

Can someone please assist me with altering my Game Table? I do not know where to do this. I uploaded game_size.php to admincp but when I run it I receive a database error. I suspect it is because I did not alter the Game Table.
Currently no sizes show up. Looks like:
Play: [ Kb]

sinoeu 10-09-2005 07:29 PM

Quote:

Originally Posted by thephonemall
Can someone please assist me with altering my Game Table? I do not know where to do this. I uploaded game_size.php to admincp but when I run it I receive a database error. I suspect it is because I did not alter the Game Table.
Currently no sizes show up. Looks like:
Play: [ Kb]

Can anybody upgrade this wonderful hack for vb3.5?

MThornback 10-21-2005 12:03 PM

Note for people: There are 2 instances of games in the game_size.php file, you need to add prefixes (if you use them) to BOTH for it to work :)

Oblivion Knight 10-21-2005 12:22 PM

Quote:

Originally Posted by sinoeu
Can anybody upgrade this wonderful hack for vb3.5?

It's done, just waiting for permission to release the port.. ;)


All times are GMT. The time now is 04:18 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.01714 seconds
  • Memory Usage 1,840KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)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