Results 1 to 6 of 6

Thread: Unreal Portal

  1. #1
    Join Date
    Aug 2004
    Location
    Over there. ^_^
    Posts
    1,100
    Tokens
    0

    Latest Awards:

    Default Unreal Portal

    hey right ive just installed Unreal Portal v1.5.2 for ipb 1.3 and im using ipb 1.2
    i keep getting this message when i go on admin.php:

    Code:
    Parse error: parse error, unexpected T_DOUBLE_ARROW in my/path to/my forum/sources/Admin/admin_pages.php on line 134
    evrything else has worked i get no other error messages on any other pages here are the things i had to add to pages
    Code:
    **************************************************
    
       Open admin.php
    
         Find:
    
    					 "idx"      => "doframes",
    
         Add After:
    
    					 "portal"   => "portal",
    
       Save and upload admin.php
    
    
       **************************************************


    Code:
       **************************************************
    
       Open /sources/Admin/admin_pages.php 
    
    
         Find:
    
    				11 => array(
    							1 => array( 'View Moderator Logs', 'act=modlog'    ),
    							2 => array( 'View Admin Logs'    , 'act=adminlog'  ),
    							3 => array( 'View Email Logs'    , 'act=emaillog'  ),
    							4 => array( 'View Bot Logs'      , 'act=spiderlog' ),
    							5 => array( 'View Warn Logs'     , 'act=warnlog'   ),
    						   ),
    
    
         Add After:
    
    				12 => array(
    							1 =>array( 'Portal Main'         , 'act=portal'					   ),
    							2 =>array( 'Align Blocks', 'act=portal&code=align'				   ),
    							3 =>array( 'Reorder Blocks', 'act=portal&code=reorder'				   ),
    							4 =>array( 'Add Cutom Blocks', 'act=portal&code=add_block'			   ),
    							5 =>array( 'Edit Cutom Blocks', 'act=portal&code=view_edit'			   ),
    							6 =>array( 'Delete Custom Blocks', 'act=portal&code=delete_custom'		   ),
    							7 =>array( 'Add Custom Content', 'act=portal&code=add_content'		   ),
    							8 =>array( 'Edit Custom Content', 'act=portal&code=view_edit_content'	   ),
    							9 =>array( 'Delete Custom Content', 'act=portal&code=delete_content'		   ),
    						   ),
    
         Find:
    
    				  11 => 'Board Logs',
    
         Add After:
    
    				  12 => 'Unreal Portal',
    
         Find:
    
    				  11 => "View admin, moderator and email logs (Root admin only)",
    
         Add After:
    
    				  12 => "Change portal settings, reorder blocks, and/or add a block ",
    
       Save and upload /sources/Admin/admin_pages.php
    
    
       **************************************************
    Could anybody possibly tell me whats wrong? And how i can fix it.

    Thanks -
    xEnigmA :p
    *Image Removed


    Ahemm.. How exactly was my sig innapropriate?
    Goddamit i hate this forum :@
    I RESIGN FROM GRAPHICS DESIGNER :@ :@ :@

  2. #2
    Join Date
    Nov 2004
    Posts
    1,221
    Tokens
    0

    Latest Awards:

    Default

    Post line 134 please of sources/admin/admin_pages.php

  3. #3
    Join Date
    Aug 2004
    Location
    Over there. ^_^
    Posts
    1,100
    Tokens
    0

    Latest Awards:

    Default

    the whole page is here

    www.xenigma.co.uk/page_source
    *Image Removed


    Ahemm.. How exactly was my sig innapropriate?
    Goddamit i hate this forum :@
    I RESIGN FROM GRAPHICS DESIGNER :@ :@ :@

  4. #4
    Join Date
    Aug 2004
    Location
    Over there. ^_^
    Posts
    1,100
    Tokens
    0

    Latest Awards:

    Default

    OMG such a n00by mistake :@ above line 134 is ); which cancels everything below out so i moved ); to after the last ), on array 12


    here are lines 130-140:

    PHP Code:
                                4 => array( 'View Bot Logs'      'act=spiderlog' ),
                                
    => array( 'View Warn Logs'     'act=warnlog'   ),
                               ),
                   );
    ///LINE 134!!!                12 => array(
                                
    => array( 'Portal Main'         'act=portal'                       ),
                                
    => array( 'Align Blocks''act=portal&code=align'                   ),
                                
    => array( 'Reorder Blocks''act=portal&code=reorder'                   ),
                                
    => array( 'Add Cutom Blocks''act=portal&code=add_block'               ),
                                
    => array( 'Edit Cutom Blocks''act=portal&code=view_edit'               ),
                                
    => array( 'Delete Custom Blocks''act=portal&code=delete_custom'           ), 
    Last edited by L@c0ste; 28-06-2005 at 08:20 PM.
    *Image Removed


    Ahemm.. How exactly was my sig innapropriate?
    Goddamit i hate this forum :@
    I RESIGN FROM GRAPHICS DESIGNER :@ :@ :@

  5. #5
    Join Date
    Nov 2004
    Posts
    1,221
    Tokens
    0

    Latest Awards:

    Default

    Sorted then Lmao :p

    I've done a few of those before!!

  6. #6
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    the pages sintax is pretty simple if you look at it, just have to be cairful not to miz up arrays

Posting Permissions

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