Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Staff Tracker - Tags Posts Made By Staff With "Next Staff Post" Button Details »»
Staff Tracker - Tags Posts Made By Staff With "Next Staff Post" Button
Version: 1.0.0 B1, by GeekyDesigns GeekyDesigns is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 09-21-2009 Last Update: 09-21-2009 Installs: 38
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

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/

Download Now

File Type: zip Staff_Tracker_1.0.0_Beta_1_for_vB3.8.zip (7.3 KB, 178 views)

Screenshots

File Type: jpg settings.jpg (52.7 KB, 0 views)
File Type: jpg threadbit.jpg (12.3 KB, 0 views)
File Type: jpg showthread.jpg (11.4 KB, 0 views)
File Type: jpg postbit_1.jpg (23.5 KB, 0 views)
File Type: jpg postbit_2.jpg (21.8 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
xorex

Comments
  #22  
Old 10-22-2009, 06:24 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by punk23 View Post
Hey there

Great Mod!! Would love to use it but I am getting a SQL Error when updating the Staff Posts...
Code:
Database error in vBulletin 3.8.1:

Invalid SQL:
UPDATE vb_thread SET gd_staffposts = '272881', gd_laststaffpost = '272881' WHERE threadid =;

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number  : 1064
Request Date  : Thursday, October 22nd 2009 @ 12:26:11 PM
Error Date    : Thursday, October 22nd 2009 @ 12:26:11 PM
Script        : [REMOVED]/misc.php?do=updatestaffposts&startat=272830&pp=500
Referrer      : [REMOVED]/misc.php?do=updatestaffposts&startat=272313&pp=500
IP Address    : [REMOVED]
Username      : [REMOVED]
Classname     : vB_Database
MySQL Version : 5.0.81-community
Take care of orphan posts first. I forgot to take that possibility into account, but will fix it in the next version.
Reply With Quote
  #23  
Old 10-22-2009, 06:33 PM
punk23 punk23 is offline
 
Join Date: Sep 2005
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahhh ok, could you please tell me how to do that?

Thanks.
Reply With Quote
  #24  
Old 10-22-2009, 06:41 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Admin CP -> Maintenance -> Update Counters -> Remove Orphan Posts

or yourforums/admincp/misc.php?do=removeorphanposts
Reply With Quote
  #25  
Old 10-22-2009, 06:55 PM
punk23 punk23 is offline
 
Join Date: Sep 2005
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey thanks!

Is it dangerous to do this..or not?
Reply With Quote
  #26  
Old 10-22-2009, 07:49 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It gets rid of posts that aren't actually attached to any thread, so no. That's where the DB error comes from, it's trying to update a thread that doesn't exist (and thus has no threadid).
Reply With Quote
  #27  
Old 03-29-2010, 06:11 PM
LuBi LuBi is offline
 
Join Date: Oct 2001
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall View Post
Hang on. No functionality in search results?

That would be a good thing.
I've been waiting for a staff tracker for some time. While I like what this modification does I need a search output page generated more then anything else. Is there any chance on an addition or update? This is a much needed product and often requested modification.

here is a simple example:
http://forums.ddo.com/turbine_tracke...ker=devtracker

this is an example of a very advanced version:
http://www.afraidyet.net/forums/wow-...&daysprune=365
Reply With Quote
  #28  
Old 06-03-2010, 03:17 PM
MtEden MtEden is offline
 
Join Date: May 2010
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic add-on, thanks! We're having a bit of an issue though.

If there are two staff posts on the same page of the thread then it omits a part of the URL, giving you a broken link.

Instead of:
http://www.xxxxxxxx.com/forum/showth...305#post151305

You get:
http://www.xxxxxxxx.com/forum/#post151305

Any ideas what I can do to fix this?
Reply With Quote
  #29  
Old 03-03-2012, 12:26 AM
CoffeeLovesYou CoffeeLovesYou is offline
 
Join Date: Feb 2010
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol, League of Legends uses this. See it in action on this thread.

http://na.leagueoflegends.com/board/...d.php?t=731379

But thanks. Im gonna install this on my board.
Reply With Quote
Reply


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


All times are GMT. The time now is 10:25 AM.


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.13665 seconds
  • Memory Usage 2,328KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (1)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (6)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete