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

CMF Routes - Link Changer for Forums and Threads [Paid] 1.1.1

Forum and thread route path can be changed for any forum or category. Faster than Route Filters!

  1. Yoskaldyr

    Yoskaldyr Well-Known Member

    Yoskaldyr submitted a new resource:

    CMF Routes - Route Prefix Changer for Forums and Threads - Forum and thread route prefix can be changed for any forum or category.

    Read more about this resource...
     
    Mirovinger likes this.
  2. sbj

    sbj Well-Known Member

    Yoskaldyr likes this.
  3. Yoskaldyr

    Yoskaldyr Well-Known Member

    @sbj, I think I can add this feature in one of the next releases.
     
    sbj likes this.
  4. Yoskaldyr

    Yoskaldyr Well-Known Member

    Mirovinger likes this.
  5. electrogypsy

    electrogypsy Active Member

  6. Yoskaldyr

    Yoskaldyr Well-Known Member

    I can add this in one of the next releases. But I think it is bad feature because a single registered user with name "forums", "members" or something like that can break anything on the board.
    I will fix it in the next release.
     
  7. Yoskaldyr

    Yoskaldyr Well-Known Member

  8. Yoskaldyr

    Yoskaldyr Well-Known Member

    Mirovinger likes this.
  9. electrogypsy

    electrogypsy Active Member

    wow, that was quick :)

    yeah, you'd definitely have to have a filter for non-allowed user name urls. maybe make it user defined? like, forum owners could input text in a field that would block words like forums, members, admin, mods, etc.
     
  10. Yoskaldyr

    Yoskaldyr Well-Known Member

    @electrogypsy But what to do with already registered users that conflicts with the current route prefixes? Or what to do with a prefixes of a new add-ons installed after a changing routes for users?

    Maybe you want to create routes something like that:
    domain.com/@user1
    domain.com/@user2
     
  11. electrogypsy

    electrogypsy Active Member

    you have a point there, but i don't have any users with the username 'library' 'forum' or any other name that would conflict.

    there are no plugins currently available for xenforo that change the user routes for user profiles. also, if someone is going to buy your product they should realize that there *will* be conflicts with plugins that change routes, just like there would be with any other plugin.

    there are *two* plugins that change routes on the xenforo resources area. one is Liam W's vanity url plugin, which gives the functionality i'm asking for. the other is xfrocks' [bd] reroute.

    unfortunately neither are maintained, and both are broken in some way or another. which is why i pass the torch to you :)

    the @ symbol is an invalid url character, but i understand what you're saying. Liam W's plugin was built specifically for this purpose, but like i said, is no longer working. if you added this functionality, you could possibly corner the market in this type of plugin :p
     
  12. Yoskaldyr

    Yoskaldyr Well-Known Member

    I mean that the new route prefixes with conflicting names can be created after the forum user has been created.

    I can reroute all not matching routes to the 'member' route but some user pages in this case will be unaccessible.
     
  13. electrogypsy

    electrogypsy Active Member

    would you have to reroute everything? all most people want is a short link to their user profile. all other /member/ links should stay the same.
     
  14. Yoskaldyr

    Yoskaldyr Well-Known Member

    Main problem with such rerouting for users is that the member link generation will too slow because it must trigger route match for checking names with conflicts.
    So I can add this feature but it will be a BAD feature for performance.
     
  15. electrogypsy

    electrogypsy Active Member

    couldn't it check the route when the member creates the shortlink? for example, maybe instead of doing all users at once, the user has to first define a url for their profile (yoursite.com/yourname) before the plugin checks. that way the system knows the link is good every time it's requested. everyone that hasn't requested a url will have their profile link stay the default (yoursite.com/members/yourname).

    hope you don't mind me giving so many suggestions :p
     
  16. Yoskaldyr

    Yoskaldyr Well-Known Member

    But this member link can be re-used by some add-on in the future. So add-on must re-check an existence of this route on every link generation and it is not good for performance.
     
  17. electrogypsy

    electrogypsy Active Member

    Well, as I pointed out earlier, Liam W did it and I don't think anyone really had any problems. I'd use his but I don't think he comes around the XF forums anymore.
     
  18. Yoskaldyr

    Yoskaldyr Well-Known Member

    I can create links for
    domain.com/username
    but not for
    domain.com/username/
    and it will work.
    But sometimes may be a situation with almost the same links points to the different locations:
    domain.com/forums - will point to the user "forums"
    domain.com/forums/ - will point to the forums page
     
  19. electrogypsy

    electrogypsy Active Member

    it's fine, liam updated his plugin so i'll just use his.
     
    Yoskaldyr likes this.
  20. electrogypsy

    electrogypsy Active Member

    can "route prefix for threads" be left blank?
     

Share This Page