TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 515
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 122
  • Total: 123
  • lurkalot

Very Weird Code Showing Up

Started by brianjw, January 20, 2007, 12:25:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

brianjw

On the top of every theme except alienation because i modified it has the code:

// PM on new user registration. $txt['pm_register_enable'] = 'Send a PM to newly registered members?'; $txt['pm_register_id'] = 'ID of the member to send PM as'; $txt['pm_register_id_desc'] = 'This is the user profile that will be loaded when the PM is sent. To set as a guest sent PM set it to 0.'; $txt['pm_register_from'] = 'Send PM to newly registered member as'; $txt['pm_register_from_desc'] = 'This is the username that will appear when the PM is sent.'; $txt['pm_register_subject'] = 'The subject of the PM'; $txt['pm_register_body'] = 'The content of the PM goes here'; $txt['pm_register_body_desc'] = 'This is where you type the message that you would like to send to the user. To insert the username of the user just insert "{$username}". For forum name use "{$boardname}".'; $txt['pm_register_body_sample'] = 'This is a sample message.' ."\n\n". 'Hello {$username}, welcome to {$boardname}. That will output Hello "username", welcome to "forum_name".';

I have know idea where this is coming from. It might be something I have to modify in every theme but I'm not sure. It is showing up alot... :-\

IchBin

The last time you posted that error, I gave you the fix Brian. Go search your posts and find it.

brianjw

Quote from: IchBinâ„¢ on January 18, 2007, 10:02:22 PM
Brianjw, in your modifications.english.php of your default theme please make sure there is not a duplicate ?> at the end of your file, or that there is no other code after the ?> at the end of your file.

If the pirates theme has this file, also check it for the same thing.
Lets see if it works... :)

brianjw

There is no duplicate and there is no code after the ?> at the end of my file.
I have attatched my Modifications.template.php file to this message. ;)
This just came out of my files so it is the current. ^-^

Skhilled

#4
You must change EVERY modifications.english.php file for every theme. The mod only installs to the default theme and will show on every page. You must change the default theme modifications.english.php file to fix it from showing up on your site.

brianjw

That is the Modifications.english.php from the default theme

jacortina

Actually, it doesn't have to be the Modifications.english.php.

That looks like strings for the 'PM on Registration' mod. Wherever that mod put its text strings is the file that is messed up (and it's got to be one of the most recently changed files). If all else fails, search in *.english.php files for some of the text given. You'll find that text at the bottom of the file AFTER what should be the closing tag.

knat

its prolly modifications.english.php  ::)

Skhilled

The same happened to me using that mod the other day.

brianjw

Quote from: knat on January 20, 2007, 07:06:28 PM
its prolly modifications.english.php  ::)
If you read the whole thread you will see that has already been tried. A TP Staff just told me it was in english.php and it probably is considering it is not in modifications.english.php
Quote from: J.A.Cortina on January 20, 2007, 02:15:38 PM
Actually, it doesn't have to be the Modifications.english.php.

That looks like strings for the 'PM on Registration' mod. Wherever that mod put its text strings is the file that is messed up (and it's got to be one of the most recently changed files). If all else fails, search in *.english.php files for some of the text given. You'll find that text at the bottom of the file AFTER what should be the closing tag.
Ok, I will search english.php! :)

This website is proudly hosted on Crocweb Cloud Website Hosting.