Just as another suggestion, the module only seems to show my URL when I view my profile, but when I view another users profile it doesn't show me their URL.
I'm baffled, why is that?
It would be good to show the users URL when any user views another users profile, so they can bookmark it etc.
Any ideas how this can be done (or is there anything I'm doing wrong why this isn't working this way?).
Thanks.
Michael.
Please Log in or Create an account to join the conversation.
Hi,
mediaguru wrote:I'd eventually like to add controls in the backend for diplay and text preferences...
I'd like to make a plug that displays the user's URL in his profile eventually. shouldn't be too hard.
I installed this mod, works very nicely thankyou.
I found one issue though. The "mod_yourcustomurl.php" file was Windows encoded with all the "CTRL-M"'s everywhere, although it still worked under Linux, they really should be removed. Windows has "dos2unix" software for download, or you can use dos2unix after installing cygwin for Windows to clean that up.
From there you can re-distribute the zip (updated zip).
Another suggestion that may be worth mentioning, can you add to the section:
echo '<a href="',$mosConfig_live_site,'/',$name,'">',$mosConfig_live_site,'/',$name,'</a></div>';
where it also works for:
username.example.com ?
Since Trail's userhome rewriting contribution allows this to work to. So basically, one can specify:
username.example.com or www.example.com/username
to display and let the user choose.
This may require a bit more php coding in the hp file (to cut the hostname off the domain name and then have something like:
$name, $cut_mosConfig_live_site,'/' etc
but it may be worth it.
The other thing I noted was that you had:
echo "<div align='center'><b>Your Custom URL:</b><br>";
when the "Show title" feature of the module allows this anyway (and is edittable from the module page). I changed this to:
echo "<div align='center'>";
and used the title of the Module to show a modified title instead of editting your php file to change the title.
The only other thing I can suggest is a feature to "tell others about my link" like the "invite module", maybe add that to your mod?
Personally, I can't wait for this to work as a tab on the profile, which will make it much nicer.
Thanks for the great mod though, if you have karma, I'm going to up it by one
Michael.
Please Log in or Create an account to join the conversation.
inside your profile.Golf Space URL: www.thegolfspace.com/Tony
Please Log in or Create an account to join the conversation.
How did you used this module to display your url
inside your profile.Golf Space URL: www.thegolfspace.com/Tony
Please Log in or Create an account to join the conversation.