Custom BBCodes [Deprecated]

Get help developing custom BBCodes or request one.
Locked
lioneel
Registered User
Posts: 1
Joined: Mon Aug 11, 2008 5:58 pm

Re: Custom BBCodes

Post by lioneel » Mon Aug 11, 2008 6:12 pm

xcuse me, thx for th bbcodes.. it reall useful :)
btw can anyone tell me the script to add the imageshack or so in forum ? :) :lol:

User avatar
beggers
Registered User
Posts: 1257
Joined: Fri Nov 23, 2001 8:19 pm
Location: Las Vegas
Contact:

Re: Custom BBCodes

Post by beggers » Tue Aug 12, 2008 3:51 am

girlintrouble wrote:I've tried implementing this one, but not having any luck. It looks like a nice one, anyone had a joy with it?

The text deiplayes the " [captionleft= ...." text rather than translate it.
beggers wrote:
Cruelworld wrote:Hi all, I'm really sorry if this has already been answered but I was losing the will to live after reading 20 or so pages of this ;-)

I want to use the image/text align BBcode and have tried several soloutions offered but none have worked like I need it to.
All solutions previous have simply inserted the image on it's own line and started a new paragraph with any text.

What I need to do is align images in posts neatly so that a right/left aligned image is wrapped in text like this...

http://news.bbc.co.uk/1/hi/england/glou ... 515890.stm

I'm sure there must be a way...

Any help appreciated :)
This will do exactly like the demo including the caption. If you leave out the caption, you'll just get the text wrap, but captions look really cool. Just insert one of these codes (with the caption and image URL) and any text you write after that will be wrapped around it. There are separate LEFT (image and caption are aligned on the left) and RIGHT (image and caption are aligned on the right) codes:

BBcode for Caption LEFT

Code: Select all

[captionleft={TEXT}]{URL}[/captionleft]
HTML

Code: Select all

<table align="left" border="0" cellpadding="0" cellspacing="0">
<tr><td><img src="{URL}" border="0" /></td></tr>
<caption align="bottom" valign="bottom" class="imgcap">
<font size="1">{TEXT}</font>
</caption>
</table>
Help

Code: Select all

[captionleft=caption text]URL to image[/captionleft]
BBcode for Caption RIGHT

Code: Select all

[captionright={TEXT}]{URL}[/captionright]
HTML

Code: Select all

<table align="right" border="0" cellpadding="0" cellspacing="0">
<tr><td><img src="{URL}" border="0" /></td></tr>
<caption align="bottom" valign="bottom" class="imgcap">
<font size="1">{TEXT}</font>
</caption>
</table>
Help

Code: Select all

[captionright=caption text]URL to image[/captionright]
I posted that code originally, I think. I checked it and it's the same as on my site. We use it often.

If you haven't already done so, do a Template refresh and a cache refresh. Other than that, just double-check to make sure you've cut & pasted it just like it's shown.

User avatar
girlintrouble
Registered User
Posts: 856
Joined: Fri Jan 25, 2008 8:35 pm
Location: UK

Re: Custom BBCodes

Post by girlintrouble » Tue Aug 12, 2008 9:36 am

Hey yes it was yours and even thourgh I wasnt the person who posted the reques for it I liked it a lot.

I didnt realise I needed to refrresh template etc. Havent had to for other BBCodes.
Having trouble with that already at the mo due to another change :oops:

Im thinking maybe I havent got a clear idea of how to use it. Could you post a post that you have used it in, obviously that bbcode isnt set up here and I should be able to just paste it on my page to test it?
Thanks.

Fliggerty
Registered User
Posts: 90
Joined: Fri Jul 11, 2008 11:01 pm

Re: Custom BBCodes

Post by Fliggerty » Tue Aug 12, 2008 4:50 pm

I'd like to figure out if I can make a BBCode that will let you display the username of the person reading the post. Something like: hiya [you]name.[/you]
So if I was reading it, it would say:
hiya Fliggerty!

If Joe was reading it, it would say:
hiya Joe!

Is this possible?

User avatar
Brogan
Registered User
Posts: 479
Joined: Thu Jul 10, 2008 10:12 pm
Location: Docklands, London, UK

Re: Custom BBCodes

Post by Brogan » Tue Aug 12, 2008 4:56 pm

If you mean for every post then you wouldn't achieve that with BBCode.
You would have to edit your (I think) viewtopic_body.html file.

saksith28
Registered User
Posts: 7
Joined: Mon Aug 11, 2008 12:59 am

Re: Custom BBCodes

Post by saksith28 » Tue Aug 12, 2008 9:23 pm

I not found bbcode site [Removed] TT
Last edited by Marshalrusty on Wed Aug 13, 2008 1:08 am, edited 1 time in total.
Reason: Spam

saksith28
Registered User
Posts: 7
Joined: Mon Aug 11, 2008 12:59 am

Re: Custom BBCodes

Post by saksith28 » Tue Aug 12, 2008 11:19 pm

from site [Removed]

<object width="424" height="337"><param name="movie" value="[Removed]"></param><param name="wmode" value="transparent"></param><embed src="[Removed]" type="application/x-shockwave-flash" wmode="transparent" width="424" height="337"></embed></object>

