Inf3rnal
10-18-2011, 04:21 PM
I needed a quick access notes to share between staff so I created this.
http://dl.dropbox.com/u/614379/Tutorials/Mysidia/adminnotes/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:
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)
<a href='http://www.mysidiaadoptables.com' target='_blank'>http://www.mysidiaadoptables.com</a>";
Replace with:
<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)
Levelup Money:
Add Below:
<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)
'rewardmoney'
Change Into:
'rewardmoney'
Add Below:
'adminnotes'
It should look like this:
'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.
http://dl.dropbox.com/u/614379/Tutorials/Mysidia/adminnotes/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:
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)
<a href='http://www.mysidiaadoptables.com' target='_blank'>http://www.mysidiaadoptables.com</a>";
Replace with:
<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)
Levelup Money:
Add Below:
<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)
'rewardmoney'
Change Into:
'rewardmoney'
Add Below:
'adminnotes'
It should look like this:
'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.