Installing Users Logged in Today Mod.

Started by detechs, December 08, 2007, 02:06:21 AM

Previous topic - Next topic

detechs

m usin smf forum version 1.1.3
with the theme ferrytema.
i want to install users online today mod.
plz anyone help me installin it ..
i want to install it manually kz thru da package manager we cannot do it kz m nt usin the default theme ..

thnkx !!

Kays


If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

detechs

I used that smf package parser ..
but now see my site ..
hxxp:lex.indianfriendz.com/index.php [nonactive]

i created a sub domain to test it ..
not workin ..
but thnkx fr your reply buddy ..any more help ??

Kays

That means you did something wrong somewhere. Since I can't se the actual error can you post it and as well add post about 20 lines on either side of the line the error is on.

Untill then just reupload the original theme files. That should get you past that error.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

detechs

Again open da link ..n see the error yourself ..
www.lex.indianfriendz.com

well ..

Here is dis error ..

Template Parse Error!
There was a problem loading the /Themes/default/BoardIndex.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected '>' in .../Themes/default/BoardIndex.template.php on line 403

394:             <tr>
395:                <td class="windowbg2" width="100%">
396:                   <span class="middletext">
397:                      ', $txt['most_online_today'], ': <b>', $modSettings['mostOnlineToday'], '</b>.
398:                      ', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
399: 
400:    // Users online today
401: 
402:    echo '

403:    <tr>

404:       <td class="titlebg" colspan="2">', $txt['uot_users_online_today'], '</td>
405:    </tr><tr>
406:       <td class="windowbg" width="20" valign="middle" align="center">
407:          <img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt['uot_users_online_today'], '" border="0" />

Bulakbol

Line #398. Missing '; Should looks like this:


398:                      ', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')';


Try that.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

detechs

still the error showin up ..
help someone ..

Bulakbol

Attach your BordIndex.template.php so others can look at it.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Kays

QuoteAgain open da link ..n see the error yourself ..
www.lex.indianfriendz.com

As a guest we only get to see the generic error message. As admin you can see the line number and actual error.

From what I can see the mod didn't install properly or something got deleted. There should be a bit more after what there is on line 398.

', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
</span>
</td>
</tr>';

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods


SleePy

Find:
                      ', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')

Replace:
                      ', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')';
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: