Mods

0 Members and 1 Guest are viewing this topic.

*
Diego Andrés
Webmaster






*
GamePersia
#1
Sniffer
Re: Extra Info
January 13, 2015, 01:11:36 AM
not installing in Wrap theme, giving error " ./Themes/Wrap/Display.template.php"
please test on Wrap theme and fix it.
*
Diego Andrés
#2
Webmaster
Re: Extra Info
February 23, 2015, 09:29:12 PM
Install the mod but do not mark Wrap theme.
After the mod is installed, open Display.template.php of Wrap theme and search for
Code: [Select]
// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))

Replace with
Code: [Select]
// ExtraInfo by smftricks.com
if ($modSettings['extrainfo_enable'])
echo'
</ul>
<h3 class="accordion">'. (!empty($modSettings['extrainfo_text']) ? $modSettings['extrainfo_text'] : $txt['extrainfo_textdefault']) .'</h3>
    <ul class="reset smalltext accordion" id="msg_', $message['id'], '_extra_info">';

// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))
*
GamePersia
#3
Sniffer
Re: Extra Info
February 23, 2015, 10:28:07 PM
Install the mod but do not mark Wrap theme.
After the mod is installed, open Display.template.php of Wrap theme and search for
Code: [Select]
// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))

Replace with
Code: [Select]
// ExtraInfo by smftricks.com
if ($modSettings['extrainfo_enable'])
echo'
</ul>
<h3 class="accordion">'. (!empty($modSettings['extrainfo_text']) ? $modSettings['extrainfo_text'] : $txt['extrainfo_textdefault']) .'</h3>
    <ul class="reset smalltext accordion" id="msg_', $message['id'], '_extra_info">';

// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))

not working properly,..
just text coming "+Info", nothing else. we can not able to click it or do anything, and how to add other texts there ?
searched full profile zone, but no way to insert more text. while installing css modification is also not done :(
*
Diego Andrés
#4
Webmaster
Re: Extra Info
February 24, 2015, 05:38:09 PM
Sorry, add this at the end of the css file (Wrap/css/index.css)
Code: [Select]
h3.accordion
{
background: #E9E7E7 url(../images/arrow-square.gif) no-repeat scroll right -25px;
border: 1px solid #C4C4C4;
border-radius: 4px;
margin: 5px auto;
width: 77%;
height: 25px;
line-height: 25px;
padding: 0 5px;
color: #353535;
font-size: 12px;
text-shadow: 0 -1px #FFF;
text-align: left;
}
h3.accordion:hover
{
background-color: #EBEBEB;
}
h3.accordion.active
{
background-position: right 0;
}

And there's an image into the zip, upload it to Wrap/images/