• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Delete User, dont delete Posts, Map Posts to new/existing User

Scheduled Pinned Locked Moved Technical Support
5 Posts 5 Posters 777 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    isAG
    wrote on last edited by
    #1

    Like the title explains. I like to delete a user but not the posts / content from user. Is it possible to move posts / content of that user to another user before i delete the user. Or do i have to delete and then move/ map posts / content to another existing user?

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #2

    I don't think it's possible to move posts between users.

    1 Reply Last reply
    0
  • S Offline
    S Offline
    schajuli
    wrote on last edited by
    #3

    What's best practice for legacy users?

    LEVI HAVIVL 1 Reply Last reply
    1
  • LEVI HAVIVL Offline
    LEVI HAVIVL Offline
    LEVI HAVIV
    replied to schajuli on last edited by
    #4

    @schajuli You can ask the api for all the post IDs that the user wrote, then execute another api command to transfer all these posts to another user...

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #5

    Currently posts.changeOwner socket call will let you change the owner of a post to a new user. There is no API call for this yet.

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development