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
Admin Edit of Post Username & Dateline Details »»
Admin Edit of Post Username & Dateline
Version: 1.0, by phlogiston phlogiston is offline
Developer Last Online: Dec 2009 Show Printable Version Email this Page

Version: 3.5.7 Rating:
Released: 09-14-2005 Last Update: 09-14-2005 Installs: 63
Uses Plugins Template Edits
 
No support by the author.

This product will allow Administrators to edit the username and/or the date & time of posts.

It's fairly no-frills but may be of use to others - I use it because at present I am going back through some threads to insert a post at the beginning to act as topic info and also I like to post updates under a particular username which isn't my preferred login. Yes I'm lazy enough that posting and then editing the uername is easier than logging in the other account!



Details:
3 plugin locations (one to cache template)
1 new template
1 added query to match username to userid
Applies edit username/dateline permission to usergroupid 6.

note:
If you edit the dateline for a post and alter which is the first or last post in a thread then you'll need to rebuild thread info from admncp maintenance. (Not strictly needed for changing the last post as this will be updated when the thread is next posted in.)


As I say, no frills; very simply does what it does and no more. I think the code may be a bit of a fudge in places to work around weirdness I couldn't think to sort any other way so if you know better please share!

Show Your Support

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

Comments
  #2  
Old 09-15-2005, 10:38 PM
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Location: Paradise, Texas
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you wanted the thread to be at the top, isnt that what stickies are for? I dont understand the real reason for this.
Reply With Quote
  #3  
Old 09-15-2005, 11:04 PM
phlogiston's Avatar
phlogiston phlogiston is offline
 
Join Date: Feb 2003
Location: Woodlands
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not something that I imagine many folk will have a use for I'll give you that!

As for myself it wasn't wanting threads to be at the top of a forum it was taking existing threads and needing to reorder posts within them, specifically in my case to add a post at the beginning to display differently (like vb.org does with hacks), my solution was to edit the datestamp of the post so it becomes first post - that again I doubt more than a couple others would ever need but still, sharing is good
Reply With Quote
  #4  
Old 09-15-2005, 11:09 PM
Jenta Jenta is offline
 
Join Date: Dec 2004
Posts: 377
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, was hoping the old 3.0 version would get ported
I use it a lot for a variety of reasons
Reply With Quote
  #5  
Old 09-16-2005, 03:18 AM
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by phlogiston
It's not something that I imagine many folk will have a use for I'll give you that!

As for myself it wasn't wanting threads to be at the top of a forum it was taking existing threads and needing to reorder posts within them, specifically in my case to add a post at the beginning to display differently (like vb.org does with hacks), my solution was to edit the datestamp of the post so it becomes first post - that again I doubt more than a couple others would ever need but still, sharing is good
I was running an "efed" site, where I wanted to combine threads together to form one long post, and this would have allowed me to do it with a little work. I would have loved this, but that was a while ago.
Reply With Quote
  #6  
Old 09-16-2005, 08:01 PM
delds delds is offline
 
Join Date: Oct 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have had trouble copying threads from old threads in phpbb2 to vbulletin, had trouble running import rotuines, so this helps me changing the timestamp back to the orginal post date, which is much easilier than editing the date than to go into the hosts sql manager and find the correct thread records and change the appropriate fields.

I assume this will also update lastposter / timedate fields as well as firstposter / datestamp fields which affect the forums thread list.
Reply With Quote
  #7  
Old 09-16-2005, 10:46 PM
delds delds is offline
 
Join Date: Oct 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't seem to work for me, as it gives an error message saying that no users match your query. The posts were copied by a copy and paste routine. Oh well the sql manager routine will let me do it.
Reply With Quote
  #8  
Old 10-01-2005, 11:29 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me installs, hope it works ok
Reply With Quote
  #9  
Old 10-01-2005, 11:33 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doesnt seem to work for 3.5 GOLD Can we update it?
Reply With Quote
  #10  
Old 10-25-2005, 04:37 AM
sub_ubi sub_ubi is offline
 
Join Date: Dec 2004
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another option:

https://vborg.vbsupport.ru/showthread.php?t=98737
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 10:03 AM.


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.04486 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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