Small fixes imgland to imgur, achievement images and link (#391)

Removed dead imgland links and changed them to imgur
Changed the example achievements image links with proper ones
Changed Achievements link to tfs repo
This commit is contained in:
Evil Puncker 2020-05-13 12:01:29 -03:00 committed by GitHub
parent d5749700fc
commit b0947041ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

View File

@ -22,19 +22,19 @@ if ($config['Ach'] == true) {
foreach ($config['achievements'] as $key => $achName) { foreach ($config['achievements'] as $key => $achName) {
$secret = false; $secret = false;
if (($achName['points'] >= 1) and ($achName['points'] <= 3) and (!$achName['img'])) { if (($achName['points'] >= 1) and ($achName['points'] <= 3) and (!$achName['img'])) {
echo '<td><center><img id="wtf" src="http://img2.wikia.nocookie.net/__cb20100828120326/tibia/en/images/0/0b/Achievement_Grade_Symbol.gif"></center></td>'; echo '<td><center><img id="wtf" src="https://i.imgur.com/TUCGsr3.gif"></center></td>';
} }
elseif (($achName['points'] >= 4) and ($achName['points'] <= 6) and (!$achName['img'])) elseif (($achName['points'] >= 4) and ($achName['points'] <= 6) and (!$achName['img']))
{ {
echo '<td><center><img id="wtf" src="http://img2.wikia.nocookie.net/__cb20100828120326/tibia/en/images/0/0b/Achievement_Grade_Symbol.gif"><img id="wtf" src="http://img2.wikia.nocookie.net/__cb20100828120326/tibia/en/images/0/0b/Achievement_Grade_Symbol.gif"></center></td>'; echo '<td><center><img id="wtf" src="https://i.imgur.com/TUCGsr3.gif"><img id="wtf" src="https://i.imgur.com/TUCGsr3.gif"></center></td>';
} }
elseif (($achName['points'] >= 7) and ($achName['points'] <= 9) and (!$achName['img'])) elseif (($achName['points'] >= 7) and ($achName['points'] <= 9) and (!$achName['img']))
{ {
echo '<td><center><img id="wtf" src="http://img2.wikia.nocookie.net/__cb20100828120326/tibia/en/images/0/0b/Achievement_Grade_Symbol.gif"><img id="wtf" src="http://img2.wikia.nocookie.net/__cb20100828120326/tibia/en/images/0/0b/Achievement_Grade_Symbol.gif"><img id="wtf" src="http://img2.wikia.nocookie.net/__cb20100828120326/tibia/en/images/0/0b/Achievement_Grade_Symbol.gif"></center></td>'; echo '<td><center><img id="wtf" src="https://i.imgur.com/TUCGsr3.gif"><img id="wtf" src="https://i.imgur.com/TUCGsr3.gif"><img id="wtf" src="https://i.imgur.com/TUCGsr3.gif"></center></td>';
} }
elseif (($achName['points'] >= 10) and (!$achName['img'])) elseif (($achName['points'] >= 10) and (!$achName['img']))
{ {
echo '<td><center><img id="wtf" src="http://img2.wikia.nocookie.net/__cb20100828120326/tibia/en/images/0/0b/Achievement_Grade_Symbol.gif"><img id="wtf" src="http://img2.wikia.nocookie.net/__cb20100828120326/tibia/en/images/0/0b/Achievement_Grade_Symbol.gif"><img id="wtf" src="http://img2.wikia.nocookie.net/__cb20100828120326/tibia/en/images/0/0b/Achievement_Grade_Symbol.gif"></center></td>'; echo '<td><center><img id="wtf" src="https://i.imgur.com/TUCGsr3.gif"><img id="wtf" src="https://i.imgur.com/TUCGsr3.gif"><img id="wtf" src="https://i.imgur.com/TUCGsr3.gif"></center></td>';
} }
else { else {
echo '<td><img id="wtf" src="' .$achName['img']. '"><br><br></td>'; echo '<td><img id="wtf" src="' .$achName['img']. '"><br><br></td>';
@ -42,7 +42,7 @@ echo '<td><img id="wtf" src="' .$achName['img']. '"><br><br></td>';
echo '<td>' .$achName[0]. '</td>'; echo '<td>' .$achName[0]. '</td>';
echo '<td>' .$achName[1]. '</td>'; echo '<td>' .$achName[1]. '</td>';
if ($achName['secret'] == true){ if ($achName['secret'] == true){
echo '<td><img id="wtf" src="http://img04.imgland.net/PuMz0mVqSG.gif"></td>'; echo '<td><img id="wtf" src="https://i.imgur.com/NbPRl7b.gif"></td>';
echo '<td>'. $achName['points'] .'</td>'; echo '<td>'. $achName['points'] .'</td>';
} else { } else {
echo '<td></td><td>'. $achName['points'] .'</td>'; echo '<td></td><td>'. $achName['points'] .'</td>';

View File

@ -89,7 +89,7 @@ if (empty($_POST) === false) {
<p> <p>
[b]<b>Bold Text</b>[/b]<br> [b]<b>Bold Text</b>[/b]<br>
[size=5]Size 5 text[/size]<br> [size=5]Size 5 text[/size]<br>
[img]<a href="http://www.imgland.net/" target="_BLANK">Direct Image Link</a>[/img]<br> [img]<a href="https://imgur.com/" target="_BLANK">Direct Image Link</a>[/img]<br>
[center]Cented Text[/center]<br> [center]Cented Text[/center]<br>
[link]<a href="http://youtube.com/" target="_BLANK">http://youtube.com/</a>[/link]<br> [link]<a href="http://youtube.com/" target="_BLANK">http://youtube.com/</a>[/link]<br>
[link=http://youtube.com/]<a href="http://youtube.com/" target="_BLANK">Click to View youtube</a>[/link]<br> [link=http://youtube.com/]<a href="http://youtube.com/" target="_BLANK">Click to View youtube</a>[/link]<br>

View File

@ -128,20 +128,20 @@
array(12036,6,"The Ice Islands Quest",1), array(12036,6,"The Ice Islands Quest",1),
); );
//Achivements based on "https://github.com/PrinterLUA/FORGOTTENSERVER-ORTS/blob/master/data/lib/achievements_lib.lua" (TFS 1.0) //Achievements based on "https://github.com/otland/forgottenserver/blob/master/data/lib/core/achievements.lua" (TFS 1.0)
$config['Ach'] = false; $config['Ach'] = false;
$config['achievements'] = array( $config['achievements'] = array(
35000 => array( 35000 => array(
'First Dragon', //name 'First Dragon', //name
'Rumours say that you will never forget your first Dragon', //comment 'Rumours say that you will never forget your first Dragon', //comment
'points' => '1', //points 'points' => '1', //points
'img' => 'http://www.tibia-wiki.net/images/Dragon.gif', //img link or folder (example)> 'images/dragon.png' 'img' => 'https://i.imgur.com/Nk2XDge.gif', //img link or folder (example)> 'images/dragon.png'
), ),
35001 => array( 35001 => array(
'Uniwheel', 'Uniwheel',
'You\'re probably one of the very few people with this classic and unique ride, hope it doesn\'t break anytime soon.', //comment 'You\'re probably one of the very few people with this classic and unique ride, hope it doesn\'t break anytime soon.', //comment
'points' => '1', //points 'points' => '1', //points
'img' => 'http://img1.wikia.nocookie.net/__cb20140214234600/tibia/en/images/e/e5/Uniwheel.gif', //img link or folder (example)> 'images/dragon.png' 'img' => 'https://i.imgur.com/0GYRgGj.gif', //img link or folder (example)> 'images/dragon.png'
'secret' => true 'secret' => true
), ),
30001 => array( 30001 => array(
@ -248,7 +248,7 @@
), ),
30020 => array( 30020 => array(
'Animal Activist', 'Animal Activist',
'Phasellus lacinia odio dolor, in elementum mauris dapibus a. Vivamus nec gravida libero, ac pretium eros. Nam in dictum ealesuada sodales. Nullam eget ex sit amet urna fringilla molestie. Aliquam lobortis urna eros, vel elementum metus accumsan eu. Nulla porttitor in lacus vel ullamcorper.', 'You have a soft spot for little, weak animals, and you do everything in your power to protect them - even if you probably eat dragons for breakfast.',
'points' => '2', 'points' => '2',
'secret' => true 'secret' => true
), ),

View File

@ -734,7 +734,7 @@ if (!empty($_GET)) {
<form action="" method="post"> <form action="" method="post">
<input name="reply_thread" type="hidden" value="<?php echo $threadData['id']; ?>"><br> <input name="reply_thread" type="hidden" value="<?php echo $threadData['id']; ?>"><br>
<p style="font-size: 13px; padding-left: 10px; padding-top: 10px; height: 5px; width: 600px; border-top: 1px solid black;"><b>[b]Bold Text[/b]</b>, [img]<a href="http://www.imgland.net/">Direct Image Link</a>[/img], [center]Cented Text[/center],<br> [link]<a href="http://youtube.com/" target="_BLANK">http://youtube.com/</a>[/link], [color=<font color="green">GREEN</font>]<font color="green">Green Text!</font>[/color], [*] - Dotted [/*]</p><br> <p style="font-size: 13px; padding-left: 10px; padding-top: 10px; height: 5px; width: 600px; border-top: 1px solid black;"><b>[b]Bold Text[/b]</b>, [img]<a href="https://imgur.com/">Direct Image Link</a>[/img], [center]Cented Text[/center],<br> [link]<a href="http://youtube.com/" target="_BLANK">http://youtube.com/</a>[/link], [color=<font color="green">GREEN</font>]<font color="green">Green Text!</font>[/color], [*] - Dotted [/*]</p><br>
<textarea class="forumReply" name="reply_text" style="width: 610px; height: 150px"></textarea><br> <textarea class="forumReply" name="reply_text" style="width: 610px; height: 150px"></textarea><br>
<select name="reply_cid" multiple="multiple"> <select name="reply_cid" multiple="multiple">