vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Administrative and Maintenance Tools - Change Threads/Posts Owner/Date for vB3.7 (https://vborg.vbsupport.ru/showthread.php?t=178208)

Phalynx 05-04-2008 10:00 PM

Change Threads/Posts Owner/Date for vB3.7
 
Change Posts Owner

Created by Marius Czyz aka Phalynx.

Tested on vBulletin 3.6, 3.7 and 3.8

What does this modification do?
It can change the owner and date of multiple threads and post. For this, it adds another option to your mod actions on forumdisplay, showthread and search results. After selecting some threads or posts, you can choose the new owner by name or by UserID. "By name" works with the AJAX namesuggestion, we all know it from writing a PM. After changing the name, it rebuilds thread/forum counters and post counter of old and new user. Attachments will also be assigned to new user.

Installtime: <1 minutes
Difficulty: very easy (1 product)

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

Please click Mark as INSTALLED, otherwise I will not support you.

Features
- Can change owner and date of selected posts and threads (including database attachments - it will not move file attachments)
- Can change owner to unregistered user and back
- Can accept user id and username
- Username input is driven by AJAX
- Post count of involved users will be increased/decreased
- Thread and forum counters of involved threads and forums will be rebuild
- Supports inline moderation
- Makes use of $template_hooks, hooks and simple group permissions
- Every change will leave a notice in moderation log

Features for future releases
- Incrementally change time, f.e. first posts is 12:01:01, second one will get 12:01:02h, third one 12:01:03h....
- Moving file based attachments to the new user


How to install?- Simply import product

How to upgrade?- Uninstall existing product, install new one

Changelog
v1.8, released 7. January 2009
- Apostroph in Username will be filtered out
- Fixed 12h/24h recognition

v1.7, released 4. June 2008
- Attachments will now be also assigned to the new user
- Added ability to change date of posting
- Added ability to assign post to guest user
- Added ability to set IP Address (-> AdmincP, Settings)
- Added moderation to search result (posts)

v1.6, released 19. June 2008
- Post counter of old and new user will be updated
- Added moderation to search result (threads)
- Clean up code
- Compatible with vBulletin 3.7 GOLD
- Minor fixes

Allan 05-05-2008 03:03 PM

Very nice, congrat :)

KURTZ 05-05-2008 03:25 PM

nvm: just installed! :D

NFLfbJunkie 05-05-2008 03:26 PM

Nice, but how could this be used?

Jase2 05-05-2008 03:45 PM

Nice hack - saves messing in the database via phpMyAdmin.

J98680Bxxxxx 05-05-2008 04:17 PM

Installed and tested. Works fine.

Quote:

Originally Posted by Junkie (Post 1509385)
Nice, but how could this be used?

Select the thread/post, scroll down at the moderation level, select "Change posts owner" from the drop down menu.

NFLfbJunkie 05-05-2008 04:19 PM

What general purpose can this MOD serve? What reasons would there be for the original post owner be changed to someone else?

echo2kk5 05-05-2008 04:21 PM

Maybe I'm missing something here...why would you need/use this? :confused:

J98680Bxxxxx 05-05-2008 04:45 PM

Quote:

Originally Posted by Junkie (Post 1509435)
What general purpose can this MOD serve? What reasons would there be for the original post owner be changed to someone else?

Long period leave absences, job changes, etc... Among many others examples, boards where Threads with important contents must be updated from time to time by the thread(s) owner(s). :up:

Also like Jase2 said above:
Quote:

Originally Posted by Jase2 (Post 1509403)
... saves messing in the database via phpMyAdmin.


NFLfbJunkie 05-05-2008 04:52 PM

Sort of understand. But if a user is away for an extended period of time, why would someone else take over ownership of his/her posts/threads? Wouldn't other owners just keep replying to keep the threads/posts alive?

PaylaX 05-05-2008 04:53 PM

Thanks. I think this mod very useful

macc 05-05-2008 04:58 PM

Hello!

Nice mod - thanks!

will just ask ... can we use this mod when we will move or separate some posts from some threads? (exp. user who posts with re: prefix - make like thread owner in another forum?) - that is sometimes problem when we move some posts ... and they come on top of threads!


reg

macc

PaylaX 05-05-2008 05:16 PM

Quote:

Originally Posted by macc (Post 1509490)
Hello!

Nice mod - thanks!

will just ask ... can we use this mod when we will move or separate some posts from some threads? (exp. user who posts with re: prefix - make like thread owner in another forum?) - that is sometimes problem when we move some posts ... and they come on top of threads!


reg

macc

Yes you can
I like this mod. because this is needful
Turkish language pack of this hack:

Phalynx 05-05-2008 07:30 PM

Just an example:
I have some sites with articles. I create them with my nick and change the owner to a Bot-User.

Phalynx 05-05-2008 07:32 PM

Quote:

Originally Posted by PaylaX (Post 1509514)
Yes you can
I like this mod. because this is needful
Turkish language pack of this hack:

Thanks!

Quote:

Originally Posted by macc (Post 1509490)
will just ask ... can we use this mod when we will move or separate some posts from some threads? (exp. user who posts with re: prefix - make like thread owner in another forum?) - that is sometimes problem when we move some posts ... and they come on top of threads!

With this hack you can change the thread owner, yes.

Quote:

Originally Posted by Junkie (Post 1509476)
Sort of understand. But if a user is away for an extended period of time, why would someone else take over ownership of his/her posts/threads? Wouldn't other owners just keep replying to keep the threads/posts alive?

If you cannot find a valueable reason for this mod than you probably don't need it.

Big Boss 05-05-2008 10:27 PM

Thanks a lot for this! I'm gonna have this installed soon.

mktrilogy 05-05-2008 11:08 PM

In my experience - There is this thread started by some user long time ago, he was banned and he just have 3 post inside the thread. The thread become so popular and in my case i posted 90 percent of the replies or updates to that thread. People ask who is that thread starter all the time :) the thread is about Photos = Models.

So this hack is helpful in a way.

Scenario 2

We started from those freeboards. no way u can back up. we got tons of good materials. Now mods are assign to manually copy paste from freeboards = VB.

With this, mods can easily copy paste/move then rename it to proper thread owners.

Nice hack installed.

JVSP 05-06-2008 12:22 AM

Very good and useful mod...

Installed

FleaBag 05-06-2008 01:14 AM

Hey, nice hack! Will this update attachment owners, if the post contains attachments?

KURTZ 05-06-2008 05:16 AM

Italian translation ;)

PS. i saw that there is an update ... what's the change log? :)

Hornstar 05-06-2008 06:19 AM

very nice work! I have needed to change the thread owner a few times now and have always wanted this.

Phalynx 05-06-2008 06:55 AM

Quote:

Originally Posted by FleaBag (Post 1509934)
Hey, nice hack! Will this update attachment owners, if the post contains attachments?

Next version will do that.

Quote:

Originally Posted by KURTZ (Post 1510076)
Italian translation ;)

PS. i saw that there is an update ... what's the change log? :)

Thanks for translation.

Nothing changed, I just uploaded german and turkish translation. The next one will contain italian :)

KURTZ 05-06-2008 07:38 AM

ah ok, anyway good job marius ;)

princeedward 05-06-2008 09:52 AM

nice mod....great idea...it can be very useful...
thanks a lot bro... ;)
btw...work like a charm to vB 3.6.8 PL2 and also...is it all staff can do this or admin only...or can we just give them permissions?

best regards...

Phalynx 05-06-2008 10:25 AM

See settings, there you can set the usergroup permission.

TCB 05-06-2008 03:14 PM

really fantastic, thanks a lot :D

Koroku 05-06-2008 03:51 PM

Another example:
You have a forum with a Rules sticky. When current mods leave, and new mods come in, you just change the post owner to the new mod, so that people know who the moderator of that forum is. :D

gsipromotions 05-07-2008 02:02 PM

This is a handy little tool.
I use two accounts on my board. One is my personal account, the other used to post notices under my business name for a more professional touch.
This mod lets me do that without logging in and out of two accounts. :)

ishare 05-07-2008 02:10 PM

Very useful modification. I do thank you very much for this share...
Installed!

-=Leb=- 05-07-2008 09:57 PM

very good job :)

Installed :D

xorex 05-08-2008 12:02 AM

Great hack !!

russian translate attachment


installed nominated

Phalynx update first post please

FleaBag 05-08-2008 12:02 AM

Quote:

Originally Posted by Phalynx (Post 1510134)
Next version will do that.

Great - I have lots of mp3 threads where I had to upload the files due to PHP timeouts, and I would like to assign them to their' rightful owners! :)

princeedward 05-08-2008 07:39 AM

Quote:

Originally Posted by Phalynx (Post 1510246)
See settings, there you can set the usergroup permission.

OH!...i thought we don't have any acp vb option for that...co'z i did't see any image to it here...you might add this screenshot to your start page...if you want it...

once again...thanks....

Phalynx 05-08-2008 07:44 AM

Thanks for russian translation and image from ACP. Added this to the hack.

GoodKarmaKid 05-10-2008 03:12 AM

Quote:

Originally Posted by Junkie (Post 1509435)
What general purpose can this MOD serve? What reasons would there be for the original post owner be changed to someone else?

Quote:

Originally Posted by echo2kk5 (Post 1509438)
Maybe I'm missing something here...why would you need/use this? :confused:

One example, is that I use both the "admin" account (for some admincp functions) and also my personal account. Occassionally, I'm accidently logged in as "admin" and reply to a post or start a new thread, this mod would easily enable me to change it to my normal user acct.

I actually looked for this in the standard Vbulletin and was expecting to find it, seems like it is something that would come up fairly often. I'm happy to find this mod and give it a try.

Thanks,
Jason

Fabsboards 05-12-2008 06:34 AM

My main account was deleted and the messages created under that account were changed to "Guest". Is there any way to do a mass search and replace on these messages?

Phalynx 05-12-2008 11:07 AM

No, this modification does not work with guest posts.
Instead, you will have to run a query to assign the posts to a user.

Fabsboards 05-13-2008 08:03 AM

It does work on guest posts. I tried it. Problem - I have to do it all manually.

How would I do this with a query?

Phalynx 05-13-2008 08:16 AM

Code:

update post set userid=X where username="Username"
update thread set postuserid=X where postusername="Username"

X = UserID

Super Jinni 05-18-2008 09:53 AM

ok, when change the thread owner, the posts in the threads by the old owner change to the new owner, right?

or they don't change and only the thread changes?

thanks for the good work


All times are GMT. The time now is 07:14 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.01481 seconds
  • Memory Usage 1,819KB
  • 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)bbcode_code_printable
  • (13)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
  • (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