Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.2.x Mods

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-18-2011, 04:21 PM
Inf3rnal's Avatar
Inf3rnal Inf3rnal is offline
Member
 
Join Date: Mar 2011
Location: Florida
Posts: 108
Gender: Male
Credits: 19,684
Inf3rnal is on a distinguished road
Default Admin Notes

I needed a quick access notes to share between staff so I created this.



In phpmyadmin (Or whatever you use) open "yourprefix"_settings and add another row at the bottom.

Add "name" as "adminnotes"
And add "value" as "Admin Notes Here"

It should look like this:
Code:
theme			blah
browsertitle		blah
sitename		blah
admincontact		blah
slogan			blah
saltcode		blah
securityquestion	blah
securityanswer		blah
gdimages		blah
usealtbbcode		blah
systememail		blah
cashenabled		blah
cost			blah
startmoney		blah
rewardmoney		blah
enabletrades		blah
tradecost		blah
tradeoffercost		blah
breedinginterval	blah
breedinglevel		blah
adminnotes		Admin Notes Here
Now for the file edits:

Now open admin.php
Find: (Around line 54)

Code:
<a href='http://www.mysidiaadoptables.com' target='_blank'>http://www.mysidiaadoptables.com</a>";
Replace with:
Code:
<a href='http://www.mysidiaadoptables.com' target='_blank'>http://www.mysidiaadoptables.com</a><br /><br />
<p>Admin Notes: (You can edit this in <a href='?set=settings&do=basic'><u>Site Settings</u></a>.)<br />
<textarea wrap='soft' accept='text/html' readonly='yes' name='adminnotes' id='adminnotes'>".grabanysetting('adminnotes')."</textarea></p>";
Find: (Around line 1747)
Code:
Levelup Money:
Add Below:
Code:
<p>Admin Notes:	<br /><br /><textarea wrap='physical' accept='text/html' name='adminnotes' cols='80' wrap='soft' rows='10' id='adminnotes'>".grabanysetting('adminnotes')."</textarea> </p>
Now open admpost.php
Find: (Around line 325)

Code:
'rewardmoney'
Change Into:
Code:
'rewardmoney'
Add Below:
Code:
'adminnotes'
It should look like this:
Code:
'rewardmoney',
'adminnotes'
If someone could figure out a way to edit and submit changes to the admin notes on the main page instead of just in settings please post but for now this works.

Last edited by Inf3rnal; 10-28-2011 at 09:41 AM. Reason: Slight codefix
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Admin Panel please WCadopts Questions and Supports 1 08-17-2015 01:05 AM
Oh god, here we go again lol..(Admin CP Issue) Phoeniix Questions and Supports 5 11-03-2013 06:46 PM
Admin CP won't open( demoness Questions and Supports 7 03-14-2013 02:31 AM
Admin CP? booksbooks098 Questions and Supports 2 12-06-2012 04:37 PM
Can't get into the Admin Panel? densaugeo Questions and Supports 16 03-28-2009 06:08 PM


All times are GMT -5. The time now is 07:39 AM.

Currently Active Users: 9740 (0 members and 9740 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636