Announcement

Collapse
No announcement yet.

I need help with vbulletin 5

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

    I need help with vbulletin 5

    Hi.. I need help in plugin or a product that replace a certain sentence with another inside the post, for example, replacing <div class=test> to become "TESTDIV" after the post appears
    Thank you

    #2
    You posted this code on our Facebook Page Messenger.

    Code:
    {vb:action parsedText, bbcode, parseNodeText, {vb:var conversation.nodeid}, 0, {vb:var page.contentpagenum}}
    {vb:raw parsedtext}
    You said parsedText doesn't contain the HTML tag you are looking for. You are using parsedtext instead of parsedText. Can you try using capital T?
    Helpful? Donate. Thanks!
    Fast VPS Host for vBulletin: A2 Hosting & IONOS

    Comment


      #3
      I know, I know. This code is a default code in threadview header.. I had a problem explaining, but in short. All I need is what I wrote in the first post. And thank you very much

      Comment


        #4
        There are a couple ways to replace content in a post. You can do it on client-side (using JS) or server-side (using PHP). And using PHP, there are also a number of ways to go about it using PHP hooks, API extensions, template hooks, custom controller, replacement variables.. If you could describe in more details of exactly what you want to do or replace, then I will be able to offer a more useful or appropriate and concrete solution.
        Helpful? Donate. Thanks!
        Fast VPS Host for vBulletin: A2 Hosting & IONOS

        Comment


          #5
          Thanks.. Yes, I want you to be through php.. Hooks php hook

          Comment


            #6
            There's no PHP hook when a post is rendered, only for when the entire page is rendered. Doing it there would not be good for performance.

            Can you describe in more specific details what you want to accomplish? I know you want to replace some content in a post. What is that specific content?
            Helpful? Donate. Thanks!
            Fast VPS Host for vBulletin: A2 Hosting & IONOS

            Comment

            Latest Topics

            Collapse

            Working...
            X