News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Topic Title In The Center Under Linktree

Started by islam2hamy, December 28, 2008, 11:44:24 AM

Previous topic - Next topic

Sabre™

#20
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
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


islam2hamy

hahaa lol ,

QuoteAlso, the curved edges only work for FF, in other browsers, they are square

:'(

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





Sabre™

How did you curve your catbg?
I used your edit, and it displays without the curves.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


islam2hamy

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>';

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





Sabre™

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 :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


taha116

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
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

Sabre™

Nope...
This is SMF...    Recognise beeeaaattcchh!!
lol 
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 :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


islam2hamy

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

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





islam2hamy


Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

islam2hamy


Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





islam2hamy

Last update :

2010/11/5  -  update for 2.0 RC4

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





[Lucien]

I'm using SMF 2.0.2 and SimplePortal 2.3.4

islam2hamy


Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





islam2hamy


Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





mosravo


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 '&nbsp;>&nbsp;';
   }

   echo '</div>';
   echo '<div style="text-align:left; color:#387cb3; font-size: 16pt;">'
   .$context['description']. '</div>';
}

Advertisement: