Custom BBCodes [Deprecated]

Get help developing custom BBCodes or request one.
Locked
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 »

Stello wrote: That sounds fantastic :)

I'm just wondering - Do you know if that would work on a forum where the admin has restricted the image sizes? I mean: I've set the maximum width / height for any posted image to be 640 pixels. So, if I keep that restriction, but install that new BBcode, would it be possible to post larger than 640 images, by using this BBcode to make them appear smaller? Or would they still be recognised as too large for the forum?

(Of course, I can always test it myself, I'm just wondering if you happen to have tried that already..)
i don't think you get it. the pictures are hosted elsewhere, so it will not bypass the size restriction. they can link to a picture that may be 2560x1600 resolution and 20MB in size. look at the code. it hotlinks the image. it doesn't somehow magically embed it into the forum post. so if you set size limits to what a user can attach to the board, that's the maximum they will be able to attach to the post - meaning the file gets uploaded to your server/database. all this code does is make a thumbnail of a picture located elsewhere on the internet. so when you hotlink to a really large picture that would otherwise distort the forum due to it's size (ie: widescreen pictures), this code just creates an elegant thumbnail so users can see the entire picture, but if they want to see the actual true size they click on it and it opens it in a new window.

i've also just added this cool code, so thanks coder dude....

and added:

» When hotlinking to large resolution images, please use the cir= (Custom Image Resizer) code. The current forum standard for what we consider to be a large resolution image, and therefore use of the cir= code mandatory, is 1280x1024. This resolution is based on collated data from Internet trackers of many popular sites. This is a requirement only for hotlinked images. Images that are attached to the forum do not have these restrictions. The size of the image is irrelevant. This requirement is in place to try and prevent large resolution pictures from stretching and distorting the forums every which way, for those users that disable automatic image resizing in their browser. Here is an example of what not to do, and one of what to do.

to the forum rules.
alex_coningham
Registered User
Posts: 76
Joined: Thu Feb 21, 2008 2:52 am

Re: Custom BBCodes

Post by alex_coningham »

thanks mate, first code worked fine. xcellent work
User avatar
ameisez
Registered User
Posts: 1166
Joined: Sun Nov 04, 2007 7:04 am

Re: Custom BBCodes

Post by ameisez »

dumdum1974 wrote:Windows Media player embeded

BBcode:

Code: Select all

[Embed]{TEXT}[/Embed]
HTML replacement:

Code: Select all

<div align="center"><embed src="{TEXT}" width="320" height="240" autostart="0" showcontrols="1" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/"> </embed></div>
You can change some setting as you wish aotostart,showcontrols size etc etc
;)
How can i use the compact type without the previe window. just the controls?
PHPBB on HOSTGATOR SERVER. MY PERSONAL CHOICE ;)
Need phpBB images and buttons? HIRE ME
my MOD: BB3 Media Player | a phpbb based media player
howard_hopkinso
Registered User
Posts: 35
Joined: Mon Feb 18, 2008 3:03 am
Contact:

Re: Custom BBCodes

Post by howard_hopkinso »

howard_hopkinso wrote:Has anyone any ideas on how to embed both this Frapper map and also, this shoutbox?

Frapper map:

Code: Select all

<div><embed quality="high" type="application/x-shockwave-flash" src="http://www.frappr.com/ajax/yvmap.swf" flashvars="host=http://www.frappr.com/&origin=unknown&lo=1&mvid=137440387877" salign="l" align="middle" scale="noscale" width="600" height="400"  ></embed><div style="width:400px;text-align:left;"><a href="http://visitor.frappr.com/?sig=visitor_map&src_mvid=137440387877&origin=unknown" target=_blank><img src="http://frappr.com/i/gyo.gif" border=0/></a><a href="http://www.frappr.com/?a=constellation_map&mapid=137440307172&src=flash_map&sig=visitor_map&src_mvid=137440387877&origin=unknown&ct=seemore" target=_blank><img src="http://frappr.com/i/s.gif" border=0/></a><a href="http://www.frappr.com/?a=constellation_map&mapid=137440307172&src=flash_map&sig=visitor_map&src_mvid=137440387877&origin=unknown&ct=pendingpins" target=_blank><img src="http://frappr.com/dyn_map/137440307172/origin:unknown/p.gif" border=0/></a><a href="http://www.frappr.com/?a=feedback&type=vm" target=_blank><img src="http://frappr.com/i/h.gif" border=0/></a></div></div>
Shoutbox:

Code: Select all

<!-- Begin ShoutMix - http://www.shoutmix.com -->
<iframe title="wereingodshands" src="http://www2.shoutmix.com/?wereingodshands" width="160" height="400" frameborder="1" scrolling="auto">
<a href="http://www2.shoutmix.com/?wereingodshands">View shoutbox</a>
</iframe>
<!-- End ShoutMix -->
Any suggestions, would be very much appreciated.

