Results 1 to 13 of 13

Need Help: How to exclude specific html tags from beeing cleaned up

This is a discussion on Need Help: How to exclude specific html tags from beeing cleaned up within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi I just bought a license for a text-to-speach software to read my forum posts to the user. The software ...

  1. #1
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times

    Smile Need Help: How to exclude specific html tags from beeing cleaned up

    Hi

    I just bought a license for a text-to-speach software to read my forum posts to the user.

    The software uses the following html tags to mark start and end of the text that should be read to the user:

    <!-- RSPEAK_START -->

    <!-- RSPEAK_STOP -->

    I need this tags to be excluded when Cleanup HTML code is enabled.

    I know that not many forum owners use this due to the expensive nature of the licenses
    however I found at least one request for it in the forum so there is at least some demand.

    I don't want to disable the cleanup html option.

    I am no programmer unfortunately so I am lost here.

    Any help would be much appreciated.

    StarBuG

  2. #2
    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
    This is currently not supported. You will need to disable cleanup for that to function at this time.

  3. #3
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times
    I know that, you told me that in the support ticket.

    That is why I am asking the community for help here.
    Or is that not allowed?

    If so I really need to rethink my opinion about vBSEO

  4. #4
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hello StarBuG,

    I offer an apologize for the Brian's misunderstanding post. Just imagine that he sent his reply to everyone attention, not just for you. If there's a workaround for your request, just be sure that we will let you know.

    Please feel free to ask for any help you may need, provided it is being formulated through our designated troubleshooting forums. On the same way, if you have further feedback, suggestions or claims regarding to our customer attention, please don't hesitate in contacting us with your thoughts.

    Best regards.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  5. #5
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times
    If troubleshooting is the right forum it is fine with me if you move the thread.

    Wherever I can get help.

  6. #6
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Your thread is in the right place.

    With 'troubleshooting' I mean that any one here are free to post their help requests in any part of the forum designed to it, it means that we monitor just forums looking for support request, not VM, social groups discussions, blog entries, etc.

    Is there anything else I may help you with?.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  7. #7
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times
    Besides my urgent need for help with this problem...

    no thank you. But thanks for asking

    StarBuG

  8. #8
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hope you can get an appropiate answer soon.

    Best regards.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  9. #9
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Replied to your ticket.

  10. #10
    Senior Member StarBuG's Avatar
    Real Name
    StarBuG
    Join Date
    Jul 2007
    Posts
    480
    Liked
    15 times
    Works perfect, thank you very much!

    Now I don't need to rethink my opinion on vBSEO, you guys are still the best

  11. #11
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Great, I'm glad that worked
    For the reference, if someone will need the same functionality, functions_vbseo.php file should be modified:
    1. find:
    PHP Code:
    $newtext preg_replace(
    array( 
    '#(<pre[^>]*?>)(.*?)(</pre>)#sie'
    add above:
    PHP Code:
    preg_match_all('#(<!-- YOURTAG_START -->.*?<!-- YOURTAG_STOP -->)#is'$newtext$exclmPREG_SET_ORDER);
    foreach(
    $exclm as $xi=>$xc)$newtext str_replace($xc[1], '[clean_excl'.$xi.']'$newtext); 
    2. find:
    PHP Code:
    "\n"
    ),
    $newtext); 
    add below:
    PHP Code:
    foreach($exclm as $xi=>$xc)$newtext str_replace('[clean_excl'.$xi.']'$xc[1], $newtext); 

  12. #12
    Senior Member
    Real Name
    Admin
    Join Date
    Nov 2006
    Posts
    247
    Liked
    0 times
    Is there a new instruction (are the above passages now changed?)
    $newtext = preg_replace(
    array( '#(<pre[^>]*?>)(.*?)(</pre>)#eis',
    '#>\s+<#s',
    '#(<s(?:cript|tyle)[^>]*?>[^<]*?<!)--#si',
    '#<!--(\s*(\[|\/?VBS|google_ad))#s',
    '#<!--.*?-->#s',
    '#<!js#',
    '#\@vbseo_r_n\@#',
    ),

  13. #13
    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
    I beleive this code was for 3.5.2, so it should be very similar for 3.6 if not the same.

Similar Threads

  1. Font Tags Found in HTML
    By nkblaze in forum Off-Topic & Chit Chat
    Replies: 2
    Last Post: 06-04-2009, 01:07 AM
  2. More trouble with HTML tags
    By mihai11 in forum Bug Reporting
    Replies: 1
    Last Post: 12-05-2008, 05:53 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
  •