• Please note that this section is for questions regarding the forum itself - it is not for fan game-related questions. If you have a question about a fan game, ask in the appropriate thread.

  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Suggestion: User link BBCode

Gymnotide

8377 | Scorpaeniform
  • 3,596
    Posts
    18
    Years
    ITT: Is it possible to make a BBCode tag (probably something simple like [up][/up] or [user][/user]) that turns whatever is in between it to a link to the user's profile, formatted the same way as their username appears on the site (e.g. bolded and blue for Moderators and a link to the profile)? Ugh, probably not.

    At the very least, could there please be a [user]Name[/user] or [user]#[/user] tag that makes a link to that UserID's profile? It saves a bit of busywork, though I would really enjoy the formatting too ;~;

    Anyway, just ignore me. It's late and I get bad ideas late at night.
     
    Last edited:
    I would see the user=# one as a bit silly, if only because I don't memorize ANYONE'S member number, so to get to it I have to go to their profile anyway so I might as well just link it myself. But if they do that, I don't see why filling in the number into the u= url would be any different than the username= one, so if they could do one they could probably do the other. Idk if that made sense but it did to me. :<

    If not the formatting, I wouldn't mind it being separate tags, like luke, Forever, [supporter]Toujours[/supporter], [user]Gymnotide[/user] or something like that. It would be pretty nifty to have though. :3
     
    I would see the user=# one as a bit silly, if only because I don't memorize ANYONE'S member number, so to get to it I have to go to their profile anyway so I might as well just link it myself. But if they do that, I don't see why filling in the number into the u= url would be any different than the username= one, so if they could do one they could probably do the other. Idk if that made sense but it did to me. :<

    If not the formatting, I wouldn't mind it being separate tags, like luke, Forever, [supporter]Toujours[/supporter], [user]Gymnotide[/user] or something like that. It would be pretty nifty to have though. :3

    Toujours, why are you so smart?
    I second the multiple tag one as a backup.
    Though, the [supporter] tag looks a bit bulky...

    I mainly put the tag to lighten BBCode volume when making posts.
     
    Regardless of the idea being a good one, it would mean the server would have to fish out the usergroup, what colour the usergroup is, then the link to their profile by searching again. It seems like a hell of a lot of things to look for, especially for our server. It could easily increase posting time, and strain the server to a greater extent.
     
    Toujours, why are you so smart?
    I second the multiple tag one as a backup.
    Though, the [supporter] tag looks a bit bulky...

    I mainly put the tag to lighten BBCode volume when making posts.[/QUOTE]

    Yeah I agree, I was going to use sup but that's already superscript and I wasn't sure if support looked right.

    [QUOTE="Abnegation, post: 6791795, member: 143209"][FONT=Tahoma]Regardless of the idea being a good one, it would mean the server would have to fish out the usergroup, what colour the usergroup is, then the link to their profile by searching again. It seems like a hell of a lot of things to look for, especially for our server. It could easily increase posting time, and strain the server to a greater extent.[/FONT][/QUOTE]

    Is there any way to just make it like a wildcard? like [url]https://www.pokecommunity.com/member.php?username=*[/url], and then fill in the * with whatever name is in the middle? That way if they added something like the name link, even without the colors, it doesn't seem like it would be a big deal.

    [QUOTE="Hybrid Trainer, post: 6791799, member: 119663"][FONT=Droid Sans][COLOR=DimGray][SIZE=2]What about instead of adding another BB code you add the colours to the colour grid thing in the reply box?
    I'm sure doing that couldn't strain the server.[/SIZE][/COLOR][/FONT][/QUOTE]

    That's a really great idea tbh, if nothing else this would be super easy to do...I think. It seems like it should be at least, maybe I'm wrong :x[/SIZE][/FONT]
     
    If not a tag that looks up usergroup and such, then perhaps just a tag that goes like this:

    Userid or Username (I'd prefer username.)
    The rank formatting need not be retrieved from the DB but hardcoded into the BBcode, since the colors seldom change.

    The final output of Pachy would be:
    Pachy
    All of the rank colors and such would be hardcoded, and if you didn't add an =<rank> then it assumes normal user formatting.
     
    Ah yeah I forgot that the user profile could be linked with a username too.
    Forget the UserID thing, since that's just silly.

    In order of preference:

    • [user]USERNAME[/user] tags that automatically fish up the user's rank / color / text format and makes a link [url=https://www.pokecommunity.com/member.php?username=USERNAME]USERNAME[/url] with the proper formatting.
    • USERNAME tags that have preset options for RANK that modifies the link generated to match.
    • Combination of the two below.
    • Just functional [user]USERNAME[/user] tags.
    • Extra color options in the editor that when clicked, wraps [color=*][/color], [b][/b] or [i][/i] tags as appropriate around the selected text.
     
    If not the formatting, I wouldn't mind it being separate tags, like luke, Forever, [supporter]Toujours[/supporter], [user]Gymnotide[/user] or something like that. It would be pretty nifty to have though. :3

    how would that be nifty at all. it's a MYBB CODE not a goddamn username colour
     
    Testing!

    [user]Lightning[/user]
    [user]Lightning[/user]
    [user]Patchisou Yutohru[/user]
    [user]Patchisou Yutohru[/user]
    edit: [user=Lightning]Oops, forgot to include this one![/user]
    Oops, forgot to include this one!

    Alright, we've got [user] tags now, and that should show how they work. I don't know how to really implement the usergroup colours thing though--BB tags aren't that customizable so I'd have to go in and literally make a tag for each usergroup which I'm not going to do. I guess it could be done with replacement variables or something somehow, but I don't think it's necessary enough to really look into. u_u
     
    Testing!

    [user]Lightning[/user]
    [user]Lightning[/user]
    [user]Patchisou Yutohru[/user]
    [user]Patchisou Yutohru[/user]
    edit: [user=Lightning]Oops, forgot to include this one![/user]
    Oops, forgot to include this one!

    Alright, we've got [user] tags now, and that should show how they work. I don't know how to really implement the usergroup colours thing though--BB tags aren't that customizable so I'd have to go in and literally make a tag for each usergroup which I'm not going to do. I guess it could be done with replacement variables or something somehow, but I don't think it's necessary enough to really look into. u_u

    You are perfect~!
    Thank you :3

    No way to make the usergroup colors options on a single tag?
    Ah, but this is good. This is wery, wery good.

    <3

    omg I am so happy.
     
    An option would be to do the tags yourself for username formatting (either by CSS or regular BB code) and just save them in notepad in your User CP if you need to grab them quickly.
     
    That's great! Thanks a lot :DDDD
     
    Back
    Top