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

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

Category: Administrative and Maintenance Tools - Version: 3.7.x Rating:
Released: 05-04-2008 Last Update: 01-06-2009 Installs: 463
Uses Plugins Auto-Templates
Translations  
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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 05-18-2008, 12:42 PM
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Reply With Quote
  #43  
Old 05-18-2008, 06:14 PM
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I got that to work

all what I had to do is just to add the code
Code:
<option value="changepostsowner">$vbphrase[changepostsowner_link]</option>
after the code
Code:
<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
in the "search_results" template

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

thanks



I only tested in localhost
Reply With Quote
  #44  
Old 05-18-2008, 09:37 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea, will include this in next version. Thanks!
Reply With Quote
  #45  
Old 05-18-2008, 09:43 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ...
Reply With Quote
  #46  
Old 05-18-2008, 09:50 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What IP should be taken? Last known IP of the new owner or the last post IP of the new owner?
Reply With Quote
  #47  
Old 05-18-2008, 09:55 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ...
Reply With Quote
  #48  
Old 05-18-2008, 09:57 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know what you mean. That's why I asked WHICH IP should be used for the new owner post?
Reply With Quote
  #49  
Old 05-18-2008, 09:59 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i dunno Marius, maybe the IP of the new owner? or nothing?
Reply With Quote
  #50  
Old 05-18-2008, 10:31 PM
JadedSouls's Avatar
JadedSouls JadedSouls is offline
 
Join Date: May 2007
Location: Canada, eh?
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #51  
Old 05-21-2008, 03:13 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, does this now change the owner of the attachments also?
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 01:49 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.04680 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete