News:

Join the Facebook Fan Page.

Main Menu

?? in Link Tree

Started by Paul_Pauline, July 29, 2010, 04:17:22 PM

Previous topic - Next topic

Paul_Pauline

Hi Guyz.

Sure i've seen this discussed, but the search doesn't appear to be working !

What was the fix ?

Thanks, Paul.
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

Matthew K.

This is a little vague, unless I am out of the loop about something. Have any more details?

IchBin™

It's the theme. In the theme_linktree() function in the index.template.php file, they have likely put a character in there that is causing it. Post that function in some [code][/code] tags and I'm sure we can show you.
IchBin™        TinyPortal

Paul_Pauline

Hi   :)

Here's the file  ........
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

IchBin™

IchBin™        TinyPortal

Paul_Pauline

Hi   :)

Halfway there, take a look at the new screenshot   ;)
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

Hj Ahmad Rasyid Hj Ismail

I wonder why you have to modify the index.template.php file? Shouldn't it be in load.php or something?

Joker™

QuoteI wonder why you have to modify the index.template.php file? Shouldn't it be in load.php or something?

search index.template.php for "linktree" you will come to know yourself

try this one :)
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Hj Ahmad Rasyid Hj Ismail


Hj Ahmad Rasyid Hj Ismail

#9
Btw, why the use of echo ' »';instead of echo ' »';. Is it the same or somewhat different?

IchBin™

Quote from: AbuFahim⎝⏠⏝⏠⎠ on July 30, 2010, 04:49:13 PM
Btw, why the use of echo ' »';instead of echo ' »';. Is it the same or somewhat different?

See for yourself.
http://www.w3schools.com/tags/ref_entities.asp
IchBin™        TinyPortal

Hj Ahmad Rasyid Hj Ismail


Joker™

i made a mistake in previous file , try this one
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Paul_Pauline

Hi.

Still playing up   :(

Here's the latest screenshot  :o
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

Joker™

can we get your site link , if you like to share :)
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Paul_Pauline

Hi Joker.

That's not a problem, it's a 2.0 RC3 copy i'm making of my live site which runs on 1.1.11. It's an adult content site site though !

www.amateurflashers.net   O:)

"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

Joker™

umm right now i'm unable to see what is causing the error,you can try this

find:
// Don't show a separator for the last one (RTL mode)
if ($link_num != count($context['linktree']) - 1 && $context['right_to_left'])
echo '« ';


from that remove

echo '« ';


Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Paul_Pauline

I just have to pop out, will try it later, thanks for trying to help  ;)

Will this be a common fault in Crips themes, I believe he uses mostly the same code all the time ?
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

Joker™

sure , my eyes are also popping out , need to take some rest .
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Paul_Pauline

Hi Joker.

Tried that and nothing happened ! (Makes you wonder what it does)  :o

I put that line back in again !

Paul.
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

Hj Ahmad Rasyid Hj Ismail

Just a thought. May be the empty space is causing that. Can you just try to remove it and see how it goes?

Joker™

i installed the theme from theme site and it worked perfectly for me . So confused in your case.

maybe

echo ' »';

should be

echo '»';

i know it's kiddish but i;ve no clue what so ever right now .
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

ɔɔɔɔɔɔuɥoɾ

Are you using UTF-8?

It seems that a character is not been displayed right

Any mods recently?


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Paul_Pauline

Hi Guys.

@ Joker, tried removing the space, no difference   :(

@ √®╠╣∩©Ç瀫, nope not using UTF-8

Mods installed .........

Images On Board 2.2

Dynamic Memberlist 2.0.4

Simple Portal 2.3.2

Highslide Image Viewer 1.6
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

kat

Mind if I have a quick fiddle, Paul?

I have an idea...

Paul_Pauline

"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

kat

OK.

You might get a few weirdies, along the way, though.

Fear not, I'm not editing anything, yet. Just checking stuff.

Paul_Pauline

Am I allowed to say 1.1.11  is far more user friendly   >:(
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

ɔɔɔɔɔɔuɥoɾ

Quote from: Paul_Pauline on July 31, 2010, 05:00:39 PM
Am I allowed to say 1.1.11  is far more user friendly   >:(

I wouldn't agree with that... lol


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

kat

I'm thinking index.css, now.

If I remove that file, completely, the linktree's OK.

Anything look odd, with this?

/* The navigation list (i.e. linktree) */
.navigate_section
{
padding: 0.5em;
margin: 1em 0 0 0;
}
.navigate_section ul
{
display: block;
margin: 0;
font-size: 0.9em;
padding: 1em 0 0.5em 0;
border-top: dashed #B32015 1px;
overflow: hidden;
list-style: none;
}
.navigate_section ul li
{
float: left;
padding: 0 0.5em 0 0;
font-size: 0.95em;
}

kat

Cancel last.

I'm talking bollox.

I'll have another look, in the morning.

I'm on to something, I think. :)

Paul_Pauline

Enjoy your Horlicks K@  ;)
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

ɔɔɔɔɔɔuɥoɾ

Quote from: Paul_Pauline on July 31, 2010, 05:25:44 PM
Enjoy your Horlicks K@  ;)
I will take a shot at this.

Lets check you display.php file (Sources)
Search for
// Build the link tree.

Below should look like

$context['linktree'][] = array(
'url' => $scripturl . '?topic=' . $topic . '.0',
'name' => $topicinfo['subject'],
'extra_before' => $settings['linktree_inline'] ? $txt['topic'] . ': ' : ''
);


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Paul_Pauline

"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

Paul_Pauline

The link tree is fine on the default theme, it must be something in the custom themes files that is causing the problem  :o
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

ɔɔɔɔɔɔuɥoɾ

OK, their are several places this could be messed up from,

Are the characters like that on all actions or just some?
Well if its in the theme its a template issue then, that's a bit of good news, narrows things down a bit

Which theme?


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Paul_Pauline

"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

ɔɔɔɔɔɔuɥoɾ

Try this

I think I spotted the error.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Paul_Pauline

Hey, you the man   :)

Had one of the mods changed something, or is there an error in the theme ?
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

ɔɔɔɔɔɔuɥoɾ

Quote from: Paul_Pauline on July 31, 2010, 06:27:36 PM
Hey, you the man   :)

Had one of the mods changed something, or is there an error in the theme ?

Your welcome, however, I didn't know the genre of your forum until now...

Please warn us next time lol

It was in the theme, the separator part was wrong


// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1 && !$context['right_to_left'])
echo ' »';


I hadn't looked at index.template until you mentioned on default it worked, I spotted the errors in your attachment and the other repair attempts too lol


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Paul_Pauline

Hi,

I did post a warning earlier in the topic when Joker asked for a link to the site   ???

Can you post something in the themes support topic, so Crip can address the problem   O:)

Thanks for all your help, Paul  ;)
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

ɔɔɔɔɔɔuɥoɾ

Quote from: Paul_Pauline on July 31, 2010, 06:33:59 PM
Hi,

I did post a warning earlier in the topic when Joker asked for a link to the site   ???

Can you post something in the themes support topic, so Crip can address the problem   O:)

Thanks for all your help, Paul  ;)

Well, We don't know if you got the file like that do we, or it could have been changed earlier.
I'm pretty sure the theme site would not have approved this theme is it was like that, bit I have not made any theme, so I don't know how the approval system works, or even if their is one


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Paul_Pauline

Ah !

I thought you had got the file from the theme zip I linked you to  ;)
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

ɔɔɔɔɔɔuɥoɾ

Quote from: Paul_Pauline on July 31, 2010, 06:39:06 PM
Ah !

I thought you had got the file from the theme zip I linked you to  ;)

Nah, cant do that, what if you have mods that changed it, we have to fix your one, I wash checking through the index.template.php you 1st attached, I spotted the error before I went to the theme site.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Paul_Pauline

Yeah course  :-[

Thanks again.
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

Advertisement: