News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

MCLegendII.1

Started by Bulakbol, January 28, 2008, 07:44:55 PM

Previous topic - Next topic

rodolfo

Hello JohnyB,

this is the file that you asked. My english is very bad :D

Ur_Irish_Rose

Awsome Mod :) Thank you for making it :) took me a bit of time to get my staff sorted on it.

I just went into the admin area typed in 1,2,3,4,5,6 etc till i got to 25 lol then i went to the main screen and noted all my staff and what number they were, lol went back into the admin area and put them in order and hey presto :)

Simple and easy mod to use and to set up :)

Thank you once again :)

Sharon

http://www.boards-express-forum.com/BE/index.php
Irish And Proud SMF Charter Member

Bulakbol

@rodolfo
   Your BoardIndex.php is okay. Here's your edited BoardIndex.template.php.


@Ur_Irish_Rose
  haha So you had fun? It's fun isn't it? :)


Thanks for using this mod.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

rodolfo

Thanks very much for your fast help.

This mod is very beautyful. Yhanks for your job ;D

xsghost

Can someone please help me make this mod available for the theme Aa New Damage V2? Im new to SMF and not sure how to mod the files manually.

Thanks

ccbtimewiz

Quote from: xsghost on July 28, 2008, 11:53:36 AM
Can someone please help me make this mod available for the theme Aa New Damage V2? Im new to SMF and not sure how to mod the files manually.

Thanks

Attach your index.template.php file.

xsghost

Thanks for the help ccbtimewiz :D

Heres the file :)

ccbtimewiz


xsghost

Thanks ccbtimewiz, but when I uploaded it and went to my site I got this error:

QuoteTemplate Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.

Any help?

Thanks

ccbtimewiz

I can't find why it would do that. Could you tell me the exact line where it finds the error?

xsghost

Quote from: ccbtimewiz on July 28, 2008, 04:49:11 PM
I can't find why it would do that. Could you tell me the exact line where it finds the error?

Parse error: syntax error, unexpected $end in .../Themes/Aa_New_Damage_v2/BoardIndex.template.php on line 1127

1118:
1119:       </div>
1120:
1121:    </div>';
1122:
1123: }
1124:
1125:
1126:
1127: ?>
1128:
1129:

Adish - (F.L.A.M.E.R)

Any way I can run this onto the theme Dark Night ?

Just like any theme edits to get it displayed onto different theme.

Please let me know.

Thanks.

Bulakbol

@xsghost
   Try this one. Let me know if it doesn't work.



@optimushunk
   You have to edit your BoardIndex.template.php. Try it, it is easy. Only few lines to edit.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Adish - (F.L.A.M.E.R)

can you give me the code edits for that theme please? i tried package parser but didnt get it right. i got this error.

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: Entity: line 395: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xED 0x72 0x67 0x75 in /home/ars/public_html/package.php on line 431

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: po de membro por Legenda.</div><div class="smalltext">(Devem ser separados por v in /home/ars/public_html/package.php on line 431

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: ^ in /home/ars/public_html/package.php on line 431

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/ars/public_html/package.php:431 Stack trace: #0 /home/ars/public_html/package.php(431): SimpleXMLElement->__construct('<?xml version="...') #1 /home/ars/public_html/package.php(400): parseModificationXML('/tmp/install-1....', Object(SimpleXMLElement), 'all') #2 /home/ars/public_html/package.php(75): parsePackageInfoXML('/tmp/package-in...', 'install', 'all') #3 /home/ars/public_html/package.php(758): parseArchive('/tmp/php9QCBUO', 'install', 'all') #4 {main} thrown in /home/ars/public_html/package.php on line 431


thanks

Adish - (F.L.A.M.E.R)

Is this right what I have done ?

Find:-
<td class="windowbg" width="20" valign="middle" align="center">
<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt['uot_users_online_today'], '" border="0" />


Replace With:-
<td rowspan="2" class="windowbg" width="20" valign="middle" align="center"> ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" border="0" />', $context['show_who'] ? '</a>' : '', '

Find:-
<br />', $context['show_stats'] && !$settings['show_sp1_info'] ? '
<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</div>
</td>
</tr>';


Add After:-
if (!empty($modSettings['arrange_mclegend'])) { echo ' <tr>  <td class="windowbg2" width="100%">  <span class="smalltext">'; foreach($context['mcl_group'] AS $key => $dummy) for ($i = 0; $i < count($context['mc_legend']); $i++) if ($context['mc_legend'][$i]['id'] == $context['mcl_group'][$key]) { echo '[', $context['mc_legend'][$i]['link'], ']&nbsp;&nbsp;'; continue; } echo ' </span>  </td>  </tr>'; }


Please let me know. I get it right if seen but if there are code errors then I might face some side effects.

Thanks.

Eliana Tamerin

optimushunk, why don't you just use the package parser on the SMF mod site? You seem to get errors with other parsers, which leads me to believe its an issue with the parser you're using, not the mods. The SMF mod site (http://custom.simplemachines.org/mods/) has a parser built in, which you can use by going to the mod, selecting your SMF version from the drop down, and clicking the radio button to indicate which mod package you wish to parse (if there are more than one) and then parsing it.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

Adish - (F.L.A.M.E.R)

Quote from: Eliana Tamerin on July 29, 2008, 09:48:39 AM
optimushunk, why don't you just use the package parser on the SMF mod site? You seem to get errors with other parsers, which leads me to believe its an issue with the parser you're using, not the mods. The SMF mod site (http://custom.simplemachines.org/mods/) has a parser built in, which you can use by going to the mod, selecting your SMF version from the drop down, and clicking the radio button to indicate which mod package you wish to parse (if there are more than one) and then parsing it.

yep i used the parser onto the site shown in the mod dowload page, thats the way i might have got that code right. well is it right ? I tried it and worked well but maybe some error might be somewhere as i dont know it properly. Please let me know if its right or wrong.

Thanks.

xsghost

JohnyB you rock :D. Thanks it worked great

edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Bulakbol

@optimushunk
   You manually edited correctly. If you encounter error trlated to this mod, please let me know.

@all
   Thanks guys.  8)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Advertisement: