Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

having trouble with my mod, and i dont know why

Aloittaja Coar, maaliskuu 21, 2006, 01:35:26 IP

« edellinen - seuraava »

Coar

this is my first mod, and i kinda trudged through it, so i dont have any clue why it doesnt work

when i manually apply all the same changes, it works fine (it can be seen in action, manually built, at www.gotteverquest.net)

the mod tho, does not work, and can be retrieved here - link to mod
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Harzem

Sorry but - what does it do? Looking at your forum didn't give me an opinion about what you have done ;)

H

Am I correct in thinking you have made a mod but it doesn't apply the changes correctly?

Have you seen the information here?
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Coar

sorry, was in a hurry at the time...

the mod applies the ability to input your skype name like any other messenger service on your profile, and have that correspond in all other files that use the messenger information

and yes, i did see the information at the link you provided, and i used that tutorial to build my mod. the problem i run into when i try to apply it on my other site is that it can't find about 14 of the files, and on the other 6 it doesnt want to update. I know the files all exist, i have ftp/phpMyAdmin access to both sites.

i manually built the coding in on the site i linked, and then i tried to use that coding as a base to build my mod to apply to the other site i have.

the concept behind the code to the mod is correct, but i think i may have applied it badly, and i need to know what to fix in that coding to fix it to make it a working mod
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Coar

its been a few days... was wondering if anyone has taken a look at my modification.xml file and had any tips for me that would get it to work
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

H

Could you post the contents of your modification.xml here in code tags as I can't seem to download your mod ATM
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Coar

#6
<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This is a modification file for Skype.

ATTENTION: If you are trying to install this manually, you should try
the package manager.  If it will not work for you, please take a look
at the following for information on this format:
http://mods.simplemachines.org/docs/manual-install.php

================================================================================

Modification files can be used to modify files so that they do what
your package needs them to do to work properly.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->

<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<!-- This information needs to be the same as that in the package-info.xml. -->
<id>coar:coarskypemod</id>
<version>1.0</version>

<!-- Edit Display.template.php in the Babylon Theme. -->
<file name="$boarddir/Themes/babylon/Display.template.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
', $message['member']['aim']['link'], ']]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

', $message['member']['skype']['link'], ']]></add>
</operation>
</file>

<!-- Edit Display.template.php in the Classic YaBB SE Theme. -->
<file name="$boarddir/Themes/classic/Display.template.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
', $message['member']['aim']['link'], ']]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

', $message['member']['skype']['link'], ']]></add>
</operation>
</file>

<!-- Edit Display.template.php in the SMF Default Theme. -->
<file name="$boarddir/Themes/default/Display.template.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
', $message['member']['aim']['link'], ']]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

', $message['member']['skype']['link'], ']]></add>
</operation>
</file>

<!-- Edit Help.template.php in the SMF Default Theme. -->
<file name="$boarddir/Themes/default/Help.template.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
<tr>
<td><b>YIM:</b></td>
<td></td>
</tr>]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

<tr>
<td><b>Skype:</b></td>
<td></td>
</tr>]]></add>
</operation>
</file>

<!-- Edit index.english.php in the Classic YaBB SE Theme. -->
<file name="$boarddir/Themes/classic/languages/index.english.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
$txt['MSN'] = 'MSN';]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

$txt['Skype'] = 'Skype';]]></add>
</operation>
</file>

<!-- Edit index.english.php in the SMF Default Theme. -->
<file name="$boarddir/Themes/default/languages/index.english.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
$txt['MSN'] = 'MSN';]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

$txt['Skype'] = 'Skype';]]></add>
</operation>
</file>

<!-- Edit InstantMessage.template.php in the SMF Default Theme. -->
<file name="$boarddir/Themes/default/InstantMessage.template.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
', $message['member']['aim']['link'], ']]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

', $message['member']['skype']['link'], ']]></add>
</operation>
</file>

<!-- Edit Load.php in the Sources Directory. -->
<file name="$sourcedir/Load.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
if ($set == 'normal')
{
$select_columns = "
IFNULL(lo.logTime, 0) AS isOnline, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH, a.filename, a.attachmentType,
mem.signature, mem.personalText, mem.location, mem.gender, mem.avatar, mem.ID_MEMBER, mem.memberName,
mem.realName, mem.emailAddress, mem.hideEmail, mem.dateRegistered, mem.websiteTitle, mem.websiteUrl,
mem.birthdate, mem.memberIP, mem.ICQ, mem.AIM, mem.YIM, mem.MSN,]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
mem.Skype,]]></add>
</operation>

<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
elseif ($set == 'profile')
{
$select_columns = "
IFNULL(lo.logTime, 0) AS isOnline, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH, a.filename, a.attachmentType,
mem.signature, mem.personalText, mem.location, mem.gender, mem.avatar, mem.ID_MEMBER, mem.memberName,
mem.realName, mem.emailAddress, mem.hideEmail, mem.dateRegistered, mem.websiteTitle, mem.websiteUrl,
mem.birthdate, mem.ICQ, mem.AIM, mem.YIM, mem.MSN,]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
mem.Skype,]]></add>
</operation>

<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
'msn' => $profile['MSN'] !='' && (empty($modSettings['guest_hideContacts']) || !$user_info['is_guest']) ? array(
'name' => &$profile['MSN'],
'href' => 'http://members.msn.com/' . $profile['MSN'],
'link' => '<a href="http://members.msn.com/' . $profile['MSN'] . '" target="_blank"><img src="' . $settings['images_url'] . '/msntalk.gif" alt="' . $profile['MSN'] . '" border="0" /></a>',
'link_text' => '<a href="http://members.msn.com/' . $profile['MSN'] . '" target="_blank">' . $profile['MSN'] . '</a>'
) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => ''),]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

'skype' => $profile['Skype'] !='' && (empty($modSettings['guest_hideContacts']) || !$user_info['is_guest']) ? array(
'name' => &$profile['Skype'],
'href' => 'callto://' . $profile['Skype'],
'link' => '<a href="callto://' . $profile['Skype'] . '" target="_blank"><img src="' . $settings['images_url'] . '/skype.gif" alt="' . $profile['Skype'] . '" border="0" /></a>',
'link_text' => '<a href="callto://' . $profile['Skype'] . '" target="_blank">' . $profile['Skype'] . '</a>'
) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => ''),]]></add>
</operation>
</file>

<!-- Edit ManageMembers.php in the Sources directory. -->
<file name="$sourcedir/ManageMembers.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
'messenger' => array(
'db_fields' => array('ICQ', 'AIM', 'YIM', 'MSN']]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
, 'Skype']]></add>
</operation>
</file>

<!-- Edit Memberlist.php in the Sources directory. -->
<file name="$sourcedir/Memberlist.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
'MSN' => array(
'label' => $txt['MSN'],
'width' => '25'
),]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

'Skype' => array(
'label' => $txt['Skype'],
'width' => '25'
),]]></add>
</operation>
</file>

<!-- Edit Memberlist.template.php in the SMF Default Theme. -->
<file name="$boarddir/Themes/default/Memberlist.template.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text for the code we replace.  You can also search for after, and the end of the file. -->
<search position="replace"><![CDATA[
// Old style tabs?
if (empty($settings['use_tabs']))
{
echo '
<tr class="titlebg">
<td colspan="12">';]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
// Old style tabs?
if (empty($settings['use_tabs']))
{
echo '
<tr class="titlebg">
<td colspan="13">';]]></add>
</operation>

<operation>
<!-- Search for this text for the code we replace.  You can also search for after, and the end of the file. -->
<search position="replace"><![CDATA[
}
echo '
<tr>
<td colspan="12"]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
}
echo '
<tr>
<td colspan="13"]]></add>
</operation>

<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
<td class="windowbg2">', $member['msn']['link'], '</td>]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

<td class="windowbg2">', $member['skype']['link'], '</td>]]></add>
</operation>

<operation>
<!-- Search for this text for the code we replace.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
// No members?
else
echo '
<tr>
<td colspan="12"]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
// No members?
else
echo '
<tr>
<td colspan="13"]]></add>
</operation>

<operation>
<!-- Search for this text for the code we replace.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
// Show the page numbers again. (makes 'em easier to find!)
echo '
<tr>
<td class="titlebg" colspan="12"]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
// Show the page numbers again. (makes 'em easier to find!)
echo '
<tr>
<td class="titlebg" colspan="13"]]></add>
</operation>
</file>

<!-- Edit News.php in the Sources directory. -->
<file name="$sourcedir/News.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
if ($profile['yim']['name'] != '' && !(!empty($modSettings['guest_hideContacts']) && $user_info['is_guest']))
$data['yim'] = $profile['yim']['name'];]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

