Real Tibia Letters for Gesior ACC News

Discussion in 'Web-development' started by ragal, Aug 6, 2009.

  1. ragal

    ragal New Member

    Joined:
    Nov 29, 2007
    Messages:
    735
    Likes Received:
    18
    Best Answers:
    0
    Hello Otlanders!


    I have new present for you :D
    The Rl Tibia Letters!!

    I have All (26) Alphabetics letters from Tibia.com ,
    And i show you how to make it on your website news!.

    [​IMG]

    Step 1 Download: Letters.rar

    Unpack letters folder in : "Layouts/yourlayout/images/" -It Should be like This: "Layouts/yourlayout/images/letters"

    Than u can make Set it in Your News like Gesior or whatever , you must do theese things:

    For the Letter "A" :

    Code (Text):
    1. <a<img src="http://serverip/layouts/tibiacom/letters/a.gif"</a> [b]Blablabla[/b]
    With this way u can add all letters! ( A-Z )

    u can also upload it on Imageshack.us or something and add in the news, HOW:

    Code (Text):
    1. <a<img src="http://img518.imageshack.us/img518/3056/lettermarteli.gif"</a>[b]Blablabla[/b]
    I Hope it helped you!

    Rep++ ME!

    [​IMG]
     

    Attached Files:

    53701688 likes this.
  2. Swimmi

    Swimmi ♥Inactive♥

    Joined:
    Jan 15, 2008
    Messages:
    791
    Likes Received:
    1
    Best Answers:
    0
    thanks :D!
     
  3. Istnorator

    Istnorator Helper

    Joined:
    Aug 6, 2009
    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    wooo , thanks its usefull.
     
  4. Saj

    Saj Remember my name

    Joined:
    Feb 26, 2008
    Messages:
    2,127
    Likes Received:
    5
    Best Answers:
    0
    That's really great! Good job!
     
  5. Chris

    Chris Inactive

    Joined:
    Aug 11, 2008
    Messages:
    2,628
    Likes Received:
    237
    Best Answers:
    2
    Why don't you make it automatic?

    PHP:
    1. $content = 'Hey this is my example content!';
    2. $content = '<img src="http://otland.net/images/letters/'.$content[0].'.gif" />'.substr($content, 1);
     
  6. ragal

    ragal New Member

    Joined:
    Nov 29, 2007
    Messages:
    735
    Likes Received:
    18
    Best Answers:
    0
    I'm a noob in php sorry :blink:
     
  7. Paxton

    Paxton Banned User

    Joined:
    Feb 23, 2008
    Messages:
    4,110
    Likes Received:
    46
    Best Answers:
    0
    Here is the automatic working one :)

    PHP:
    1. <?
    2. $content = strtoupper('Hi my name is Paxton');
    3. for ($i = 0; $i < strlen($content); ++$i)
    4. {
    5.     if($content[$i] == " ")
    6.     echo "&nbsp;&nbsp;&nbsp;&nbsp;";
    7.     else
    8.     echo "<img src='http://static.tibia.com/images/global/letters/letter_martel_$content[$i].gif' />";
    9. }
    10. ?>
    In:
    PHP:
    1. $content = strtoupper('Hi my name is Paxton');
    Write your sentence. :thumbup:
     
  8. Fragdonut

    Fragdonut Banned User

    Joined:
    Jul 27, 2009
    Messages:
    2,606
    Likes Received:
    0
    Best Answers:
    0
    so hard to find, lmao.
    It's called martel.
     
  9. ragal

    ragal New Member

    Joined:
    Nov 29, 2007
    Messages:
    735
    Likes Received:
    18
    Best Answers:
    0
    Thanks for THIS!! :))
     
  10. Chris

    Chris Inactive

    Joined:
    Aug 11, 2008
    Messages:
    2,628
    Likes Received:
    237
    Best Answers:
    2
    Oh, ehm, while using an automatic system for making the letters I would strongly advise you not to use any none alphabetical characters as the first letter to prevent any issues with it.
     
  11. Paxton

    Paxton Banned User

    Joined:
    Feb 23, 2008
    Messages:
    4,110
    Likes Received:
    46
    Best Answers:
    0
    Because there is just none non standard letters.

    Only letters from ASCII table.

    ASCII table:
    ASCII Table
     
  12. vakacjus

    vakacjus Lua & C++ Study.

    Joined:
    Oct 23, 2008
    Messages:
    228
    Likes Received:
    19
    Best Answers:
    0
    How to add it to site 'News'?? Sorry i'm newbie :S
     
  13. Sherlok

    Sherlok Well-Known Member

    Joined:
    Aug 29, 2008
    Messages:
    2,116
    Likes Received:
    42
    Best Answers:
    0
    me too.
     
  14. chojrak

    chojrak Banned User

    Joined:
    Oct 25, 2008
    Messages:
    5,832
    Likes Received:
    165
    Best Answers:
    1
    Add it to news.php? :mad:
     
  15. Roykuss

    Roykuss Teh Best

    Joined:
    Mar 30, 2009
    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    I think most Gesior's do it by itself. I know mine does it by itself when I type something up.
     
  16. Lava Titan

    Lava Titan High Exp OTS Developer

    Joined:
    Jul 25, 2009
    Messages:
    1,448
    Likes Received:
    56
    Best Answers:
    0
    cool job
     
  17. Rizzla

    Rizzla Donator / Photoshop

    Joined:
    Sep 7, 2008
    Messages:
    1,335
    Likes Received:
    2
    Best Answers:
    0
    thx
     
    Last edited: Dec 29, 2009
  18. Kofels

    Kofels New Member

    Joined:
    Nov 11, 2008
    Messages:
    41
    Likes Received:
    1
    Best Answers:
    0
    Your code sucks a bit... try this:
    PHP:
    1. <?php
    2. function tibiaLetter( $string )
    3. {
    4.     return '<img src="http://static.tibia.com/images/global/letters/letter_martel_' . strtoupper( $string[0] ) . '.gif" />' . substr( $string, 1 );
    5. }
    6. echo tibiaLetter( 'hello world!' );
    7. ?>
     
  19. Paxton

    Paxton Banned User

    Joined:
    Feb 23, 2008
    Messages:
    4,110
    Likes Received:
    46
    Best Answers:
    0
    Lol man, my code does different thing, try first then say it suck. <_<
     
  20. Zonet

    Zonet Web Developer

    Joined:
    Sep 1, 2008
    Messages:
    4,375
    Likes Received:
    44
    Best Answers:
    0
    Do you understand what his does?
     

Share This Page

Loading...