vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Move Thread Presets (New Version - Templates Only) (https://vborg.vbsupport.ru/showthread.php?t=66319)

SamirDarji 08-31-2004 02:25 PM

Quote:

Originally Posted by Michael Morris
...C=64 BASIC...

The C=64 ruled! www.php.net is where I started learning about php. If you have any experience in other languages such as C or Java, php is pretty easy to pick up. Coming from basic will require a little adjustment, but not too much. Good luck!

Revan 09-25-2004 04:28 PM

[high]* Revan has it installed.
[/high]
[high]* Revan also found an error :)
[/high]

Code:

<div><label for="ao_dbump"><input type="radio" name="do" id="ao_archive" value="archive" />$vbphrase[archiveit]</label></div>
Should obviously be
Code:

<div><label for="ao_archive"><input type="radio" name="do" id="ao_archive" value="archive" />$vbphrase[archiveit]</label></div>
;)
It puzzled me for ages, but it wasn't until now I could actually be bothered to research it :)

Michael Morris 10-28-2004 12:09 PM

I'm proud to announce I've upgraded this hack to version 2.0. It's now even EASIER to install and maintain because it no longer has a code modification component - it works entirely through templates.

In case you missed the update email here are the uprgrade instructions. Using the original instructions, remove the changes made to postings.php (They won't be needed). Then, using the new instructions, install the changes outlined for the PHPINCLUDE_START template. You don't need to make any changes to SHOWTHREAD if you're upgrading.

Revan 11-02-2004 11:34 AM

This hack still got the bug v1 had....
If I use "ao_mvt" as the instructions indicate, the radio selection goes to "Move/Copy Thread".
I had to use the ao_archive as I did with v1.....

Michael Morris 11-02-2004 09:28 PM

Oops.. Sorry, let me correct dat.

mp3dreaming 01-21-2005 04:04 PM

Thanks Micheal very nice! I'm having a small problem making this the default choice in the threadadmin_movethread area. It stays at copy/move even though I put checked="checked" in correct area. What should the code be in there? Thanks for any help!

Ahh I got it, Thanks anyway :)

Noonster 06-30-2005 04:24 PM

Quote:

Originally Posted by Michael Morris
Add this line in the if statement directly after the forum id of your recycle bin.

Code:

$_POST['method'] = 'move';
Hence the whole if statement should read something like this...

Code:

if ($_REQUEST['do'] == 'archive')
{
 $_POST['do'] = 'domovethread';
 $_POST['forumid'] = '52';
 $_POST['method'] = 'move';
}

Thanks for pointing this out. I don't necessarily want redirects either but I didn't bother to check to see whether or not they were being left.

Thanks for making this great hack... :D

Following on from the above... I have the same (IE a trash can)... However instead of moving the thread there I want the thread to be deleted and then moved all in that one click... The reason for this is that i want a reason to be left as to why its been deleted.

EXAMPLE
- Unwanted thread
- Select move (delete) to Trash Can
- Next page, you enter reason and leave it as soft delete and click submit
- THEN it kicks in and moves it to the trash, without leaving redirect (<-- Just like yours does now)

Is this possible or am i trying to make it work to hard??
- Your help on this would be very much appreciated.

Cheers
Daz ;)

derekivey 09-30-2005 09:44 PM

Does this work with vB 3.5?

danrak 11-25-2005 10:20 PM

Any updates on this for vb3.5?

brvheart 01-30-2006 05:59 PM

3.5 would be great :)


All times are GMT. The time now is 01:47 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.01060 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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