if ($profile['skype']['name'] != '' && !(!empty($modSettings['guest_hideContacts']) && $user_info['is_guest']))
$data['skype'] = $profile['skype']['name'];]]></add>
</operation>
</file>

<!-- Edit PersonalMessage.template.php in the SMF Default Theme. -->
<file name="$boarddir/Themes/default/PersonalMessage.template.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
', $message['member']['aim']['link'], ']]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

', $message['member']['skype']['link'], ']]></add>
</operation>
</file>

<!-- Edit Profile.english.php in the Classic YaBB SE Theme. -->
<file name="$boarddir/Themes/classic/languages/Profile.english.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
$txt['smf237'] = 'Your MSN messenger email address';]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

$txt['smfskype'] = 'This is your Skype name';]]></add>
</operation>
</file>

<!-- Edit Profile.english.php in the SMF Default Theme. -->
<file name="$boarddir/Themes/default/languages/Profile.english.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
$txt['smf237'] = 'Your MSN messenger email address';]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

$txt['smfskype'] = 'This is your Skype name';]]></add>
</operation>
</file>

<!-- Edit Profile.php in the Sources directory. -->
<file name="$sourcedir/Profile.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
'msn' => array('name' => empty($user_profile[$memID]['MSN']) ? '' : $user_profile[$memID]['MSN']),]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

'skype' => array('name' => empty($user_profile[$memID]['Skype']) ? '' : $user_profile[$memID]['Skype']),]]></add>
</operation>

<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
$profile_strings = array(
'websiteUrl', 'websiteTitle',
'AIM', 'YIM',]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
'Skype',]]></add>
</operation>

<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
$fix_spaces = array('MSN', 'AIM', 'YIM']]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
, 'Skype']]></add>
</operation>

<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
'msn' => array(
'name' => empty($_POST['msn']) ? '' : stripslashes($_POST['MSN'])
),]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

'skype' => array(
'name' => empty($_POST['skype']) ? '' : stripslashes($_POST['Skype'])
),]]></add>
</operation>
</file>

<!-- Edit Profile.template.php in the SMF Default Theme. -->
<file name="$boarddir/Themes/default/Profile.template.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
<tr>
<td><b>', $txt[604], ': </b></td>
<td>', $context['member']['yim']['link_text'], '</td>
</tr>]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
<tr>
<td><b>', $txt['Skype'], ': </b></td>
<td>', $context['member']['skype']['link_text'], '</td>
</tr>]]></add>
</operation>

<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
<td align="center">', $txt['MSN'], '</td>]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

<td align="center">', $txt['Skype'], '</td>]]></add>
</operation>

<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
<td align="center">', $buddy['msn']['link'], '</td>]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

<td align="center">', $buddy['skype']['link'], '</td>]]></add>
</operation>

<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
<tr>
<td width="40%"><b>', $txt[604], ': </b><div class="smalltext">', $txt[602], '</div></td>
<td><input type="text" name="YIM" maxlength="32" size="24" value="', $context['member']['yim']['name'], '" /></td>
</tr>]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
<tr>
<td width="40%"><b>', $txt['Skype'], ': </b><div class="smalltext">', $txt['smfskype'], '.</div></td>
<td><input type="text" name="Skype" size="24" value="', $context['member']['skype']['name'], '" /></td>
</tr>]]></add>
</operation>
</file>

<!-- Edit Register.php in the Sources directory. -->
<file name="$sourcedir/Register.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
'YIM',]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
'Skype',]]></add>
</operation>
</file>

<!-- Edit Subs-Members.php in the Sources directory. -->
<file name="$sourcedir/Subs-Members.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
'MSN' => "''",]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[

'Skype' => "''",]]></add>
</operation>
</file>

<!-- Edit Who.template.php in the SMF Default Theme. -->
<file name="$boarddir/Themes/default/Who.template.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add.  You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
// Guests don't have information like icq, msn, y!, and aim... and they can't be messaged.

if (!$member['is_guest'])
{
echo '
<div style="float: right;">
', $context['can_send_pm'] ? '<a href="' . $member['online']['href'] . '" title="' . $member['online']['label'] . '">' : '', $settings['use_image_buttons'] ? '<img src="' . $member['online']['image_href'] . '" alt="' . $member['online']['text'] . '" align="middle" />' : $member['online']['text'], $context['can_send_pm'] ? '</a>' : '', '
', $member['icq']['link'], ' ', $member['msn']['link'], ' ', $member['yim']['link'], ' ', $member['aim']['link'], '
</div>';
}]]></search>
<!-- Add this text when we find it.  Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
// Guests don't have information like icq, msn, y!, and aim... and they can't be messaged.

