Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ibProArcade pagination below Game Information Details »»
ibProArcade pagination below Game Information
Version: 1, by stangger5 stangger5 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 11-13-2014 Last Update: Never Installs: 9
Supported
 

This should work with all vb and ibproarcade versions..

This will help you navigate through your arcade game pages without having to scroll to the bottom of the page..
Shows below Game Information and above the Games..

Demo: www.next-level-arcade.com

Two files to edit..

arcade.php find:
PHP Code:
$this->output .= $this->html->start($newtext,$latestinfo,$new_games,$pop_games,$ran_games,$tot_games,$usecats,$tot_cats,$this->arcade->links,$plays_left,$tourneyinfo,$cattable,$attente,$termine,$actifs,$mtinfo,$Champion,$Highscorechamp,$stylecolumns,$selected); 
change it to this:

PHP Code:
$this->output .= $this->html->start($newtext,$latestinfo,$new_games,$pop_games,$ran_games,$tot_games,$usecats,$tot_cats,$this->arcade->links,$plays_left,$tourneyinfo,$cattable,$attente,$termine,$actifs,$mtinfo,$Champion,$Highscorechamp,$stylecolumns,$selected,$this->arcade->links['pages']); 
save and close..

Now edit the skin_Arcade.php

Find:
PHP Code:
function start($newtext,$latestinfo,$new_games,$pop_games,$ran_games,$tot_games,$usecats,$tot_cats,$clicktoplay,$plays_left,$tourneyinfo,$cats,$attente,$termine,$actifs,$mtinfo,$Champion,$Highscorechamp,$stylecolumns,$selected){ 
change it to this:

PHP Code:
function start($newtext,$latestinfo,$new_games,$pop_games,$ran_games,$tot_games,$usecats,$tot_cats,$clicktoplay,$plays_left,$tourneyinfo,$cats,$attente,$termine,$actifs,$mtinfo,$Champion,$Highscorechamp,$stylecolumns,$selected,$pages){ 
Now scroll down to find this:
PHP Code:
        <div class="tborder">
    <
table width="100%" border="0" cellspacing="1" cellpadding="$stylecolumns">
        <
tr>
            <
td width="100%" align="center" colspan="$stylecolumnsclass="tcat">{$ibforums->lang['game_info']}{$plays_left}</td>
        </
tr>
        {
$cats}
    {
$tourneyinfo['desc']}
EOF;

change it to this:

PHP Code:
    <div class="tborder">
    <
table width="100%" border="0" cellspacing="1" cellpadding="$stylecolumns">
        <
tr>
            <
td width="100%" align="center" colspan="$stylecolumnsclass="tcat">{$ibforums->lang['game_info']}{$plays_left}</td>
        </
tr>
        {
$cats}
    {
$tourneyinfo['desc']}
    </
table>
    <
div style="padding:5px;margin-top:-12px;">
        {
$pages}
    </
div>
    <
table width="100%" border="0" cellspacing="1" cellpadding="$stylecolumns">
        <
tr>
            <
td colspan="$stylecolumnsclass="pformstrip">
                <
div class="tborder">
                <
table width="100%" border="0" cellspacing="1" cellpadding="$stylecolumns">
                <
tr class="alt1">
EOF;

save and close..

Thats it..
Enjoy !!

Screenshots

File Type: jpg pagination1.jpg (29.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
blind-eddie, goxy63

Comments
  #2  
Old 11-14-2014, 11:08 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are awesome, Thank you for sharing!

Anyone with ibProArcade installed should add this to their site.
Reply With Quote
  #3  
Old 12-29-2014, 09:52 PM
J19784B5A39B J19784B5A39B is offline
 
Join Date: Jun 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not good for version 3.8.5?
Reply With Quote
  #4  
Old 12-29-2014, 10:16 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not? I should work.
Reply With Quote
  #5  
Old 12-30-2014, 01:08 AM
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn...made the 3 code snippet changes but now my Arcade page won't load - getting this error message:

Fatal error: Call to undefined method skin_Arcade::newest_champs_row() in /home/bgobses/public_html/arcade.php on line 2214

Maybe something conflicts with the scrolling 'newest champs' mod I added? Any idea how to correct the error anyone? I got lazy and didn't save the original arcade.php or Skin_arcade.php files.....You think you'd learn over time...
Reply With Quote
  #6  
Old 12-30-2014, 03:10 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That sucks, sorry to hear that.
I use this on my 3.8.8 board without issue.
Resave the arcade.php or Skin_arcade.php that you are using now, download the arcade again and only upload those two files to their proper locations.

This should be working for you without issue.
Reply With Quote
  #7  
Old 12-30-2014, 12:24 PM
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the original Arcade files, but would prefer to repair code to preserve 'Lights on', scrolling game leaders, etc.. add-ons. Hopefully stangger5 can pull my chestnuts out of the fire and help me resolve the issue
Reply With Quote
  #8  
Old 12-30-2014, 04:56 PM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your error was caused by an edit in the skin_Arcade file..

I`ve got you all fixed up now..
Reply With Quote
Благодарность от:
blind-eddie
  #9  
Old 12-30-2014, 05:10 PM
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you brother - you are the man!
Reply With Quote
  #10  
Old 03-13-2015, 09:29 PM
J19784B5A39B J19784B5A39B is offline
 
Join Date: Jun 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blind-eddie View Post
Why not? I should work.
I have this code

<div class="tborder">
<table width="100%" border="0" cellspacing="1" cellpadding="$stylecolumns">
<tr>
<td width="100%" align="center" colspan="$stylecolumns" class="tcat">{$ibforums->lang['game_info']}{$plays_left}</td>
</tr>


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

</table></div><br /><div class="tborder">
<table width="100%" border="0" cellspacing="1" cellpadding="$stylecolumns">
<tr>

EOF;
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:24 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04292 seconds
  • Memory Usage 2,364KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete