vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Move thread to and then close (all actions in button) (https://vborg.vbsupport.ru/showthread.php?t=47942)

DaTaBaSe 01-20-2003 09:15 PM

Move thread to and then close (all actions in button)
 
1 Attachment(s)
Hi there.

I'm in need of this "hack" and thought I'd give it a try.
I'm totally new to php so I don't know a lot.

This is what I want to do:

http://home.planet.nl/~peete731/help.jpg

I want to get a link that will do the following:

It needs to automatically close the thread and as u see above it (for example: Belangrijk: IRC Kanaal) I want to make that text come for the closed thread as title: Closed: Thread Title.
Also I want the link to only be viewable by admins / mods


I want to put it either in postbit forum or just in forumdisplay.


Ofcourse I tried to do it myself but I'm totally stuck at the moment.




I tried to mix the following codes:

start move thread
start do move thread
start do open / close thread

(Found these in postings.php)


I've added the php file that I got untill now.
I don't know if it is correct or what to do next.

Please help!

Steve Machol 01-20-2003 09:54 PM

DaTaBaSe, to download hacks and get support you will need to go to this page and enter your email address, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you.


All times are GMT. The time now is 12:00 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.00936 seconds
  • Memory Usage 1,710KB
  • 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
  • (2)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