Thanks.

Regards Howard.
Bump
weaseldexter
Registered User
Posts: 1
Joined: Thu Feb 28, 2008 1:32 pm

Re: Custom BBCodes

Post by weaseldexter »

Google Video doesn't work :(
Maybe they changed something?
Or does it work in your forums?
pitsson
Registered User
Posts: 9
Joined: Sun Feb 24, 2008 7:12 pm

Re: Custom BBCodes

Post by pitsson »

I tried to read through all the 40 pages (damn my eyes)
Is the a way to add a BBcode for http://www.megavideo.com
The video files looks like this; http://www.megavideo.com/?v=U10HU0AB

I have the youtube working, now I need this aswell to get my forum launced :)

Thanks In advance
User avatar
andrew2007
Registered User
Posts: 41
Joined: Mon Jan 21, 2008 11:07 pm
Location: Australia
Contact:

Re: Custom BBCodes

Post by andrew2007 »

could somebody create or direct me to a code for google maps ?
My Regards,
Andrew

Forum Owner, Admin & Moderator
Web Designer/Developer

Australian Photographers Community :
http://forum.ausphotographers.org
Freedom Fighter
Registered User
Posts: 59
Joined: Fri Dec 14, 2007 12:41 am

Re: Custom BBCodes

Post by Freedom Fighter »

andrew2007 wrote:could somebody create or direct me to a code for google maps ?

here's one I wrote

Code: Select all

[gmap={NUMBER}]{SIMPLETEXT}[/gmap]

Code: Select all

<iframe width="525" height="525" frameborder="1" scrolling="no" marginheight="0" marginwidth="0"src="http://maps.google.com/maps?ie=UTF8&ll={SIMPLETEXT}&z={NUMBER}&t=h&om=1&output=embed&s=AARTsJqzARj-Z8VnW5pkPMLMmZbqrJcYpw"></iframe><br /><small><a href="http://maps.google.com/maps?ie=UTF8&ll={SIMPLETEXT}&z=14&t=h&om=1&source=embed" style="color:#DD6900;text-align:left" target="_blank">View Larger Map</a></small>

Code: Select all

Google Maps [gmap=<zoom level>]<co-ord X, co-rd Y>[/gmap], zoom level = 1->21

you have to copy out the co-ordinates and zoom level from the google map URL, but it works a treat.

you can see it working here .... http://www.smeggys.co.uk/viewtopic.php?f=52&t=245
killer-kurt
Registered User
Posts: 37
Joined: Tue Jan 01, 2008 10:50 pm

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

Post by killer-kurt »

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.
pitsson
Registered User
Posts: 9
Joined: Sun Feb 24, 2008 7:12 pm

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

Post by pitsson »

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.
Your not the only one that don't get answers.... :?
User avatar
andrew2007
Registered User
Posts: 41
Joined: Mon Jan 21, 2008 11:07 pm
Location: Australia
Contact:

Re: Custom BBCodes

Post by andrew2007 »

thanks freedom fighter
My Regards,
Andrew

Forum Owner, Admin & Moderator
Web Designer/Developer

Australian Photographers Community :
http://forum.ausphotographers.org
khanh_coltech
Registered User
Posts: 4
Joined: Sat Feb 23, 2008 9:02 pm

Re: Custom BBCodes

Post by khanh_coltech »

Help me mod

Code: Select all

 like this forum. My [code] tag don't have "Select All"
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:
» When hotlinking to large resolution images, please use the cir= (Custom Image Resizer) code.

Where I can find this BBCode?


Thanks in advanced
User avatar
adventurejunkie
Registered User
Posts: 68
Joined: Sat Feb 02, 2008 4:40 am
Location: Columbia, SC

Re: Custom BBCodes

Post by adventurejunkie »

Hello all. I have 2 questions, should be easy enough for you pros.

1. How do I delete some of the default BBcodes? I would like to reinstall them as custom so that I could allow/disallow individually. I have a couple good codes already but don't like some that are default.

2. Is it possible to somehow set a permission to only allow certain BBcodes to be visible in a certain forum example: a paypal BBcode in a for sale forum.

Thanks, for the help.
Last edited by adventurejunkie on Sat Mar 01, 2008 7:08 pm, edited 1 time in total.
pitsson
Registered User
Posts: 9
Joined: Sun Feb 24, 2008 7:12 pm

Re: Custom BBCodes

Post by pitsson »

pitsson wrote:I tried to read through all the 40 pages (damn my eyes)
Is the a way to add a BBcode for http://www.megavideo.com
The video files looks like this; http://www.megavideo.com/?v=U10HU0AB

I have the youtube working, now I need this aswell to get my forum launced :)

Thanks In advance
I found some that included megavideo... but couldnt use them... Can some be kind enough to make a BBCode for me to add megavideo?
Thanks In advance

Pitsson
Locked

Return to “Custom BBCode Development and Requests”