Custom BBCodes [Deprecated]

Get help developing custom BBCodes or request one.
Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: Custom BBCodes

Post by Pony99CA » Tue Feb 08, 2011 3:34 pm

indra wrote:i do the step to make bbcode spoiler but i can't show the spoiler..
any idea..
How about telling us which spoiler code you're using (paste the BBCode usage and HTML replacement code -- in CODE tags -- here). Then tell us what "can't show the spoiler" means. Does that mean the entire code isn't working (you're getting something like [spoiler]blah[/spoiler]) or that the spoiler text isn't shown when you hover over/click it?

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
Khoala
Registered User
Posts: 14
Joined: Wed Feb 09, 2011 6:23 pm
Location: New York
Contact:

Re: Custom BBCodes

Post by Khoala » Wed Feb 09, 2011 6:31 pm

Anyone knows a BBCode for thumbnails? One to open in a pop-up if its possible. Or at least one that opens in a new window but in a different one.

Thanks,
Khoala.
Laptop: Samsung QX410-J01
Website: LetITgrow

opshogun
Registered User
Posts: 1
Joined: Wed Feb 09, 2011 9:38 pm

Re: Custom BBCodes

Post by opshogun » Wed Feb 09, 2011 9:42 pm

I have been trying to find and make my own graphs... Just to keep this simple im looking to add in a BBC code to where i can make kinda like a Google SpreadSheet.... i dont know if it is possible or not ..

Also been trying to make a Drop down list box .... ive looked through ALOT of these and cant find it so figured id just ask.

Thx
ShoGun

Brian

User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: Custom BBCodes

Post by keith10456 » Thu Feb 10, 2011 12:46 am

Khoala wrote:Anyone knows a BBCode for thumbnails? One to open in a pop-up if its possible. Or at least one that opens in a new window but in a different one.

Thanks,
Khoala.
See here:

http://www.phpbb.com/customise/db/mod/prime_links/

FNolan
Registered User
Posts: 58
Joined: Wed Jan 06, 2010 12:15 am

Re: Custom BBCodes

Post by FNolan » Thu Feb 10, 2011 10:14 pm

After playing a bit I got my custom bbcode to work, kind of. I not only had to edit the original file it called but also in the bbcode itself I hade to change all the "&" to "&" for it to work. Don't know why switching to PHP5 would do that but it did. :roll:

Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: Custom BBCodes

Post by Pony99CA » Fri Feb 11, 2011 2:32 am

FNolan wrote:After playing a bit I got my custom bbcode to work, kind of. I not only had to edit the original file it called but also in the bbcode itself I hade to change all the "&" to "&" for it to work. Don't know why switching to PHP5 would do that but it did. :roll:
I didn't remember what you were having problems with (until I went back and looked because you didn't quote or link to the problem), but you should always use "&" in XHTML (which phpBB outputs).

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
Rotten Apple
Registered User
Posts: 211
Joined: Wed Oct 06, 2010 2:27 am
Location: Florida, USA
Name: Vicky
Contact:

Re: Custom BBCodes

Post by Rotten Apple » Fri Feb 11, 2011 2:17 pm

Hello everyone! I did a search in this topic for table codes, but none of them were what I’m specifically looking for as a majority of them looked too confusing for members.

I’m curious, is there a way to create a table where members can add in [td] fields without it having to be automatically embedded? Also, same question in regards to cellpadding, cellspacing, and customizing it in the post in regards to color, etc.

Something like this is what I’m looking for (if it makes sense):

Code: Select all

[table (insert data here)][tr][td]{TEXT}[/td](insert additional column)[/tr] (insert additional rows here)[/table]

User avatar
TheSnake
Registered User
Posts: 483
Joined: Wed Aug 09, 2006 10:36 pm
Location: Staffordshire, England, UK
Contact:

Re: Custom BBCodes

Post by TheSnake » Fri Feb 11, 2011 9:52 pm

Khoala wrote:Anyone knows a BBCode for thumbnails? One to open in a pop-up if its possible. Or at least one that opens in a new window but in a different one.

Thanks,
Khoala.
If your still wanting a Thumbnail BBCode, I got this working on my board:

