https://next-level-arcade.com


Results 1 to 7 of 7
  1. #1
    Administrator stangger5's Avatar

    Join Date
    Nov 2005
    Posts
    1,633
    Thanks
    664
    Thanked 620 Times in 320 Posts

    ibProArcade 2.7.6+ Newest Game Thread

    This mod makes a new thread when you install a .tar game..
    It only works when installing one game at a time..


    Step #1
    Add this to your admincp/arcade.php file...

    Look in the // TAR install code
    Find:
    Code:
    global $IN, $INFO;
    change to:
    Code:
    global $IN, $INFO, $vboptions;
    Still in the // TAR install code, now find this code:
    Code:
    $DB->query("INSERT INTO " . TABLE_PREFIX . "games_list (" .$db_string['FIELD_NAMES']. ") VALUES (". $db_string['FIELD_VALUES'] .")");
    Put this right below it:
    Code:
    $DB->query("select g.*, c.c_id, c.password, c.cat_name from " . TABLE_PREFIX . "games_list as g
    		left join " . TABLE_PREFIX . "games_cats as c on (g.gcat = c.c_id)                              
    		ORDER BY g.added DESC LIMIT 1");  
    		$gamea = $DB->fetch_row();		            
    
         		$vbversion = substr($vboptions[templateversion],0,3);
      		if (($vbversion != "3.0") && ($NATIVEMODE==0))
      		{
      			($hook = vBulletinHook::fetch_hook('ibproarcade_game_added')) ? eval($hook) : false;
    		}

    Step ##2
    Find this in the includes/xml/hooks_ibproarcade.xml file:
    Code:
    <hook>ibproarcade_acp_morecode</hook>
    and put this below it:
    Code:
    <hook>ibproarcade_game_added</hook>

    Step ###3
    Import the product-newestgamethread.xml file..


    Step #####4
    Go into your admincp >> vBulletin Options: IBPro Arcade Thread on newest game

    Add: Under which exisiting Username will post the New Thread.

    Add: The User ID who makes the Highscore Thread.

    Show the thread starters signature. Yes/No

    Add: In which Forum will create a new Thread.

    Enter the id of the post icon. 0 to show no icon.

    Reply Allowed ? (open/close Thread) Yes/No..

    Click (Save)..

    Step ######5
    Now go install a game to see the Thread..

    Enjoy !!
    Attached Files Attached Files

  2. The Following 2 Users Say Thank You to stangger5 For This Useful Post:

    bosss (09-16-2019), junkyman (09-12-2019)

  3. #2
    Game Downloader

    Join Date
    Nov 2012
    Posts
    26
    Thanks
    8
    Thanked 4 Times in 4 Posts
    We must install game by game - not all games in same time?

    Did not see red text ...sorry
    Last edited by bosss; 09-16-2019 at 05:27 AM.

  4. #3
    Game Downloader

    Join Date
    Nov 2012
    Posts
    26
    Thanks
    8
    Thanked 4 Times in 4 Posts
    Just installed and works fine!

  5. The Following User Says Thank You to bosss For This Useful Post:

    stangger5  (09-18-2019)

  6. #4
    Downloaders mike1966's Avatar

    Join Date
    Jun 2019
    Location
    naples
    Posts
    13
    Thanks
    6
    Thanked 1 Time in 1 Post
    always edit white page and does not detect me in the forum in the new game installed entry the game just installed
    Https:://www.napoliecontorni.it

  7. #5
    Downloaders mike1966's Avatar

    Join Date
    Jun 2019
    Location
    naples
    Posts
    13
    Thanks
    6
    Thanked 1 Time in 1 Post
    correcting found the problem is GlowHost - Spam-O-Matic that does not allow the product to work
    Https:://www.napoliecontorni.it

  8. #6
    Game Downloader lagrace's Avatar

    Join Date
    Jan 2018
    Posts
    12
    Thanks
    17
    Thanked 3 Times in 3 Posts
    hello possible to have the code for php 7.4 ??thank you

  9. #7
    Administrator stangger5's Avatar

    Join Date
    Nov 2005
    Posts
    1,633
    Thanks
    664
    Thanked 620 Times in 320 Posts
    To much to list, it would take me a week to get it all.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Link Exchange - Affiliates/Friends