it show movie but not play :cry:

help me plz
Last edited by Marshalrusty on Wed Aug 13, 2008 1:09 am, edited 1 time in total.
Reason: Spam

Fliggerty
Registered User
Posts: 90
Joined: Fri Jul 11, 2008 11:01 pm

Re: Custom BBCodes

Post by Fliggerty » Wed Aug 13, 2008 7:20 pm

Brogan wrote:If you mean for every post then you wouldn't achieve that with BBCode.
You would have to edit your (I think) viewtopic_body.html file.
Hmmm...all right, I'll ask in the mod boards. Thank you.

AdmiralPalleon
Registered User
Posts: 12
Joined: Fri Apr 12, 2002 3:07 am

Re: Custom BBCodes

Post by AdmiralPalleon » Wed Aug 13, 2008 8:02 pm

Hey-

My users are requesting a BBcode like the "Code" or "Quote" codes that allows you to highlight a certain portion of text by having it placed within a box like the quote and code boxes, but without the "quote" and "code" titles.

I tried finding the file that contained the code for the "Code" and "Quote" BBcodes so I could hack my way into figuring out the HTML for such a feature, but I was unable to find said file.

Anyone know where this might be located, or can recommend a good resource for finding the kind of HTML tags necessary to get this sort of thing to work?

Thanks!

-AP

Cruelworld
Registered User
Posts: 5
Joined: Sun Jul 06, 2008 9:23 pm

Re: Custom BBCodes

Post by Cruelworld » Wed Aug 13, 2008 11:24 pm

girlintrouble wrote:Hey yes it was yours and even thourgh I wasnt the person who posted the reques for it I liked it a lot.

Im thinking maybe I havent got a clear idea of how to use it. Could you post a post that you have used it in, obviously that bbcode isnt set up here and I should be able to just paste it on my page to test it?
Thanks.
Hi girlintrouble :)

I'm the one beggers helped and if you would like to see an example of how the caption bbcode works & looks then please feel free to visit Cruelworld (thats a portal post...) anytime.
For a normal phpBB3 Forum Post please see Cruelworld Forum Post.
I use it quite often(very often...) for my news items.

Hope this helps :)

bucsrno1
Registered User
Posts: 37
Joined: Fri Jul 25, 2008 11:47 am
Location: Miami, Florida U.S.A
Contact:

Re: Custom BBCodes

Post by bucsrno1 » Thu Aug 14, 2008 1:04 pm

Hello,
I hate to ask but could some 1 please help me with this, I`d like to have somebody make me a BB code.
BB code

Code: Select all

[steam][/steam]
html code

Code: Select all

<html>
<body>
<center>
<a href="steam://connect/74.166.188.27:27015">
<img border="0" src="http://www.amtclan.com/hqq/img_cs/cs_server--74.166.188.27--27015.jpg">
</a>
</center>
</body>
</html>
Thank you in advance.
Last edited by bucsrno1 on Fri Aug 15, 2008 5:40 pm, edited 1 time in total.
Image

The Cadet
Registered User
Posts: 20
Joined: Wed Aug 13, 2008 11:31 pm

Re: Custom BBCodes

Post by The Cadet » Thu Aug 14, 2008 6:26 pm

I'm looking for a code for mana symbols. Basically, its functionality should be that a person could type in [(codename)](certain variable letter/number)[/(codename)] and depending on which variable it is, a certain image comes up. Is this doable?

User avatar
girlintrouble
Registered User
Posts: 856
Joined: Fri Jan 25, 2008 8:35 pm
Location: UK

Re: Custom BBCodes

Post by girlintrouble » Thu Aug 14, 2008 6:42 pm

Everyone wants a BBCode, they are wicked but so few of us know how to write them too. We REALLY need a better way of organising this info, cant we have a new forum for it. That way wach post can be about a specific code?

Im looking for one what justifies text so, not left or right - I mean full justification of a paragraph.
Thanks

User avatar
Brogan
Registered User
Posts: 479
Joined: Thu Jul 10, 2008 10:12 pm
Location: Docklands, London, UK

Re: Custom BBCodes

Post by Brogan » Thu Aug 14, 2008 6:48 pm

This will justify text:

BBCode

Code: Select all

[justify]{TEXT}[/justify]
HTML Replacement

Code: Select all

<div style="text-align: justify">{TEXT}</div>
I have an extensive number of BBCodes in my forum FAQ here:
http://www.cliptheapex.com/viewtopic.php?f=24&t=128

If you see one you want, let me know and I will provide the code.

--
Last edited by Brogan on Sat Oct 04, 2008 9:53 pm, edited 1 time in total.

User avatar
girlintrouble
Registered User
Posts: 856
Joined: Fri Jan 25, 2008 8:35 pm
Location: UK

Re: Custom BBCodes

Post by girlintrouble » Thu Aug 14, 2008 6:57 pm

THANK YOU!!!! The justify works perfectly. Will go look! Wonderful 8-)

Edit > Been and looked - NICE - Some good stuff and very well presented. I have a list lol. :twisted: 8-) :lol: :lol: :lol: :lol:

Locked

Return to “Custom BBCode Development and Requests”