News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

MODS not working

Started by mizz77, July 09, 2007, 01:56:54 AM

Previous topic - Next topic

mizz77

I used latest post http://custom.simplemachines.org/mods/index.php?mod=575

for 1.1.3 and the flash email notification,... I addedteh zip files from teh admin area, and then installed them... it said it was a succesful install... but neither packadges work

can anyone tell em what the problem is?
ty

shadow82x

What theme are you using?
Colin B
Former Spammer, Customize, & Support Team Member

mizz77

#2
Babylon Theme, and it did say it was succesful....so Im nto sure what els to do

also just to add... where it lists all packadges used... I had 2 installed with the theme, and those have the delete option, the 2 I installed are listed but dont give the delete option... if that helps any.

thnx

gmt2001

Most mods ONLY install for the defeault SMF theme. You have to edit the installer on your own to use any other theme, including the older themes that come with your SMF installation

shadow82x

With that theme you have to custom install most mods. Read the online manual on how to do that. They probaly installed on the SMF core.
Colin B
Former Spammer, Customize, & Support Team Member

gmt2001

The install files can be manually edited but takes some work. Pretty much gotta do alot of replacements. Hopefully SMF 2.0 package installer will be able to better-handle the $themedir and $languagedir commands in the install files to apply to all themes at the same time

mizz77

Can either of you tell me where to see the info on custom installs... or how to do the replacements?

I can do with out the email mod... but the last post showing up on the bottom of the thread is silly... so if there snot an option to make the last post show up at the top of each thread... can someone point the way for me to do this?

thnx

gmt2001

replace $themedir with '$boarddir/Themes/Babylon'
replace $languagedir with '$boarddir/Themes/Babylon/language'

in the package-info.xml file and all other .xml or .mod files

You actaully want to copy lines with those and then change the copied lines  because soem files in some themes actually arent there becasue they use the Default themes files. Once this is done it msot likely will have some 'file not found' or other errors on the install page but you can ignore it

mizz77

okay im going to try... ty!
dont go away :-D

mizz77

what exactly do I change? not havign any luck... ty
<edit file>
$themedir/BoardIndex.template.php
</edit file>

<search for>
if (!empty($board['last_post']['id']))
echo '
<b>', $txt[22], '</b>  ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />
', $txt['smf88'], ' ', $board['last_post']['link'], '<br />
', $txt[30], ' ', $board['last_post']['time'];
</search for>

<replace>
if (!empty($board['last_post']['id']))
echo ' ', $board['last_post']['link'], '<br />
    ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />
', $board['last_post']['time'];
</replace>


<search for>
<td colspan="3" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
</search for>

<replace>
<td colspan="4" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
</replace>

<edit file>
$sourcedir/BoardIndex.php
</edit file>

<search for>
$row_board['short_subject'] = shorten_subject($row_board['subject'], 24);
</search for>

<replace>
$row_board['short_subject'] = str_replace('Re: ', ' ', shorten_subject($row_board['subject'], 24));
</replace>

mizz77


gmt2001

Copy and paste from <edit file>
$themedir/BoardIndex.template.php
</edit file>
until the line jsut before the next edit file line and paste it to the bottom of the file. Then replace $themedir in the newly pasted copy. Do this for anything that has $themedir or $languagedir in it. You should also check the package-info.xml file. for the package-info file you would want to paste right below the copyed line

mizz77

its uneditable, and theres no uninstaller... so any more suggestions?
thnx

gmt2001

you have to extract it on your own computer to do this

mizz77

I did that, but then when I tried to reupload it through the forum, it gave me errors... however in the other thread someone just showed me how to set those options in my admin panel... much easier than this crzay thing

could you tell me how to remove/uninstall this package now? it has no uninstaller

thnx

gmt2001

you should be able to through the package manager. It will just reverse all of its actions. but you will have to manually remove any custom files or images that it installed

mizz77

it has no uninstaller in the package... it wont uninstall... this is what it said when I tried... any suggestions? ty

babjusi

Quote from: mizz77 on July 09, 2007, 03:18:36 AM
Can either of you tell me where to see the info on custom installs... or how to do the replacements?

I can do with out the email mod... but the last post showing up on the bottom of the thread is silly... so if there snot an option to make the last post show up at the top of each thread... can someone point the way for me to do this?

thnx

Try this modparser. It will tell you exactly what changes need to be done

http://modparser.dev.dansoftaustralia.net/index.php

Advertisement: