Custom BBCodes [Deprecated]

Get help developing custom BBCodes or request one.
Locked
mag00_br
Registered User
Posts: 43
Joined: Thu Jan 03, 2008 3:09 pm
Location: Brasil -SP
Contact:

Re: BBCodes for images!!!!!!!!!

Post by mag00_br »

killer-kurt wrote:
killer-kurt wrote:Any chance of gettin BBCode for image with the alt tag and border plus width and size?
Why does everyone get answers apart from me.
I do not know how to change the original IMG button, so you have to create another one. So, if you want to try it, go ahead.

Code: Select all

[IMG2={SIMPLETEXT} {NUMBER1} {NUMBER2} {NUMBER3}]{URL}[/IMG2]

Code: Select all

<img src={URL} border={NUMBER1} width={NUMBER2} height={NUMBER3} alt={SIMPLETEXT}>

Code: Select all

Usage: [IMG2="ALT_TEXT" BORDER_NUMBER BORDER_WIDTH BORDER_HEIGHT]URL_OF_IMAGE[/IMG2]
[]'s
*[NMT]*Mag00* / [Granja] Falco Peregrinus / | CDA | Mr.Orange |
http://www.granjaklan.com/forum
Image

CodeDynamics
Registered User
Posts: 8
Joined: Mon Jan 14, 2008 11:25 am

Re: Custom BBCodes

Post by CodeDynamics »

Hello at all

I've been searching for a custom bbcode wich makes the username to a link to his profile.

I've tried this:

Code: Select all

[profil]{TEXT}[/profil]
Replacement:

Code: Select all

<a href="memberlist.php?mode=viewprofile&u={TEXT}">{TEXT}</a>
But this is'nt working, any idea???

mag00_br
Registered User
Posts: 43
Joined: Thu Jan 03, 2008 3:09 pm
Location: Brasil -SP
Contact:

Re: Custom BBCodes

Post by mag00_br »

You try with the full URL?

[]'s
*[NMT]*Mag00* / [Granja] Falco Peregrinus / | CDA | Mr.Orange |
http://www.granjaklan.com/forum
Image

CodeDynamics
Registered User
Posts: 8
Joined: Mon Jan 14, 2008 11:25 am

Re: Custom BBCodes

Post by CodeDynamics »

mag00_br wrote:You try with the full URL?

[]'s
Yes i did but i always get the message:
The user doesen't exist

User avatar
Mario_AU
Registered User
Posts: 162
Joined: Fri Jan 25, 2008 10:51 am
Location: Australia
Contact:

Re: Custom BBCodes

Post by Mario_AU »

calproye wrote:
Mario_AU wrote:
» When hotlinking to large resolution images, please use the cir= (Custom Image Resizer) code.

Where I can find this BBCode?


Thanks in advanced
i just changed the default to better suit the name, i beg your pardon...

Code: Select all

[cir={NUMBER1}x{NUMBER2}]{URL}[/cir]
+

Code: Select all

<a href="{URL}" target="_blank"><img src="{URL}" border="1" width="{NUMBER1}" height="{NUMBER2}" alt="Resized Image - Click For Actual Size. Opens in new browser window." title="Resized Image - Click For Actual Size. Opens in new browser window." /></a>
+

Code: Select all

For example: [cir=640x480]http://www.site.com/picture.jpg[/cir] * * DO NOT EXCEED 1280x1024 * *

User avatar
iEric
Registered User
Posts: 249
Joined: Mon Apr 10, 2006 10:57 pm
Location: Falköping, Sweden
Contact:

Re: Custom BBCodes

Post by iEric »

CodeDynamics wrote:The user doesen't exist
Using "TEXT" at both places would give you a profilelink like:
http://www.phpbb.com/community/memberlist.php?mode=viewprofile&u=CodeDynamics
...and the links are using your member number

Try this:

Code: Select all

[profil={NUMBER}]{TEXT}[/profil]
Replacement:

Code: Select all

<a href="memberlist.php?mode=viewprofile&u={NUMBER}">{TEXT}</a>
Example:

Code: Select all

[profil=421855]CodeDynamics[/profil]
CodeDynamics

CodeDynamics
Registered User
Posts: 8
Joined: Mon Jan 14, 2008 11:25 am

Re: Custom BBCodes

Post by CodeDynamics »

iEric wrote:
CodeDynamics wrote:The user doesen't exist
Using "TEXT" at both places would give you a profilelink like:
http://www.phpbb.com/community/memberli ... deDynamics[/b]
...and the links are using your member number

Try this:

Code: Select all

[profil={NUMBER}]{TEXT}[/profil]
Replacement:

Code: Select all

<a href="memberlist.php?mode=viewprofile&u={NUMBER}">{TEXT}</a>
Example:

Code: Select all

[profil=421855]CodeDynamics[/profil]
CodeDynamics
OK thanks for this.

But in this case, is there any possibility to make the request of the Membernumber via AJAX/Javascript, or is there something i can add to the message parser to do this automaticly???

calproye
Registered User
Posts: 108
Joined: Wed Oct 03, 2007 5:06 pm
Location: Madrid - ES
Contact:

Re: Custom BBCodes

Post by calproye »

Mario_AU wrote:
i just changed the default to better suit the name, i beg your pardon...

Thanks a lot :D

moviemusicman
Registered User
Posts: 16
Joined: Sat Feb 02, 2008 6:05 am

Re: Custom BBCodes

Post by moviemusicman »

hey is there a mod where you can just post multiple bbc codes for just one tag, perhaps likes a video tag that has all your bbc codes. I do not want to have fifty tags just for video