if (!$member['is_guest'])
{
echo '
<div style="float: right;">
', $context['can_send_pm'] ? '<a href="' . $member['online']['href'] . '" title="' . $member['online']['label'] . '">' : '', $settings['use_image_buttons'] ? '<img src="' . $member['online']['image_href'] . '" alt="' . $member['online']['text'] . '" align="middle" />' : $member['online']['text'], $context['can_send_pm'] ? '</a>' : '', '
', $member['icq']['link'], ' ', $member['msn']['link'], ' ', $member['yim']['link'], ' ', $member['aim']['link'], ' ', $member['skype']['link'], '
</div>';
}]]></add>
</operation>
</file>
</modification>
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Coar

heres the copy of readme.txt, to show what i'm trying to do

Thank you for downloading Coar's Skype Mod, v1.0.
************************************************************
Contents:

Information
Files Modified/Added
Theme specific installation
************************************************************
Information:
This Mod was built after I downloaded someone elses,
and I didn't like the way it operated, and I had less
functional options with it. As long as all of your
files are in their default directories, this mod will
update the three prepackaged themes (Babylon Theme,
Classic YaBB SE Theme, and the SMF default theme).

It updates your site so that every feature of SMF
where the other messenger programs are, Skype is
listed. See the next section if you want a list of
all modified files.

The third section gives instructions on how to modify
you're custom themes to include these features.
************************************************************
Files Modified:

- Sources Directory files
-- Load.php
-- ManageMembers.php
-- Memberlist.php
-- News.php
-- Profile.php
-- Register.php
-- Subs-Members.php


- Babylon Theme files
-- Display.template.php


- Classic YaBB SE Theme files
-- Display.template.php

-- Languages/index.english.php
-- Languages/Profile.english.php


- SMF Default Theme files
-- Display.template.php
-- Help.template.php
-- InstantMessage.template.php
-- Memberlist.template.php
-- PersonalMessage.template.php
-- Profile.template.php
-- Who.template.php

-- Languages/index.english.php
-- Languages/Profile.php



Files Added:

- Babylon Theme files
-- Skype.gif
-- Skype-icon.gif


- Classic YaBB SE Theme files
-- Skype.gif
-- Skype-icon.gif


- SMF Default Theme files
-- Skype.gif
-- Skype-icon.gif
************************************************************
Theme specific installation:

Should you desire to install this mod to a
different theme, you shouldn't have too much
trouble. My site's custom themes pretty much
run on the same files as were the default
installed with SMF.

The only file I needed to modify across my
themes was Display.template.php and the mods
to that file across the themes are as follows:

Where the original code was -

', $message['member']['icq']['link'], '
', $message['member']['msn']['link'], '
', $message['member']['yim']['link'], '
', $message['member']['aim']['link'], '<br>';

I changed to the following -

', $message['member']['icq']['link'], '
', $message['member']['msn']['link'], '
', $message['member']['yim']['link'], '
', $message['member']['aim']['link'], '
', $message['member']['skype']['link'], '<br>';

If you have applied customized copies of any
other file listed above, for any theme, you will
need to search you're code for the custom copy
and compare it directly to the modified defaults.
************************************************************
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Coar

anyone have any thoughts? my current status on this mod is that the test is successful on 2 of the 20 files it needs to mod, File not found on 3 others, and test failed on the remaining 15. I'd rather not have to manually code this for the other site of mine, so if anyone could help me out, that'd be great
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Coar

"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Coar

ok, i now have my mod completed and loaded it onto the mods site...

now... how do i get it linked in the mods forum? i dont seem to have posting priviledges there
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Harzem

When your mod is approved, a topic will be automatically created for you.

Coar

ok... in that case...

how do i get it approved?

sorry for asking so many questions, this is my first mod, and im new to all of this. by browsing around, ive found a few hints, tricks, etc., and its helped alot, but there hasnt been a clear-cut path on building, submitting, and listing for the mods
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Harzem

Yeah, I also have a mod :) So I know how you feel.

The team members regularly check the site. They approve the mods, and open a topic for you. But, they don't send you a PM about that, you should watch it yourself ;)

Just wait for the approval. If it takes more than three or four days, you can remind a team member :D

Coar

thanks for the help *sits and twiddles thumbs impatiently*
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Advertisement: