![]() |
I want to embed quizzes. Can I set up a custom BB Code tag?
Hi there,
I would like to be able to embed Playbuzz, Zimbio or other quizzes on my forum, rather than having members have to leave the forum to play and then return to post results. I have see the DBTech mod to have your own quiz system, but you can't embed existing quizzes from other sites. I was wondering if it was possible to set up a bustom BB Code tag to do this, as you cannot paste the embed code from the sites into a post. For example : Here is the embed code from a playbuzz quiz Code:
<script type="text/javascript" src="//cdn.playbuzz.com/widget/feed.js"></script> I'm not too sure what the data-embed-by variable is for either... and whether it could be omitted... Could this be made into a BB Code tag? I have looked in the manual but I'm still a bit unsure what I can do and how to do it. http://www.vbulletin.com/docs/html/m...rsion=40202500 Thanks in advance. |
I don't know what the data-embed-by is either, but it seems like it works without it. So your replacement could be:
Code:
<script type="text/javascript" src="//cdn.playbuzz.com/widget/feed.js"></script> and then when you wanted to use it in a post you'd insert something like Code:
[game]/brittneyk11/what-part-of-a-wolpack-are-you[/game] |
Thanks. I'll give it a try. :)
--------------- Added [DATE]1414366111[/DATE] at [TIME]1414366111[/TIME] --------------- Thanks! That worked a treat! I can now try it for other sites. I have used the tag [playbuzz] for their site. |
All times are GMT. The time now is 01:22 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|