Gossamer Forum
Home : Products : Gossamer Links : Discussions :

MODIFY_NOLINKS & USER_LOGOUT, where?

Quote Reply
MODIFY_NOLINKS & USER_LOGOUT, where?
I just noticed that the following variables/messages are not working properly at KaaZoo.com:

MODIFY_NOLINKS (dispayed when a member doesn't have any links to modify)
USER_LOGOUT (displayed when a member logs out)

Instead of actually showing some kind of message, just the variable is displayed. I assumed that I could just add a couple of entries to the language.txt default template and this would solve the problem, but no luck. Is there somewhere else that I have to go to get these messages working properly?

Thx



Rob Bartlett
AAA Internet Publishing, Inc.
http://www.AAAInternet.com
Quote Reply
Re: MODIFY_NOLINKS & USER_LOGOUT, where? In reply to
Hi,

These two are in my default language.txt file? You should have them there, if not, just add them in through the admin and you should be fine.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: MODIFY_NOLINKS & USER_LOGOUT, where? In reply to
Hi,

I posted a warning about this awhile back:)

If you are keeping your "default" templates between versions, you need to update the "language.txt" file and at least check the globals.txt file to make sure you are not missing any changes to those areas.

Your file is probably just older than the 2.0.3 release :)

I have a zipped copy of the default templates on the FAQ site, and it should include those files as well.



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: MODIFY_NOLINKS & USER_LOGOUT, where? In reply to
Alex, as I mentioned in my previous message, I have already tried adding the variables to my language.txt default template and this "did not" work. I assumed that it would do the trick, but it didn't. Here is what my entries look like:

'MODIFY_NOLINKS' => 'You haven't added any links to KaaZoo.com yet. There is nothing to modify',
'USER_LOGOUT' => 'You have been successfully logged out of your KaaZoo.com account.',

I also noticed that there are some other error messages that are not working - but I can't fix those until I can get these fixed. =P

Has the location of the language.txt file changed or something maybe?

Unfortunately there appears to be some router problems right now so I can't get to my server to troubleshoot...



Rob Bartlett
AAA Internet Publishing, Inc.
http://www.AAAInternet.com
Quote Reply
Re: MODIFY_NOLINKS & USER_LOGOUT, where? In reply to
I just noticed that now "none" of the language template entries appear to be working - I have double checked that the language.txt template is in the default folder and I set the permissions to 777.

Anyone have any idea what could be possibly causing this to happen?

Thx



Rob Bartlett
AAA Internet Publishing, Inc.
http://www.AAAInternet.com
Quote Reply
Re: MODIFY_NOLINKS & USER_LOGOUT, where? In reply to
One thing that may be causing problems is this apostrophe.......

'MODIFY_NOLINKS' => 'You haven>'<t added any links to KaaZoo.com yet. There is nothing to modify',

You may need to escape it.


Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: MODIFY_NOLINKS & USER_LOGOUT, where? In reply to
Thank you. =)

As you pointed out, a single misplaced apostrophe was causing the problems, I put a slash in front of it and the problem is solved!

Thx, wish I would have seen that earlier. =P



Rob Bartlett
AAA Internet Publishing, Inc.
http://www.AAAInternet.com
Quote Reply
Re: MODIFY_NOLINKS & USER_LOGOUT, where? In reply to
No probs......it is so easy to do by accident.

Paul Wilson.
Installations:
http://www.wiredon.net/gt/