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

Reply
 
Thread Tools
Change Threads/Posts Owner Details »»
Change Threads/Posts Owner
Version: 1.5, by Phalynx Phalynx is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 04-10-2006 Last Update: 05-31-2006 Installs: 68
Uses Plugins Template Edits
 
No support by the author.

A version compatible with vBulletin 3.7 GOLD can be found here:
https://vborg.vbsupport.ru/showthread.php?t=178208


What does this hack do?
It can change the owner of multiple threads and post. For this, it adds another option to your mod actions on forumdisplay and showthread. After selecting some threads or posts, you can choose the new owner by name or UserID. By name works with the AJAX namesuggestion, we all know it from writing a PM. After changing the name(s), it rebuilds thread/forum counters.

This hack makes use of phrases, simple group permissions and is creating an entry into the moderation log.

Tested only on vB 3.5.4, but should work also for vB 3.5.0 up to 3.5.4

Contains: 8 phrases, 3 additional templates, 2 Options
Installtime: <1 minutes
Difficulty: easy (1 product)

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

Please click INSTALL, otherwise I will not support you.

Changes from 1.0:
-Ability to change also the owner of posts. If you change the owner of the firstpost, the owner of the thread will be also changed

- Added group permission. This works not with Bitfields, because I didn't want to have a file to upload. Instead, you can enter usergroups that should have access to that feature. Due to performance, it is checked only by calling the function, the links are showed for all mods. If you don't enter any group, the forum permission is checked (like it was in 1.0).

- Added possibility to enter also the UserID of a user

- "forumdisplay_changethreadsowner" is still uncached, because its not used quiet often and don't need to be cached.

How to install?- Simply import product


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[changethreadsowner_link]</option>

Show Your Support

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

Comments
  #22  
Old 05-06-2006, 07:38 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have a modifed FORUMDISPLAY template?
Reply With Quote
  #23  
Old 05-06-2006, 08:50 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be set up for admin use only?
Reply With Quote
  #24  
Old 05-06-2006, 11:59 AM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx
Do you have a modifed FORUMDISPLAY template?
I do, BUT, I also have a stock vB one. It's not even on that one either. Any other ideas?
Reply With Quote
  #25  
Old 05-07-2006, 02:59 PM
Stop Stop is offline
 
Join Date: Oct 2005
Location: Riyadh
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
Can this be set up for admin use only?


Installed.
But still looking for the group permission.
Reply With Quote
  #26  
Old 05-10-2006, 07:20 PM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this and after selecting several threads and typing in a new name I got the following error when pressing the change owner button...

Fatal error: Only variables can be passed by reference in /vbb/inlinemod.php(220) : eval()'d code on line 74

Any clues what the problem might be?
Reply With Quote
  #27  
Old 05-12-2006, 08:38 AM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mawby
Fatal error: Only variables can be passed by reference in /vbb/inlinemod.php(220) : eval()'d code on line 74
Any suggestions greatly appreciated.
Reply With Quote
  #28  
Old 05-12-2006, 08:45 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What PHP-version are you using?
Reply With Quote
  #29  
Old 05-12-2006, 10:00 AM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx
What PHP-version are you using?
5.0.5
Reply With Quote
  #30  
Old 05-16-2006, 06:45 AM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any clues from the PHP version?
Reply With Quote
  #31  
Old 05-16-2006, 08:08 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cannot test it on 5.x, have here only 4.x
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 11:38 AM.


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.05083 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
  • (4)bbcode_code
  • (4)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