Link Tree

Started by Informatics, February 14, 2008, 02:22:22 AM

Previous topic - Next topic

SeMaForo

Sorry Cyclon,my english is really poor...
When the board displays, i see two times my new linktree, one at he top, before the posts, and a second one just after the posts. Two times then. Is it possible to change that and force the linktree to appear just one time?, for instance only at the top?
Thanks very much
Una frase no se gana a un pueblo, ni con un disfrazarse de poeta.

Informatics

My mother language is not English either :D

Can you show me the sample site of you. Thanx.


You can catch me @ Forum Informatika a.k.a Indonesian Informatics Online Community @ http://if.web.id




Mods:
1. LinkTree v.1.1.0 [Topic  || Download]
2. Header Rotator v.1.1.0 for 1.1.x | v.2.1 for 2.0 [Topic || Download]

Joker™

is it going to be updated for RC2
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

Informatics

^ i'm not sure can do this stuff anymore.... maybe somebody else want to develope it.

Thanx.


You can catch me @ Forum Informatika a.k.a Indonesian Informatics Online Community @ http://if.web.id




Mods:
1. LinkTree v.1.1.0 [Topic  || Download]
2. Header Rotator v.1.1.0 for 1.1.x | v.2.1 for 2.0 [Topic || Download]

Joker™

first of all very nicely written n easy to understand mod ... i played alot with it in my site

did it myself .... if  u allow i can post some of the changes i made

here's my site link if anyone wanna see how it looks...

www.freakygurus.com

thanx once again
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

Informatics

You can show your creativity here, maybe someone want to adapt it.
Thanx and what a nice forum you have :) .


You can catch me @ Forum Informatika a.k.a Indonesian Informatics Online Community @ http://if.web.id




Mods:
1. LinkTree v.1.1.0 [Topic  || Download]
2. Header Rotator v.1.1.0 for 1.1.x | v.2.1 for 2.0 [Topic || Download]

Joker™

sure ...here we go..

Find
// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{


Replace:
echo '<img src="' . $settings['default_images_url'] . '/nav_inline_start.gif" alt="linktree" class="midimage" border="0" />&nbsp;';
// Each tree item has a URL and name.  Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{


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


Add After
// Show the | | |-[] Folders.

if ($link_num > 0)

echo '<img src="' . $settings['default_images_url'] . '/icons/folder_open2.gif" alt="+" border="0" />&nbsp; ';
      

Find:
// Show the link, including a URL if it should have one.
echo $settings['linktree_link'] && isset($tree['url']) ? '
<a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] .'</span>';


Replace:
// Show the link, including a URL if it should have one.
echo $settings['linktree_link'] && (isset($tree['url']) && $link_num != count($context['linktree']) - 1) ? '
<a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] .'</span>';


Find:
// Don't show a separator for the last one.

Replace:
if ($link_num == count($context['linktree']) - 2)
        echo '<br /><img src="' . $settings['default_images_url'] . '/nav_inline_end.gif" alt="linktree" class="midimage" border="0" />&nbsp;';

// Don't show a separator for the last one.


Thanx for the comment on site  :D

if possible can u pack these codes into mod,as i dont know how to make a mod.
It'll help people to install ur beautiful mod more easily.
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

Informatics

Nice share. I'll figure it later. Thanx.


You can catch me @ Forum Informatika a.k.a Indonesian Informatics Online Community @ http://if.web.id




Mods:
1. LinkTree v.1.1.0 [Topic  || Download]
2. Header Rotator v.1.1.0 for 1.1.x | v.2.1 for 2.0 [Topic || Download]

Joker™

Quote from: SeMaForo on November 19, 2009, 06:55:01 AM
Sorry Cyclon,my english is really poor...
When the board displays, i see two times my new linktree, one at he top, before the posts, and a second one just after the posts. Two times then. Is it possible to change that and force the linktree to appear just one time?, for instance only at the top?
Thanks very much

so u want to remove linktree from the bottom ...

ru asking for RC2 ??
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

Joker™

i also added some more functionality to linktree .... like

the very first folder image  ---- if u click on it , it will reload the page

the connecting folder image below it --- if u click it , it will take u one step back,i.e the position u were

if anyone wanna see u can see here >> www.freakygurus.com :D
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

fullmoonya

could somebody update this for smf2.0.2?..
do not mark my topic solve unless it is REALLY SOLVED.
my forum

Visit My Blog:
Google SEO Share

BaghdadGhost

Quote from: fullmoonya on March 17, 2012, 07:13:39 AM
could somebody update this for smf2.0.2?..

I second this request if possible.

thanks

Advertisement: