Announcement

Collapse
No announcement yet.

Newthread title and newreply remove special characters around spaces

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Newthread title and newreply remove special characters around spaces

    I happen to know how I could do that, I think I should do it with 2 plugins, but unfortunately I'm not a programmer. Newthread title and Newreply remove special characters against spaces

    #2
    Nobody has an idea how I could do that

    Comment


      #3
      Can you please provide a sample thread title and the expected output?
      Helpful? Donate. Thanks!
      Buy me a coffeePayPal QR Code
      Fast VPS Host for vBulletin:
      A2 Hosting & IONOS

      Comment


        #4
        it should be like this

        from
        Code:
        Hello.world.I.am.new
        in
        Code:
        Hello world I am new

        it should be the case that dots are converted into spaces

        Comment


          #5
          Originally posted by glennrocksvb View Post
          Can you please provide a sample thread title and the expected output?
          Can you help? I posted the examples above

          Comment


            #6
            I'll have to check how to do it for vB4. I'm more familiar with vB5/6 mods. But if you replaced all the dots with spaces in a reply, then all the periods in the sentences would become spaces and you wouldn't know the end of the sentences.
            Helpful? Donate. Thanks!
            Buy me a coffeePayPal QR Code
            Fast VPS Host for vBulletin:
            A2 Hosting & IONOS

            Comment


              #7
              Originally posted by glennrocksvb View Post
              I'll have to check how to do it for vB4. I'm more familiar with vB5/6 mods. But if you replaced all the dots with spaces in a reply, then all the periods in the sentences would become spaces and you wouldn't know the end of the sentences.
              Thanks for your answer, it's all about the title and not about the content of a post

              For New Threads newthread
              PHP Code:
              <?php
              global $post;

              if (
              $post)
              {
                  
              // Remove characters in the thread title
                  
              $post['title'] = preg_replace('/[,._]+/'' '$post['title']);
              }
              ?>
              I found this here but it doesn't work for me, unfortunately it doesn't remove the characters in the title ;(

              Comment

              Users Viewing This Page

              Collapse

              There is 1 user viewing this forum topic.

              • Guest Guest

              Latest Posts

              Collapse

              Working...
              X
              Searching...Please wait.
              An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

              Please push the back button and reload the previous window.'
              An unexpected error was returned: 'Your submission could not be processed because the token has expired.

              Please push the back button and reload the previous window.'
              An internal error has occurred and the module cannot be displayed.
              There are no results that meet this criteria.
              Search Result for "|||"