![]() |
|
Thread Tools |
#1
|
||||
|
||||
![]()
I've got a lot of forums and a lot of moderators. Sometimes they forget about a sticky post and it gets out of date and needs to be unstuck.
This sql query will show all sticky posts: SELECT * FROM `vb_thread` WHERE sticky = 1 However, it doesn't give me the information in easily readable format I'm looking for. What I want is a query that will show me:
Thanks in advance. - Kim No members have liked this post.
|
#2
|
||||
|
||||
Pretty simple to do:
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com Contact me for custom vBulletin 3/4 work & server/website management. The following members like this post: [email protected]
|
#3
|
||||
|
||||
![]()
I tried that and it gives me the thread.title and the thread.postusername, but not the forum.title. Can it easily be tweaked a bit to list the forum too? No members have liked this post.
|
#4
|
||||
|
||||
It should already list that, try:
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com Contact me for custom vBulletin 3/4 work & server/website management. No members have liked this post.
|
#5
|
||||
|
||||
![]()
Yes! Thank you. It works as I had hoped.
![]() --------------- Added 31 Aug 2017 at 17:23 --------------- One more question if I may. I added the option to sort by date:
Is there a way to have it display a readable date instead of the unix timestamp such as YYYY-MM-DD ? No members have liked this post.
|
#6
|
||||
|
||||
__________________
Kind regards, Simon Microsoft Office Help My Mods: Find my modifications here Please do not pm me for support unless i have invited you to! The following members like this post: kgroneman
|
#7
|
||||
|
||||
![]()
Thanks Simon and Dave. You've just made managing sticky posts across a lot of forums a lot easier. I sincerely appreciate the time you've taken to assist me.
![]() ![]() ![]() No members have liked this post.
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Forum Display Enhancements Separate Sticky Threads\Non Sticky Threads | MARCO1 | vBulletin 3.8 Add-ons | 14 | 03 Apr 2009 06:41 |
Tags |
sql query, sticky |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 09:53.