vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Admin Edit of Post Username & Dateline (https://vborg.vbsupport.ru/showthread.php?t=96351)

phlogiston 09-14-2005 10:00 PM

Admin Edit of Post Username & Dateline
 
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! :D

WNxWakko 09-15-2005 10:38 PM

If you wanted the thread to be at the top, isnt that what stickies are for? I dont understand the real reason for this.

phlogiston 09-15-2005 11:04 PM

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 :)

Jenta 09-15-2005 11:09 PM

thanks, was hoping the old 3.0 version would get ported
I use it a lot for a variety of reasons

Bad Bunny 09-16-2005 03:18 AM

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.

delds 09-16-2005 08:01 PM

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.

delds 09-16-2005 10:46 PM

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.

SnowBot 10-01-2005 11:29 AM

/me installs, hope it works ok

SnowBot 10-01-2005 11:33 AM

doesnt seem to work for 3.5 GOLD Can we update it?

sub_ubi 10-25-2005 04:37 AM

Another option:

https://vborg.vbsupport.ru/showthread.php?t=98737


All times are GMT. The time now is 02:36 PM.

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.02472 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete