Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Change Threads/Posts Owner/Date for vB3.8 Details »»
Change Threads/Posts Owner/Date for vB3.8
Version: 1.8, by Phalynx Phalynx is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.8.x Rating:
Released: 01-06-2009 Last Update: 08-24-2009 Installs: 725
Uses Plugins Auto-Templates
 
No support by the author.

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

Download Now

File Type: xml product-changethreadsowner180_38.xml (20.7 KB, 2807 views)
File Type: xml product-changethreadsowner180_38-arabic.xml (20.6 KB, 222 views)
File Type: xml product-changethreadsowner180_38-German.xml (20.8 KB, 280 views)
File Type: xml product-changethreadsowner180_38-russian.xml (20.7 KB, 152 views)
File Type: xml product-changethreadsowner180_38_esp.xml (21.0 KB, 161 views)
File Type: xml language_change-threads-owner-TR.xml (3.6 KB, 213 views)
File Type: xml language_change-threads-owner-Polish.xml (3.6 KB, 87 views)

Screenshots

File Type: jpg ChangeThreadsOwnerAdminCP.jpg (23.0 KB, 0 views)
File Type: jpg ChangeThreadsOwnerThreads.jpg (22.4 KB, 0 views)
File Type: jpg ChangeThreadsOwnerUser.jpg (45.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
furnival, N8, xorex

Comments
  #92  
Old 09-20-2009, 07:41 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RenatoMN View Post
Hello, Phalynx.

I just upgraded a vB from 3.7.2 to 3.8.4 using ImpEx, instead actually doing an update. I was not careful enough to create the admin account in the new vB with a diff. e-mail from the admin in the old vB, so this user was NOT migrated. The posts and threads are there, with "RenatoMN" as a unregistered user.

May you explain how can I find all posts/threads from this unregistered user and change the owner to my new user without need to browse all the forums? The posts aren't returned when I search posts by author username.

Regards,
Renato
You will need to run SQL Queries to accomplish this to all postings:
PHP Code:
update post set userid=1 where username="User"
update thread set postuserid=1 where postusername="User" 
Replace userid/postuserid with the UserID of the new owner, also replace "User" with the Username of the old user.
Reply With Quote
  #93  
Old 09-22-2009, 01:52 PM
morrow's Avatar
morrow morrow is offline
 
Join Date: Mar 2002
Location: NJ
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod looks great. I was wondering though.... I had a mod a while back which actually let me post a new thread or reply to a thread as a different user. I need to satisify my alter ego's. Is there any way to work that feature into your mod?
Reply With Quote
  #94  
Old 09-22-2009, 04:34 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, and not on my todo list.
Reply With Quote
  #95  
Old 10-03-2009, 07:04 PM
RenatoMN's Avatar
RenatoMN RenatoMN is offline
 
Join Date: Nov 2008
Location: Brazil
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx View Post
You will need to run SQL Queries to accomplish this to all postings:
PHP Code:
update post set userid=1 where username="User"
update thread set postuserid=1 where postusername="User" 
Replace userid/postuserid with the UserID of the new owner, also replace "User" with the Username of the old user.
Very thanks, Phalynx
Reply With Quote
  #96  
Old 10-04-2009, 07:02 AM
tlwwolfseye's Avatar
tlwwolfseye tlwwolfseye is offline
 
Join Date: Dec 2008
Location: Germany
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are there any permission settings on this Mod for who can use it or not ?
Reply With Quote
  #97  
Old 10-05-2009, 06:50 AM
ClanAH ClanAH is offline
 
Join Date: May 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, Great mod .. But what if a username was 666? Wouldn't that be a conflict with the username and userID? Or does a username take precedence over userID?

Also, when you edit the date it is setup as Day - Month - Year, This is confusing because in the actual thread the date is setup as Month - Day - Year.
Reply With Quote
  #98  
Old 10-10-2009, 07:59 PM
Powlo Powlo is offline
 
Join Date: Feb 2008
Location: Sunderland UK
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ive just attempted to install this mod but i am getting this error when i import it and thus need to 'go back'

Code:
XML Error: Undeclared entity warning at Line 475
Any ideas what i need to do.

I'm running vb 3.8.1
Reply With Quote
  #99  
Old 10-12-2009, 08:40 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tlwwolfseye View Post
Are there any permission settings on this Mod for who can use it or not ?
You can enter the usergroup that can use this via options.

Quote:
Originally Posted by ClanAH View Post
Hey, Great mod .. But what if a username was 666? Wouldn't that be a conflict with the username and userID? Or does a username take precedence over userID?
In fact, this could be a problem. Why not testing this out?

Quote:
Originally Posted by Powlo View Post
Ive just attempted to install this mod but i am getting this error when i import it and thus need to 'go back'

Code:
XML Error: Undeclared entity warning at Line 475
Any ideas what i need to do.

I'm running vb 3.8.1
It seems the downloaded file is corrupt.
Reply With Quote
  #100  
Old 10-18-2009, 06:44 PM
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Location: Zurich
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice, installed Thanks a lot!

"Nice to have": Detailed Log, what has been changed (User/Date).

Greetings from Switzerland, Bruno
(vB 3.8.4 PL1)
Reply With Quote
  #101  
Old 10-18-2009, 06:57 PM
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Location: Zurich
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another interesting setting would be a "Time Offset": My server is the USA, my seat in Switzerland. This means: I always have to subtract 9 hours when changing the posting time (e.g. to add an "intro post" to an existing thread).

But anyway: Thanks again for this nice hack!
Bruno
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12733 seconds
  • Memory Usage 2,359KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete