Commit Graph

17 Commits

Author SHA1 Message Date
iopietro 5ecf035cb3 Alliance fixes part 2
+Public forums are now displayed for every player on the server
+Fixed some security bugs that permitted to create thread and posts to
private forums
+Fixed some general bugs
2018-05-19 00:01:50 +02:00
iopietro e5d823cda0 Alliance forum fixes part 1
Fixed the majority of security issues:

+Fixed a bug that permitted to edit, delete and create a forum in any
alliance, without any permissions
+Fixed a bug that permitted to edit, create and delete any kind of
thread, with any kind of permission
+Fixed a bug that permitted to edit, modify and delete every kind of
post, without any kind of permission
+Fixed a bug that din't permit to create posts and threads
+Fixed a bug that permitted to create forum and threads with empty
name/topic
+Fixed a bug that permitted to move a thread to an invalid forum
+Fixed a bug that permitted to create an invalid type of forum
+Fixed a bug that didn't permit to move forums, to the top and the
bottom of their forum type (in reality, it wasn't even coded)
+Added a sorting column for supporting the "move to top/bottom"
functionality
+Minor improvements and bug fixing/code indentation/removal of redundant
code

NOTE: For playing this version, you HAVE to add a new column to the table "s1_forum_cat", you can simply do that by running this query (where "s1_" is the prefix of your server): ALTER TABLE s1_forum_cat ADD `sorting` int(11) NOT NULL AFTER `id`
2018-05-18 00:28:48 +02:00
phaze1G 77e3cd68b0 Buttons replace part 2 (#536)
* Update assignpos.tpl

* Update changename.tpl

* Update kick.tpl

* Update kick.tpl

* Update linkforum.tpl

* Update search.tpl

* Update 18_create.tpl

* Update invite.tpl

* Update option.tpl

* Update newdorf.tpl

* buttons replace part 2

* Update addABTroops.tpl

* Update addTroops.tpl

* Update graphic.tpl

* Update all.tpl

* Update archive.tpl

* Update forum_3.tpl

* Update read.tpl

* Update ranksearch.tpl

* Update delete.tpl

* Update inbox.tpl

* Update 19.tpl
2018-04-29 13:03:59 +02:00
iopietro 9e44c1cd6d Some replacements
+Replaced all $GLOBALS['link'] with $database->dblink
-Removed Templates/links.tpl from build.php (it's already in
Templates/menu.tpl)
2018-04-08 19:55:28 +02:00
Pietro 23a6957a7f Fixed a little error
Generated when "fid2" was empty.
2018-04-01 18:11:02 +02:00
Martin Ambrus 1f1b876651 fix: any alliance owner can edit any alliance forum data
#410
2017-12-26 17:01:21 +01:00
Martin Ambrus ce6f4ed3a9 fix: all players can see forum edit links
#410
2017-12-04 20:53:03 +01:00
Martin Ambrus ec8752ac27 fix: fid2 missing from URL after forum post edited
Closes #355
2017-11-22 12:46:46 +01:00
Martin Ambrus a822504706 fix: counting queries optimization
Closes #300
2017-11-04 15:41:35 +01:00
Martin Ambrus a163206782 feat: forum post notifications into mailbox 2017-10-22 19:16:43 +02:00
Martin Ambrus 7270a69a63 fix: all location headers need to have exit after them! 2017-10-22 13:00:54 +02:00
Martin Ambrus 6f3973748c fix: more manual typecastings 2017-10-18 00:59:49 +02:00
evader1337 2d26af7c46 Trying to fix this monstrosity #2 2016-09-13 18:54:25 +02:00
Shadowss a371c60661 forum update 2013-12-21 10:28:59 +02:00
yi12345 1cec3c9e4c update 2013-09-17 23:50:01 +03:00
yi12345 37f382ccc3 fix forum surveys 2013-09-17 23:16:13 +03:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00