![]() |
I'm looking at the code now...what did you say the problem was? Which link is giving you trouble?
|
...$userinfo[where] = "Schaut sich das Profil an von <a href=\"member.php?s=$session[sessionhash]&action=getinfo&userid=$user[userid]\">$user[username]</a>";
and here is the problem. It looks like: schaut sich das profil an von >>mr.x<<. If i click on mr.x ill get a message that this user are not registered. |
I'm not sure what's wrong, but to make sure the link works, replace this:
PHP Code:
PHP Code:
|
Thank you Chris. I will try it. :D
|
Running well on 2.2.6 apart from 1 issue with the profile userid, it doesn't put the number of the member in the hyperlink.
|
Replace this...
Code:
$user = $DB_site->query_first("SELECT username FROM user WHERE userid = ".intval($userid[1])); Code:
$user = $DB_site->query_first("SELECT userid, username FROM user WHERE userid = ".intval($userid[1])); |
Thanks Chris. Nobody viewing profiles for me to check at the moment, but I'm sure it works! :)
|
It doesn't say the name of the person who's profile they are viewing at all now... I'm gonna check my online.php just to be sure everything is as it should be.
|
Right everything is as it should be, all the file edits are done. Did you deliberately remove that feature Chris? If so wouldn't it be better to have the member name without the link, if it isn't easy to do? I have no idea what I'm talking about by the way. :)
|
The whole block of code should look like this:
Code:
case 'getinfo': |
All times are GMT. The time now is 07:47 PM. |
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:
|