Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1572)
Topic Title In The Center Under Linktree
v1.5
*Description:
This mod allow you to show the Topic Title In The Center Under Linktree.
See the image.
Enjoy. *Last update : 29/12/2008 : bug fixed 5/1/2009 : New Version 1.5 ( Special Thanks To Sabre™ (http://index.php?action=profile;u=108486) ;) ) 5/11/2010 : New Version 2.0 ( Special Thanks To forumuser (http://www.simplemachines.org/community/index.php?action=profile;u=210315) (https://www.simplemachines.org/community/Smileys/default/wink.gif) )
My Mods (http://custom.simplemachines.org/mods/index.php?action=search;author=126024)
Let me the first to say thanks, working on my large forum.
Some features will be nice: scalable fonts and color chose in admin panel :)
Will this mod show the board moderator as well?
"(Moderator: *******)Topic: any topic"
It doesnt. cool. Thanx.
It looks better without the *~ ~* ...so i removed it.
echo '
<div>', theme_linktree(), '</div>
<div style="text-align: center; color:#387cb3; font-size: 25pt;">
*~ ', $context['subject'], ' ~*
</div>
';
end result:
echo '
<div>', theme_linktree(), '</div>
<div style="text-align: center; color:#387cb3; font-size: 25pt;">
', $context['subject'], '
</div>
if you have a poll in your topics,you might want to resize the fonts to a smaller size. The current font size 25 shows over the poll box.
echo '
<div>', theme_linktree(), '</div>
<div style="text-align: center; color:#387cb3; font-size: 25pt;">
*~ ', $context['subject'], ' ~*
</div>
';
font-size: 25pt;">
maybe 20 or 15.
Quote from: qtime on December 28, 2008, 12:03:08 PM
Let me the first to say thanks, working on my large forum.
Some features will be nice: scalable fonts and color chose in admin panel :)
you are welcome.
thanks for the idea , i will search how to do that ::)
if there is someone know how to do that please tell me . :D
Quote from: BlueDevil on December 28, 2008, 12:05:14 PM
Will this mod show the board moderator as well?
"(Moderator: *******)Topic: any topic"
no
Quote from: BlueDevil on December 28, 2008, 12:09:53 PM
It doesnt. cool. Thanx.
you are welcome. :D
Quote from: BlueDevil on December 28, 2008, 12:15:36 PM
It looks better without the *~ ~* ...so i removed it.
echo '
<div>', theme_linktree(), '</div>
<div style="text-align: center; color:#387cb3; font-size: 25pt;">
*~ ', $context['subject'], ' ~*
</div>
';
end result:
echo '
<div>', theme_linktree(), '</div>
<div style="text-align: center; color:#387cb3; font-size: 25pt;">
', $context['subject'], '
</div>
as you wish. ;D
Quote from: BlueDevil on December 28, 2008, 11:24:25 PM
if you have a poll in your topics,you might want to resize the fonts to a smaller size. The current font size 25 shows over the poll box.
echo '
<div>', theme_linktree(), '</div>
<div style="text-align: center; color:#387cb3; font-size: 25pt;">
*~ ', $context['subject'], ' ~*
</div>
';
font-size: 25pt;">
maybe 20 or 15.
i will thinking about that .
Quote from: BlueDevil on December 28, 2008, 11:24:25 PM
if you have a poll in your topics,you might want to resize the fonts to a smaller size. The current font size 25 shows over the poll box.
echo '
<div>', theme_linktree(), '</div>
<div style="text-align: center; color:#387cb3; font-size: 25pt;">
*~ ', $context['subject'], ' ~*
</div>
';
font-size: 25pt;">
maybe 20 or 15.
fixed re download and install it
مبروك المود يا مان موفق انشاء الله
Thanks, nice Gimmick :D :D :D :D :D :D
wonderful mod, I like this idea ..
thank u mate ..
Quote from: samozin on December 29, 2008, 02:11:32 PM
مبروك المود يا مان موفق انشاء الله
الله يبارك فيك الف شكر
Quote from: JungleBunny on December 29, 2008, 04:50:54 PM
Thanks, nice Gimmick :D :D :D :D :D :D
you are welcome . :D
Quote from: D.S on December 29, 2008, 07:09:09 PM
wonderful mod, I like this idea ..
thank u mate ..
you are welcome.
This looks like a useful mod, especially because I am always looking to refresh the page and the link right there makes it easier, because sometimes if you follow an anchor link to a topic and you refresh it the page is not properly refreshed
;D you are welcome.
Thanks mate, I like this very much. :D
Moved the color etc attributes to style.css, and got a lil carried away lol as you can see in attachment.
Thanks mate, adds a nice touch to the forum :)
Quote from: Sabre™ on January 04, 2009, 05:43:33 PM
Thanks mate, I like this very much. :D
Moved the color etc attributes to style.css, and got a lil carried away lol as you can see in attachment.
Thanks mate, adds a nice touch to the forum :)
lol it is very nice ;D
Can you share the code with us please,
To make a Special Version.
Oh of course mate.
You could improve the parts I cannot.
It is attached.
I renamed the folder so others wont get confused.
It is packaged, as I repackage all mods to suit my forum, before installing them.
Less manual edits that way ;)
Quote from: Sabre™ on January 05, 2009, 02:17:47 AM
Oh of course mate.
You could improve the parts I cannot.
It is attached.
I renamed the folder so others wont get confused.
It is packaged, as I repackage all mods to suit my forum, before installing them.
Less manual edits that way ;)
lol thank you it is very nice
i will add it ;D
lol
I've actually changed my code, as I thought it looked a little too plain.
I've only added catbg3 and changed a couple css values, so now it looks like the attached image.
<div>', theme_linktree(), '</div>
<tr class="catbg3">
<td valign="middle">
<div class="lol"><b>', $context['subject'], '</b></div>
</td>
</tr>';
It rough and ugly coding mate, maybe you can clean it up?
Quote from: Sabre™ on January 05, 2009, 06:11:54 AM
lol
I've actually changed my code, as I thought it looked a little too plain.
I've only added catbg3 and changed a couple css values, so now it looks like the attached image.
<div>', theme_linktree(), '</div>
<tr class="catbg3">
<td valign="middle">
<div class="lol"><b>', $context['subject'], '</b></div>
</td>
</tr>';
It rough and ugly coding mate, maybe you can clean it up?
what about that
Display.template.php echo '
<div>', theme_linktree(), '</div>
<tr class="catbg4">
<td valign="middle">
<div class="lol"><b>', $context['subject'], '</b></div>
</td>
</tr>';
style.css.catbg4
{
background: url(images/catbg.jpg) #88A6C0 repeat-x;
color: #ffffff;
padding: 1px;
margin: 10px auto;
width: 500px;
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
-moz-border-radius-topleft:15px;
-moz-border-radius-topright:15px;
}
oops sorry, I was editing my post lol
[ previous post ]
Yes that looks very nice! 8)
With the moz-border-radius, you do not need 4 of them, I only added that incase others wanted to change each corner.
If they are all to be the same value, all you need is
moz-border-radius: 15px;
Also, the curved edges only work for FF, in other browsers, they are square
[ new post ]
Oh ok. I dunno why that happened.
EDIT
hahaa you removed your post lol
hahaa lol ,
QuoteAlso, the curved edges only work for FF, in other browsers, they are square
:'(
How did you curve your catbg?
I used your edit, and it displays without the curves.
don't forget to use (catbg4) not (catbg3)
Quoteecho '
<div>', theme_linktree(), '</div>
<tr class="catbg4">
<td valign="middle">
<div class="lol"><b>', $context['subject'], '</b></div>
</td>
</tr>';
Yeah it is!!
Brother, when it comes to copy n paste, I graduated with honours!! lol
I copied your code over. Looking at it I cannot see, as it is structured now, how it would wrap the catbg, but I am still learning, soo.....
Its no biggie though, I decided to leave it how it is so it maintains a balanced structure, and not something too far out.
Thanks for your mod mate, I like its function :)
Yeah I think ive said this b4 its a great mod, but idd like to tadd that it helps to make the forums look more... vBulletin-ish wich is good... is there a mod that can sorta pull of the whole package to make things look more VBish? And if not then consider this a request for one
Nope...
This is SMF... Recognise beeeaaattcchh!!
lol (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.postsmile.net%2Fimg%2F19%2F1968.gif&hash=e09c53a51f6c7198f2712e032101b7fe003b05e8)
Sorry mate, Ive just been watchin some Dave Chappelle and couldnt resist lol
Anything is possible, and many mods(new n old) have leant in that direction.
I prefer the smf look.
If I want the look or feel of another software, then I'll use it and incorporate what I like from others. This is what is done anyways.
Since you seriously want this, then post it in the request section as not to hijack this thread.
Good luck :)
I am love vBulletin look , and it's mods ,
and i am also looking for know how to make SMF look like it , Check my mods (Welcome Back - Good Bye / Topic Title In The Center Under Linktree / .....)
SMF is the pest free forum ;D
http://www.smfciyiz.biz/index.php/topic,6841.0.html
themes for smf look like vBulletin
when will be done for smf 2 RC1?
Quote from: edi67 on February 18, 2009, 10:07:28 AM
when will be done for smf 2 RC1?
i will try that next week.
Last update :
2010/11/5 - update for 2.0 RC4
Thanks, mod works great :)
you are welcome
updated :)
TO ADD BOARD DISCRIPTION BELOW YOUR LINK TREE DO THIS;
LOOK FOR THE them_linktree() function in the index.template.php file and add the $context['description'] as shown below.
most of the index.template.php is found in the themes folder in your smf folder.
function theme_linktree()
{
global $context, $settings, $options;
echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top: 2ex;">';
// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];
// Show the link, including a URL if it should have one.
echo '<b>', $settings['linktree_link'] && isset($tree['url']) ? '<a href="' . $tree['url'] . '" class="nav">' . $tree['name'] . '</a>' : $tree['name'], '</b>';
// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];
// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1)
echo ' > ';
}
echo '</div>';
echo '<div style="text-align:left; color:#387cb3; font-size: 16pt;">'
.$context['description']. '</div>';
}