BBCode usage:

Code: Select all

[thumbs]{URL}[/thumbs]
HTML Replacement:

Code: Select all

<a href="{URL}"><img src="{URL}" width="40%" height="40%" alt="Thumbnail Image" /></a>
To get the BBCode Thumb to instead open in a new tab/window, then use this:
HTML Replacement:

Code: Select all

<a href="{URL}" target="_blank"><img src="{URL}" width="40%" height="40%" alt="Thumbnail Image" /></a>
Using target="" is NOT valid XHTML, so your code will not validate, but it will work.

indiansportsnetwork
Registered User
Posts: 2
Joined: Wed Feb 02, 2011 7:12 pm

Re: Custom BBCodes

Post by indiansportsnetwork » Sat Feb 12, 2011 10:30 am

While editing BB Codes for embedding youtube videos - i am getting the following message -

Forbidden

You don't have permission to access /adm/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Please help

User avatar
TheSnake
Registered User
Posts: 483
Joined: Wed Aug 09, 2006 10:36 pm
Location: Staffordshire, England, UK
Contact:

Re: Custom BBCodes

Post by TheSnake » Sat Feb 12, 2011 5:05 pm

indiansportsnetwork wrote:While editing BB Codes for embedding youtube videos - i am getting the following message -

Forbidden

You don't have permission to access /adm/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Please help
How did you access the ADM, typing into the address bar, or clicking the Admin link @ bottom of page? Did this occur while editing, or when you tried to login to the adm?

User avatar
triadruid
Registered User
Posts: 73
Joined: Thu Jul 16, 2009 9:58 pm

Re: Custom BBCodes

Post by triadruid » Sun Feb 13, 2011 4:32 pm

Which CSS file should bbcode-specific stuff go into - content? common?

Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: Custom BBCodes

Post by Pony99CA » Sun Feb 13, 2011 6:37 pm

triadruid wrote:Which CSS file should bbcode-specific stuff go into - content? common?
if it's simple CSS, just include it in a STYLE attribute. Ideally, BBCodes should not require file edits (those are MODs, then).

If you have lots of CSS that's not style-dependent, I'd try putting it in it's own style file and including that in overall_header.html (although I've had problems doing that in the past with template CSS). If it is style-dependent, figure out which file makes more sense.

It might help if you described the BBCode more....

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
triadruid
Registered User
Posts: 73
Joined: Thu Jul 16, 2009 9:58 pm

Re: Custom BBCodes

Post by triadruid » Mon Feb 14, 2011 2:36 am

Pony99CA wrote:
triadruid wrote:Which CSS file should bbcode-specific stuff go into - content? common?
if it's simple CSS, just include it in a STYLE attribute. Ideally, BBCodes should not require file edits (those are MODs, then).
It's a spoiler tag. We have several different styles, and setting the font and background color always to #000000 isn't the best solution (for instance, a dark-backgrounded style). There are others that could benefit, like our mobile style being streamlined for certain tags.

User avatar
TheSnake
Registered User
Posts: 483
Joined: Wed Aug 09, 2006 10:36 pm
Location: Staffordshire, England, UK
Contact:

Re: Custom BBCodes

Post by TheSnake » Mon Feb 14, 2011 3:15 am

I use the Spoiler bbcode that Highway of Life posted, except for the word Spoiler there is no other text involved, I removed the background & border colours, so the bbcode works perfectly on any existing styles, no matter how light or dark they may be. Depending on what style (& colours) are in use on your board, it would be easiest to just have the word Spoiler have it's own background colour, but no other colour would then be needed, font or background.

User avatar
dbjs2009
Registered User
Posts: 135
Joined: Fri Jul 02, 2010 3:47 pm

Re: Custom BBCodes

Post by dbjs2009 » Mon Feb 14, 2011 3:11 pm

Does anyone knows how to make non google or youtube videos appears in post like the videos of this site:
http://moddb.com/videos/
How can I get the Html replacement?
|www.cncmasters.ner||www.v10h.com|
Don't mess with white tigers..

Locked

Return to “Custom BBCode Development and Requests”