News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Table Plus BBCodes

Started by vbgamer45, March 12, 2009, 12:47:53 PM

Previous topic - Next topic

C4G-TK

#40
Can you attach the package here? 

Your link has something up with it.

-img removed-

atomico

don't work... i installed it (bugo's rc2 version), but nothing happen... i see only the 3 new button but don't shot the table

Bugo

Quote from: atomico on January 14, 2010, 05:28:48 AM
don't work... i installed it (bugo's rc2 version), but nothing happen... i see only the 3 new button but don't shot the table
Сlean the cache or refresh page.

C4G-TK

Quick question:

I changed the border and background colors in the .css file from the package that Bugo posted. (That part worked great!)

But, the default font color for my forum is light because I have a dark theme.  What can I add to the css in order to make the color change ONLY inside the tables to #000000?

I thought I could add something like this to it to make it go black w/ 10pt size and bold, but nothing happened.

/* Table Plus BBCodes */
.bbc_table { border-spacing: 2px; background: #FF00CC url(images/catbg.jpg) repeat-x; }
.bbc_table td { padding: 5px; background: #4DA6FF url(images/titlebg.jpg) repeat-x 0 -17px; }
{
color: #000000;
font-size: 10pt;
font-weight: bold;
}

-img removed-

C4G-TK

NEVERMIND!!! I GOT IT!! WOOHOO!!!

I found the area to do it correctly!

.bbc_table
{
font: inherit;
color: #000000;
}
.bbc_table td
{
font: inherit;
color: #000000;
vertical-align: top;
}

-img removed-

DjScrappy

is this going to be updated to work with 2.0 Rc3  ;D ;D

C4G-TK

It already works in RC3 if you emulate RC2 before the install.

-img removed-

devoetbalkantine

I want to install this mod on 2.0 RC3 but there is no /Themes/default/style.css which, according to the installation, has to be modified. Any help?

Bugo


devoetbalkantine

Are you sure that's the right file? I cannot see where I have to paste the following code:



/* Table Plus BBCodes */
.bbc_table { border-spacing: 2px; background: #88A6C0 url(images/catbg.jpg) repeat-x }
.bbc_table td { padding: 5px; background: #E9F0F6 url(images/titlebg.jpg) repeat-x 0 -17px }


I am trying to do everything according to the parse instructions:

http://custom.simplemachines.org/mods/index.php?action=parse

Draffi

Where is this Bugo-Version for RC2 ?

Have somebody a working version for RC2, please ?

dj_etc


C4G-TK

Yes, I have it on my RC4, but that's because I keep a copy of every mod that I use in case it eventually isn't available.  We're prohibited from distributing the updated version from what I gather.  Although, this policy doesn't seem to be "across the board" as some threads still have member updated packages in them while they are taken down from others.   ::)

SMF should really change their policy that if a mod doesn't get supported or the author vanishes and leaves the mod for more than 9 months, it becomes the property of SMF in order for it to continue by capable hands.

-img removed-

devoetbalkantine

I tried installing this on 2.0 RC5 but it doesn't seem to work. Can anyone help me?

I tried doing it all manually but the Subs-Editor.php doesn't have the text specified to change:

I have to replace this:


'table' => array('code' => 'table', 'before' => '[table]\n[tr]\n[td]', 'after' => '[/td]\n[/tr]\n[/table]', 'description' => $txt['table']),


which doesn't show this way in the file, by this:


'tabletrtd' => array('code' => 'tabletrtd', 'before' => '[table]\n[tr]\n[td]', 'after' => '[/td][td][/td]\n[/tr]\n[/table]', 'description' => $txt['table']),
'tr' => array('code' => 'tr', 'before' => '[tr]\n[td]', 'after' => '[/td][td][/td]\n[/tr]', 'description' => $txt['table_tr']),
'td' => array('code' => 'td', 'before' => '[td]', 'after' => '[/td]', 'description' => $txt['table_td']),


Bugo

<file name="$sourcedir/Subs-Editor.php">
<operation>
<search position="replace"><![CDATA[
array(
'image' => 'table',
'code' => 'table',
'before' => '[table]\n[tr]\n[td]',
'after' => '[/td]\n[/tr]\n[/table]',
'description' => $txt['table']
),]]></search>
<add><![CDATA[
array(
'image' => 'tabletrtd',
'code' => 'tabletrtd',
'before' => '[table]\n[tr]\n[td]',
'after' => '[/td][td][/td]\n[/tr]\n[/table]',
'description' => $txt['table']
),
array(
'image' => 'tr',
'code' => 'tr',
'before' => '[tr]\n[td]',
'after' => '[/td][td][/td]\n[/tr]',
'description' => $txt['table_tr']
),
array(
'image' => 'td',
'code' => 'td',
'before' => '[td]',
'after' => '[/td]',
'description' => $txt['table_td']
),]]></add>
</operation>
</file>

devoetbalkantine


devoetbalkantine

Just one more question. Where can I change the colors? I'd like to change it from blue to red

Bugo


devoetbalkantine

I tried it by changing the color codes in this part but no luck


/* Table Plus BBCodes */
.bbc_table { border-spacing: 2px; background: #FF00CC url(images/catbg.jpg) repeat-x; }
.bbc_table td { padding: 5px; background: #4DA6FF url(images/titlebg.jpg) repeat-x 0 -17px; }
{
color: #000000;
font-size: 10pt;
font-weight: bold;
}

4T3IG0

Hi.

I also tried installing this on 2.0 RC5 but it doesn't seem to work. Can anyone help me?

I tried doing it all manually but can't find ./Themes/default/style.css





Advertisement: