Printable Version of Topic

Click here to view this topic in its original format

Forum 17B _ 'How To' 17b _ [boards] Bbcode Maps Links

Posted by: Chapo 11/07/2011 - 17:54:40

Some members asked for the custom bbcode code for displayings maps images on a forum like that:



To display this feature on your forum go to your board options where you can define custom bbcode.


There, define a new custom bbcode with the following options (those are for IPB but i can help for others boards):



Then, your visitors just have to type [ map17b]xxxxx[ /map17b] * to display an image like above of the map with id xxxxx (of course previously uploaded).

Don't hesitate to ask me for further help.

icon_jap.gif

*: Inserted spaces just for displaying code instead of result.
**: Lng option = Used Language (fr, en). Others can be added on demand.

Posted by: Safety1st 19/05/2012 - 22:50:07

I've created BBcode in our forum.
Result looks like


There scroll bars sad.gif

We use v2.3.4 of IPB. May be you can help?

Posted by: Chapo 19/05/2012 - 22:59:30

Did you type exact code above ?

Seems you changed some dimensions (size or width) wink.gif

Posted by: Safety1st 20/05/2012 - 13:15:19

Yes, I did. Double checked. You can see the http://aimaster.ru/forum/index.php?showtopic=9055&view=findpost&p=53806.

Posted by: Chapo 20/05/2012 - 14:28:47

Ok...Scrollbars are only visible on your site with IE. icon_decu.gif

They are not with Firefox, Chrome, Safari or Opera.

I check and tell you wink.gif

Posted by: Chapo 20/05/2012 - 14:48:06

Don't understand. Original code on 17b with IE doesn't show scrollbars. It's only on your website icon_decu.gif

Try this:

Code
<div style="display:none"><a href="http://www.17buddies.net" title="17's Buddies CS Maps">17's Buddies CS Maps</a></div><div style="width:100%;text-align:center"><iframe src="https://www.17buddies.rocks/17b2/Tools/17b2-BBCode.php?Id={content}&Lng=en" width="306" height="231" style="border:0;padding:0;margin:0;overflow:hidden"></iframe></div>

Posted by: Safety1st 28/05/2012 - 22:56:40

Now everything is OK ;)
Thank you!

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)