MyBB Community Forums

Full Version: BBcode help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok I have a site http://i4anime.info and I'm trying to make a bbcode it will make my links to this site http://nextgenvidz.com/ it Is a video hosting site that I will use on my forum. So I want to make my bbcode like this [ngv] [/ngv] but with my HTML replacement it will only allow me to do one video link ex:
Quote:<div style='padding: 4px' align='left'><a href='http://nextgenvidz.com/view/{content}'><img src='http://i4iphones.info/jh3qyu.png'> </a> <b><font size='3'>DL/Stream!</font></b></div>

It only gives me this link : http://nextgenvidz.com/view/{content}
And I want it to work with [ngv]videocodehere[/ngv] and by video code I mean the end of this link http://nextgenvidz.com/view/videocodehere
I want it to give me all my links behind this pic: http://i4iphones.info/jh3qyu.png
I have tried and tried multiple times and need help
And if u read and help me somewhat thnx for ur time
Sincerely,
BlackF1r3
Sorry wrong section
I've removed some stuff, but you still have the image to Stream/Download. (removed the text Stream/DL)

Regular Expression:
\[ngv\](.*?)\[/ngv\]

Replacement:
<a href="http://nextgenvidz.com/view/$1"><img src="http://i4iphones.info/jh3qyu.png"></a>


You can then use [ngv]randomcodehere[/ngv], and it should work.
K this worked is there any way to make it work without [ngv] [/ngv] .
I want it to where it workks Any nextgenvidz.com link that is used and it will give u same result as before
I don't think there is a need to create duplicate threads: http://community.mybb.com/thread-86729.html

(2011-01-21, 12:27 PM)BlackF1r3 Wrote: [ -> ]K this worked is there any way to make it work without [ngv] [/ngv] .

How you could use it without using the tags ? Undecided
There wasn't a need to I just put it in the wrong section first my bad and yes without tags if it's possible.
Is it possible??