Sub Menu
Links Menu
Online Users

In total there are 308 users online :: 2 registered, 0 hidden and 306 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

Roster/Medals Mod?

Mods etc.

Moderator: Integra Moderator

Roster/Medals Mod?

PostAuthor: Falconenator » Tue May 23, 2006 6:16 pm

I saw this mod awhile back and i liked it
its made for integramod just dont know what its called
[url=http]Site Here[/url]

does anyone know where to find that mod that would thats exactly that
cause i really like that idea and would love it for my site
Last edited by Falconenator on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Falconenator
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 17, 2006 8:37 am
Cash on hand: 0.00

PostAuthor: Adrian Rea » Tue May 23, 2006 8:43 pm

MrDSL made the mod for 132.x http://integrmod.com/home/viewtopic.php?t=1746 but I am not sure if it was updated for 140.

A
Last edited by Adrian Rea on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 11:59 pm
Cash on hand: 0.00

Re: Roster/Medals Mod?

PostAuthor: Falconenator » Wed May 24, 2006 8:38 am

i got the medal mod to install but it looks nothing like the one i showed
some of the code i couldnt input because its a different type of code
here what i get

http://www.alteranancients.com/medals.php

it also seems to draw the info on which group they go into by there forum rank
Last edited by Falconenator on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Falconenator
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 17, 2006 8:37 am
Cash on hand: 0.00

PostAuthor: grizzly_cs » Wed May 24, 2006 10:19 am

Have you asked the site owner, where the mod came from??
Last edited by grizzly_cs on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
grizzly_cs
Members
Members
 
Posts: 33
Likes: 0 post
Liked in: 0 post
Joined: Sat May 06, 2006 10:46 pm
Cash on hand: 0.00

PostAuthor: Eon » Thu May 25, 2006 3:34 am

Yeah that mod looks sweet, and it is defintely heavily modified from original form.

I would like to see that server stats plugin if it works for other server types.
Last edited by Eon on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Eon
Sr Integra Member
Sr Integra Member
 
Posts: 627
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 9:15 am
Cash on hand: 0.00

Re: Roster/Medals Mod?

PostAuthor: Falconenator » Sun May 28, 2006 8:45 am

i asked them but none of them would answer me anyone got any ideas
Last edited by Falconenator on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Falconenator
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 17, 2006 8:37 am
Cash on hand: 0.00

PostAuthor: grizzly_cs » Mon May 29, 2006 9:17 pm

Well then its probably something he modded himself to be unique to their site... It almost impossible to tell what he used.. There are multiple medal mods out there...
Last edited by grizzly_cs on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
grizzly_cs
Members
Members
 
Posts: 33
Likes: 0 post
Liked in: 0 post
Joined: Sat May 06, 2006 10:46 pm
Cash on hand: 0.00

Re: Roster/Medals Mod?

PostAuthor: Falconenator » Tue May 30, 2006 12:09 pm

finally got a reply dunno if anyone can do it

What I can do is give you a basic idea of what I did...

I made a medals table that held the image path, medal title, description... Then I made another table that held the relation between the people and their medal.. basically the user_id, medal_id, event date and event description...

The list of people pulled is based on who is part of the Black Hats usergroup and uses the rank they have assigned in the phpbb tables... The way it's sectioned out by rank, I did with a GROUP BY in the select statement that pulls the members... The php has code in it, that when it gets to a new section, ie commissioned officers to non-commisioned officers, it makes another rank heading.

I'm a bit of a hack when it comes to php.. I just take another page similar to what I want and make the changes from there.. If this other mod is close to what you need, I'd install it and make tweaks from there..
Last edited by Falconenator on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Falconenator
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 17, 2006 8:37 am
Cash on hand: 0.00

PostAuthor: ayasha » Fri Jun 23, 2006 6:34 am

i am back with more questions, is there install instructions for the medal mod for IM 140?

this is some modding instructions for viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
'POSTER_AVATAR' => $poster_avatar,

#
#-----[ AFTER, ADD ]------------------------------------------
#
'POSTER_MEDAL_COUNT' => $medal_count, // Medal MOD


