No they don't update the core code, they just keep adding new features. There was only 1 major update from v3.x to v4.x, and it was the template part. I don't think it(but maybe? who knows ) would be a PHP compatibility issue as the hooks and objects haven't been touched. Here are the version logs: https://en.wikipedia.org/wiki/VBulletin#vBulletin_4 (can't link to the official release notes as they require you to be a paid customer)
Last edited by hackinet4; 01-02-2018 at 12:26 PM.
Click Here to visit the official MPGH wiki! Keep up with the latest news and information on games and MPGH! To check out pages dedicated to games, see the links below!
dd/mm/yyyy
Member - 31/01/2015
Premium - 12/09/2016
Call of Duty minion - 05/11/2016 - 05/11/2019
BattleOn minion - 28/02/2017 - 05/11/2019
Battlefield minion - 30/05/2017 - 05/11/2019
Other Semi-Popular First Person Shooter Hacks minion - 21/09/2017 - 17/09/2019
Publicist - 07/11/2017 - 02/08/2018
Cock Sucker - 01/12/2017 - Unknown
Minion+ - 06/03/2018 - 05/11/2019
Fortnite minion - 08/05/2018 - 05/11/2019
Head Publicist - 08/10/2018 - 10/01/2020
Developer Team - 26/10/2019 - 10/01/2020
Former Staff - 10/01/2020
Click Here to visit the official MPGH wiki! Keep up with the latest news and information on games and MPGH! To check out pages dedicated to games, see the links below!
dd/mm/yyyy
Member - 31/01/2015
Premium - 12/09/2016
Call of Duty minion - 05/11/2016 - 05/11/2019
BattleOn minion - 28/02/2017 - 05/11/2019
Battlefield minion - 30/05/2017 - 05/11/2019
Other Semi-Popular First Person Shooter Hacks minion - 21/09/2017 - 17/09/2019
Publicist - 07/11/2017 - 02/08/2018
Cock Sucker - 01/12/2017 - Unknown
Minion+ - 06/03/2018 - 05/11/2019
Fortnite minion - 08/05/2018 - 05/11/2019
Head Publicist - 08/10/2018 - 10/01/2020
Developer Team - 26/10/2019 - 10/01/2020
Former Staff - 10/01/2020
vbulletin 3 plugins are NOT compatible with vbulletin 4 plugins
THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE
"First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311
HAVING VIRTUAL DETOX
Silent (01-05-2018)
@Dave84311
Couldn’t it Have a “banned: Scam” above image title.
Last edited by BabyCrazy; 01-05-2018 at 05:56 AM.
@ @Dave84311
Hook location: fetch_musername
tested in vb 4.2.5 (didn't want to reconfigure apache to test)Code:if ($user['usergroupid'] == /* Banned Usergroup... Hardcoding... */ 8) { if(isset($GLOBAL['TITLE-CACHE'][$user['userid']])) { $user['usertitle'] = $GLOBAL['TITLE-CACHE'][$user['userid']]; } else { $query = " SELECT ( SELECT `username` FROM ".TABLE_PREFIX."user WHERE userid = ub_table.adminid LIMIT 1 ) AS username, ub_table.bandate, ub_table.liftdate, ub_table.reason FROM ".TABLE_PREFIX."userban AS ub_table WHERE ub_table.userid = " . intval($user['userid']) ." ORDER BY ub_table.bandate DESC LIMIT 1"; $result = $vbulletin->db->query_first_slave($query); if($result !== false) { $user['usertitle'] = "Banned by <u>".htmlentities($result['username'])."</u>"; $user['usertitle'] .= "<br />For <u>".htmlentities($result['reason'])."</u>"; if($result['liftdate'] > 0) { $user['usertitle'] .= "<br />Set to expire <u>".vbdate($vbulletin->options['dateformat'] . ', ' . $vbulletin->options['timeformat'], $result['liftdate'])."</u>"; } $GLOBAL['TITLE-CACHE'][$user['userid']] = $user['usertitle']; } } }
duration bans:
perma bans:
could be (a lot) more efficient, but i cba. it only took like 5 minutes to make plus the time it took to install vb.
edit: the hook caller can be found in functions.php @ method fetch_musername (ss of method this hook is called from https://s.msger.us/i/3c9a1e22jLRp.png )
Last edited by Silent; 01-05-2018 at 01:14 PM. Reason: thought the ban model was different
Click Here to visit the official MPGH wiki! Keep up with the latest news and information on games and MPGH! To check out pages dedicated to games, see the links below!
dd/mm/yyyy
Member - 31/01/2015
Premium - 12/09/2016
Call of Duty minion - 05/11/2016 - 05/11/2019
BattleOn minion - 28/02/2017 - 05/11/2019
Battlefield minion - 30/05/2017 - 05/11/2019
Other Semi-Popular First Person Shooter Hacks minion - 21/09/2017 - 17/09/2019
Publicist - 07/11/2017 - 02/08/2018
Cock Sucker - 01/12/2017 - Unknown
Minion+ - 06/03/2018 - 05/11/2019
Fortnite minion - 08/05/2018 - 05/11/2019
Head Publicist - 08/10/2018 - 10/01/2020
Developer Team - 26/10/2019 - 10/01/2020
Former Staff - 10/01/2020
BabyCrazy (01-05-2018),[MPGH]Dave84311 (01-05-2018),Hackinet (03-26-2018),hackinet4 (01-16-2018)
@Dave84311 update?
if he implements mine, he will have to add a simple filter for account purges and a few other things. I'd be happy to update it to make it more suited for this forum, but I'm not going to spend time on it if it's not going to be used.
edit: I got no life...
With censor:Code:if ($user['usergroupid'] == /* Banned Usergroup... Hardcoding... */ 8) { if(isset($GLOBAL['TITLE-CACHE'][$user['userid']])) { $user['usertitle'] = $GLOBAL['TITLE-CACHE'][$user['userid']]; } else { $query = " SELECT ( SELECT `username` FROM ".TABLE_PREFIX."user WHERE userid = ub_table.adminid LIMIT 1 ) AS username, ub_table.adminid, ub_table.bandate, ub_table.liftdate, ub_table.reason FROM ".TABLE_PREFIX."userban AS ub_table WHERE ub_table.userid = ". intval($user['userid']) ." ORDER BY ub_table.bandate DESC LIMIT 1"; $result = $vbulletin->db->query_first_slave($query); if($result !== false) { $user['usertitle'] = "Banned by <a href=\"member.php?u={$result[adminid]}\">". htmlentities($result['username']) ."</a>"; // Add custom censor here... $censored = (strpos($result['reason'], "Account purge requested") !== false); if(!$censored) { $user['usertitle'] .= "<br />For <u>". htmlentities($result['reason']) ."</u>"; } if($result['liftdate'] > 0) { $user['usertitle'] .= "<br />Set to expire <u>". vbdate($vbulletin->options['dateformat'] . ', ' . $vbulletin->options['timeformat'], $result['liftdate']) ."</u>"; } $GLOBAL['TITLE-CACHE'][$user['userid']] = $user['usertitle']; } } }
Without:
And the duration is still the same.
Last edited by Silent; 01-08-2018 at 09:44 PM.
Click Here to visit the official MPGH wiki! Keep up with the latest news and information on games and MPGH! To check out pages dedicated to games, see the links below!
dd/mm/yyyy
Member - 31/01/2015
Premium - 12/09/2016
Call of Duty minion - 05/11/2016 - 05/11/2019
BattleOn minion - 28/02/2017 - 05/11/2019
Battlefield minion - 30/05/2017 - 05/11/2019
Other Semi-Popular First Person Shooter Hacks minion - 21/09/2017 - 17/09/2019
Publicist - 07/11/2017 - 02/08/2018
Cock Sucker - 01/12/2017 - Unknown
Minion+ - 06/03/2018 - 05/11/2019
Fortnite minion - 08/05/2018 - 05/11/2019
Head Publicist - 08/10/2018 - 10/01/2020
Developer Team - 26/10/2019 - 10/01/2020
Former Staff - 10/01/2020
If it will come it could be very useful
@Dave84311
update??
Dama (01-17-2018)