PDA

View Full Version : Unreal Portal



мϊкэ
28-06-2005, 07:47 PM
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:


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


**************************************************

Open admin.php

Find:

"idx" => "doframes",

Add After:

"portal" => "portal",

Save and upload admin.php


**************************************************




**************************************************

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

Michael.
28-06-2005, 07:56 PM
Post line 134 please of sources/admin/admin_pages.php :)

мϊкэ
28-06-2005, 08:05 PM
the whole page is here

www.xenigma.co.uk/page_source

мϊкэ
28-06-2005, 08:15 PM
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:


4 => array( 'View Bot Logs' , 'act=spiderlog' ),
5 => array( 'View Warn Logs' , 'act=warnlog' ),
),
);
///LINE 134!!! 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' ),

Michael.
28-06-2005, 08:40 PM
Sorted then Lmao :p

I've done a few of those before!!

Mentor
28-06-2005, 09:08 PM
the pages sintax is pretty simple if you look at it, just have to be cairful not to miz up arrays

Want to hide these adverts? Register an account for free!