Closed (fixed)
Project:
Flag Friend
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2009 at 13:37 UTC
Updated:
3 Nov 2010 at 04:00 UTC
Hi,
I'm a little confused as to how to add [requestor] is now friends with [requestee]
First of all it puts out the username and not realname (and no links).
When I add [realname-link] is now friends with [realname-link] it just puts out the same name.
[requestor-url] outputs the userid/* (also not as a link)
Might be blonde here, but definitely missing something :)
Look forward to any reply, and thank you.
Lilian
Comments
Comment #1
sirkitree commentedWe gave the ability to put html in those fields. We're thinking of making it more obvious and actually putting them through input formats as well. But you should be able to do something like
Comment #2
liliplanet commentedThank you Sirkitree, that looks good, but the problem is that [requestor] and [requestee] outputs 'username' and not 'realname'. Basically users will not know who they are ...
Do you perhaps have a suggestion to make that possible?
Thank you so much.
Lilian
Comment #3
sirkitree commentedsuggest that you create some new tokens for this, submit a patch and i'll throw it in :)
Comment #4
liliplanet commentedHi,
Has anyone perhaps been able to have [requestor] or [requestee] as 'realname' and not 'username' perhaps?
Look forward to any reply, and thank you :)
Lilian
Comment #5
BenK commentedTracking...
Comment #6
liliplanet commentedWondering if anyone has perhaps been able to output realname and not 'username' as [requestor] or [requestee]?
Right now users actually do not know who the activity person is ..
Look most forward to any solution, and thank you ...
Lilian
Comment #7
Scott Reynolds commentedIts been something I have been thinking about a lot recently. Essentially, abstracting the user tokens in a manner that behaves the same as D7 tokens but is implemented completely differently. Boils down to this
Basically, it means that you just prefix all user tokens and you can use the ALL existing tokens. It would be quite magical and FAR easier to maintain.
Comment #8
liliplanet commentedWow Scott, that sounds fabulous .. a question though, the code in #7, is it ready for use and if so, do I add it to template.php or drop it in flag_friend?
In activity 'requestee_realname' is now friends with 'requestor_realname' would be an amazing enhancement :)
Look most forward to your reply.
Lilian
Comment #9
liliplanet commentedThe following works .. replace this code in your flag_friend module:
Thank you Guy!
Comment #10
sirkitree commentedMoving to the Flag Friend issue queue.
Comment #11
sirkitree commentedcommitted, thanks: http://drupal.org/cvs?commit=438914