vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=178208

Change Threads/Posts Owner/Date for vB3.7
by Phalynx
05 May 2008 15:59

7 Attachment(s)
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 May 2008 16:03

Very nice, congrat :)

KURTZ 05 May 2008 16:25

nvm: just installed! :D

NFLfbJunkie 05 May 2008 16:26

Nice, but how could this be used?

Jase2 05 May 2008 16:45

Nice hack - saves messing in the database via phpMyAdmin.

J98680Bxxxxx 05 May 2008 17:17

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 May 2008 17:19

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

echo2kk5 05 May 2008 17:21

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

J98680Bxxxxx 05 May 2008 17:45

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 May 2008 17:52

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 May 2008 17:53

Thanks. I think this mod very useful

macc 05 May 2008 17:58

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 May 2008 18:16

1 Attachment(s)
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 May 2008 20:30

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 May 2008 20:32

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 May 2008 23:27

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

mktrilogy 06 May 2008 00:08

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 06 May 2008 01:22

Very good and useful mod...

Installed

FleaBag 06 May 2008 02:14

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

KURTZ 06 May 2008 06:16

1 Attachment(s)
Italian translation ;)

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

Hornstar 06 May 2008 07:19

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

Phalynx 06 May 2008 07:55

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 06 May 2008 08:38

ah ok, anyway good job marius ;)

princeedward 06 May 2008 10:52

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 06 May 2008 11:25

See settings, there you can set the usergroup permission.

TCB 06 May 2008 16:14

really fantastic, thanks a lot :D

Koroku 06 May 2008 16:51

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 07 May 2008 15:02

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 07 May 2008 15:10

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

-=Leb=- 07 May 2008 22:57

very good job :)

Installed :D

xorex 08 May 2008 01:02

2 Attachment(s)
Great hack !!

russian translate attachment


installed nominated

Phalynx update first post please

FleaBag 08 May 2008 01:02

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 08 May 2008 08:39

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 08 May 2008 08:44

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

GoodKarmaKid 10 May 2008 04:12

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 12 May 2008 07:34

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 12 May 2008 12:07

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 13 May 2008 09:03

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 13 May 2008 09:16


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

X = UserID

Super Jinni 18 May 2008 10:53

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

Super Jinni 18 May 2008 13:42

ok, I got it

only the first post of the thread will be modified

I have another issue

when I search for all the posts of some user, I can't find the in the options the option of changing posts owner.. but when I search for his threads I can find that option

I've two IDs in my forum and I want to change all the threads and posts in my second ID to the first one.. but when tried doing that when search for all the posts by the user I couldn't find that option..

how can I make the option show in the options of the results of the all user's posts?

I hope you got what I mean ^-^

thanks

:)

Super Jinni 18 May 2008 19:14

OK, I got that to work

all what I had to do is just to add the code
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

after the code
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

in the "search_results" template

if there is any another way to do that please let me know

thanks

:)

I only tested in localhost

Phalynx 18 May 2008 22:37

Great idea, will include this in next version. Thanks!

KURTZ 18 May 2008 22:43

Hi Marius, just wondering, is possible in the next version improve something for the 'reset or change' the IP? cause if i change the thread/post's owner he takes the IP of the older owner ...

Phalynx 18 May 2008 22:50

What IP should be taken? Last known IP of the new owner or the last post IP of the new owner?

KURTZ 18 May 2008 22:55

let me explain better:

1) i wrote a thread with my IP
2) i change the owner from me to another user
3) i do a IP search in the ACP (i put my IP)
4) the result told me that me (obviously) and the new owner have the same IP ... this isn't correct i think ... :)

also if i put the mouse over the icon in the post it told me that the IP (after the change) was mine ...

Phalynx 18 May 2008 22:57

I know what you mean. That's why I asked WHICH IP should be used for the new owner post?

KURTZ 18 May 2008 22:59

i dunno Marius, maybe the IP of the new owner? or nothing? :)

