coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: ashleyXcore on August 04, 2006, 05:43:06 AM

Title: Funky space between tables...
Post by: ashleyXcore on August 04, 2006, 05:43:06 AM
My tables are spaced correctly in all views, except for the actual intermediate image view...The bar with the back & forward arrows is so far away from the main table. I want it to be closer together.

You can see what I mean, here: http://www.pink-pistol.net/scans/displayimage.php?album=151&pos=2 (http://www.pink-pistol.net/scans/displayimage.php?album=151&pos=2)

How can I fix this? I don't know where to begin... and I stink at tables ^.^
Thanks for the help!
Title: Re: Funky space bewteen tables...
Post by: Stramm on August 04, 2006, 08:02:22 AM
copy the function starttable from themes/sample/theme.php to the theme.php you're actually using and then change cellspacing="1" to cellspacing="0"
Title: Re: Funky space between tables...
Post by: ashleyXcore on August 04, 2006, 08:50:30 AM
I'm sorry - I don't really understand. I don't have a /sample directory in /themes and I'm not sure what you mean by the starttable function. Is there a way you can show me what I need to change?

Thanks!
Title: Re: Funky space between tables...
Post by: Stramm on August 04, 2006, 08:58:39 AM
cause you're using 1.3.5 and not 1.4.x
moving your question to the 1.3 support board
Title: Re: Funky space between tables...
Post by: Stramm on August 04, 2006, 09:19:48 AM
similar solution... open your theme.php, look for the function starttable, few lines below find cellspacing="1" and change to cellspacing="0"
Title: Re: Funky space between tables...
Post by: ashleyXcore on August 04, 2006, 06:01:04 PM
Oh my god, sorry about that... I wasn't sure what version I had  o.0

Unfortunately, that cellspacing thing didn't work. In fact, nothing changed at all. What's next? Can someone move this thread for me or do I start a new one in the appropriate forum?
Title: Re: Funky space between tables...
Post by: Stramm on August 04, 2006, 06:12:20 PM
I've moved it already to the 1.3 themes board.

Please tell me exactly what you've changed and in what dir/file
Title: Re: Funky space between tables...
Post by: ashleyXcore on August 05, 2006, 02:51:23 AM
Okay, I changed this part:
function starttable($width = '-1', $title = '', $title_colspan = '1')
{
    global $CONFIG;

    if ($width == '-1') $width = $CONFIG['picture_table_width'];
    if ($width == '100%') $width = $CONFIG['main_table_width'];
    echo <<<EOT

<!-- Start standard table -->
<table align="center" width="$width" cellspacing="1" cellpadding="0" class="maintable">


To this:
function starttable($width = '-1', $title = '', $title_colspan = '1')
{
    global $CONFIG;

    if ($width == '-1') $width = $CONFIG['picture_table_width'];
    if ($width == '100%') $width = $CONFIG['main_table_width'];
    echo <<<EOT

<!-- Start standard table -->
<table align="center" width="$width" cellspacing="0" cellpadding="0" class="maintable">


Nothing changed. Was that what I was supposed to change?
Title: Re: Funky space between tables...
Post by: Sami on August 05, 2006, 07:23:05 AM
search for

<br><br>

under theme.php and delete it
Title: Re: Funky space between tables...
Post by: Stramm on August 05, 2006, 08:51:32 AM
in style.css find the class definitions for maintable and navmenu and change the look of the borders as you wish (you'll find something like border: 1px; -> delete or modify)

The change in theme.php brings the borders together (no more space between the cells). In the style you can define/ change colors/ width
Title: Re: Funky space between tables...
Post by: Joachim Müller on August 05, 2006, 10:14:18 AM
Users who have sapprckt as theme keep on popping up here, asking questions on this theme. It's one of the more frequent themes I saw, but whenever I asked users where they got it from (as it isn't available on our site), they shrugged or didn't bother to answer at all. Please tell us where you got that theme from, so we can take a look at the sources and tell the creator of that particular theme where his main bugs are. Don't respond by saying: "I don't remember where I got it from", because that's what I've heard so many times already. Looks like the use of that theme is not allowed (someone may own the copyrights and hasn't released it under a license that allows the theme to be shared), and there seem to be illegal copies floating around. Please tell me that I'm wrong-
Title: Re: Funky space between tables...
Post by: ashleyXcore on August 06, 2006, 10:12:40 AM
Quote from: GauGau on August 05, 2006, 10:14:18 AM
Users who have sapprckt as theme keep on popping up here, asking questions on this theme. It's one of the more frequent themes I saw, but whenever I asked users where they got it from (as it isn't available on our site), they shrugged or didn't bother to answer at all. Please tell us where you got that theme from, so we can take a look at the sources and tell the creator of that particular theme where his main bugs are. Don't respond by saying: "I don't remember where I got it from", because that's what I've heard so many times already. Looks like the use of that theme is not allowed (someone may own the copyrights and hasn't released it under a license that allows the theme to be shared), and there seem to be illegal copies floating around. Please tell me that I'm wrong-

No no no, a girl made this theme and put it up for download on her site. It was set up to teach people what attributes change what, etc. I have her link in my credits section (ew, I hate people who don't give credit!) but she seems to have closed. http://44.depicture.org/guest.php?coppermine (http://44.depicture.org/guest.php?coppermine)  - People have asked about where to find the girl who made it over at the codegrrl.com forums too but... to no avail.

Quote from: bmossavari on August 05, 2006, 07:23:05 AM
search for

<br><br>

under theme.php and delete it
thank you, thank you, thank you!
Title: Re: Funky space between tables...
Post by: Joachim Müller on August 06, 2006, 03:22:21 PM
Definitely not - sapprckt originally was a theme for phpBB. Someone ported it to be a coppermine ages ago. I guess the theme got removed on the page you refered to because it hasn't been licensed (copyright issue). Guess that's why the theme download has been removed - maybe the person who claimed to have created the theme actually has not, but posed/impersonated. Happens often. That's why you're suppossed to get originals from the original sources. Don't trust third-party stuff, people may be faking or posting illegal material there.
Bottom line: this is probably yet another dead end, we we won't be able to find out who actually did the initial theme port.
Title: Re: Funky space between tables...
Post by: ashleyXcore on August 06, 2006, 07:58:27 PM
Oh wow! Well I don't know if she claimed to make the theme, but she did change all the colors (i think!) so that people could see what does what...

Anyway, a ton of people use the theme, apparently. I just did a search and it seems that all the teen fansites use some version of it, so whoever made it is pretty popular.

Thanks for the help  ^.^