We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
  • Pages:
  • 1
[ C ] Admin Notes
Topic Started: Apr 26 2012, 08:22 PM (786 Views)
Longshot1-ZNR
Member Avatar
Retired Navy
[ * ]
Board Address: http://s1.zetaboards.com/Outdoors__America/index/
Board Software: A place above the first posts in a thread where mods/admins can make notes regarding the thread. But is only visible to mods/admins. Maybe with a button to open it so that it is not open all the time.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
I have a notepad setup in topics and viewable to administrators and moderators only, I just need to figure out if it's possible to make it so the notepad doesn't save notes for the whole site, but for each topic. I'm awaiting Reid or Mike for a solution. Here's a preview: http://img210.imageshack.us/img210/7918/2a98ca3847d3460dafe49cb.png
Offline Profile Goto Top
 
Joshua J
Member Avatar
Member
[ *  *  * ]
Would be a great code if u can do or get it
can i get the code i dnt want mine for each topic but the site in a who;le
Edited by Joshua J, Apr 27 2012, 05:27 PM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Do you want it available on all pages for all users, or just on the topic pages for administrators and moderators?
Offline Profile Goto Top
 
Joshua J
Member Avatar
Member
[ *  *  * ]
admin and topics

or on main page for admin only
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Sorry, but I just realized something, it saves on a user-basis since it uses cookies. So the notes won't appear the same for all administrators. Do you still want it?
Offline Profile Goto Top
 
Joshua J
Member Avatar
Member
[ *  *  * ]
i wanna elave notes somewhere for my admins
Offline Profile Goto Top
 
Longshot1-ZNR
Member Avatar
Retired Navy
[ * ]
I am just looking for a way to place noted on a topic (if it is possible) so that in the event there needs to be administration or moderation attention brought to it, it can be and discussed without having to do it in a separate thread or other means.

But not have members be able to view the discussion, kind of like the admin notebook in the Admin CP.

Was thinking about this a little more Cory, maybe just a re-direct button on the topics that would take the admins or moderators to a Admin only thread that would change colors or flash if there was a note placed on that topic... i.e. If I placed a note on a topic and a moderator went into that thread they would see the flashing button, if they click on it it would take them to the Staff lounge (a closed "admin only" Topic). Just a thought.....
Edited by Longshot1-ZNR, Apr 29 2012, 08:29 AM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
OK, here's what I could come up with:

Create a new topic in your staff forum for topic notes and pin this topic.

Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board
Code:
 
<script type="text/javascript">
(function ($) {
if ($('#menu_rcp').length) {
var topicID = 'TOPIC_ID';
var forumID = 'FORUM_ID';

$('#menu_rcp').after('<li id="s_notes"><a href="' + main_url + 'topic/' + topicID + '">Staff Notes</a></li>');

$.get(main_url + 'forum/' + forumID, function (data) {
if (!$('td.c_cat-title a[href*="topic/' + topicID + '"]', data).parent('td.c_cat-title').prev('td.c_cat-mark').find('img[alt*="No new posts"]').length) {
$('#s_notes a').css({
'text-decoration': 'blink',
'color': 'red'
}).attr('title', 'New Staff Notes');
}
});
}
})(jQuery);
</script>
Change TOPIC_ID to the ID of the topic you created, and change FORUM_ID to the ID of the forum the topic is in.

What the code will do is add a 'Staff Notes' link in the top menu and when there is a new post in the staff notes topic (essentially when the ALT text of the topic icon for the topic does not contain 'No new posts') it will make the link blink red.
Offline Profile Goto Top
 
Longshot1-ZNR
Member Avatar
Retired Navy
[ * ]
Having a little problems with the code still Cory, when I replace the TOPIC_ID and the FORUM_ID how should they appear ? Like this: Admin Notes and Staff Only, or Admin Notes_ID, Staff Only_ID, I have tried both and neither seem to work....
Offline Profile Goto Top
 
Sukoushi
Member
[ * ]
The ID is found in the URL of the page you're on. For example, the URL of this topic is: http://resources.zetaboards.com/topic/5148339/1/#new
Therefore, the Topic ID of this board is 5148339, and the same goes for the Forum ID. Example: Code requests Forum URL is http://resources.zetaboards.com/forum/1000326/, so its ID is 1000326. Just look up at your browser's address bar.
Edited by Sukoushi, Apr 30 2012, 11:42 AM.
Offline Profile Goto Top
 
Longshot1-ZNR
Member Avatar
Retired Navy
[ * ]
Thanks for the help Sukoushi I am trying it, but still not getting it to work.... Will keep trying.

Tried it for hours, still nothing.
Edited by Longshot1-ZNR, Apr 30 2012, 05:13 PM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Please post the URL of the topic and forum you are wishing to connect this code with.
Offline Profile Goto Top
 
Longshot1-ZNR
Member Avatar
Retired Navy
[ * ]
TOPIC_ID http://s4.zetaboards.com/We_Are_Family/topic/9524916/1/#new

FORUM_ID http://s4.zetaboards.com/We_Are_Family/forum/3187655/
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Code:
 
<script type="text/javascript">
(function ($) {
if ($('#menu_rcp').length) {
var topicID = '9524916';
var forumID = '3187655';

$('#menu_rcp').after('<li id="s_notes"><a href="' + main_url + 'topic/' + topicID + '">Staff Notes</a></li>');

$.get(main_url + 'forum/' + forumID, function (data) {
if (!$('td.c_cat-title a[href*="topic/' + topicID + '"]', data).parent('td.c_cat-title').prev('td.c_cat-mark').find('img[alt*="No new posts"]').length) {
$('#s_notes a').css({
'text-decoration': 'blink',
'color': 'red'
}).attr('title', 'New Staff Notes');
}
});
}
})(jQuery);
</script>
Try that, then look in your top menu to see if a Staff Notes link is there.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Closed Requests · Next Topic »
Locked Topic
  • Pages:
  • 1