updated ip's, passwords and query for xenforo2 forum

This commit is contained in:
christian 2021-09-25 15:50:31 +02:00
parent 5dee2a8e65
commit f66921b690
2 changed files with 4 additions and 4 deletions

View File

@ -69,7 +69,7 @@ public class DataMapperCalls {
public static ConcurrentMap<String, Collection<Integer>> getURLBanners() {
ConcurrentMap<String, Collection<Integer>> playerRelatedUrlBanners = new MapMaker().concurrencyLevel(4).makeMap();
String sqlXenforoQuery = "SELECT t2.provider_key, t1.user_group_id FROM `xf_user_group_relation` t1, `xf_user_external_auth` "
String sqlXenforoQuery = "SELECT t2.provider_key, t1.user_group_id FROM `xf_user_group_relation` t1, `xf_user_connected_account` "
+ "t2 WHERE t1.user_id = t2.user_id AND t2.provider = \"steam\"";
try (Connection con = DBCPDataSource2.getConnection()) {
try (PreparedStatement ps = con.prepareStatement(sqlXenforoQuery)) {

View File

@ -12,9 +12,9 @@ package DataMapper;
public class settings {
static String racetimerURL = "jdbc:mysql://localhost:3306/unloze_racetimer_css?useLegacyDatetimeCode=false&serverTimezone=UTC";
static String racetimerUser = "unloze_racetimer_css";
static String racetimerPassword = "foj342ronfeanfu32ruhfbb324";
static String racetimerPassword = "fXPWQD13403rfnfdsfnFONF";
static String forumURL = "jdbc:mysql://51.15.159.31:3306/unloze_forum?useLegacyDatetimeCode=false&serverTimezone=UTC";
static String forumURL = "jdbc:mysql://195.154.53.196:3306/unloze_forum?useLegacyDatetimeCode=false&serverTimezone=UTC";
static String forumUser = "unloze_webtimer";
static String forumPassword = "fn124FNFobn324FBEFn234";
static String forumPassword = "Oj32n4nfofn234nfb234oFDOWq";
}