User avatar
ameisez
Registered User
Posts: 1166
Joined: Sun Nov 04, 2007 7:04 am

Re: Custom BBCodes

Post by ameisez »

how can i make the youtube bbcode to show the maximize button?

I want to be able to view the video in full screen
Last edited by ameisez on Tue Mar 04, 2008 8:41 pm, edited 1 time in total.
PHPBB on HOSTGATOR SERVER. MY PERSONAL CHOICE ;)
Need phpBB images and buttons? HIRE ME
my MOD: BB3 Media Player | a phpbb based media player

User avatar
leviatan21
Registered User
Posts: 2663
Joined: Fri Aug 10, 2007 7:22 am
Location: Buenos Aires, Argentina
Name: Gabriel

Re: Custom BBCodes

Post by leviatan21 »

Marshalrusty wrote:Below are the popular custom BBCodes that are frequently asked for on this board. All in one place with descriptions and screenshots for your convenience :)

To use any of the following custom BBCodes, navigate to the Posting => BBCodes section of the phpBB3 administration panel and click the "Add a new BBCode" button. Enter the respective code from below into the "BBCode usage" and "HTML replacement" boxes.
If you have any suggestions or find an error in the above article, please do not hesitate to PM me.

For more BBCodes see this knowledge base article: Adding Custom BBCodes in phpBB3
Hi Marshalrusty :
There is a limit for custom bbcodes, how much custom bbcodes are supported by phpbb3 ?

Thanks !
Excuse me for my poor English, I speak Spanish. | Image phpBB en Español

ham1299
Registered User
Posts: 613
Joined: Mon Sep 11, 2006 2:12 am
Location: USA
Contact:

Re: Custom BBCodes

Post by ham1299 »

leviatan21 wrote:
Marshalrusty wrote:Below are the popular custom BBCodes that are frequently asked for on this board. All in one place with descriptions and screenshots for your convenience :)

To use any of the following custom BBCodes, navigate to the Posting => BBCodes section of the phpBB3 administration panel and click the "Add a new BBCode" button. Enter the respective code from below into the "BBCode usage" and "HTML replacement" boxes.
If you have any suggestions or find an error in the above article, please do not hesitate to PM me.

For more BBCodes see this knowledge base article: Adding Custom BBCodes in phpBB3
Hi Marshalrusty :
There is a limit for custom bbcodes, how much custom bbcodes are supported by phpbb3 ?

Thanks !
I posted a question about that somewhat recently:

http://www.phpbb.com/community/viewtopi ... 6&t=727515
Heather

GFXlight55
Registered User
Posts: 19
Joined: Tue May 04, 2004 12:52 am

Re: Custom BBCodes

Post by GFXlight55 »

Embed Yahoo Video BBCode -- Need Help

I've been looking all over the website and forums for this BBCode, but can't seem to find it. If anyone can help me make it that would be great! I'm also trying to not use a MOD to get this done.

I would like for the code to just be the ID of the video if possible. IE:

[YahooVid]{IDENTIFIER}[/YahooVid]

Here is the embed code that needs altered.

Code: Select all

<object width="512" height="323"><param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.0.45" /><param name="allowFullScreen" value="true" /><param name="flashVars" value="id=6092238&vid=1856551&lang=en-US&intl=us&thumbUrl=http://us.i1.yimg.com/us.yimg.com/p/i/bcst/videosearch/1368/56369880.jpeg" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.0.45" type="application/x-shockwave-flash" width="512" height="323" allowFullScreen="true" flashVars="id=6092238&vid=1856551&lang=en-US&intl=us&thumbUrl=http://us.i1.yimg.com/us.yimg.com/p/i/bcst/videosearch/1368/56369880.jpeg" ></embed></object>
Again any help would be great! Thanks in advance!
Last edited by GFXlight55 on Tue Mar 04, 2008 11:08 pm, edited 1 time in total.

User avatar
Brizzle
Registered User
Posts: 80
Joined: Tue Jan 15, 2008 10:53 pm
Location: Cambridge, MA

Re: Custom BBCodes

Post by Brizzle »

FiReStOrM^ wrote:Is it possible that when you press the "URL" button, a box opens allowing you to type the URL and then when you OK it, another box asking you for a name of then link(like the url=URL tag) like vB does (or used to do) ??
Here you go. Someone else figured it out.

http://www.phpbb.com/community/viewtopi ... &sk=t&sd=a

eladrin
Registered User
Posts: 7
Joined: Tue Mar 04, 2008 10:06 pm

Re: Custom BBCodes

Post by eladrin »

Hmmm, I thought I posted this already... Guess I forgot to hit submit.

Anyway, i have been trying to get youtube movies running on phpbb all night. I tried every method posted in this topic, but the post just stays blank. Is there anything else that might prevent youtube movies from showing up? Maybe set some permissions i might have missed?

Currently using this:

Code: Select all

[youtube]http://{TEXT1}.youtube.com/watch?v={TEXT2}[/youtube]
And

Code: Select all

<object width="425" height="350"><param name="movie" value="http://{TEXT1}.youtube.com/v/{TEXT2}"></param><param name="wmode" value="transparent"></param><embed src="http://{TEXT1}.youtube.com/v/{TEXT2}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
http://misterdoog.nl/forum/viewtopic.ph ... &sk=t&sd=a

Have tried everything else posted before though. Including the short ones that only require the video code. Would really appreciate some suggestions :)

edit: appearantly none of the embed videos seem to work on my forum. any ideas?

edit2: appearantly none of the bb codes work. not even the bold or italic ones.

Locked

Return to “Custom BBCode Development and Requests”