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

islam2hamy

Link to Mod
   
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™ ;) )
           5/11/2010 : New Version 2.0 ( Special Thanks To forumuser  ;) )

   

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





qtime

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 :)

Mick.

#2
Will this mod show the board moderator as well?

"(Moderator: *******)Topic: any topic"

Mick.


Mick.

#4
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>



Mick.

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.

islam2hamy

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 .



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





islam2hamy

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

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





samozin

مبروك المود يا مان  موفق انشاء الله

JungleBunny


D.S

wonderful mod, I like this idea ..
thank u mate ..

islam2hamy

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.

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





taha116

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
"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

islam2hamy


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





Sabre™

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


islam2hamy

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.

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





Sabre™

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


islam2hamy

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

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





Sabre™

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


islam2hamy

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

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





Advertisement: