Support Forum

Thanks Plugin

30 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

OK, it seems like it basically a missing image.

i think you should be able to do the following as a temporary measure until an update comes along.

Look in the theme folder reboot/styles and locate the file called sp-thanks.spcss and remove it.

AT Alex T
Alex T
Member

That helped, as it shows now with like this:

Thanked 238 times
           ***
 Reputation: 4718
 
Is there a way to remove what it says under the stars?  The color but still doesn’t work though.  
YS Yellow Swordfish
Yellow Swordfish
Member

Yes. In the empty argument – between the two single quotes – put

title=0

(that’s a zero)

IK Ike
Ike
Member

As for the font colour, I might have put ‘font-color’ in the CSS rule..

try using

color: #000000;

Embarrassing!confused

AT Alex T
Alex T
Member

Ike said
As for the font colour, I might have put ‘font-color’ in the CSS rule..

try using

<br />
color: #000000;
<br />

Embarrassing!confused

Where would I put that? 

IK Ike
Ike
Member

The CSS I posted on the first page to fix font colour, I’m just saying it should be ‘color’ not ‘font-color’, so it should be:

#spMainContainer .spTopicViewSection {
    color: #000000;
}

And I would probably put it at the very end of the stylesheet (reboot.php) along with all the other CSS – before the ending PHP.

AT Alex T
Alex T
Member

These are the very last things in reboot.php

# load mobile overrides
if ($viewDevice == ‘mobile’) {
include(‘reboot-mobile.php’);
}

# load the rtl css file if needed
if (isset($_GET[‘rtl’])) {
include(‘reboot-rtl.php’);
}

?

If I put that code before the ?, then all the formatting gets lost.

YS Yellow Swordfish
Yellow Swordfish
Member

As Ike said – before the php at the end. That means just before the opening php tag (<?php)

AT Alex T
Alex T
Member

Yellow Swordfish said
As Ike said – before the php at the end. That means just before the opening php tag (<?php)

Sorry but this does not mean much to me.  I’m not a coder so I don’t understand the technical speak.  I can get by with you telling me where exactly to place things.  Does this mean at the very top of reboot.php?

Above this?

<?php
header("Content-Type: text/css; charset: utf-8");
header("Expires: ".gmdate('D, d M Y H:i:s', (time()+900)) . " GMT");
IK Ike
Ike
Member

Sorry, maybe we haven’t explained properly!

You have CSS and PHP in the stylesheet (reboot.php) and you can’t have any CSS inside the PHP sections.

General rule is that a PHP section starts with    ‘<?php’     and ends with     ‘?>’

At the very bottom of reboot.php you have:

/* ----------------------
Mobile overrides misc
-------------------------*/

@media screen and (max-width: 379px)  {
    #spMainContainer #spLastVisitLabel {
        display: none;
    }
}

<?php

# Load plugin file css (as .spcss files)
foreach (glob("*.spcss") as $f) {
    include $f;
}

# load mobile overrides
if ($viewDevice == 'mobile') {
    include('reboot-mobile.php');
}

# load the rtl css file if needed
if (isset($_GET['rtl'])) {
    include('reboot-rtl.php');
}

?>

As you can see the last CSS rule is a mobile rule, then the CSS ends and the PHP starts. I would place it after the last closing brace ‘}’ and before the opening PHP tag ‘<?php’ on line 11 of the below example – see:

/* ----------------------
Mobile overrides misc
-------------------------*/

@media screen and (max-width: 379px)  {
    #spMainContainer #spLastVisitLabel {
        display: none;
    }
}

<--- PLACE HERE

<?php

# Load plugin file css (as .spcss files)
foreach (glob("*.spcss") as $f) {
    include $f;
}

# load mobile overrides
if ($viewDevice == 'mobile') {
    include('reboot-mobile.php');
}

# load the rtl css file if needed
if (isset($_GET['rtl'])) {
    include('reboot-rtl.php');
}

?>

The way CSS works is that the rules that come first in the list on the page happen first, so anything that happens further down in the list can potentially overwrite the earlier rules. The thinking here is that if something else is controlling the font colour of the topic text, placing it at the very bottom will overwrite that..

Hope that helps!

AT Alex T
Alex T
Member

Thanks for that explanation.  I had tried it there as I figured that placing it at the very bottom was not correct since it had mobile codes there.  It still does not change the color though.  The thanks stat is still white.  

BTW…I have this in between the Member since date and the online status, in case that matters. This is what I have:

@media screen and (max-width: 379px) {
#spMainContainer #spLastVisitLabel {
display: none;
}
}

#spMainContainer .spTopicViewSection {
color: #000000;
}

<?php

# Load plugin file css (as .spcss files)
foreach (glob(“*.spcss”) as $f) {
include $f;
}

IK Ike
Ike
Member

Where you have it is perfect, but..

I took a look at your forum and can see the problem – it’s possible I’ve overlooked something. I put a fix in place for the colour but might have changed more than I thought – It’s been a LONG week since I made the changes!

Try adding .spTopicPostSection to the rule, so:

#spMainContainer .spTopicViewSection,
#spMainContainer .spTopicPostSection {
    color: #000000;
}

Remove the CSS we did earlier and try this in the same place.

AT Alex T
Alex T
Member

That did it!  Thanks for all the help.  Hope this helps you fix things as well!  

IK Ike
Ike
Member

Glad we got there in the end, and sorry – a couple of mistakes from me!

Yes it all helps. This one has already been fixed but keep them coming, I think we currently have 14 or 15 important fixes ready for the next update.

AT Alex T
Alex T
Member

BTW…I just noticed that signatures started appearing, which was one of the things that wasn’t working previously!