Announcement

Collapse
No announcement yet.

Include javascript file in create thread page

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Include javascript file in create thread page

    I want to run some Jquery code when we try to create a thread's first post. Where is the step by step instruction or help do add a js file?

    Why always I find useless results in Google about vBulletin questions?

  • #2
    You can add an HTML module and add JavaScript code in there. We cannot offer any support for custom code however.

    Questions about the quality of Google results should be addressed to Google, we have no influence over what Google chooses to show.
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.4.2 Demo - FEATURING "ROUTE BY NODE"!
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      I would suggest a template hook over a module. The editor has several template hooks that may suit your purpose. Or you can simply add it to one of the footer template hooks on your page. However, you request is really vague so suggesting a number of steps to implement it is difficult.

      To use template hooks, you would put your custom code in a new custom template (Add New Template in the Options Dropdown in the Style Manager). Then assign that template to a hook under Hooks & Products -> Manage Template Hooks. Your new template will be included at the hook location selected.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud customization and demonstration site.
      vBulletin 5 Documentation - Updated every Friday. Report issues here.
      vBulletin 5 API - Full / Mobile
      I am not currently available for vB Messenger Chats.

      Comment


      • #4
        Can you please help me with it's documentation? I'll study and do. I need to inject a javascript file which will do something.

        Comment


        • #5
          What does the jQuery code you're inserting do?

          AutoLinker-vB5+vBCloud | NavMenu Dropdown-vB5+vBCloud | TimedSticky | Video Attachments Player | Blur Replies for Guests | Drag/Drop Upload | Topic Starter Ribbon | Topic AJAX Auto-Update

          Comment

          Working...
          X