JadedSouls 18 May 2008 23:31

I'm so gonna love this hack.

I had made a Guest account for users that left the site and owned huge threads I didn't want deleted because it would drop the forum's total posts drastically... Now I can change things around!

FleaBag 21 May 2008 16:13

Hey, does this now change the owner of the attachments also?

Jase2 21 May 2008 16:55

Good use of the inline moderation -- saves going in the database. :)

Would be great in vbulletin made this default code, though. :)

Phalynx 21 May 2008 19:17

Quote:

Originally Posted by FleaBag (Post 1526956)
Hey, does this now change the owner of the attachments also?

Already spoken about that here:
http://www.vbulletin.org/forum/showp...4&postcount=22

FleaBag 21 May 2008 19:24

Ah, sorry Phalynx. This hack showed as updated for me, so I thought a new version had been released lol.

Phalynx 21 May 2008 19:26

I included only different languages. A new version 1.7 will be released next week.

RvG2 23 May 2008 05:30

Thank you so muccchhhhh.... :)

mariocaz 23 May 2008 22:47

Very nice, installed!!

Animparadise 27 May 2008 01:27

is there anyway to add options to change post date and time?
changing posts date and time is a good feature that moderators can sort best thread's posts.

crazzyustad 04 Jun 2008 05:18

great hack......people may ask why u need this hack??? I would provide u with reasons. Say u are transfering from PHPBB3 forum to vbulletin and u find that the post owners are not matching , then u can easily change the post owner to match the same.

Anyways Phalynx i have a query . How can i put this option in the moderator menu in "search all the post by user" . I want to trasfer bulk post from one user a/c to another so i think if i can put this is the moderator menu in "search all the post by user" then that would have helped me .

thnkx

verino 04 Jun 2008 07:13

Works fine !

Thank's and installed. :D

Phalynx 04 Jun 2008 15:15

v1.7 has been released!

Changelog
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)

readjono 04 Jun 2008 15:35

At first glance it's not working.

JadedSouls 04 Jun 2008 15:47

1 Attachment(s)
I upgraded to the latest after uninstalling the previous version..

Now when I delete a post/thread, I get this error (attached image). I haven't tried any other functions yet tho..

If I disable the product the errors are gone so it is the product making the errors.

KURTZ 04 Jun 2008 16:25

Quote:

Originally Posted by readjono (Post 1540659)
At first glance it's not working.

yes, i tried to change the owner of a thread but i've got a 'blank' page ...

FleaBag 04 Jun 2008 16:56

Thanks for the update Phalynx! Very kind. Changing the date is a neat feature too!

KURTZ 04 Jun 2008 17:38

just tried to install this product onto another board (3.7.0, the previous was a 3.7.1) it doesn't runs ... nothing to do ...

readjono 04 Jun 2008 18:38

When I try to use this I get -

Parse error: syntax error, unexpected '^' in /home/readjono/public_html/communities/inlinemod.php(382) : eval()'d code on

Phalynx 04 Jun 2008 19:55

Sorry guys! I hit accidently the ^ key as I saved the XML. Removed it and uploaded again. Version did not changed.

KURTZ 04 Jun 2008 20:08

superb job Marius!!!! thx 4 all ;)

JadedSouls 04 Jun 2008 21:03

Thank you for the fix!! :)

Golzarion 04 Jun 2008 21:20

nice work. thanks.

xorex 04 Jun 2008 21:34

1 Attachment(s)
russian translate

update first post please

thanx ! :up:

Benumbed 04 Jun 2008 22:18

Editing a thread (from forumdisplay), will not change the first posts date/time if it has replys. It will change the last post in that thread only.

Super Jinni 05 Jun 2008 02:43

good job Marius

thanks

dvbusuario 05 Jun 2008 04:49

very, very good, thankyou very much

Install!!

Phalynx 05 Jun 2008 07:47

Quote:

Originally Posted by Benumbed (Post 1541022)
Editing a thread (from forumdisplay), will not change the first posts date/time if it has replys. It will change the last post in that thread only.

That's really strange, espacially because if I change the username it does update the right one. And it's using the same logic...

Bexter 05 Jun 2008 08:02

Awesome hack been something I've been looking for for a while. Only other one i saw was no longer supported and not 3.7 compatible.

Great work :D

Benumbed 05 Jun 2008 11:58

Quote:

Originally Posted by Phalynx (Post 1541288)
That's really strange, espacially because if I change the username it does update the right one. And it's using the same logic...

Shrug, only reporting a bug that I saw =P

Phalynx 05 Jun 2008 12:05

Updated first post with two new translations: russian and arabic. Thanks for the translation.

PaylaX 05 Jun 2008 14:34

1 Attachment(s)
New Turkish translate

maxicep 05 Jun 2008 14:46

I think, All admins and moderators can use this prefence

can we select member ( like only 1 admin ) which have permission to use this hack ?

xorex 05 Jun 2008 21:35

Phalynx

thanx

I am glad to translate good ideas of a hacks :)

maamon 06 Jun 2008 01:45

Thank you

HxC 06 Jun 2008 06:03

Hey, I'm using your mod and it works great. However, when I try to do it on posts that have been imported from a different database.

The error is:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any idea why this might be?

Thanks.

Phalynx 10 Jun 2008 07:45

Did you run a recounter on threads/postings? Seems your Database is not up to date, espacially lastpost.

q8salem 10 Jun 2008 11:05

nice one

Thanks & good luck

HxC 10 Jun 2008 17:47

Quote:

Originally Posted by Phalynx (Post 1545620)
Did you run a recounter on threads/postings? Seems your Database is not up to date, espacially lastpost.

I could've sworn I did that right after I imported. Oh well, thanks it worked :D

GoodKarmaKid 12 Jun 2008 09:12

Great Hack, love it

You have a small typo in the info page:

v1.6, released 19 June 2008


I'ts not June 19th, 2008 yet??


Jason

mariocaz 17 Jun 2008 19:07

I have this mod since I update from 3.6.8 to 3.7 and no problems but now when I updated to 3.7.1 I have this error in my forum because this great mod:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Help please!!!

Phalynx 17 Jun 2008 19:17

Read here:
http://www.vbulletin.org/forum/showp...3&postcount=67

mariocaz 17 Jun 2008 19:34

thank you a lot, now is working like always!

c.oper 20 Jun 2008 02:26

Installed!

TimberFloorAu 21 Jun 2008 03:51

How cool is that !!!

Thanks Installed| Deployed !

GraNdMaStEr-B 23 Jun 2008 20:17

I installed this mod i goto vb options and it shows the mod in there. Where do i go to change the post to a new owner?

Parse error
by AScherff
23 Jun 2008 20:51

using 3.7.1 PL2

with this mod i get

Parse error: syntax error, unexpected '^' in /path_to_htdocs/inlinemod.php(382) : eval()'d code on line 267

if i delete a post...

disabling the mod fixes...

what can i do?


Thanks
Alfred

Phalynx 23 Jun 2008 22:31

http://www.vbulletin.org/forum/showp...8&postcount=89

http://www.vbulletin.org/forum/showp...3&postcount=67

Phornixx 24 Jun 2008 00:30

Can't get this to work, I really need this the options just don't show...

Phalynx 24 Jun 2008 08:33

Update your templates to 3.7

Boofo 24 Jun 2008 08:40

1.7 was relased BEFORE 1.6? ;)

Phalynx 24 Jun 2008 09:04

How funny :)

Already mentioned here:
http://www.vbulletin.org/forum/showp...7&postcount=87

Boofo 24 Jun 2008 09:06

Sorry, I didn't read the whole thread. My bad. ;)


All times are GMT. The time now is 01:05.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.