Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11809
Latest: Rheingauner
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 41640
Total Topics: 7280
Most Online Today: 92
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 38
Total: 38

Author Topic: Error When Opening Admin Panel  (Read 7364 times)

0 Members and 1 Guest are viewing this topic.

Offline HDB

  • SMF Gallery Pro Customer
  • Member
  • *****
  • Posts: 49
    • View Profile
    • HDBitchin, a Harley Davidson Community and Technical Forum
Re: Error When Opening Admin Panel
« Reply #15 on: April 03, 2016, 07:56:02 pm »
Code: [Select]
'mediapro' => array(
'title' => $txt['mediapro_admin'],
'permission' => array('admin_forum'),
'areas' => array(
'mediapro' => array(
'label' => $txt['mediapro_settings'],
'file' => 'AutoEmbedMediaPro2.php',
'function' => 'MediaProMain',
'custom_url' => $scripturl . '?action=admin;area=mediapro;sa=settings;sesc=' . $sc,
'icon' => 'server.gif',
'permission' => array('admin_forum'),
'subsections' => array(
'settings' => array($txt['mediapro_settings']),
'copyright' => array($txt['mediapro_copyremove']),
),
),

),
),



'awesome' => array(
'title' => $txt['awepost_admin'],
'permission' => array('admin_forum'),
'areas' => array(
'awesome' => array(
'label' => $txt['awepost_admin'],
'file' => 'AwesomePostRatings2.php',
'function' => 'AwesomeMain',
'custom_url' => $scripturl . '?action=admin;area=awesome;sa=adminset;sesc=' . $sc,
'icon' => 'server.gif',
'subsections' => array(
'adminset' => array($txt['downloads_text_settings']),
'ratingtypes' => array($txt['awepost_ratingstypelist']),

),
),),
),

'layout' => array(
'title' => $txt['layout_controls'],
   
As seen above my current admin.php file does not have
Code: [Select]
'layout' => array(
'title' => $txt['layout_controls'],
after the media code. Instead the awesome code starts and then that closes with
Code: [Select]
'layout' => array(
'title' => $txt['layout_controls'],

as you see above. I am a bit concerned with how I should back the SAVE mod out and not cause issues.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15765
    • View Profile
Re: Error When Opening Admin Panel
« Reply #16 on: April 03, 2016, 08:04:08 pm »
Proceed with the uninstall. It should be ok just remove this
Code: [Select]
'mediapro' => array(
'title' => $txt['mediapro_admin'],
'permission' => array('admin_forum'),
'areas' => array(
'mediapro' => array(
'label' => $txt['mediapro_settings'],
'file' => 'AutoEmbedMediaPro2.php',
'function' => 'MediaProMain',
'custom_url' => $scripturl . '?action=admin;area=mediapro;sa=settings;sesc=' . $sc,
'icon' => 'server.gif',
'permission' => array('admin_forum'),
'subsections' => array(
'settings' => array($txt['mediapro_settings']),
'copyright' => array($txt['mediapro_copyremove']),
),
),

),
),
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline HDB

  • SMF Gallery Pro Customer
  • Member
  • *****
  • Posts: 49
    • View Profile
    • HDBitchin, a Harley Davidson Community and Technical Forum
Re: Error When Opening Admin Panel
« Reply #17 on: April 03, 2016, 08:21:56 pm »
Rookie question...

I should do the uninstall via the SMF Package Manager first and then manually edit the above out of admin.php file on my server?

Offline HDB

  • SMF Gallery Pro Customer
  • Member
  • *****
  • Posts: 49
    • View Profile
    • HDBitchin, a Harley Davidson Community and Technical Forum
Re: Error When Opening Admin Panel
« Reply #18 on: April 03, 2016, 09:12:57 pm »
Rookie question...

I should do the uninstall via the SMF Package Manager first and then manually edit the above out of admin.php file on my server?
I bit my lower lip and cross my fingers and did what you suggested and went ahead and assumed that what you meant was what I quoted above. It worked!! Everything is working.

You make awesome products and your support is awesome as well. If you ever get a Harley I can help you with that!!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15765
    • View Profile
Re: Error When Opening Admin Panel
« Reply #19 on: April 03, 2016, 09:26:03 pm »
Glad you have it working!
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/
Like Like x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
12 Replies
10402 Views
Last post November 23, 2006, 04:03:50 am
by justafishermen
5 Replies
6157 Views
Last post January 20, 2008, 07:11:47 pm
by eg-eliteghost
3 Replies
6419 Views
Last post April 30, 2007, 02:54:20 pm
by j3cubcapt
3 Replies
5000 Views
Last post September 15, 2007, 10:30:22 pm
by rumboogy
6 Replies
7066 Views
Last post August 10, 2008, 06:24:09 pm
by MoreBloodWine

+- Recent Topics

Logo and Category? by tank_fv101
January 10, 2022, 08:03:11 am

Questions about SMF Gallery Pro Folders and Gallery URL by scso1502
January 05, 2022, 03:48:27 pm

$subcats_linktree by mickjav
January 05, 2022, 03:08:29 pm

New Photos Won't Upload - Gallery Pro 8.0 or 9.0b - Old Photos Still Visible by scso1502
January 05, 2022, 02:23:16 pm

Additional Recommendations for SMF Store by SMFHacks
January 03, 2022, 02:37:10 pm

Seasons Greetings by SMFHacks
December 24, 2021, 10:02:42 pm

Problems with the contact mod by SMFHacks
December 22, 2021, 09:16:24 am

Gallery Pro v8.0 and PHP 7.4 by SMFHacks
December 16, 2021, 01:34:03 pm

Thanks mod SMF 2.1 by Monocero
November 27, 2021, 01:13:01 pm

How to change the font on a photo in SMF Gallery Pro? by SMFHacks
November 18, 2021, 09:28:11 am

Powered by EzPortal