vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how do i find out who's tagging a thread? (https://vborg.vbsupport.ru/showthread.php?t=183891)

sanfrancisco 06-29-2008 04:14 PM

how do i find out who's tagging a thread?
 
guys i've been facing some tag abuse. right now i see no way to see who tagged a thread. any way to find this out?

Dismounted 06-30-2008 05:54 AM

One of the "tag" tables in the database keeps this information.

sanfrancisco 06-30-2008 06:05 AM

seems like its two - there's one table that just has tag id and the content, another that has the tag id and member id. which means to find out who tagged it i need to find the correct tagid from the first table, link it to the member id in the 2nd table, and finally link the memberid to username either within the forums or using the database.

there must be an easier way?!

Dismounted 06-30-2008 06:41 AM

[sql]SELECT u.username
FROM tag AS tag
LEFT JOIN tagthread AS tagt ON (tagt.tagid = tag.tagid)
LEFT JOIN user AS u ON (tagt.userid = u.userid)
WHERE tag.tagtext = 'X'
AND tagt.threadid = 1[/sql]
Replace 1 with the thread id and X with the tag text.

sanfrancisco 07-17-2008 04:50 PM

so there really isn't some simple plugin / vbulletin option that allows this?? sql queries can only be run by the admin, not by moderators as far as i know...

theOZer 07-17-2008 05:13 PM

It's already there in vB!
Read thru this thread at vB.com:
http://www.vbulletin.com/forum/showthread.php?t=277441
Click a tagged thread, click on Edit Tags, mouse over the current tag(s).


All times are GMT. The time now is 08:31 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.01047 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete