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.. ;)

Snake 04-11-2006 05:41 PM

Oh goodie! Thanks for the hack! :D

The Chief 04-11-2006 05:42 PM

love this hack, will install soon :)

yinyang 04-11-2006 08:53 PM

Quote:

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

see, this explains why my SAT scores were so low in English.... bad reading comprehension skills.

nasser71 04-16-2006 07:04 PM

can you make it bye member number insted of name
and make a group permission to use this

ben_erhan 04-16-2006 07:19 PM

in my opinion this is very nice.
but if it has a group permission it will be better.

thanks

brvheart 04-17-2006 07:15 PM

*install* but would like to see it added in the dropdown menu for thread tools cant wait for the update ;)

Essam 04-18-2006 12:59 AM

its great thanks ,
can you add " changing thread date and time " too ?
edit = clicked install :cool:

Phalynx 04-18-2006 06:31 AM

I'll try to implement most of the wishes to the new version - if you click on install ;)

brvheart 04-24-2006 07:27 PM

Edit, nm, got it working again.

Kihon Kata 05-06-2006 04:13 AM

Installed on 3.5.4! But it didn't work for me! :( I tried to troubleshoot it myself, it only added 2 templates in each style, and some phrases. But when I look in forumdisplay there is no option for "change threads owner" or when I look at showthread. :( any ideas?

Phalynx 05-06-2006 07:38 AM

Do you have a modifed FORUMDISPLAY template?

Boofo 05-06-2006 08:50 AM

Can this be set up for admin use only?

Kihon Kata 05-06-2006 11:59 AM

Quote:

Originally Posted by Phalynx
Do you have a modifed FORUMDISPLAY template?

I do, BUT, I also have a stock vB one. It's not even on that one either. Any other ideas?

Stop 05-07-2006 02:59 PM

Quote:

Originally Posted by Boofo
Can this be set up for admin use only?



Installed.
But still looking for the group permission.

mawby 05-10-2006 07:20 PM

I just installed this and after selecting several threads and typing in a new name I got the following error when pressing the change owner button...

Fatal error: Only variables can be passed by reference in /vbb/inlinemod.php(220) : eval()'d code on line 74

Any clues what the problem might be?

mawby 05-12-2006 08:38 AM

Quote:

Originally Posted by mawby
Fatal error: Only variables can be passed by reference in /vbb/inlinemod.php(220) : eval()'d code on line 74

Any suggestions greatly appreciated.

Phalynx 05-12-2006 08:45 AM

What PHP-version are you using?

mawby 05-12-2006 10:00 AM

Quote:

Originally Posted by Phalynx
What PHP-version are you using?

5.0.5

mawby 05-16-2006 06:45 AM

Any clues from the PHP version?

Phalynx 05-16-2006 08:08 AM

I cannot test it on 5.x, have here only 4.x

mawby 05-16-2006 10:51 AM

Quote:

Originally Posted by Phalynx
I cannot test it on 5.x, have here only 4.x

Does this page help explain the problem? http://bugs.php.net/bug.php?id=33643

Snake 05-16-2006 11:42 AM

Just what I have been looking for. :)

[high]* Snake installs[/high]

rmxs 05-26-2006 07:32 PM

i just found that one teplate Uncached.

forumdisplay_changethreadsowner (1)

On the change owner screen..

How can i cache this??

Aeolian 05-29-2006 10:52 PM

is it possible to limit this power within Administrator Group ONLY?

thanks!!

D.Ilyin 05-30-2006 12:16 PM

Quote:

BTW, for the next version, I plan to integrate it with posts.
Will be waiting.... :)
BTW what about group permisions for this hack and uncashed template?

Phalynx 05-30-2006 12:19 PM

They are already included, but I cannot release it this week due to missing time.

Kihon Kata 05-31-2006 10:48 PM

Installed on 3.5.4. Problem: It doesn't work LOL

I am not getting the option in the drop down at all. Any ideas?

Phalynx 06-01-2006 10:18 AM

To fix that, you have to add that option manually. 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>

D.Ilyin 06-01-2006 12:20 PM

Quote:

Originally Posted by Phalynx
They are already included, but I cannot release it this week due to missing time.

WOW! It's greate! :bunny:

Kihon Kata 06-01-2006 12:20 PM

Quote:

Originally Posted by Phalynx
To fix that, you have to add that option manually. 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>

that worked! wonder why it didn't work before?


All times are GMT. The time now is 06:11 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.01429 seconds
  • Memory Usage 1,800KB
  • 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
  • (8)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (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
  • (40)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