Announcement

Collapse
No announcement yet.

Trouble customising PM links

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Trouble customising PM links

    Hello, I'm busy customising the templates but I'm having issues altering the PM Links (e.g. 'Welcome x, you have x messages, x total').

    I want to alter the code (But I don't want to change the phrase.. as it's only for a specific theme where I want the code to change)

    I just want it to say..

    'Welcome, x. (Private Messages: Unread 0)'

    I want to Private Messages text to be a link to the inbox.

    So far I have done this.. but in a nasty way.

    The link 'works', but it's not proper code - 'private.php?%3Ca%20href='

    I don't know what to do, could someone help me please?

    I've attached a screenshot of the problem child.

    Code:
    <div class="left">
    <phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase> (<a href="private.php?<phrase 1="$vbphrase[unread_x_nav_compiled]">$vbphrase[private_messages_nav]</phrase></a>)
    </div>
    And the code. I know it's broken. I just wanted it to 'work'. Now I want it to be... 'proper'. Thanks.
    Attached Files

  • #2
    Bump. I'd like some help on this please.

    Thanks.

    Comment


    • #3
      change
      Code:
      private.php?<phrase
      to
      Code:
      private.php?"><phrase
      Kerry-Anne :)

      Twitter Blog

      www.peterska2.com www.worldnewszone.com www.popularusenetgroups.com www.superclickers.co.uk www.forumsforchrist.com www.browsergameplanet.com

      Comment


      • #4
        Thank you I haven't fixed my problem but it has helped me delve deeper into this issue...

        I noticed I totally don't understand how this code works. >.>

        I've changed my code a bit, and it now reads:

        Code:
        <div class="left">
        <phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase> (<phrase 1="$vbphrase[unread_x_nav_compiled]">$vbphrase[private_messages_nav]</phrase>)
        </div>
        And the link I get is

        private.php[ARG:3 UNDEFINED]

        I'm starting to think this isn't possible just with html >.>

        Could I pick your brains a little more please? It's much appreciated!

        Comment


        • #5
          Bump.

          I really can't figure this out on my own.

          Comment


          • #6
            Bump.

            I'm still not getting anywhere with this by myself.

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X