Results 1 to 7 of 7

How to pull username from database?

This is a discussion on How to pull username from database? within the General Discussion forums, part of the vBulletin SEO Discussion category; We would like to link to user profiles from an external page. We have their userids, how can we pull ...

  1. #1
    Junior Member
    Real Name
    Stanley
    Join Date
    Jun 2008
    Posts
    8
    Liked
    0 times

    How to pull username from database?

    We would like to link to user profiles from an external page.

    We have their userids, how can we pull their URL-friendly usernames?

    I'm asking because the username field in the user table doesn't match the URL-friendly username used by vbseo.

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Hello ,

    I don't see a vBSEO license asigned to your username. Please supply me your payment transaction id and forum adress via PM
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Junior Member
    Real Name
    Stanley
    Join Date
    Jun 2008
    Posts
    8
    Liked
    0 times
    Does anyone know if this is possible? This for a separate page hosted on a subdomain, so it's not integrated with vbulletin.

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Stanley, we cannot offer support to you until you verify your license.

  5. #5
    Junior Member
    Real Name
    Stanley
    Join Date
    Jun 2008
    Posts
    8
    Liked
    0 times
    Brian, mind pointing me in the right direction?

  6. #6
    Senior Member Shadab's Avatar
    Real Name
    Shadab
    Join Date
    Oct 2007
    Location
    Bhopal
    Posts
    821
    Liked
    0 times
    Blog Entries
    12
    Would the $username be available to the script ? or just the $userid.

    Take a look at this thread: vBSEO Functions for Extensibility

    If you have both the variables available, use the 5th function: vbseo_member_url_row()
    otherwise, you can try passing /member.php?u=userid to vbseo_any_url(). (not tested this one, though)

  7. #7
    Junior Member
    Real Name
    Stanley
    Join Date
    Jun 2008
    Posts
    8
    Liked
    0 times
    Thanks Shadab, that worked.

Similar Threads

  1. Replies: 4
    Last Post: 11-21-2005, 10:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •