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)

MrZeropage 03-30-2006 11:43 AM

The Gamelisting is done in the Skin-File with function row()

For PopUp-Playing add the following things to the v3-Skin in function row()
Code:

<script language="JavaScript">
<!--

var newwindow;
function poptastic(url,features)
{
newwindow=window.open(url,'playnew',features);

}
//-->
</SCRIPT>

and
Code:

<!--popup play-->
<a href="javascript:poptastic('arcade.php?$session[sessionurl]do=playfull&amp;gameid={$entry['gid']}', 'height={$entry['gheight']},width={$entry['gwidth']},left=200,top=100,resizable=yes,scrollbars=no,toolbar=no,status=no');">{$ibforums->lang['gamebox_playpopup']}</a><br />


dizzy100 03-30-2006 01:31 PM

Quote:

Originally Posted by MrZeropage
The Gamelisting is done in the Skin-File with function row()

Mmmm i'm not seeing that at all.

I've tried

skin_v3Arcade.php
skin_Arcade.php
skin_global.php

in the skins template and even arcade.php in the forum home directory and i don;t see that function ...

Any pointers ?

dizzy100 03-30-2006 01:34 PM

ah got it

function row (whatever is in this function)

but how to move that up ?

I was just copying everything within the EOF but i'm guessing this won't work right ?

dizzy100 03-30-2006 02:06 PM

ok this template thing has me licked ...

Is there a default template that is the master layout ? So i can change things like this around ?

Cos for what i'm currently seing that part is hard coded :( But i'm likely missing something ...

I know theres a temnplate in vbulletin but thats not with individual items in it (i.e games seperate from leaders etc).

DementedMindz 03-30-2006 02:09 PM

personally i would use dreamweaver thats how i edited alot of mine... te way its setup is tricky but in dreamweaver you can se every table :)

dizzy100 03-30-2006 02:55 PM

Quote:

Originally Posted by DementedMindz
personally i would use dreamweaver thats how i edited alot of mine... te way its setup is tricky but in dreamweaver you can se every table :)

Funny enough thats what i've been doing with great success. However changing layout is one thing, order seems a completely different one.

Like i want the arcade games listing at the top of the page below announcements but i can't seem to work out how to move that using templates as they are seperate calls.

So its hard coded i think in arcade.php when it calls for which template which is a problem. Unless of course i've missed a template ...

MrZeropage 03-30-2006 03:04 PM

Just look the HTML-output of that row()-function ...

That is the content of the Template you are looking for, just the HTML-Code that builds the GameList.

If you want the complete main Layout to be changed look for the function start() within the Style-File.

dizzy100 03-30-2006 04:39 PM

I just dont see referance to the games listing in the start routine to be honest. It seems that it ends with the tournament output and catagory headings :-

{$cats}
{$tourneyinfo['desc']}

This is why i can't seem to move the game listings up.

Granted i could delete all the leaderboard stuff and that would certainly bump it up but i was hoping to incorporate that in a side bar. At the moment, personally, i think having to scroll down to the list of games each time you change a page is somewhat offputting.

The template being all in one file is a hinderance and it would be much better to move these to dedicated vbulletin templates in all honesty. Are there any plans to do this ?

So any help i can get regards moving these games up would really be of help ....

cuphongle 03-30-2006 05:08 PM

anyone got some games?

TTG 03-30-2006 05:40 PM

Quote:

Originally Posted by cuphongle
anyone got some games?

yes thanks .. 1500+ :banana:


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