i do not know how to do this because i cannot find 'POSTER_AVATAR' => $poster_avatar,

also, i cannot find what this edit wants done

#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_viewprofile.php

#
#-----[ FIND ]------------------------------------------
#
$profiledata = get_userdata($HTTP_GET_VARS[POST_USERS_URL]);

#
#-----[ AFTER, ADD ]------------------------------------------
#
// Medal MOD

//
// Category
//

$sql = "SELECT cat_id, cat_title
FROM " . MEDAL_CAT_TABLE . "
ORDER BY cat_order";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query medal categories list', '', __LINE__, __FILE__, $sql);
}

$category_rows = array();
while ( $row = $db->sql_fetchrow($result) )
{
$category_rows[] = $row;
}
$db->sql_freeresult($result);

$sql = "SELECT m.medal_id, mu.user_id
FROM " . MEDAL_TABLE . " m, " . MEDAL_USER_TABLE . " mu
WHERE mu.user_id = '" . $profiledata['user_id'] . "'
AND m.medal_id = mu.medal_id
ORDER BY m.medal_name";

if($result = $db->sql_query($sql))
{
$medal_list = $db->sql_fetchrowset($result);
$medal_count = count($medal_list);

if ( $medal_count )
{
$medal_count = '<a>' . $medal_count . '</a>';

$template->assign_block_vars('switch_display_medal', array());

$template->assign_block_vars('switch_display_medal.medal', array(
'MEDAL_BUTTON' => '<button>'.$lang['Medal_details'].'</button>')
);
}
}

for ($i = 0; $i <count>sql_query($sql))
{
$row = array();
$rowset = array();
$medal_time = $lang['Medal_time'] . ': ';
$medal_reason = $lang['Medal_reason'] . ': ';
while ($row = $db->sql_fetchrow($result))
{
if (empty($rowset[$row['medal_name']]))
{
$rowset[$row['medal_name']]['cat_id'] = $row['cat_id'];
$rowset[$row['medal_name']]['cat_title'] = $row['cat_title'];
$rowset[$row['medal_name']]['medal_description'] .= $row['medal_description'];
$rowset[$row['medal_name']]['medal_image'] = $row['medal_image'];
$row['issue_reason'] = ( $row['issue_reason'] ) ? $row['issue_reason'] : $lang['Medal_no_reason'];
$rowset[$row['medal_name']]['medal_issue'] = '<tr><td><span>' . $medal_time . create_date($board_config['default_dateformat'], $row['issue_time'], $board_config['board_timezone']) . '</span></td></tr><tr><td><span>' . $medal_reason . $row['issue_reason'] . '</span><hr></td></tr>';
$rowset[$row['medal_name']]['medal_count'] = '1';
}
else
{
$row['issue_reason'] = ( $row['issue_reason'] ) ? $row['issue_reason'] : $lang['Medal_no_reason'];
$rowset[$row['medal_name']]['medal_issue'] .= '<tr><td><span>' . $medal_time . create_date($board_config['default_dateformat'], $row['issue_time'], $board_config['board_timezone']) . '</span></td></tr><tr><td><span>' . $medal_reason . $row['issue_reason'] . '</span><hr></td></tr>';
$rowset[$row['medal_name']]['medal_count'] += '1';
}
}

$medal_width = ( $board_config['medal_display_width'] ) ? 'width="'.$board_config['medal_display_width'].'"' : '';
$medal_height = ( $board_config['medal_display_height'] ) ? 'height="'.$board_config['medal_display_height'].'"' : '';

$medal_name = array();
$data = array();

//
// Should we display this category/medal set?
//
$display_medal = 0;

while (list($medal_name, $data) = @each($rowset))
{
if ( $cat_id == $data['cat_id'] ) { $display_medal = 1; }

if ( !empty($display_medal) )
{
$template->assign_block_vars('switch_display_medal.details', array(
'MEDAL_CAT' => $data['cat_title'],
'MEDAL_NAME' => $medal_name,
'MEDAL_DESCRIPTION' => $data['medal_description'],
'MEDAL_IMAGE' => '<img>',
'MEDAL_IMAGE_SMALL' => '<img>',
'MEDAL_ISSUE' => $data['medal_issue'],
'MEDAL_COUNT' => $lang['Medal_amount'] . $data['medal_count'],

'L_MEDAL_DESCRIPTION' => $lang['Medal_description'])
);
$display_medal = 0;
}
}
}
}

#
#-----[ FIND ]------------------------------------------
#
'USERNAME' => $profiledata['username'],

#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_USER_MEDAL' =>$lang['Medals'], // Medal MOD
'USER_MEDAL_COUNT' => $medal_count, // Medal MOD
'L_MEDAL_INFORMATION' => $lang['Medal_Information'], // Medal MOD
'L_MEDAL_NAME' => $lang['Medal_name'], // Medal MOD
'L_MEDAL_DETAIL' => $lang['Medal_details'], // Medal MOD


and this edit
#
#-----[ OPEN ]------------------------------------------
#
viewonline.php

#
#-----[ FIND ]------------------------------------------
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "faq.$phpEx";
break;

#
#-----[ AFTER, ADD ]------------------------------------------
#
case PAGE_MEDALS: // Medal MOD
$location = $lang['Medals'];
$location_url = "medals.$phpEx";
break;


and this edit
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<td><span>

#
#-----[ IN-LINE FIND ]------------------------------------------
#
{postrow.POSTER_FROM}</span><br></td>

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
{postrow.POSTER_FROM}<br>{postrow.POSTER_MEDAL_COUNT}<br>

#
#-----[ AFTER, ADD ]------------------------------------------
#
<BEGIN>
<table>
<BEGIN>
<tr>
<BEGIN>
<td><img></td>
<END>
</tr>
<END>
</table>
<END>
</span><br></td>


there are so many edits i cannot find, i am wondering if i am using the correct install file. going through the rest, it does not look like the template files have any of the "FIND"s that i need to find.
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00

Re: Roster/Medals Mod?

PostAuthor: Teelk » Sat Jun 24, 2006 8:40 pm

There's also the [url=http]Award Icons MOD[/url] that has MrDSL's PCP instructions included with it. The PCP stuff might not be identical, but it shouldn't be too difficult to figure out... usually just spacing issues with the FIND code. And, remember to add all the files from the admin directory to the admin/modules directory as well.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: ayasha » Sat Jun 24, 2006 8:52 pm

i have installed the awards icon mod, and now i need to get the medals mod installed. i am just not good with trying to figure out where the code is suppose to go if the "FIND" is not there, wish i was better.
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00

PostAuthor: ayasha » Sun Jun 25, 2006 9:06 am

if anyone is willing to help me figure this out, please pm me. i could really use some help on this <img>
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00

PostAuthor: Dragonsys » Tue Jun 27, 2006 5:43 am

"cleo";p="10203" wrote:if anyone is willing to help me figure this out, please pm me. i could really use some help on this <img>


Where did you find the instructions for IM 1.4.0? Do you have a link to the MOD?
Last edited by Dragonsys on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 6:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: ayasha » Tue Jun 27, 2006 6:34 am

i got the mod from here

http://www.phpbb.com/phpBB/viewtopic.php?t=148362

and as far as i know, there are no IM 1.4.0 instructions, that is what i have been asking for help with <img>
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00

PostAuthor: Dragonsys » Tue Jun 27, 2006 7:41 am

"cleo";p="10337" wrote:i got the mod from here

http://www.phpbb.com/phpBB/viewtopic.php?t=148362

and as far as i know, there are no IM 1.4.0 instructions, that is what i have been asking for help with <img>


I have downloaded the MOD and I'm looking at MrDSL's PCp instructions. I'll see what I can do.
Last edited by Dragonsys on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 6:45 am
Cash on hand: 0.00
Location: Springtown, TX

Next

Return to IntegraMOD Modifications

Who is online

Registered users: Google [Bot], Majestic-12 [Bot]

cron