Recent Topics

1 Feb 02, 2007 12:23    

I have just added the Nifty Red skin to my blog and get the following error message at the bottom of my blog now:

Notice: Undefined variable: sponsored_links in /home/httpd/vhosts/ketrin.co.uk/httpdocs/blogs/skins/niftyred/_main.php on line 296

Any ideas how to correct this error?

Thanks.

2 Feb 02, 2007 12:36

A link would help a heck of a lot. What version of b2evo are you running?

3 Feb 02, 2007 12:42

I upgraded to the latest version the other day.

All of my previous skins that I had uploaded months ago work fine.

Yesterday I downloaded a couple and they produce this error right at the bottom of the screen.

URL:

http://www.ketrin.co.uk/blogs/index.php?blog=7

Scroll all the way down and you see the error message.

Thanks.

4 Feb 02, 2007 13:13

Cool. Here's a fix, custom-created by me especially for you! Open up your skins/nifty_red/_main.php file and look for this at line 296:

display_list( $sponsored_links, '<p class="baseline">'.T_('Credits').': ', '</p>', '|', ' ', ' ' );


Now replace it, and don't worry about hurting it's feelings because it's only code and thus does not have feelings, with this:

display_list( $credit_links, '<p class="baseline">'.T_('Credits').': ', '</p>', '|', ' ', ' ' );

I'm pretty sure that'll take care of business for you.

5 Feb 02, 2007 13:21

Hooray!!

Thank you very much for your help that has sorted out and gotten rid of the error message!

Cheers. :D

6 Feb 02, 2007 13:43

No problem. Keep it in mind if you change skins again eh? BTW comparing the file in your skin to the same file in the 'custom' skin might come in handy again for you someday.

7 Feb 02, 2007 14:39

Thanks, I will bear that in mind.

:)

8 Feb 18, 2007 15:06

EdB wrote:

Cool. Here's a fix, custom-created by me especially for you! Open up your skins/nifty_red/_main.php file and look for this at line 296:

display_list( $sponsored_links, '<p class="baseline">'.T_('Credits').': ', '</p>', '|', ' ', ' ' );


Now replace it, and don't worry about hurting it's feelings because it's only code and thus does not have feelings, with this:

display_list( $credit_links, '<p class="baseline">'.T_('Credits').': ', '</p>', '|', ' ', ' ' );

I'm pretty sure that'll take care of business for you.

Hey EdB....i have used a couple of your hacks with great results..... im very new to blogs ..and find the support in/on this forum top notch..... cheers to all

9 Mar 01, 2007 04:10

I had exactly the same error after upgrading from1.8.6 to 1.9.2. Changing "sponsored_links" to "credit_links" as described above did the trick. Thanks :D


Form is loading...