Thread: Administrative and Maintenance Tools - Change Author And Creation Date Of Posts And Articles
View Single Post
  #89  
Old 04-08-2011, 07:00 PM
vgevolution vgevolution is offline
 
Join Date: Nov 2006
Location: Beyond the Looking Glass
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was able to get the functionality I needed by installing both this addon (to handle Articles) and this one by Phalynx for threads and other mass edits. The biggest bug seems to be that if an article has been published and you change the author, the comments forum thread still shows the original author. I fixed that by using Phalynx's addon to edit the comment thread author. His mod seems to handle post counts/etc a little better, but doesn't do Articles.

For those who don't like template edits, you should look into this mod by Andreas. It will store all template edits by product without actually editing the templates using a search/add or replace engine. Developed for vb3, it actually still functions admirably with vb4, the only exception being it cannot edit css templates (YET -- there's a single bug stopping the update, please vote on it to be fixed). One thing that makes it awesome is this is the only way to safely edit your Master templates, plus it allows you to export your template edits by product, so for this example, I've created a template edit import file you can use to perform all of the edits needed to make this mod work. I changed the final template edit, making it so it will show the "current" author's name in the entry box for articles, which currently shows as a blank input box. If necessary, you can create a different edit which retains the "current author" as static text, then adds an input box to change the author. I'm actually looking into utilizing the autocomplete code as seen in many other ajax-enabled areas, so you can start typing a username, and you would see a popup with username suggestions to choose from. If I get it working, I'll submit the template edits needs for it.

Mod Suggestion: maybe as a separate mod from this, would it make sense to have a mod that adds a Pen Name field for each user, and if a user who uses a Pen Name writes an article, the CMS system would display the Pen Name instead, and attribute the article to a generic user id for anonymity?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01179 seconds
  • Memory Usage 1,767KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete