The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
html in bb code?
Im trying to add rafflecopter on my forum,
I find it somehow confusing the all thing.. im getting a code like this from the page <a id="rc-e5c3550" class="rafl" href="http://www.rafflecopter.com/rafl/display/e5c3550/" rel="nofollow">a Rafflecopter giveaway</a> <script src="//d12vno17mo87cx.cloudfront.net/embed/rafl/cptr.js"></script> what do I need to edit or add on bbcodes so I can use this ? I tried searching html to bbcode but it got more confusing for me. |
#2
|
|||
|
|||
I'm not sure what you're asking: are you trying to define a bbcode, or insert html in a post? Maybe what you want is to define a custom bbcode and put that in as the replacement.
|
#3
|
|||
|
|||
well everytime i make a new giveaway with rafflecopter the "rc-xxxxxxx" changes on their site
I tried to add it to custom bbcodes so I can use [raffle] rc-xxxxxx[/raffle] but If I copy the code as I have on 1st op, I can only view that specific giveaway, so Im guessing the "rc-e5c3550" and href= needs to change to something else? I would like to make it so when I type [raffle] rc-NEW NUMBER[/raffle] so I can post a different giveaway, I hope I made my self clear now. |
#4
|
||||
|
||||
the number would have to go inside curly brackets { as the PARAM in the bbcode, something like:
<a id="rc-{e5c3550}" class="rafl" href="http://www.rafflecopter.com/rafl/display/{e5c3550}/" rel="nofollow">a Rafflecopter giveaway</a> <script src="//d12vno17mo87cx.cloudfront.net/embed/rafl/cptr.js"></script> so in future you'd just change e5c3550 to the id you want. |
#5
|
|||
|
|||
Simon's almost got it, but it would be:
Code:
<a id="rc-{param}" class="rafl" href="http://www.rafflecopter.com/rafl/display/{param}/" rel="nofollow">a Rafflecopter giveaway</a> <script src="//d12vno17mo87cx.cloudfront.net/embed/rafl/cptr.js"></script> |
#6
|
|||
|
|||
that seems to do the trick thank you guys
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|