Jump to content

(DP34) Tag [you]


DawPi

Recommended Posts

File Name: (DP34) Tag [you]

File Submitter: DawPi

File Submitted: 05 Jul 2009

File Category: Performance

Add tag [you] to your forum.
Adds a new bbcode to your forums [you] becomes the name of the person viewing the topic/profile containing [you].

Example:
Hello , [you] would become Hello , yourusername.

here to download this file

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

Sure.

Open file: admin/sources/classes/bbcode/custom/dp30youbbcode.php
Find:

$txt = str_replace( "[you]", ( ( $this->settings['auth_allow_dnames'] ) ? $this->memberData['members_display_name'] : $this->memberData['name'] ) , $txt );

Change to:

$txt = str_replace( "[you]", IPSLib::makeNameFormatted( ( ( $this->settings['auth_allow_dnames'] ) ? $this->memberData['members_display_name'] : $this->memberData['name'] ) , $this->memberData['member_group_id'] ) , $txt );


Save and upload.

Link to comment
Share on other sites

  • 11 months later...
  • 1 month later...
  • 2 weeks later...

I've been looking for a tag like this for IPB. I would also like to find a [random] tag. Where a random name is pulled from the userlist and added into the space. They have one for one of the vB boards I moderate, but I'd like one for my board which of course runs IPB. :)

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

Hi DawPi. I like the idea of this tag, but I'm having a problem. When I tested it, the two times I did it, it only shows the name of the person making the post, no matter who looks at it. I made a post with one account, and looked at the post from 3 different accounts, and it still says the name of the original account that made the post. Any help would be greatly appreciated. Thanks.

Link to comment
Share on other sites


Hi DawPi. I like the idea of this tag, but I'm having a problem. When I tested it, the two times I did it, it only shows the name of the person making the post, no matter who looks at it. I made a post with one account, and looked at the post from 3 different accounts, and it still says the name of the original account that made the post. Any help would be greatly appreciated. Thanks.



I also have the same problem :(
Link to comment
Share on other sites

  • 2 weeks later...

Hi DawPi. I like the idea of this tag, but I'm having a problem. When I tested it, the two times I did it, it only shows the name of the person making the post, no matter who looks at it. I made a post with one account, and looked at the post from 3 different accounts, and it still says the name of the original account that made the post. Any help would be greatly appreciated. Thanks.




Same problem here as well
Link to comment
Share on other sites


I don't know what I'm doing wrong, but I type in something like [you] is testing the youtag. And it shows up exactly like that. [you] in brackets, no name.



http://community.invisionpower.com/topic/295299-download-dp31-tag-you/page__view__findpost__p__2079549
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...