Page 13 of 17 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 LastLast
Results 181 to 195 of 242

vBSEO Functions for Extensibility

This is a discussion on vBSEO Functions for Extensibility within the General Discussion forums, part of the vBSEO SEO Plugin category; Hello, since javascript is parsed on client-side, it's not processed by vBSEO . You should rewrite URLs on server side ...

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

    since javascript is parsed on client-side, it's not processed by vBSEO. You should rewrite URLs on server side instead.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  2. #182
    Member
    Real Name
    nayf
    Join Date
    May 2007
    Posts
    96
    Liked
    1 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Hello,

    since javascript is parsed on client-side, it's not processed by vBSEO. You should rewrite URLs on server side instead.
    the code in template not in the js file
    if there is away to make it show vbseo url plz tell me

    thank u

  3. #183
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    It's not necessary is a js file, but that's a javascript code that is included on-page (i.e. processed by browser and not your server).
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  4. #184
    Junior Member
    Real Name
    Walter
    Join Date
    Dec 2005
    Location
    Argentine
    Posts
    8
    Liked
    0 times
    I'm using the function vbseo_filter_text() to build some url's in a customs scripts.

    The problem is that this function is not replacing non-English characters as i set in the vbseo control panel (where is set to replace non-English characters).

    usage:

    $urltitle = vbseo_filter_text(bebés);

    example result:

    $urltitle = beba-s

    desired:

    $urltitle = bebes

    Any help?

  5. #185
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    Are you replacing custom characters already, or is vbseo set to remove non-english characters?
    The Forum Hosting - Forum Hosting from the Forum Experts

  6. #186
    Junior Member
    Real Name
    Walter
    Join Date
    Dec 2005
    Location
    Argentine
    Posts
    8
    Liked
    0 times
    vbseo is set to replace non-English characters, but the problem is that the string was not utf-8 ...

    The really string was:
    $urltitle = vbseo_filter_text(Bebés);

    instead of:

    $urltitle = vbseo_filter_text(bebés);

    So i use the function utf8_decode (php native) to decode characters before process it with vbseo:

    PHP Code:
    $titledecode utf8_decode(BebĂ©s);
    $urltitle vbseo_filter_text($titledecode); 
    Hope it help other people.

  7. #187
    Senior Member
    Real Name
    Nick Le Mouton
    Join Date
    Nov 2005
    Location
    New Zealand
    Posts
    422
    Liked
    14 times
    What's the function that rewrites the templates and inserts absolute URLs in for links, images, css, js etc?

  8. #188
    Member
    Real Name
    Tre
    Join Date
    Jul 2008
    Posts
    60
    Liked
    0 times
    Hey!

    When working with commerce, would it be possible to get the name of the item in the URL?

    http://www.yourwebsite.com/commerce.php?itemid=141

    Thank you for your time. It is appreciated.

  9. #189
    Senior Member
    Real Name
    Brandon
    Join Date
    Oct 2008
    Posts
    124
    Liked
    0 times
    Hello guys,

    Is there a function to replace the title like there is for the meta tags?

  10. #190
    ant
    ant is offline
    Junior Member
    Real Name
    anthony
    Join Date
    Nov 2008
    Posts
    7
    Liked
    0 times
    Sorry, two questions:

    1. I need to get a threadid from a vBSEO URL, if this still valid:

    Code:
    vbseo_check_url('VBSEO_URL_THREAD', $threadlink);
    2. In a modification working in the admincp, what files do I need to include to do the above, and is there a way to determine if vBSEO is installed, a vB options, for example?

    Thanks!

  11. #191
    Junior Member
    Real Name
    Jason Lam
    Join Date
    Sep 2007
    Posts
    20
    Liked
    0 times
    Do these commands still work in vbseo 3.3.2?

  12. #192
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,782
    Liked
    648 times
    Blog Entries
    2
    Yes.
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  13. #193
    Junior Member
    Real Name
    Jason Lam
    Join Date
    Sep 2007
    Posts
    20
    Liked
    0 times
    How would I get the link for lastpost by "/showthread.php?t={threadid}&goto=newpost"

  14. #194
    Member cellarius's Avatar
    Real Name
    Sven Keller
    Join Date
    Oct 2006
    Location
    Augsburg, Germany
    Posts
    32
    Liked
    0 times
    Sorry if this has been brought up before, but the search is rather useless - it does not show posts but only threads as result, and so I know that the keyword session has been mentioned in this thread, but have no idea where.

    I was just testing the functions from post #1, especially vbseo_member_url_row($userid, $username). If I use this - how do I insert the sessionhash for users who don't accept cookies? I tested, and although I get it to work alright, no sessionhash is passed in urls that are crated using this. If I use vbseo_any_url($url) I can take care of this myself, but should there be no way to insert the session manually and the function does not do it automatically (wich it could and should do), the function is pretty useless. Do I miss something?

    Using 3.3.2 on vB 3.8.4 PL2.

    Addendum:

    If I try to use vbseo_any_url("member.php?" . $vbulletin->session->vars['sessionurl'] . "u=" . $array['userid']) it gives me an incorrect result:
    http://www.roma-antiqua.de/forum/members/1_a/ instead of 1_cellarius at the end. The same result if I leave out the session.

  15. #195
    Junior Member
    Real Name
    Dave
    Join Date
    May 2008
    Posts
    14
    Liked
    0 times
    Quote Originally Posted by cellarius View Post
    Sorry if this has been brought up before, but the search is rather useless - it does not show posts but only threads as result, and so I know that the keyword session has been mentioned in this thread, but have no idea where.

    I was just testing the functions from post #1, especially vbseo_member_url_row($userid, $username). If I use this - how do I insert the sessionhash for users who don't accept cookies? I tested, and although I get it to work alright, no sessionhash is passed in urls that are crated using this. If I use vbseo_any_url($url) I can take care of this myself, but should there be no way to insert the session manually and the function does not do it automatically (wich it could and should do), the function is pretty useless. Do I miss something?

    Using 3.3.2 on vB 3.8.4 PL2.

    Addendum:

    If I try to use vbseo_any_url("member.php?" . $vbulletin->session->vars['sessionurl'] . "u=" . $array['userid']) it gives me an incorrect result:
    Profil ansehen: cellarius instead of 1_cellarius at the end. The same result if I leave out the session.
    Try this. We just wore out the search engine to get a clue. YMMV
    PHP Code:
            include_once 'includes/functions_vbseo.php';
            
    vbseo_startup();
            
    // vBSEO URL Call here. 

Page 13 of 17 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 LastLast

Similar Threads

  1. vBSEO 2.4.0 Released - Includes Google AdSense Targeting Feature!
    By Juan Muriente in forum vBSEO Announcements
    Replies: 74
    Last Post: 05-20-2006, 10:29 PM
  2. vBSEO 2.0 RC7 Released
    By Juan Muriente in forum vBSEO Announcements
    Replies: 17
    Last Post: 09-09-2005, 12:00 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
  •