The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with BBCode
BB Code Tag Name: img
Replacement Code <img src="{param}" alt="{option}" border="0" /> Example http://www.image-source.com/image.jpg] Description Alt image tag Use {option} Yes New Post and click on the button and get the following Click on the image button and place between the tags Here is what I get ^[/IMG] As you can see it shows the [IMG] before the http and at the end, so the question I have is what can I do to get around this or is there a better way to do this I run a photography forum and found that this would benefit SEO for finding members inline images. So I'm asking for help from someone to look at this code and see where I went wrong here with this bbcode, and tell me what I need to do to make this work. Thanking you. Dennis |
#2
|
||||
|
||||
Are you even allowed to use one of the built-in tags like "IMG"?
|
#3
|
|||
|
|||
Videx first of all thanks f or getting back to me on this.
When you say the built-in tags are you talking about the image one? Or is this something else that you are talking about, sorry this part is all new to me even after all these years sorry. |
#4
|
||||
|
||||
I don't really know much about it myself. Have you checked out the manual: https://www.vbulletin.com/docs/html/ ? And of course try a title search at vb.com.
|
#5
|
|||
|
|||
Quote:
But will continue to search for this and again thanks. |
#6
|
|||
|
|||
What is it you're trying to do exactly? By default, there's already an image button that lets you insert an image url, are you trying to make it work differently?
|
#7
|
|||
|
|||
Quote:
What I'm trying to do here is add a bbcode that will allow an alt tag for better SEO search for the images posted by my members. From what I could find was to make a bbcode with the Alt tag and found the information for this in the first post. What I'm after here is to have an Alt Tag to the image url that was posted. Click on the image button and place between the tags [IMG=Hello World]^[/IMG] Here is what I get [IMG=Hello World]^[IMG]httx://www.image-source.com/image.jpg][/IMG]^[/IMG] If I remove the ^[IMG] from the second line I can preview the image and see the Alt tag text Hello World. But what I'm looking for is the proper way to get this to work without having to go into the mesage and remove those [IMG]. I think that I'm missing something in the code, or I'm going about this in the wrong way. I know that one can edit the class_bbcode.php file and some templates to do this, but I have tried searching for the information and have come up blank thus far and decided to go this route. Any help to directing me in the right direction would be a great help. Thanks very much Dennis |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|