![]() |
Quote:
|
Just to make things even easier for the members (something that is needed on my boards, you can add a link to their profile on the main usercp page). This is what suited me best, but I thought it might be wortwhile posting it here so some of you guys could possibly make use of it.
Anyway, it's just a simple template edit. Go to the template USERCP. Then do the following. Find Code:
<!-- ############## SUBSCRIBED THREADS ############## --> Code:
<!-- Start modrewrite usercp add - by ed --> Also, it should be noted that the bit of code there only works when you do the username mod_rewrite. If you did the userid mod_rewrite then replace $bbuserinfo[username] with $bbuserinfo[userid]. I haven't tested that, but I'm pretty sure it should work. |
Nice add on ed. I have already done this on my site but for those that haven't this is of course beneficial.
|
YOURBOARDURLHERE can be replaced by : $vboptions[bburl] ... that's the goal of that variable!
|
Ok, I edited it to include that. Thanks :D
|
There's a bug, gang. The username is working. The userid isn't. It's going to a user not found page because it can't find a user with a number name.
Amy |
Thanks for letting me know Amy. The userid thing was added by another user, not me. My original was specifically so that you could do username.
|
The UserID works for me, as does the member name. This is very neat.. the only thing I didn't like was the trailing slash, but I'll just get used to it!
@Amy: Could it be something with your mod_rewrite? |
Pretty cool mod..
I did notice a problem though. If a user has a "." in their name, it will not work. I'm pretty sure this is an obvious error.. Would there happen to be a fix for this at all? |
I also noticed that if the user has a space in their name, it doesn't work. A %20 is added in its place... and won't work.
|
All times are GMT. The time now is 11:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|