1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Node Order Values

Discussion in 'XenForo Questions and Support' started by LuvMeSumZen, Sep 1, 2014.

  1. LuvMeSumZen

    LuvMeSumZen Active Member

    Is there a way to quickly change the node order values en masse - other than going into each node and changing them one by one?I have initiated a sponsored forum program and I will be adding forums and sub forums regularly, and as it stands changing the order of the nodes is quite inefficient.
     
  2. AndyB

    AndyB Well-Known Member

    If you number them this way it's easy to add a new forum, you only have to renumber a few forums.

    Category (1)
    Forum (2)
    Forum (3)
    etc...

    Category (20)
    Forum (21)
    Forum (22)
    etc...

    Category (30)
    Forum (31)
    Forum (32)
    etc...
     
    LuvMeSumZen likes this.
  3. LuvMeSumZen

    LuvMeSumZen Active Member

    Thanks Andy, but my "special condition" won't allow for that too easily lol. Ideally I would like to have this done . . . .

    node order.jpg

    I realize that this is turning into a an add-on request, but since you understand the actual coding and I do not, perhaps you could tell me if this is even worth posting there. Would this be a nightmare to write? This is how mybb worked and it was a breeze to change multiple nodes. I already have 77 and that will probably double or more and so even using your deca system will turn into a cluster firetruck at some point. Do you think an add on like this could be written?
     
  4. AndyB

    AndyB Well-Known Member

    Perhaps an add-on could be made to take the existing order and renumber each Node Order but incrementing by 10.

    1
    10
    20
    30
    40
    50
    etc...

    That way you could easily add nodes as needed.
     
  5. LuvMeSumZen

    LuvMeSumZen Active Member

    So as far as you know, the answer is no for what I would ideally want?

    What if each category could have its own order, then each forum within the category could have also, and the forums were "offset" from the category?
     
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    No, there is no way to quickly mass change all your values.


    Each category does have its own display order. Display order is always dependent on the parent.
     
  7. Floyd R Turbo

    Floyd R Turbo Well-Known Member

    Node numbers by Waindigo will at least display the node numbers in the ACP node tree but it doesn't allow you to change them on the node tree view

    https://xenforo.com/community/resources/node-numbers-by-waindigo.1405/

    To me this would be a valuable addon and should not be difficult to code. Just replicate the files that defines the order as an enterable/editable filed on the node tree and then add an "update" button.

    There is also an addon that allows you to drag & drop in ACP

    https://xenforo.com/community/resources/drag-drop-nodes-in-the-acp.3243/
     
  8. LuvMeSumZen

    LuvMeSumZen Active Member

    Well I need it pretty badly so I have thrown it out there.
    https://xenforo.com/community/threads/node-values-in-node-tree.82248/

    I changed the idea of how I want it as the linear numeric of treating categories and forums all the same made no sense. If anyone is interested in participating in this please fel free to make it known in the request thread I have linked.
     

Share This Page