Extra Info

Started by Diego Andrés, February 02, 2014, 06:52:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Diego Andrés


GamePersia

not installing in Wrap theme, giving error " ./Themes/Wrap/Display.template.php"
please test on Wrap theme and fix it.

Diego Andrés

Install the mod but do not mark Wrap theme.
After the mod is installed, open Display.template.php of Wrap theme and search for
// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))


Replace with
// 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

Quote from: Diego Andrés on 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
// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))


Replace with
// 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

Sorry, add this at the end of the css file (Wrap/css/index.css)
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/