Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Bulakbol on May 02, 2009, 05:04:38 PM

Title: Custom Linktree
Post by: Bulakbol on May 02, 2009, 05:04:38 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1802)

Author: Bulakbol   Mod Name: Custom Linktree   Version: 1.0
Tested: Freshly installed SMF 2.0 RC1

Custom Linktree
Title: Re: Custom Linktree
Post by: timned88 on May 02, 2009, 11:29:23 PM
nicely done
Title: Re: Custom Linktree
Post by: Bulakbol on May 03, 2009, 05:04:46 PM
Thanks. The sample image is not attractive tho.  :D
Title: Re: Custom Linktree
Post by: Sudhakar Arjunan on May 04, 2009, 12:20:08 PM
Thanks for this useful mod Author.

--- Update.

Got error on member list page @ 2.0.RC1

Replace     ./Themes/default/Memberlist.template.php     Test failed

// Show the link tree. echo ' <div style="padding: 3px;">', theme_linktree(), '</div>';

Title: Re: Custom Linktree
Post by: Bulakbol on May 05, 2009, 10:36:40 PM
You probably edited that line before. It should look like this.
// Show the link tree.
echo '
<div style="padding: 3px;">', theme_linktree(), '</div>';


You can do the manual edit anyway. Only 2 lines to get rid of.
Title: Re: Custom Linktree
Post by: Sudhakar Arjunan on May 06, 2009, 05:45:05 AM
Quote from: Bulakbol on May 05, 2009, 10:36:40 PM
You probably edited that line before. It should look like this.
// Show the link tree.
echo '
<div style="padding: 3px;">', theme_linktree(), '</div>';


You can do the manual edit anyway. Only 2 lines to get rid of.

Yes you are right.

Only two lines, which i could take. But i wanted to just know, why it had happened. So everyone who installs need to edit it manually.

I am sure i could do it , but just for making it so easier to install and uninstall. I have asked this question.
Title: Re: Custom Linktree
Post by: Bulakbol on May 08, 2009, 11:42:47 PM
Grab the RC1 package, unzip the file and check the original file. Your current file was probably edited/changed by a mod you installed. When I create a mod, I use untouched original files.
Title: Re: Custom Linktree
Post by: Naveeddil on August 23, 2009, 12:48:33 AM
not working on my 1.1.10
Title: Re: Custom Linktree
Post by: Bulakbol on August 24, 2009, 08:05:23 PM
Quote from: Naveeddil on August 23, 2009, 12:48:33 AM
not working on my 1.1.10

How may I help you? Errors?
Title: Re: Custom Linktree
Post by: Naveeddil on August 27, 2009, 11:35:13 AM
i think it wants manual installation
because
whenever i try it from Package Manager it says

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF. "

Title: Re: Custom Linktree
Post by: Bulakbol on August 29, 2009, 08:09:54 PM
@Naveeddil
Do you get that error only when installing this mod?
Title: Re: Custom Linktree
Post by: smokester on October 28, 2009, 08:42:24 PM
Would it be difficult to install this in a custom theme?

Thanks
Title: Re: Custom Linktree
Post by: PalmBeachPreps on October 28, 2009, 09:55:08 PM
I'm using 2.0 RC1.2.  I installed it and it failed this step:
./Themes/default/Memberlist.template.php
[b]Find:[/b] [Select]

// Show the link tree.
echo '
<div style="padding: 3px;">', theme_linktree(), '</div>';

[b]Replace With:[/b] [Select]

// Show the link tree.

and then it threw this error:Parse error: syntax error, unexpected T_VARIABLE in /home/content/p/a/l/palmbeachpreps/html/Themes/default/languages/Modifications.english.php on line 406[/s]Disregard, I found the problem.  User error.  ;D

Great mod! 

Title: Re: Custom Linktree
Post by: PalmBeachPreps on October 29, 2009, 01:27:42 AM
Quote from: smokester on October 28, 2009, 08:42:24 PM
Would it be difficult to install this in a custom theme?

Thanks
Wasn't for me.

Question: How would I change the color of the border?
Title: Re: Custom Linktree
Post by: smokester on October 29, 2009, 01:55:41 PM
Quote from: PalmBeachPreps on October 29, 2009, 01:27:42 AM
Quote from: smokester on October 28, 2009, 08:42:24 PM
Would it be difficult to install this in a custom theme?

Thanks
Wasn't for me.


Was it just a case of manually editing the theme's index_template?
Title: Re: Custom Linktree
Post by: PalmBeachPreps on October 30, 2009, 01:10:14 AM
Quote from: smokester on October 29, 2009, 01:55:41 PM
Quote from: PalmBeachPreps on October 29, 2009, 01:27:42 AM
Quote from: smokester on October 28, 2009, 08:42:24 PM
Would it be difficult to install this in a custom theme?

Thanks
Wasn't for me.


Was it just a case of manually editing the theme's index_template?
Yes.
Title: Re: Custom Linktree
Post by: smokester on October 30, 2009, 07:47:44 AM
Quote from: PalmBeachPreps on October 30, 2009, 01:10:14 AM
Quote from: smokester on October 29, 2009, 01:55:41 PM
Quote from: PalmBeachPreps on October 29, 2009, 01:27:42 AM
Quote from: smokester on October 28, 2009, 08:42:24 PM
Would it be difficult to install this in a custom theme?

Thanks
Wasn't for me.


Was it just a case of manually editing the theme's index_template?
Yes.

Tried that and it spat errors out at me.  Could you be more precise as to exactly what had to be changed/

Thanks
Title: Re: Custom Linktree
Post by: smokester on November 20, 2009, 06:27:51 AM
Well I have found this to be impossible to get to work in my theme, and mine is only Speedlight by Crip which is super light and easy to modify.

Don't know why I bothered anyhow, as it was just as easy to copy the linktree to the bottom of the theme without worrying about "Enable inline links" problem with 2.0 RC1 and RC1.2.

I am interested to know how you got this to work with a theme though, as after I think I got the code right in the index.template.php. other files from like "load.php" started to spit errors out at me?