News:

Wondering if this will always be free?  See why free is better.

Main Menu

Can't install packages.

Started by nielsbon1, June 28, 2012, 06:26:26 AM

Previous topic - Next topic

nielsbon1

Hello people,

My name is Niels and i have currently a SMF forum running but everytime while i install a mod it destroys the template. Like with the NChat mod it will put this code:
/* NChat by ThisMod.com */ $txt['nchat_name'] = 'NChat Shoutbox'; $txt['nchat_chatbox'] = 'Chat Box'; $txt['nchat_save'] = 'Save'; $txt['nchat_clean'] = 'Clean All'; $txt['nchat_blod'] = 'B'; $txt['nchat_italic'] = 'I'; $txt['nchat_underline'] = 'U'; $txt['nchat_default_color'] = 'Default color'; $txt['nchat_red'] = 'Red'; $txt['nchat_teal'] = 'Teal'; $txt['nchat_blue'] = 'Blue'; $txt['nchat_green'] = 'Green'; $txt['nchat_brown'] = 'Brown'; $txt['nchat_orange'] = 'Orange'; $txt['nchat_admin_mess'] = 'Admin Message'; $txt['nchat_order'] = 'Order'; $txt['nchat_order_first'] = 'First line on top'; $txt['nchat_order_last'] = 'Last line on top'; $txt['nchat_sound'] = 'Enable Sound
Work only with `First line n top`.'; $txt['nchat_disable_sound'] = 'Disable Sound'; $txt['nchat_enable_sound'] = 'Enable Sound'; $txt['nchat_censor'] = 'Censored Words'; $txt['nchat_disable_censor'] = 'Disable Censored Words'; $txt['nchat_enable_censor'] = 'Enable Censored Words'; $txt['nchat_smile'] = 'Smlies Option'; $txt['nchat_disable_smileys'] = 'Disable Smiles'; $txt['nchat_smf_smileys'] = 'SMF Smiles'; $txt['nchat_ym_smileys'] = 'Yahoo Smiles'; $txt['nchat_add_smileys'] = 'Add Smiles'; $txt['nchat_more_smileys'] = 'More...'; $txt['nchat_auto_link'] = 'Auto-link'; $txt['nchat_disable_auto_link'] = 'Disable Auto-link'; $txt['nchat_enable_auto_link'] = 'Enable Auto-link'; $txt['nchat_disable_consensor'] = 'Disable Censored Words'; $txt['nchat_enable_consensor'] = 'Enable Censored Words'; $txt['nchat_time'] = 'Reload time
in miliseconds'; $txt['nchat_line'] = 'Number of message'; $txt['nchat_lenght'] = 'Lenght of Message'; $txt['nchat_text'] = 'Default text color'; $txt['nchat_background'] = 'Default background color'; $txt['nchat_time_format'] = 'Time format'; $txt['nchat_mute_list'] = 'Mute List Manager'; $txt['nchat_add_mute'] = 'Mute this user (in minutes)'; $txt['nchat_remove_mute'] = 'Remove'; $txt['nchat_be_muted'] = '%s - was muted by %s from now to %s.'; $txt['nchat_so_fast'] = 'Slow down! You type so fast!!'; $txt['nchat_empty_mess'] = 'Empty message!'; $txt['nchat_index_unavailable'] = 'The ./nchat/index.php is now unavailable! Please contact admin forum about this issue!'; //nchat permission area $txt['permissiongroup_simple_nchat'] = 'NChat PLay around with the chat box.'; $txt['permissionname_nchat_mute'] = 'Mute a member from chat.'; $txt['permissionhelp_nchat_mute'] = 'Mute a member fro chat, but you cannot mute the Admin.'; $txt['cannot_nchat_mute'] = 'Sorry, but you can\'t mute any member!.'; $txt['permissionname_nchat_delete'] = 'Delete a chat message.'; $txt['permissionhelp_nchat_delete'] = 'Delete the message in the chat box.'; $txt['cannot_nchat_delete'] = 'Sorry, but you can\'t delete the chat content.'; $txt['permissionname_nchat_write'] = 'Write something and chat.'; $txt['permissionhelp_nchat_write'] = 'Join the chat box and talkative.'; $txt['cannot_nchat_write'] = 'Sorry, but you can\'t write to the chat box.'; $txt['permissionname_nchat_read'] = 'Read the chat content.'; $txt['permissionhelp_nchat_read'] = 'See waht the other shout in our big chat box.'; $txt['cannot_nchat_read'] = 'Sorry, but you can\'t read the chat content.'; /* NChat by ThisMod.com */


All above the template so above everything. I try'd to reinstall the files and overwrite the database with or currently one and still we are having the same problem. Is it something in our database? I used also the default theme on it and it still occured.

Thanks for reading and for the help.

Kind regards,

Niels

ziycon

Hi nielsbon1, your best bet would be to post in the support topic for NChat; http://www.simplemachines.org/community/index.php?topic=412967

With that said it could be something to do with missing PHP opening and closing tags '<?php' and '?>' in the language file for NChat, make sure these tags exist in the relevant language file and that the NChat code is being added within the opening and closing PHP tags and not outside of them.

I'm going to mark this topic as solved, if you don't get any help from the NChat support topic please post back here.

Advertisement: