👀 You are watching:
Jump to content
👉 Click here to explore Remote Jobs, Work From Home & Global News – USA 🇺🇸 | UK 🇬🇧 | Canada 🇨🇦 | Pakistan 🇵🇰 ×
🚫 Guest Access Notice ×

Recommended Posts

Posted

Invision Power Board had already implemented the code into their system but somewhere along the lines the code got broken and before long you needed a plugin to fix it.

This fix however is really simple and doesnt require any plugins, it fixes the userlink formatting pretty much all over the website.

Step 1:

Go to the theme you want to implement the fix to, and select the HTML Template "userLink"

its found under core > front > global

Step 2:

Replace the entire code in "userLink" with the following below

{{if $member->member_id AND \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members' ) ) }}<a href='{{if $warningRef}}{$member->url()->setQueryString( 'wr', $warningRef )}{{else}}{$member->url()}{{endif}}' data-ipsHover data-ipsHover-target='{$member->url()->setQueryString( array( 'do' => 'hovercard', 'wr' => $warningRef, 'referrer' => urlencode( \IPS\Request::i()->url() ) ) )}' title="{lang="view_user_profile" sprintf="$member->name"}" class="ipsType_break">{$member->group['prefix']|raw}{$member->name}{$member->group['suffix']|raw}</a>{{endif}}

 

and your done just reload your forum and you will see the difference

  • 6 months later...
Posted

Tq bro its help full and how set text in bold and italic bro 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Forum Statistics

    2.6k
    Total Topics
    9.8k
    Total Posts


×
×
  • Create New...