News:

Join the Facebook Fan Page.

Main Menu

Mods problem

Started by Tavsih, November 08, 2012, 12:23:31 PM

Previous topic - Next topic

Tavsih

I installed some mods today,(Php script is coming on forums top)but this  happens with forums when i install any mod.Help please,i tried this with all themes but same problem.

Sry if it is not right place to post

Kindred

1- ask mod specific questions in the thread dedicated to support that mod.
2- what happened is that your mod(s) installed incorrectly.
go into Themes/default/languages/index.english.php
find the ?>
delete it
add it back at the very end of the file. Nothing should ever appear after the ?>, not even a carriage return
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Tavsih

?> is there in the end already,i deleted it from the top

Kindred

What?

There is no ?> at the start of the file.
The file should always start with <?php and end with ?>
Make sure that there is no other ?> elsewhere in the file
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Colin

Make sure you didn't delete <?php from the top accidentally thinking it was ?>
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Tavsih

I didnt delete anything,this problem is coming with some mods e.g if i install 100 mods this prob will be in 90 mods
p.s :This verification is annoying :>

Herman's Mixen

open ./Themes/default/languages/Modifications.english.php

Code (find) Select

?>


Code (add before) Select


// **Start Custom Form Mod Text**
// Header and General text for the Custom Form Mod settings area.
$txt['CustomForm_generalsettings_heading'] = 'Custom Form Mod Settings';
$txt['CustomForm_tabheader'] = 'Custom Forms';
$txt['CustomForm_form'] = 'Form';
$txt['CustomForm_field'] = 'Field';
$txt['CustomForm_view_title'] = 'View Forms Title';
$txt['CustomForm_view_text'] = 'View Forms Text';
$txt['CustomForm_view_perms'] = 'Form View Page Permissions';

// Stuff for the forms action
$txt['CustomForm_submit'] = 'Submit Form';
$txt['CustomForm_required'] = 'Required Fields';

// Junk for the list areas.
$txt['CustomForm_listheading_fields'] = 'Form Fields';
$txt['CustomForm_add_form'] = 'Add New Form';
$txt['CustomForm_add_field'] = 'Add New Field';
$txt['CustomForm_edit'] = 'Edit';
$txt['CustomForm_delete_warning'] = 'Are you sure you want to delete this?';
$txt['CustomForm_list_noelements'] = 'This list is currently empty.';
$txt['CustomForm_moveup'] = 'Move Up';
$txt['CustomForm_movedown'] = 'Move Down';

// Text for the settings pages.
$txt['CustomForm_text'] = 'Text';
$txt['CustomForm_type'] = 'Type';
$txt['CustomForm_type_vars'] = 'Extra Type Parameters';
$txt['CustomForm_output'] = 'Form Output';
$txt['CustomForm_board_id'] = 'Board';
$txt['CustomForm_template_function'] = 'Custom Template Function';
$txt['CustomForm_exit'] = 'Submit Redirect';

//  Redirection Text
$txt['CustomForm_forum'] = 'Forum';
$txt['CustomForm_topic'] = 'Topic';
$txt['CustomForm_board'] = 'Board (default)';
$txt['CustomForm_thanks'] = 'Thank You';
$txt['CustomForm_list'] = 'Form List';

//  Text for the thankyou page
$txt['CustomForm_thankyou'] = 'The information you entered has been submited.<br /><br />Thank you for taking the time to complete this form.<br /><br />You may now return to the Forum or view the Form List, if available.';

// Options for the selectbox on the field edit page.
$txt['CustomForm_checkbox'] = 'Check Box';
$txt['CustomForm_selectionbox'] = 'Selection Box';
$txt['CustomForm_textbox'] = 'Text Box (String)';
$txt['CustomForm_large_textbox'] = 'Large (Multiline) Text Box';
$txt['CustomForm_int'] = 'Text Box (Integer)';
$txt['CustomForm_float'] = 'Text Box (Float)';
$txt['CustomForm_radiobox'] = 'Radio Box';
$txt['CustomForm_infoboxa'] = 'Info Box';
// **End Custom Form Mod Text**


The verification stops after 10 posts ;)
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

Kindred

as I said Nadeem, the only reason that occurs is because, for some reason, the text strings for your mods get added AFTER the closing ?>

If you are doing an automatic installation of the mods, then something is very wrong with your server...  but I suspect that you are doing a manual installation and are doing it incorrectly.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Tavsih

Quote from: The Burglar! on November 09, 2012, 08:42:32 AM
open ./Themes/default/languages/Modifications.english.php

Code (find) Select

?>


Code (add before) Select


// **Start Custom Form Mod Text**
// Header and General text for the Custom Form Mod settings area.
$txt['CustomForm_generalsettings_heading'] = 'Custom Form Mod Settings';
$txt['CustomForm_tabheader'] = 'Custom Forms';
$txt['CustomForm_form'] = 'Form';
$txt['CustomForm_field'] = 'Field';
$txt['CustomForm_view_title'] = 'View Forms Title';
$txt['CustomForm_view_text'] = 'View Forms Text';
$txt['CustomForm_view_perms'] = 'Form View Page Permissions';

// Stuff for the forms action
$txt['CustomForm_submit'] = 'Submit Form';
$txt['CustomForm_required'] = 'Required Fields';

// Junk for the list areas.
$txt['CustomForm_listheading_fields'] = 'Form Fields';
$txt['CustomForm_add_form'] = 'Add New Form';
$txt['CustomForm_add_field'] = 'Add New Field';
$txt['CustomForm_edit'] = 'Edit';
$txt['CustomForm_delete_warning'] = 'Are you sure you want to delete this?';
$txt['CustomForm_list_noelements'] = 'This list is currently empty.';
$txt['CustomForm_moveup'] = 'Move Up';
$txt['CustomForm_movedown'] = 'Move Down';

// Text for the settings pages.
$txt['CustomForm_text'] = 'Text';
$txt['CustomForm_type'] = 'Type';
$txt['CustomForm_type_vars'] = 'Extra Type Parameters';
$txt['CustomForm_output'] = 'Form Output';
$txt['CustomForm_board_id'] = 'Board';
$txt['CustomForm_template_function'] = 'Custom Template Function';
$txt['CustomForm_exit'] = 'Submit Redirect';

//  Redirection Text
$txt['CustomForm_forum'] = 'Forum';
$txt['CustomForm_topic'] = 'Topic';
$txt['CustomForm_board'] = 'Board (default)';
$txt['CustomForm_thanks'] = 'Thank You';
$txt['CustomForm_list'] = 'Form List';

//  Text for the thankyou page
$txt['CustomForm_thankyou'] = 'The information you entered has been submited.<br /><br />Thank you for taking the time to complete this form.<br /><br />You may now return to the Forum or view the Form List, if available.';

// Options for the selectbox on the field edit page.
$txt['CustomForm_checkbox'] = 'Check Box';
$txt['CustomForm_selectionbox'] = 'Selection Box';
$txt['CustomForm_textbox'] = 'Text Box (String)';
$txt['CustomForm_large_textbox'] = 'Large (Multiline) Text Box';
$txt['CustomForm_int'] = 'Text Box (Integer)';
$txt['CustomForm_float'] = 'Text Box (Float)';
$txt['CustomForm_radiobox'] = 'Radio Box';
$txt['CustomForm_infoboxa'] = 'Info Box';
// **End Custom Form Mod Text**


The verification stops after 10 posts ;)

Man,i pasted this code and all scripts came on top.I formated Modifications.english.php and now its like old.But Gallery Arcade and staff mod and other some mods are not taking effect in forums .Please help ,
All mods script came on top.I have saved it before it ,i pasted it but not working.

Quote from: Kindred on November 09, 2012, 10:08:13 AM
as I said Nadeem, the only reason that occurs is because, for some reason, the text strings for your mods get added AFTER the closing ?>

If you are doing an automatic installation of the mods, then something is very wrong with your server...  but I suspect that you are doing a manual installation and are doing it incorrectly.
I install them by package manager,this come in only some mods.

emanuele

Could you attach the file Modifications.english.php?


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Tavsih

God,got many new  problems ,solved but now mods problem left and other mods are not working too.I deleted all script from modifications.english.php for temp ,forums working fine but no mods ,like gallery staff list etc.i copied the script.
Here is the link of modifications.english.php.Please help.
http://www.mediafire.com/?in72tb6f018xzu2

emanuele



Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Tavsih

Quote from: emanuele on November 10, 2012, 07:20:10 AM
Try the one attached.
Nothing to say emanuele ,only one thing .You're awesome bredda.Thanks alot.I appreciate it .

Kindred

BTW:, I will note that the problem was exactly what I told you to fix...   the ?> was in the wrong place, in the middle of the file

$txt['are_you_human_q_2'] = 'Random Question';?>
//   **Start Custom Form Mod Text**
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

emanuele

Yep, additionally you have to keep the "?>" on its own line as I recently have learned.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Advertisement: