News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

The "You have to login to..... message

Started by Siirist, August 03, 2010, 04:09:10 PM

Previous topic - Next topic

Siirist

Hi, :)

Where are the "Error pages"
(We're sorry we can't let you look at member's profiles until you register")
located,
and
if possible, how do I modify them?

Thanks In Advance,
Cloud 8)
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

xenovanis

/Themes/default/languages/Errors.english.php

You'll find languagestrings, looking like this

$txt['string_do_not_change'] = 'Change this part to whatever you want';


Make sure single quotes are escaped with a slash, like this:
Don\'t

Or you'll get a parse error  ;)

How do I modify files?
"Insanity: doing the same thing over and over again and expecting different results."

Siirist

Quote from: xenovanis on August 03, 2010, 04:22:59 PM
/Themes/default/languages/Errors.english.php

You'll find languagestrings, looking like this

$txt['string_do_not_change'] = 'Change this part to whatever you want';


Make sure single quotes are escaped with a slash, like this:
Don\'t

Or you'll get a parse error  ;)

How do I modify files?

Can we be friends er something? :D
Um, while we are on the subject, I didn't know where to ask this.

If I set it up so that "ANY" theme is the Default theme, will changes made to the default theme cause things to happen with the "ANY" theme?

Thanks,
Cloud 8)
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Hj Ahmad Rasyid Hj Ismail

Quote from: SurvivorOfAbuse on August 03, 2010, 05:34:51 PM
If I set it up so that "ANY" theme is the Default theme, will changes made to the default theme cause things to happen with the "ANY" theme?
Yes. It will. But make sure ANY has all the file that default has.

CapadY

Most of the time it is enough to make the modifications in the default theme.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Siirist

Quote from: capady on August 03, 2010, 06:13:26 PM
Most of the time it is enough to make the modifications in the default theme.

Thank you all and I will mark this as solved. :D

Be Well,
Cloud 8)
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Advertisement: