Results 1 to 4 of 4

More so a question about skin variables.

This is a discussion on More so a question about skin variables. within the Template Modifications forums, part of the vBulletin SEO Discussion category; How would I go about changing URL's such as $avatarurl? I'm running into a problem with this with vBadvanced (yes, ...

  1. #1
    Senior Member
    Real Name
    .
    Join Date
    Jul 2006
    Posts
    386
    Liked
    3 times
    Blog Entries
    1

    More so a question about skin variables.

    How would I go about changing URL's such as $avatarurl? I'm running into a problem with this with vBadvanced (yes, I asked them but they haven't helped yet...same with vb.org) and $avatarurl comes up for <img src....I know there is a problem with it b/c the image doesn't show up for the the avatar on my vBa and when I check the location of the image, it shows up as this:

    xxxxx.com/forums/forums/link_to_avatar.gif

    I'm sure this can take a second to answer, if I know where to edit it I can take it from there.

    I know this post probably doesn't belong here but you guys have helped me out with my site quite a bit and you guys seem to answer quickly, so thank you.

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello Justin,

    you can customize your avatar URL format in vbseocp. You can also disable rewrites for avatar URLs.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    Senior Member
    Real Name
    .
    Join Date
    Jul 2006
    Posts
    386
    Liked
    3 times
    Blog Entries
    1
    I tried that and it didn't work :(

    Is there somewhere to edit $avatarurl so that I can have it so that it points in the right directory. Like I stated above, its going /forums/forums/...etc. I do not have a /forums/forums/ so when I'm on the portal, I get an X b/c it can't load the image...since it isn't there. I've asked everywhere and no one's been able to help me with this. :'(

    EDIT: Ok, I figured it out after countless hours a researching this problem. I wish vBa would implement this instead of everyone having to figure out what the problem is.

    Anyways, download "welcomeblock.php" from your server (in the modules folder). Open it in your favorite editor (notepad should be fine):

    find
    Code:
    $avatarurl = $vbulletin->options['bburl'] . '/' . $avatarurl[0];
    replace with
    Code:
    $avatarurl = $avatarurl[0];
    Thanks Oleg...you've been the only one that has replied to any of my threads. I appreciate it.
    Last edited by jbartle; 12-19-2006 at 12:24 AM.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Great, thank you for the follow-up!
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. vbseo problem with replacement variables
    By lapinkulta in forum Troubleshooting
    Replies: 11
    Last Post: 10-23-2006, 02:22 PM
  2. SEO enabled vbulletin skin - no bandwith hungry.
    By Future in forum General Discussion
    Replies: 7
    Last Post: 04-07-2006, 01:51 PM
  3. Quick Question
    By Amos in forum General Discussion
    Replies: 3
    Last Post: 10-11-2005, 10:49 PM

Posting Permissions

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