Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

ClaimLink Email Subject prob.

Quote Reply
ClaimLink Email Subject prob.
Hi
I have just installed the claimlink plugin which is excellent.

I have 1 problem though the Claim Link, Invite and reject email have the subject of the email set as

CLAIMLINK_ACCEPT_SUBJECT

CLAIMLINK_REJECT_SUBJECT

CLAIMLINK_INVITATION_SUBJECT

Is there anywhere that these can be changed to something a little more meaningful?

Thanks
Quote Reply
Re: [Mike_H] ClaimLink Email Subject prob. In reply to
Hi,

It looks like you're language.def file didn't update :(

Try logging in via SSH/Telnet, and typing;

cd /path/to/admin/templates/
grep -r -l 'CLAIMLINK_ACCEPT_SUBJECT' .

.. and that should show you where they were in fact installed (it should be in a language.txt file). Then, its just a case of copying the CLAIMLINK_* language options into your default_template_set (normally "default", or "luna", depending on which version of GLinks/LinksSQL you are running).

Hope that helps :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] ClaimLink Email Subject prob. In reply to
Hi
Its in the right place ie Luna and it can be edited from the Admin panel (template).

The contents of the email is fine its just the subjects that are as 1st stated.

Any ideas?
Quote Reply
Re: [Mike_H] ClaimLink Email Subject prob. In reply to
Hi Mike_H,

I have exactly the same problem, and it started for me after upgrading from lsql 2.2.1 to the new 3.0.x.

I beleive it is something in the plugin that needs to be updated for the Links 3 version...?

Any suggestion from the experts in the forum?

Regards,
/Pete
Quote Reply
Re: [meta500] ClaimLink Email Subject prob. In reply to
I havent managed to find a solution as yet fopr this anybody else got one?
Quote Reply
Re: [Mike_H] ClaimLink Email Subject prob. In reply to
I'm refreshing this thread, since I am also experiencing this problem. Does anyone have a solution? Is anyone using this plugin? What did you do?

TIA


Gila
The Global Yeshiva
Quote Reply
Re: [Gila] ClaimLink Email Subject prob. In reply to
Hi,

Look at the Install.pm file, you will see the following code:

my $language_defaults = { CLAIMLINK_NO_ID => 'No Link ID has been specified!',
CLAIMLINK_DOESNT_EXIST => 'The link you attempted to claim does not exist!',
CLAIMLINK_ALREADY_OWNER => 'You are already the owner of this link!',
CLAIMLINK_MAYNOT_CLAIM => 'This link may not be claimed!',
CLAIMLINK_SPECIFY_REASON => 'Please specify a reason!',
CLAIMLINK_INVITATION_SUBJECT => 'Your Website Has been Added!',
CLAIMLINK_ACCEPT_SUBJECT => qq|Owner Change: %s|,
CLAIMLINK_REJECT_SUBJECT => qq|Your Request: %s|,
CLAIMLINK_AWAITING_DECISION => 'This link has already been claimed. A decision about the ownership will be made shortly.',
};

I think you can just make the change here before you do the install.

Also look at the ClaimLink.pm, changes would have to be made there also!

Last edited by:

rascal: Sep 14, 2005, 9:39 AM
Quote Reply
Re: [rascal] ClaimLink Email Subject prob. In reply to
I don't seem to have the install.pm file. Although i'm not sure what that would help, since the claimlink language can also be set through build >> user language >> claimlink. The problem is that the subject of the email is displaying CLAIMLINK_REJECT_SUBJECT instead of 'Your Request: %s'

TIA



Gila
The Global Yeshiva
Quote Reply
Re: [Mike_H] ClaimLink Email Subject prob. In reply to
I've been having the same problems and found something of a workaround. All I did was add the following to >> /admin/templates/admin/laugauges.txt


'CLAIMLINK_ACCEPT_SUBJECT' => 'Owner Change: %s',
'CLAIMLINK_ALREADY_OWNER' => 'You are already the owner of this link!',
'CLAIMLINK_AWAITING_DECISION' => 'This link has already been claimed. A decision about the ownership will be made shortly.',
'CLAIMLINK_DOESNT_EXIST' => 'The link you attempted to claim does not exist!',
'CLAIMLINK_INVITATION_SUBJECT' => 'Your Website Has been Added!',
'CLAIMLINK_MAYNOT_CLAIM' => 'This link may not be claimed!',
'CLAIMLINK_NO_ID' => 'No Link ID has been specified!',
'CLAIMLINK_REJECT_SUBJECT' => 'Your Request: %s',
'CLAIMLINK_SPECIFY_REASON' => 'Please specify a reason!',


Seens to get the job done. What I can't figure out is why adding the same thing to our defult langauge.txt files won't work. My guess is that ClaimLink.pm needs a few changes to read from the users default lauguage set instead of just the /admin/.

What do you a think? I tried my best with the code but had no luck.
Quote Reply
Re: [Jonze] ClaimLink Email Subject prob. In reply to
Thanks for that, it worked a charm. Cool


Gila
The Global Yeshiva