Code: Select all
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('common');
Code: Select all
if ($user->data['user_id'] == ANONYMOUS)
{
login_box('', $user->lang['LOGIN']);
}
You forgot to upload medals.html into your template map of your style.hiakungfu wrote:
As shown in the picture, the message showed up after I tried mywebboard.com/medals.php
Seems like a problem with my style/theme or language? but I thought I edited and put proper file in the right place though.
Please can someone give me a clue.
Code: Select all
'USER_IS_NOMINATED' => ' [<a href="%s" title="This user has been nominated for a medal!">!</a>]',
Code: Select all
$sql = "SELECT m.id, m.name, m.description, m.image, m.device, m.dynamic, m.parent,
ma.nominated_reason, ma.time, ma.awarder_id, ma.awarder_un, ma.awarder_color, ma.bbuid, ma.bitfield,
c.id as cat_id, c.name as cat_name
FROM " . MEDALS_TABLE . " m, " . MEDALS_AWARDED_TABLE . " ma, " . MEDALS_CATS_TABLE . " c
WHERE ma.user_id = {$user_id}
AND m.parent = c.id
AND m.id = ma.medal_id
AND ma.nominated = 0
ORDER BY c.order_id, m.order_id, ma.time";
Code: Select all
ORDER BY c.order_id, ma.time, m.order_id";
Hi Gremlinn,Gremlinn wrote: zepherion: What about it is not working? Not showing in the ACP? Not showing in the overall_header? Getting an error?
Nobody?Giace wrote:okay i have another problerm... when i go to medals.php there will be a empty line of the top of the page, and the text will be ways biggger. Does somebody else have this problem too?
a picture of it:
^work^wordGremlinn wrote:Giace: What blank line are you looking at? The one with the work "Badges" is the category the medals belong to.
Hehe, so true. Yes I refreshed the style template, cleared the forum cacheGremlinn wrote:zepherion: Have you refreshed the style template? Cleared your forum cache? If we keep going like this, then you should get to the PM post count quickly