View Full Version : Why usermarkup works not on both places?
boss22
11-05-2018, 03:32 PM
Will attach picture better explanation
one user have markup username and another in game_block =not?
MrZeropage
11-05-2018, 08:44 PM
I now did this for v2.7.6+
If you can't want, try this (and please tell me if this is what you wanted):
open /arcade/modules/arcade_playgame.php
search for
$DB->query("SELECT champ_name AS name,champ_score AS score FROM ibf_games_champs WHERE champ_gid=".$id);
$top = $DB->fetch_row();
REPLACE this with:
$DB->query("SELECT c.champ_name AS name, c.champ_score AS score, g.opentag AS prefix, g.closetag AS suffix
FROM ibf_games_champs AS c
LEFT JOIN ibf_members AS m ON (m.userid=c.champ_mid)
LEFT JOIN ibf_groups AS g ON (g.g_id=m.usergroupid)
WHERE c.champ_gid=".$id);
$top = $DB->fetch_row();
$top['name'] = $top['prefix'] . $top['name'] . $top['suffix'];
boss22
11-05-2018, 09:00 PM
Now usergame in game block is gone ...and score is 0
put back old code
on image above your see "lozana" username is black - no markup and my username - down is markup ...
MrZeropage
11-05-2018, 09:06 PM
Yes I do understand what you mean :)
Try to replace /arcade/modules/arcade_playgame.php with the attached file only for ibProArcade v2.7.5+
This is working fine in my development-forum (v2.7.6+) :cool:
boss22
11-05-2018, 09:12 PM
Yesssssssss now is fine both usernames have markup -
attach picture
nice
MrZeropage
11-05-2018, 09:17 PM
will be included in v2.7.6+
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.