![]() |
One click move thread?
Hi there,
On the forum I manage, we have what we call a 'Breached Content' forum. Instead of deleting inappropriate content, it is moved there. This helps reduce forum clutter caused by 'deleted' messages. Anyway, I was wondering whether it'd be possible to either create a button, or add an option to the thread tools menu, to move a thread straight to 'Breached Content'? This, combined with the postbit banning mod, could reduce the time before advertising messages get removed, and could reduce the impact of what I call a 'goatse attack'. I'm sure this wouldn't be a complicated mod to do, so could anybody out there help? Thanks in advance, Gav |
This is quite a old thread. Anyway, I found a work around at https://www.vbulletin.com/forum/show...One-click-move
|
I've also posted the code for this here before, so a search would probably come across the code.
|
Can you please post a link.
Thanks in advance. |
Actually I remember Lynne helped me with this back in the day...
https://vborg.vbsupport.ru/showthread.php?t=210513] They still work. :up: |
Hey Buddy,
Thanks a lot. |
Unfortunately, that code did not work. So I had to modify it as below:
HTML Code:
<vb:if condition="$bbuserinfo['usergroupid'] == 6"> HTML Code:
<vb:if condition="$threadinfo['forumid'] == '19'"> P.S. I tried the above condition with & without the apostrophe. |
If it's a number you should never use quotes when testing ==
so PHP Code:
Then it depends what template you are using the code in. I believe $threadinfo was for showthread... what template are you putting the code in? |
Actually, that condition is not working even without the quotes, so that's why I used the quotes. Anyway, I will remove the quotes.
I am putting that condition in the threadbit template. Since there are two main forums each with open & close sub-forums, I am using a condition so that the thread is moved to its respective sub-forum. |
Look in the threadbit template then for what the "thread" variable is called. It may be just $thread. I see in your code you use {vb:raw thread.xxx} so that would mean the variable is $thread not $threadinfo... (threadinfo would be {vb:raw threadinfo.xxx})
|
All times are GMT. The time now is 05:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|