BBCode Edit

New BBCodes, tips and tricks, hacks and MODs for the BBCode system

Re: BBCode Edit

Postby topdown » 23 Nov 2007, 15:59

Sniper_E wrote:This would be the correct guideline in writing your code Stitch.
Code: Select all
<table class="tablebg" width="100%" cellspacing="1">
<td class="row6" width="10%">
<i><font color="#CC0000"><strong>[Post Edit]: </strong></font><font color="#000000">{TEXT}</font></i>
</td>
</table>


Is there a reason why the <tr></tr>'s are left out.

Shouldn't it be

Code: Select all
<table class="tablebg" width="100%" cellspacing="1"><tr>
<td class="row6" width="10%">
<i><font color="#CC0000"><strong>[Post Edit]: </strong></font><font color="#000000">{TEXT}</font></i>
</td></tr>
</table>
Do not PM me for Support unless I give permission in a post......PM's only help one, posts help everyone !
User avatar
topdown    
STG Styles Leader
STG Styles Leader
 
Posts: 3021
Joined: 01 Oct 2007, 22:56
Location: Handyman's harddrive
Favorite Team: STG Teams
Gender: Male
phpBB Knowledge: 9




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: BBCode Edit

Postby Sniper_E » 23 Nov 2007, 17:01

topdown wrote:Is there a reason why the <tr></tr>'s are left out.

Shouldn't it be

Code: Select all
<table class="tablebg" width="100%" cellspacing="1"><tr>
<td class="row6" width="10%">
<i><font color="#CC0000"><strong>[Post Edit]: </strong></font><font color="#000000">{TEXT}</font></i>
</td></tr>
</table>
silly me.
I copied that from stitch's code and didn't catch that missing <tr>.
BLAME STITCH
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6978
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: BBCode Edit

Postby rashy » 30 Nov 2007, 10:06

What is the Edit BBCode used here:

Edit: What is the HTML replacement for this BBCode?
rashy    
Cadet III
Cadet III
 
Posts: 39
Joined: 30 Oct 2007, 06:43
Gender: Male

Re: BBCode Edit

Postby topdown » 30 Nov 2007, 10:18

Like this
BBC USAGE
Code: Select all
[Edit]{TEXT}[/Edit]


REPLACEMENT CODE

Code: Select all
<table class="tablebg" width="100%" cellspacing="1" border="1"><tr>
<td bgcolor="green" width="10%">
<i><strong><font color="#0000CC"><u>[POST EDIT]</u>:</strong></font><font color="#000000">  {TEXT}</font></i>
</td></tr>
</table>



Just change the color here <td bgcolor="green" width="10%>
to what you want the background to be.

and the font color here
<font color="#0000CC"> for the button

and the next font color for the text in the box
Do not PM me for Support unless I give permission in a post......PM's only help one, posts help everyone !
User avatar
topdown    
STG Styles Leader
STG Styles Leader
 
Posts: 3021
Joined: 01 Oct 2007, 22:56
Location: Handyman's harddrive
Favorite Team: STG Teams
Gender: Male
phpBB Knowledge: 9

Re: BBCode Edit

Postby rashy » 30 Nov 2007, 11:09

I used this:

BBCode usage
Code: Select all
[Edit]{TEXT}[/Edit]


HTML replacement
Code: Select all
<table border="1" cellpadding="10" cellspacing="0" bordercolor="#000000">
  <tr>
    <td bgcolor="#F3F3F3">
<strong><font color="#000000">&nbsp;Edit:&nbsp;</strong></font>{TEXT}&nbsp;</td></tr>
</table>


Help line
Code: Select all
[Edit]{TEXT}[/Edit]


I think this makes it much more to the following edit:
Edit: This one :yahoo:
Last edited by rashy on 30 Nov 2007, 11:15, edited 1 time in total.
rashy    
Cadet III
Cadet III
 
Posts: 39
Joined: 30 Oct 2007, 06:43
Gender: Male

Re: BBCode Edit

Postby topdown » 30 Nov 2007, 11:13

Your missing a closing tag </tr>

I don't think it will matter, but it should be there.
Do not PM me for Support unless I give permission in a post......PM's only help one, posts help everyone !
User avatar
topdown    
STG Styles Leader
STG Styles Leader
 
Posts: 3021
Joined: 01 Oct 2007, 22:56
Location: Handyman's harddrive
Favorite Team: STG Teams
Gender: Male
phpBB Knowledge: 9

Re: BBCode Edit

Postby rashy » 30 Nov 2007, 11:16

Done there same mistake as Sniper_E ;)
rashy    
Cadet III
Cadet III
 
Posts: 39
Joined: 30 Oct 2007, 06:43
Gender: Male

Re: BBCode Edit

Postby Sniper_E » 30 Nov 2007, 11:40

We need to redo ours.
It needs to work in prosilver also, which it doesn't.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6978
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: BBCode Edit

Postby rashy » 30 Nov 2007, 11:43

The HTML replacement i posted doesn't require stylesheet editing so enjoy :yahoo:
What do you say Sniper_E, did you liked it :rolleyes:
Isn't it the same used here :confused:
rashy    
Cadet III
Cadet III
 
Posts: 39
Joined: 30 Oct 2007, 06:43
Gender: Male

Re: BBCode Edit

Postby Sniper_E » 30 Nov 2007, 11:50

The one we use her.... which I am not happy with because it's not made for prosilver also:
Code: Select all
<table class="tablebg" cellspacing="1" cellpadding="6"><tr><td class="row2"><strong>Edit:</strong> {TEXT}</td></tr></table>
Yes, I liked yours.... it pretty much like the one here.

I'll redo it to work for all styles and post it.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6978
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

PreviousNext

Return to BBCode System

Who is online

Users browsing this forum: No registered users and 3 guests