4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: trez on February 21, 2006, 10:02:10 AM
-
I have many users asking why th useravatar and the name in the comments isn't linked to the profile, so the exact function {comment_user_profile_button} does. Anyone can help me ?
-
not the name is linked,
but at the bottom of each comment, there is a profile link?
-
yes, at the bottom is the profile link, but what i have to do is MAKE the username and useravatar LINK to the user-profile ;)
-
To link the username with the profile.
Open details.php
search for:
$comment_user_profile_button = "<a href=\"".$comment_user_profile_link."\"><img src=\"".get_gallery_image("profile.gif")."\" border=\"0\" alt=\"".$comment_user_name."\" /></a>";
insert below
// Commentusername mit Profil verlinken
$comment_user_name = "<a href=\"".$comment_user_profile_link."\">".$comment_user_name."</a>";
Wenn du auch das Userpic verlinken willst,
sind 2-3 änderungen mehr nötig,
da das userpic im template selbst verlinkt wird,
man müsste dann ne varilabe mehr registern.
Aber an sich reicht doch die Verlinkung des Usernamens?
-
thanks, you made my day ;) (again!)
PS: Das mit dem userpic ist nicht so wichtig. Ich denke auch das das reicht, danke
-
Hi -
Some feedback for those who have these two MODs installed:
Shoutbox/Guestbook: http://www.4homepages.de/forum/index.php?topic=22492.0
Show Received Comments V.2: http://www.4homepages.de/forum/index.php?topic=12695.0
and you have made the additional modifications listed on page 2 to the member.php file ...
http://www.4homepages.de/forum/index.php?topic=12695.msg78414#msg78414
then you have two examples of the code that this MOD is saying to find and add new code underneath. If you just follow the instructions in this MOD, the profile link does not take in the comment section, it takes in the Shoutbox. So to fix the profile link in the comment box, you need to open your member.php file and look for the same code, although it is slightly different but just copy the code from this MOD into CTRL-F and search the Member.php file and you'll find it. Now just do the same insert again, below, and you're all set. Link profiles in both places.
This is such a great MOD. If anyone has the time, read Steve Krug's book "Don't Make Me Think" about website design and usability. This MOD takes the thinking away. A community website visitor, at least for us, can just immediately see the linked named and know to click on it and see their profile. So easy.
Thanks so much!
- Brian