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)

Link14716 10-22-2009 06:24 PM

Quote:

Originally Posted by punk23 (Post 1903762)
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.

punk23 10-22-2009 06:33 PM

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

Thanks.

Link14716 10-22-2009 06:41 PM

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

or yourforums/admincp/misc.php?do=removeorphanposts

punk23 10-22-2009 06:55 PM

Hey thanks!

Is it dangerous to do this..or not?

Link14716 10-22-2009 07:49 PM

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).

LuBi 03-29-2010 06:11 PM

Quote:

Originally Posted by kall (Post 1897256)
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

MtEden 06-03-2010 03:17 PM

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?

CoffeeLovesYou 03-03-2012 12:26 AM

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.


All times are GMT. The time now is 03:13 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.00961 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_code_printable
  • (2)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
  • (8)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