Admin Notes

Forum
Last Post
Threads / Messages

Inf3rnal

Member
Moderator
Joined
Mar 1, 2011
Messages
108
Points
16
Location
US
Mysidian Dollar
16,058
I needed a quick access notes to share between staff so I created this.

adminnotes.png


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:

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,267
Messages
33,049
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top