Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. Thomas0
    T
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Thomas0

    @Thomas0

    0
    Reputation
    5
    Posts
    177
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Thomas0 Follow

    Best posts made by Thomas0

    This user hasn't posted anything yet.

    Latest posts made by Thomas0

    • Live threads in sidebar

      Hi all,

      Is it possible somehow to have a sidebar widget that displays the live threads for the category the user is in when viewing a post in that category? So for example you are viewing this thread in the technical support category, in the sidebar now you'd see the latest threads (not individual posts) in technical support. If a new thread is posted as you're reading this, that widget would update with that thread at the top...

      posted in Technical Support
      T
      Thomas0
    • RE: Migrating users from XenForo to NodeBB

      @chrisb said in Migrating users from XenForo to NodeBB:

      @thomas0 It's worth digging into the code a little bit, more understanding will help when (or if.. 🤞) things go wrong. Just as an example, here's what a typical user object looks like in NodeBB:

      { "_id" : ObjectId("5aa26e9218d8783123dcb189"), "_key" : "user:1", "username" : "MyUsername", "userslug" : "myusername", "email" : "user@test.com", "joindate" : 1520594578043, "lastonline" : 1520602862371, "picture" : "", "fullname" : "", "location" : "", "birthday" : "", "website" : "", "signature" : "", "uploadedpicture" : "", "profileviews" : 0, "reputation" : 0, "postcount" : 1, "topiccount" : 1, "lastposttime" : 1520594579361, "banned" : 0, "status" : "online", "uid" : 1, "password" : "$2a$12$SnwLqMV2.g8ADjLEV.2tK.hGGD1o85rm4Tb/aj2twrTuU5BewqMCW", "passwordExpiry" : 0, "groupTitle" : "administrators", "rss_token" : "2e3df2a7-f579-431f-b5ad-fgh52b995b1c" }
      

      (Just making the point you'd have to create all that extra data too, that the write-api plugin would do for you).


      Actually, it's more than I thought. See this list from @PitaJ

      https://community.nodebb.org/post/65350

      I see. Just a thought but perhaps creating a new fresh user with no data as such (ie avatar, standard usergroup etc) and then basing the inserts off of that... of course username, email, password, last online, userid, slug, etc would be changed.

      posted in General Discussion
      T
      Thomas0
    • RE: Migrating users from XenForo to NodeBB

      @chrisb Great idea for the password reset rather than plain text... more secure!

      I will take a look at that api plugin. I'm not a developer as such, rather it's a hobby so I can code but not professionally. My thoughts are...

      1. Export username / email data
      2. Create script that adds each username / email pair to NodeBB database, with a random password that works with NodeBB
      3. Create a script that emails each user the password reset

      I will see how I get on!

      posted in General Discussion
      T
      Thomas0
    • RE: Migrating users from XenForo to NodeBB

      Thinking about it I could simply import the usernames and email addresses, then have the importer create a new random password that conforms to the NodeBB way of storing/hashing passwords, then email these new passwords automatically to users.

      That would work and solve a few problems.

      I will try to figure out the best way to do this.

      posted in General Discussion
      T
      Thomas0
    • Migrating users from XenForo to NodeBB

      Hi all,

      I was wondering if there's a plugin, or how easy it would be to write my own, to convert just the user accounts from XenForo to NodeBB. I'm talking around 3,000+ users. No posts, literally just their usernames, emails and passwords... I'm assuming the two platforms don't use the same password salting/hashing process, so would that be an issue?

      Thanks!

      posted in General Discussion
      T
      Thomas0