https://www.17buddies.rocks/index.html

17's Buddies Maps HL1 Maps HL2 Wads Plan des Maps
17 Buddies
Only for stats

Welcome Guest ( Log In | Register )

 
New
[boards] Bbcode Maps Links
Chapo
post 11/07/2011 - 17:54:40 |   Post #1
+Reply

Group: 17 Buddies
Posts: 18 534
Joined: 27/12/2003

fr 

Team:
Dev. 17b


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):

  • name: Maps 17b
  • Description: Insert 17's buddies map's image on the forum
  • Example: [ map17b ]Map_Id[ / map17b] *
  • CustomBBCode Tag: [ map17b] *
  • Use Options: No
  • Switch Options Around: No
  • Custom BBCode Replacement:**

    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="302" height="227" style="border:0;padding:0;margin:0;overflow:hidden"></iframe></div>


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.

(IMG:style_emoticons/default/icon_jap.gif)

*: Inserted spaces just for displaying code instead of result.
**: Lng option = Used Language (fr, en). Others can be added on demand.
Post PM
Website
Go to the top of the page
Safety1st
post 19/05/2012 - 22:50:07 |   Post #2
+Reply

Group: Advanced
Posts: 127
Joined: 25/11/2011

ru 


I've created BBcode in our forum.
Result looks like
Attached File  m17b.JPG ( 33.98K ) Number of downloads: 18

There scroll bars (IMG:http://forum.17buddies.rocks/style_emoticons/default/sad.gif)

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

This post has been edited by Safety1st: 19/05/2012 - 22:50:44
Post PM
Website
Go to the top of the page
Chapo
post 19/05/2012 - 22:59:30 |   Post #3
+Reply

Group: 17 Buddies
Posts: 18 534
Joined: 27/12/2003

fr 

Team:
Dev. 17b


Did you type exact code above ?

Seems you changed some dimensions (size or width) (IMG:http://forum.17buddies.rocks/style_emoticons/default/wink.gif)
Post PM
Website
Go to the top of the page
Safety1st
post 20/05/2012 - 13:15:19 |   Post #4
+Reply

Group: Advanced
Posts: 127
Joined: 25/11/2011

ru 


Yes, I did. Double checked. You can see the sample.

This post has been edited by Safety1st: 20/05/2012 - 13:15:40
Post PM
Website
Go to the top of the page
Chapo
post 20/05/2012 - 14:28:47 |   Post #5
+Reply

Group: 17 Buddies
Posts: 18 534
Joined: 27/12/2003

fr 

Team:
Dev. 17b


Ok...Scrollbars are only visible on your site with IE. (IMG:http://forum.17buddies.rocks/style_emoticons/default/icon_decu.gif)

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

I check and tell you (IMG:http://forum.17buddies.rocks/style_emoticons/default/wink.gif)
Post PM
Website
Go to the top of the page
Chapo
post 20/05/2012 - 14:48:06 |   Post #6
+Reply

Group: 17 Buddies
Posts: 18 534
Joined: 27/12/2003

fr 

Team:
Dev. 17b


Don't understand. Original code on 17b with IE doesn't show scrollbars. It's only on your website (IMG:style_emoticons/default/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>
Post PM
Website
Go to the top of the page
Safety1st
post 28/05/2012 - 22:56:40 |   Post #7
+Reply

Group: Advanced
Posts: 127
Joined: 25/11/2011

ru 


Now everything is OK ;)
Thank you!
Post PM
Website
Go to the top of the page
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

New
 


RSS Lo-Fi Version
 
Skin © Chapo