Page 2 of 2 FirstFirst 1 2
Results 16 to 24 of 24

Looking into Speed SEO...

This is a discussion on Looking into Speed SEO... within the General Discussion forums, part of the vBulletin SEO Discussion category; In vBoptions, I think I have . www.domain.com as cookie domain, instead of .domain.com, so cookies are not set to ...

  1. #16
    Senior Member
    Join Date
    Oct 2005
    Location
    Phuket, Thailand
    Posts
    194
    Liked
    0 times
    In vBoptions, I think I have .www.domain.com as cookie domain, instead of .domain.com, so cookies are not set to my subdomains. You also need to clear cookie cache in browser to verify its working correctly.

  2. #17
    Junior Member
    Join Date
    Nov 2005
    Posts
    23
    Liked
    0 times
    I thought vb became finicky about loading avatars, attachments and stuff to a subdomain?

    I'd like to recreate your success if you can outline some of the steps in detail )

  3. #18
    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
    Only if you use replacement varaiables. I hard-edited my code to only change DISPLAY paths. put (upload) paths for avatars, etc are still real main .com paths.

    ie,

    from my notes:

    Code:
    Avatars moved.
    class_postbit.php
    line 635
    //$this->post['avatarurl'] = $this->registry->options['avatarurl'] . '/avatar' . $this->post['userid'] . '_' . $this->post['avatarrevision'] . '.gif';
    
    // org code above.  moving to subdomain:
    $this->post['avatarurl'] = 'http://avatars.MYDOMAIN.com' . '/avatar' . $this->post['userid'] . '_' . $this->post['avatarrevision'] . '.gif';
    I hard edited the class file to include the path in postbit to my subdomain for them

  4. #19
    Senior Member
    Join Date
    Oct 2005
    Location
    Phuket, Thailand
    Posts
    194
    Liked
    0 times
    As I dont use CDN, the sub-domains points to the same files as the original domain. So very easy, most paths were changed at StyleVar paths, only changed a few templates for javascript files.

  5. #20
    Senior Member woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    788
    Liked
    5 times
    Quote Originally Posted by Brian Cummiskey View Post
    Only if you use replacement varaiables. I hard-edited my code to only change DISPLAY paths. put (upload) paths for avatars, etc are still real main .com paths.

    ie,

    from my notes:

    Code:
    Avatars moved.
    class_postbit.php
    line 635
    //$this->post['avatarurl'] = $this->registry->options['avatarurl'] . '/avatar' . $this->post['userid'] . '_' . $this->post['avatarrevision'] . '.gif';
    
    // org code above.  moving to subdomain:
    $this->post['avatarurl'] = 'http://avatars.MYDOMAIN.com' . '/avatar' . $this->post['userid'] . '_' . $this->post['avatarrevision'] . '.gif';
    I hard edited the class file to include the path in postbit to my subdomain for them
    I just added a plugin to do it on mine:
    postbit_display_complete
    Code:
     $post['avatarurl'] = "http://cdn.domain.com/" . $post['avatarurl'];
    2011 Average: 1 post every 5 seconds... 24/7

  6. #21
    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
    Yup, that works too. But, the plugin actually adds load to process. It's more efficient to hard code it in, althought for upgrades its a pain. (but, i'm not upgrading )

  7. #22
    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
    Quote Originally Posted by Brian Cummiskey View Post
    Yup, that works too. But, the plugin actually adds load to process. It's more efficient to hard code it in, althought for upgrades its a pain. (but, i'm not upgrading )
    Agreed and additionally if you want to use avatars globally in vb , Brian's method will work better. And as most of us will going to stick with vB 3.8 , editing files should not be a problem from now on imo
    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

  8. #23
    Senior Member
    Join Date
    Oct 2005
    Location
    Phuket, Thailand
    Posts
    194
    Liked
    0 times
    As for avatars, its only one template edit to hard code it. Cant remember the name now, threadbit, postbit or whatever it was.

    I am just curious why some of you guys still running vb3 instead of vb4? I delayed my upgrade 7 months myself, but the current version is not bad. vb4 also look a lot more modern IMHO.

  9. #24
    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
    class_postbit is where the edit is located in vb3 source code. It is hard-coded in the template and can't be changed there on vb3.

    I haven't upgraded because going to vb4 is a huge effort of time i don't have.
    the skin, finiding my addons if they even exists, etc etc, all the end up with the exact same thing my members have now that works fine. It's not worth the effort. If i had a use for a cms, that may be a different scenario. Right now, I'm not sold on it, and it's a ton of work to even bother with it, so i'm not bothering with it

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. My site's speed?
    By Arkidas in forum Off-Topic & Chit Chat
    Replies: 2
    Last Post: 03-07-2009, 08:51 AM
  2. Site Speed
    By Arkidas in forum Off-Topic & Chit Chat
    Replies: 16
    Last Post: 01-26-2009, 07:05 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
  •