vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Staff Tracker - Tags Posts Made By Staff With "Next Staff Post" Button (https://vborg.vbsupport.ru/showthread.php?t=223709)

GeekyDesigns 09-21-2009 10:00 PM

Staff Tracker - Tags Posts Made By Staff With "Next Staff Post" Button
 
1 Attachment(s)
This is Staff Tracker 1.0.0 Beta 1 for vB3.8 by GeekyDesigns!

As the version number states, this is a beta release. I've tested it myself and it should work, but there is only so much I can throw at it. Nothing bad should happen, but I can't guarantee that it'll work 100%. With that caveat out of the way, I'm sure you're wondering exactly what this does.

What this addon does it fairly simple. In vBulletin Options -> Staff Tracker, there are two important settings. You choose the groups you want to be tracked as "staff" (by default, the default administrator and super moderator groups) as well as choose whether or not those with can_moderate permissions in the forum the post is in are tracked as well. After you have set those to your liking and saved them, use the link below the settings to build the data for current posts, and check out the results!
  • On the thread list in forumdisplay, there will be a new icon if any of the staff members defined by the setting above have posted in the thread. The icon will link to the first staff post in that thread.
  • In the showthread, there will be an icon at the top if a staff member has posted in the thread linking to the first staff post.
  • In the postbit, there will be a new icon on staff posts linking directly to the next staff post in the thread. If it is the last staff post in the thread, it'll have a different icon to signify that it is the last staff post.

See the screenshots to see this product in action.

Installation instructions:
Quote:

Upload the included images and import the XML. Modify the settings (admincp/options.php?dogroup=gd_stafftracker) and then use the "Rebuild Staff Posts" link to build the initial data from the current posts.
Now, as this is a beta, my top priority is squashing any bugs that come up. Feel free to post any feature suggestions, but my main goal here is getting enough testing to declare it stable.

Known Issues:
  • It is sorted by postid, not by the actual dateline of the post. This can cause confusion when a post is copied and merged into a thread containing posts that are newer by date but older by postid. I'll be working to fix this, but I feel it is minor enough and too complex to fix, so I feel it is safe to make the first release.

I don't think I've forgotten anything for this first post, so let's roll to the credits.

Images from: http://www.famfamfam.com/lab/icons/silk/

Link14716 09-22-2009 12:52 AM

Reserved.

Dan 09-22-2009 12:55 AM

Nice one! I like it!

Link14716 09-24-2009 09:45 AM

Going to toss this a bump.

To the 4 people who I don't know of that clicked "install" and the couple more that presumably gave this a download, is it running fine? I assume no real issues have come up, because otherwise I'm sure it'd have been posted about by now.

If there are no new known issues, I'm going to prod it a bit more and drop the beta tag.

BigDog56 09-24-2009 09:56 AM

Going to check it out. Thank you!

BigDog56 09-24-2009 10:39 AM

Can everybody see this? I would like to see it where only certain user groups can see it. So far, seems to work just fine.

Link14716 09-24-2009 10:59 AM

Anyone can see it, but a template conditional in the 3 templates should do what you want to do. (postbit_stafftracker, threadbit_stafftracker, and showthread_stafftracker)

Edit: Add this to the start of those templates with something like this:
Code:

<if condition="is_member_of($bbuserinfo, array(5,6,7))">
Replace 5,6,7 with a comma seperated list of the usergroupids you want it to show to, and don't forget to add </if> at the end of each of the templates.

BigDog56 09-24-2009 11:16 AM

Quote:

Originally Posted by Link14716 (Post 1889856)
Anyone can see it, but a template conditional in the 3 templates should do what you want to do. (postbit_stafftracker, threadbit_stafftracker, and showthread_stafftracker)

Edit: Add this to the start of those templates with something like this:
Code:

<if condition="is_member_of($bbuserinfo, array(5,6,7))">
Replace 5,6,7 with a comma seperated list of the usergroupids you want it to show to, and don't forget to add </if> at the end of each of the templates.

That will work, thank you!

TheInsaneManiac 09-25-2009 11:19 AM

An icon showing staff posts would be nice as well, so members who scroll through posts will know what content is trusted if it has a nice little staff icon next to it.

Link14716 09-25-2009 01:54 PM

Quote:

Originally Posted by TheInsaneManiac (Post 1890391)
An icon showing staff posts would be nice as well, so members who scroll through posts will know what content is trusted if it has a nice little staff icon next to it.

I'm confused. Isn't that what this addon already does?


All times are GMT. The time now is 10:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02903 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete