Announcement

Collapse
No announcement yet.

Youtube embed in post with URL link beneath the video

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

  • [Forum] Youtube embed in post with URL link beneath the video

    We have 4.2.3

    Does anyone know if it's possible to have a custom bbcode that will embed a Youtube video, and also show the URL as a link beneath the embed.

    If so please what would I need to put in the replacement filed for the BBcode

    Many thanks


  • #2
    This would require custom code to achieve.
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.5.4 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      Yes, I realise that. It's the custom code I'm asking about.

      Comment


      • #4
        We don't provide assistance with custom code as the support team are not coders. Your best bet is to engage a third party coder. You can try asking on www.vbulletin.org.
        MARK.B | vBULLETIN SUPPORT

        TalkNewsUK - My vBulletin 5.5.4 Demo
        AdminAmmo - My Cloud Demo

        Comment


        • #5
          Ok, but there is a section in vbulletin Admin called custom bbcode, I don't expecct vBulletin to help, I was asking here as maybe some other users know how to configure this quite basic aspect of the software. (I wasn't aware that v4 was still supported so I'm not expecting suppot from the developers anyway)

          Comment


          • #6
            This would be tough to recreate in a Custom BBCode. For some unknown reason, you're limited to 200 characters in the replacement HTML. This would probably take more than that since you have to use an iFrame and additional HTML. You might look into editing the existing YouTube embed replacement in the file /includes/xml/bbcode_video_vbulletin.xml. Once you have edited this, you would then have to put your forums in Debug Mode and go to the AdminCP and choose "Rebuild" and then select "Rebuild Video BBCodes".
            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


            • #7
              P.S. The Link content type in vBulletin 5 does something similar to what you're asking already.
               
              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


              • #8
                Originally posted by Wayne Luke View Post
                This would be tough to recreate in a Custom BBCode. For some unknown reason, you're limited to 200 characters in the replacement HTML. This would probably take more than that since you have to use an iFrame and additional HTML. You might look into editing the existing YouTube embed replacement in the file /includes/xml/bbcode_video_vbulletin.xml. Once you have edited this, you would then have to put your forums in Debug Mode and go to the AdminCP and choose "Rebuild" and then select "Rebuild Video BBCodes".
                I don't see a Rebuild Video BBCodes option in vB 4.2.5. Nor do I see Debug Mode.

                How do you enter Debug mode and if you do that do different maintenance options appear that weren't there in regular mode?

                Updated:

                Found the answer about Debug mode via Google.

                https://www.vbulletin.com/docs/html?...rsion=40205500

                Debug Mode

                When developing for vBulletin or troubleshooting issues, you often have to enter Debug Mode. Debug Mode provides you with more information about how vBulletin runs some examples include: page generation times, templates used on a page, the memory used on a page and how many queries it took to generate the page. Debug Mode should not be used on a live production site unless absolutely necessary. It can expose information that could weaken security on your site. Note:
                The config file is located in your includes directory.

                Entering Debug Mode
                To do this, you need to edit your config.php file and add the following line: $config['Misc']['debug'] = true;

                This line of code can be anywhere in the file after the <?php and outside of a comment. Once done, save the file and overwrite the copy on your server.

                Turning off Debug Mode
                Edit your config.php file and remove the above line of code or comment it out by placing two slashes ('//') in front of it. Save the file and overwrite the copy stored on your server.
                Psychlinks Mental Health Support Forum
                Local Search Forum

                Comment

                Related Topics

                Collapse

                Working...
                X