Hello Guest
No Avatar
Sign In to Remove
Posts: 
14
Reputation: 
0
Posted: October 1, 2011, 7:34 PM
  • Group: Member


I wisk to use this mod http://custom.simplemachines.org/mods/index.php?mod=1752 on my forum.  I attempted installation which it warned me would fail on post.template.

This was fine as I assumed I could simply add the code manually, replacing

Code: [Select]
// Now show the subject box for this post.


with

Code: [Select]
// Here starts the Topic Prefix Mod
if (!empty($context['prefix']))
{
echo'
<dt>
', $txt['prefix_select'], ':
</dt>
<dd>
<select name="post_prefix" id="post_prefix">
<option value="">(', $txt['prefix_no'], ')</option>';

foreach($context['prefix'] as $prefix)
echo'
<option value="', $prefix['prefix'], '" >', $prefix['prefix'], '</option>';

echo'
</select>
</dd>';
}
// Here Topic Prefix Mod End's

// Now show the subject box for this post.



And then continued with the installation.  The admin panel appears and I can add prefixes but for some reason the prefix drop down is not appearing when I attempt to post.  Would you have any idea why this is?  Is it something I have done wrong or is it to do with Vertex?

Thank you.
Posts: 
400
Reputation: 
20
Posted: October 1, 2011, 9:14 PM
  • Group: Administrator
  • AIM: mlm@visualpulse.net
  • deviantART: MadLittleMods
  • Photobucket: MadLittleMods
If you added all the code edits that failed manually then it should work as how the mod should.
<3 Nerve, Sk8, Labradoodle, Austin