vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Change Threads/Posts Owner (https://vborg.vbsupport.ru/showthread.php?t=112705)

Phalynx 04-10-2006 10:00 PM

Change Threads/Posts Owner
 
A version compatible with vBulletin 3.7 GOLD can be found here:
https://vborg.vbsupport.ru/showthread.php?t=178208


What does this hack do?
It can change the owner of multiple threads and post. For this, it adds another option to your mod actions on forumdisplay and showthread. After selecting some threads or posts, you can choose the new owner by name or UserID. By name works with the AJAX namesuggestion, we all know it from writing a PM. After changing the name(s), it rebuilds thread/forum counters.

This hack makes use of phrases, simple group permissions and is creating an entry into the moderation log.

Tested only on vB 3.5.4, but should work also for vB 3.5.0 up to 3.5.4

Contains: 8 phrases, 3 additional templates, 2 Options
Installtime: <1 minutes
Difficulty: easy (1 product)

Demo is not available, due to missing permissions on my board.

Please click INSTALL, otherwise I will not support you.

Changes from 1.0:
-Ability to change also the owner of posts. If you change the owner of the firstpost, the owner of the thread will be also changed

- Added group permission. This works not with Bitfields, because I didn't want to have a file to upload. Instead, you can enter usergroups that should have access to that feature. Due to performance, it is checked only by calling the function, the links are showed for all mods. If you don't enter any group, the forum permission is checked (like it was in 1.0).

- Added possibility to enter also the UserID of a user

- "forumdisplay_changethreadsowner" is still uncached, because its not used quiet often and don't need to be cached.

How to install?- Simply import product


Options are not displayed. How do I add them manually?
If you choose to not automatically add both options you have to add that options manually.

1. Disable automatic template edit in the Change threads/posts owner settings


2. Open the template FORUMDISPLAY.

Search for:
Code:

<option value="mergethread">$vbphrase[merge_threads]</option>
Add after it:
Code:

<option value="changethreadsowner">$vbphrase[changethreadsowner_link]</option>


3. Open the template SHOWTHREAD

Search for:
Code:

<option value="undeleteposts">$vbphrase[undelete_posts]</option>
Add after it:
Code:

<option value="changepostsowner">$vbphrase[changethreadsowner_link]</option>

Deagle Man 04-11-2006 09:06 AM

[high]* Deagle Man installs.[/high]

Woot first post :).

Ziki 04-11-2006 10:05 AM

Ziki clicks install!

sensimilla 04-11-2006 10:24 AM

Looks like a very handy hack especially while you have multiple accounts as admin.

Thanks!

BoYagoob 04-11-2006 11:56 AM

Installed .. Thanks :P

yinyang 04-11-2006 04:17 PM

*installed*

is it possible, in the future, to also change the owner of a single post using this?

akanevsky 04-11-2006 04:59 PM

Nice hack, does it also change the owner of the first post?
And does it update postcounts?

SHalliday 04-11-2006 05:04 PM

Very Nice and useful too :) Installed and worked first time right out of the box without problem. Well done and thank you!

Phalynx 04-11-2006 05:24 PM

Quote:

Originally Posted by yinyang
is it possible, in the future, to also change the owner of a single post using this?

As I mentioned in the description: Yes, this is planned for an update.

Quote:

Originally Posted by Psionic Vision
Nice hack, does it also change the owner of the first post?
And does it update postcounts?

Yes, it changes the first post, too. It also updates postcount.

Oblivion Knight 04-11-2006 05:40 PM

If only this had come out a few days sooner.!

What a great April Fools joke it could have been used for.. ;)


All times are GMT. The time now is 08:31 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.01273 seconds
  • Memory Usage 1,736KB
  • 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