![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
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 No members have liked this post.
|
|
#2
|
||||
|
||||
|
This is quite a old thread. Anyway, I found a work around at https://www.vbulletin.com/forum/show...One-click-move
No members have liked this post.
|
|
#3
|
||||
|
||||
|
I've also posted the code for this here before, so a search would probably come across the code.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
|
#4
|
||||
|
||||
|
Can you please post a link.
Thanks in advance. No members have liked this post.
|
|
#5
|
||||
|
||||
|
Actually I remember Lynne helped me with this back in the day...
http://www.vbulletin.org/forum/showthread.php?t=210513] They still work. ![]()
__________________
-Joe Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods" You can PM me if you want but be warned I do not read them often. The following members like this post: Lynne, AlokSharma
|
|
#6
|
||||
|
||||
|
Hey Buddy,
Thanks a lot. No members have liked this post.
|
|
#7
|
||||||||
|
||||||||
|
Unfortunately, that code did not work. So I had to modify it as below:
But the problem is that the following condition is not executing at all:
Any help will be highly appreciated. P.S. I tried the above condition with & without the apostrophe. No members have liked this post.
|
||||||||
|
#8
|
||||
|
||||
|
If it's a number you should never use quotes when testing ==
so
And yes that was VB3 code so it looks like you updated it to VB4 correctly. 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?
__________________
-Joe Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods" You can PM me if you want but be warned I do not read them often. No members have liked this post.
|
||||
|
#9
|
||||
|
||||
|
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. No members have liked this post.
|
|
#10
|
||||
|
||||
|
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})
__________________
-Joe Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods" You can PM me if you want but be warned I do not read them often. No members have liked this post.
|
|
#11
|
||||||||
|
||||||||
|
Ok, so it will be like this:
or may be:
No members have liked this post.
|
||||||||
|
#12
|
||||
|
||||
|
The following members like this post: AlokSharma
|
|
#13
|
||||
|
||||
|
Thanks, that worked out.
BTW, if I want to put this one click move code in the showthread page just next to the title, then which template I have to edit. No members have liked this post.
|
|
#14
|
||||
|
||||
|
then edit the showthread template and use $threadinfo like in the original code.
__________________
-Joe Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods" You can PM me if you want but be warned I do not read them often. No members have liked this post.
|
|
#15
|
||||
|
||||
|
I checked that template but couldn't find the where the thread heading is displayed at the top in the form of navigation tree.
E.g. Home Icon > Forum > Tech Support > Thread Title I wish to display the one click move button over here. No members have liked this post.
|
![]() |
«
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 15:49.



