vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Adding Options to Thread Tools (https://vborg.vbsupport.ru/showthread.php?t=169242)

shunut 01-31-2008 12:12 PM

Adding Options to Thread Tools
 
I want to add an option to the thread tools for the Admins and Moderators on my forum. I've seen it done on another forum that I moderate but can't find where to add it. Could anybody point me in the right direction?

nexialys 01-31-2008 12:26 PM

we can't help if you do not tell us what it is, ... be more precise... what options?!

shunut 01-31-2008 01:15 PM

Well, the one inparticular would be an option for the moderators to be able to move threads/posts to an evidence section. I know there is already a move function under the thread tools but I'd like to make it easier. Like I said, I've seen this exact option added to another forum I moderate. However, I don't want to know how to add just this option. I want to be able to ad options as I see fit. Really, what I need to know is the answer to a copule questions:

1. Is there a place in the Admin Control panel to add options like this? If so where?

If not...

2. I'm guessing it will need to be coded in, where will it need to be coded? Specific file names would be preferred, once I find the file I can take it from there.

Lynne 01-31-2008 02:33 PM

Did you know that you could turn the template names on in your source code in vbulletin options > General? If you turn them on, then go to the page you want to add the options on, you can view the source code and see what template is being used. And, you will see which form is being used (maybe postings.php?).

You can't add them through the Admin Control Panel. (Well, you can if you are using the plugin system, I suppose.)

shunut 01-31-2008 03:53 PM

Ah, I did not know that. I will try it and should hopefully be able to figure it out then.

Thanks.

Boofo 01-31-2008 04:30 PM

What you are looking for in the the threadadmin template section. ;)

shunut 01-31-2008 07:23 PM

I think I found it, but I don't think I know php enough to change anything. I thought I'd be able to look at it and figure it out but I don't think I can. I just don't want to mess everything up. Thanks for everyones help.

Boofo 01-31-2008 07:51 PM

It really depends on what you are trying to add.

shunut 01-31-2008 08:31 PM

What I want is to add an option under Thread Tools that will allow my moderators and admins to move threads/posts to an "Evidence Vault". We can already do this just by seleting move and then selecting the appropriate section, but it would be nice to cut out a couple steps and just have the option that moves it directly to the "Evidence Vault". I know it can be done because another forum I moderate has this.

Boofo 01-31-2008 08:40 PM

I have a mod that I installed this morning that does exactly that. It is the recycle bin mod that moves the threads to the recycle bin. The only thing I didn't like about it was that it left a redirect after moving the threads. I haven't figured out how to fix that part yet. :(


All times are GMT. The time now is 02:40 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.01169 seconds
  • Memory Usage 1,723KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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