1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

LGB Thread Renamer

Discussion in 'Add-on Releases [Archive]' started by lukegb, Jan 22, 2011.

  1. lukegb

    lukegb Member

    Allows users to be given the permission to modify their own thread title.

    Not really fleshed out, just a quick implementation of something my forum (http://bukkit.org) needed for it's modifications section.

    This is confirmed to work with 1.0.0 -> 1.0.2.

    Installation instructions:
    1. Copy the LukeGB folder into the /library folder.
    2. Install the addon_renameThread.xml file via the Admin CP.
    3. Assign the permission inside the Node Permissions area inside the Admin CP.
    4. Hooray! Users within groups granted the permission can now rename their own threads.
    Sorry I packaged it in a somewhat unusual way, I sorta threw the distribution system together.

    Version 0.2 Released
    This version allows forum owners to toggle whether they want users to be able to rename their thread only if they have the ability to edit their first post. This means users can now be restricted by the "edit cutoff" time limit.

    I still fail at packaging:
    The folder "LukeGB" (it's inside the upload folder in the zip) goes inside the "library" folder on the server, not directly on your forum root. Apologies.

    v0.2 ERRATUM:
    Open /library/LukeGB/ThreadRenamer/Thread.php.
    (line 18-19)
    $stillCanEdit true;

    Attached Files:

    ARSamo, Smashbox, Rost35 and 12 others like this.
  2. Edrondol

    Edrondol Well-Known Member

    If this works you are my new best friend. I have gotten more crap for this simple thing than any other since making the switch.
  3. lukegb

    lukegb Member

    Oh, forgot to mention. I made it a per-node permission, because we only wanted the permission to be available to certain usergroups in certain forums.

    It basically just piggybacks on top of the XenForo thread edit system.
  4. EvilSeph

    EvilSeph Member

    Out of ALL the possible names you could use..you chose this one. Typical programmer luke, typical programmer. [​IMG]
    Shamil and zaiger like this.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    I removed the superfluous "r", assuming that was the typo.
  6. lukegb

    lukegb Member

    Nah, it was actually the Do :p
  7. Allan

    Allan Well-Known Member

    It would be interesting to add the permissions in XenForo !

    Thank you for the sharing ;)
  8. Edrondol

    Edrondol Well-Known Member

    Anyone else amused this thread title starts out with LGBT?
    Shamil, zaiger, Dodgeboard and 4 others like this.
  9. a legacy reborn

    a legacy reborn Well-Known Member

    I don't see it working on RC1 This is what I get.
     		 			Please enter a valid callback method.
  10. lukegb

    lukegb Member

    That's because I'm an idiot, and fail at using zip to package zips.

    Repack in a second.

    EDIT: Repacked.
    EvilSeph likes this.
  11. a legacy reborn

    a legacy reborn Well-Known Member

    Still get same thing I don't really think u uploaded it correctly again lol
  12. lukegb

    lukegb Member

    Oops. I uploaded the same file again.


    DEFINITELY fixed now.
  13. a legacy reborn

    a legacy reborn Well-Known Member

    Alright it installed, now I will test to make sure it works :).

    Edit: Works Wonderfully
  14. Edrondol

    Edrondol Well-Known Member

    Yes it does. Works wonderfully and my people thank you, Luke.
  15. Anthony Parsons

    Anthony Parsons Well-Known Member

    You may want to correctly package it as well, ie. put it within the proper XF directory structure, /library/LukeGB/... and install instructions in your opening post for those who aren't sure what to do with just a folder named LukeGB in their download.

    Nice work though...
  16. lukegb

    lukegb Member

    It was sort of just something I threw together. Hopefully something similar will become part of XF core - all the groundwork seems to be there, after all ;)

    Well, I sort of added installation instructions to the first post. People should be able to figure it out ;)
  17. Anthony Parsons

    Anthony Parsons Well-Known Member

    Installed... this is actually pretty damn nice. Exceptional for those who need to change the titles for updating a prefix style forum [completed] [editing] etc.
  18. Kainzo

    Kainzo Active Member

    Yep - love it been using it for a few months now - just got my own forums
  19. dieketzer

    dieketzer Well-Known Member

    one drawback is that it doesnt adhere to the edit cutoff time. this could be problematic at some time in the future.
  20. lukegb

    lukegb Member

    Okay, new release. Addresses
    Attaching to OP.
    dieketzer likes this.

Share This Page