Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #102  
Old 06-24-2008, 11:49 AM
Phornixx Phornixx is offline
 
Join Date: Feb 2008
Location: Macedonia
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx View Post
Update your templates to 3.7
You said it works in 3.8. I really don't have time to upadate. Can you tell me wich template edits should I do or something.


Thanks
Reply With Quote
  #103  
Old 06-24-2008, 11:52 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vB 3.8 is not out yet. If you mean 3.6.8 - update your templates to 3.6.8
I said it *should* work, I used the word should because of the introduced template hooks. If you are using old templates you don't have the hooks.


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[changepostsowner_link]</option>
Reply With Quote
  #104  
Old 06-24-2008, 12:16 PM
Phornixx Phornixx is offline
 
Join Date: Feb 2008
Location: Macedonia
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working like a charm, Thankyou very much, and yes, I meant 3.6.8
Reply With Quote
  #105  
Old 06-28-2008, 09:44 PM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting! :3
Reply With Quote
  #106  
Old 06-29-2008, 03:48 PM
-=Leb=-'s Avatar
-=Leb=- -=Leb=- is offline
 
Join Date: Jan 2008
Location: Sweden
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wOw awesome hack and very easy to install.Thank you very much and good work
Reply With Quote
  #107  
Old 07-01-2008, 02:34 PM
malomairy malomairy is offline
 
Join Date: Jun 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool, thanks man. just installed.
Reply With Quote
  #108  
Old 07-02-2008, 09:09 AM
OsideRida06 OsideRida06 is offline
 
Join Date: Apr 2008
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. Installed!
Reply With Quote
  #109  
Old 07-16-2008, 06:09 AM
Fabsboards Fabsboards is offline
 
Join Date: May 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One of our users was accidentally deleted and all of his posts were changed to Guest. I recreated the user id. Is there any way to do change all Guest posts to this new ID?
Reply With Quote
  #110  
Old 07-16-2008, 07:00 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you tried to search by username? I don't know if vBulletin searches also guest postings.

Otherwise you will have to use a query:
update post set userid=XX where username="USERNAME"
update thread set postuserid=XX where postusername="USERNAME"
Reply With Quote
  #111  
Old 07-16-2008, 05:50 PM
Project Boredom Project Boredom is offline
 
Join Date: Jun 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Um, I installed the hack but I don't see it in my dropdown menu. I edited the options for the usergroups and everything, but I am seeing nothing. :S
Reply With Quote
Reply

Thread Tools

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:16 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.05118 seconds
  • Memory Usage 2,304KB
  • 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
  • (4)bbcode_code
  • (1)bbcode_quote
  • (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
  • (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