Announcement

Collapse
No announcement yet.

Put username in the title page

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

  • delphi
    commented on 's reply
    I think I found on your forum here https://vbmods.rocks/forum/vbulletin...r-profile-page

  • delphi
    replied
    Originally posted by Glenn Vergara View Post
    The username is in page.username when in User Profile page. But you have to put the code only if the page is User Profile, otherwise the username will be on every page.
    Could you show me how to do this?

    What did you put in the page.username? or header page?

    Many thanks

    Leave a comment:


  • Glenn Vergara
    commented on 's reply
    I have a solution for it on my site.

  • Glenn Vergara
    replied
    The username is in page.username when in User Profile page. But you have to put the code only if the page is User Profile, otherwise the username will be on every page.

    Leave a comment:


  • delphi
    replied
    Wayne Luke you are correct. It show guest for all user profile. I thought this could be an easy one.

    Leave a comment:


  • Wayne Luke
    replied
    If it worked, user.username would show the browsing user's name. In the case of a search engine, the username would be "Guest" for all user profiles.

    The suggestion is a good one. You should create a JIRA to have this added. http://tracker.vbulletin.com/secure/...91&issuetype=4

    Leave a comment:


  • delphi
    replied
    Originally posted by delicjous View Post
    The link you post as an example is vB-default profile-url... Like yours here at vB: https://www.vbulletin.com/forum/member/36899-delphi
    So it should look like you want.

    Did you change anything in template? Which vB-version do you use?
    I am using VB 5.3.1

    This is a brand new installed VB. Nothing changed to template yet. I added this code {vb:raw user.username} to the header template file right after <title> just to test it out but it shows nothing

    Leave a comment:


  • delicjous
    replied
    The link you post as an example is vB-default profile-url... Like yours here at vB: https://www.vbulletin.com/forum/member/36899-delphi
    So it should look like you want.

    Did you change anything in template? Which vB-version do you use?

    Leave a comment:


  • delphi
    started a topic Put username in the title page

    Put username in the title page

    Since I am running VB. I got a lot of title duplication for "User Profile" pages. I am thinking adding username to the title of the page so that it won't be duplicated anymore.

    For example: https://myforum.net/member/10-jerry

    Then in the title page, it will be like this <title>Jerry</title>

    Does anyone knows how to do this?

    I tried add this {vb:raw user.username} to header title file at <title> but it is not working

Related Topics

Collapse

Working...
X