1. If you have a site and looking for specific help, please submit a support ticket through Site Owner Dashboard instead of creating a thread in the support forum
    Dismiss Notice

SMF 2.x [SOLVED]Tapatalk app shows hidden content when quoting

Discussion in 'SMF Discussion' started by insito, Feb 9, 2017.

  1. insito

    insito New Member

    Joined:
    Sep 28, 2016
    Messages:
    2
    Likes Received:
    0
    Hi everyone!
    First, sorry for my bad english ;)

    I use last versions of SMF and Tapatalk plugin and Hide Tag Special 3.0

    We have hidden content in posts who is only vissible for a member group. The problem with Tapatalk appears when you quote a post with hidden content. In that moment everyone can see the hidden content in the quote text :(

    I've tried this to delete all hidden content, but it continues to be seen when you quote a post:

    Code:
            
    Functions of mobiquo_common.php
    
    In mobiquo_parse_bbc()  
    
    $message = preg_replace('/\[hide\](.*?)\[\/hide\]/','',$message);
    $message = preg_replace('/\[spoiler\](.*?)\[\/spoiler\]/','',$message);
    
    And in basic_clean()
    
    $str = preg_replace('/\[hide\](.*?)\[\/hide\]/','',$str);
    $str = preg_replace('/\[spoiler\](.*?)\[\/spoiler\]/','',$str);
    
    Could anyone help me? Thanks in advance.
     
  2. insito

    insito New Member

    Joined:
    Sep 28, 2016
    Messages:
    2
    Likes Received:
    0
    Solved writing that code in function get_quote_post_func() in xmlrpcresp.php