Version 3.0 was created for both vb3.6 and vb3.7. I will no longer give support in this thread for this hack. Please click 'install' in the vb3.7 section for notifications about updates.
When I loginas a user, and try to view someone elses member profile page, it only shows the page of the person you're logged into. I realise this might not be the most important thing that needs fixing, but I figured I'd let you know anyway.
I can't reproduce it. I've logged inas testuser for example and i can see the member profile page from the other registered user (blabla, stoebi, tester) on my test forum.
Edit:
I can reproduce it only if i want to see the profile pages from admins.
For example:
Webmaster = Admin
Webmaster logged inas Stoebi As Stoebi i want to see the profile page from me (Webmaster), and i see my own profile page (Stoebi not the page from Webmaster)
Another example:
Stoebi is now Superadministrator and is logged inasuser blabla, but asuser blabla now i can't view the profile page from Stoebi and Webmaster.
I see my own profile page (blabla)
I can't reproduce it. I've logged inas testuser for example and i can see the member profile page from the other registered user (blabla, stoebi, tester) on my test forum.
Edit:
I can reproduce it only if i want to see the profile pages from admins.
For example:
Webmaster = Admin
Webmaster logged inas Stoebi As Stoebi i want to see the profile page from me (Webmaster), and i see my own profile page (Stoebi not the page from Webmaster)
Another example:
Stoebi is now Superadministrator and is logged inasuser blabla, but asuser blabla now i can't view the profile page from Stoebi and Webmaster.
I see my own profile page (blabla)
Regards, Stoebi
Do you need to loginas another user just to see your profile page?
I've tred adding a $ to the start of [sessionurl], but it then just shows $[sessionurl] in the URL. Are you sure it's not meant to be something like $something[sessionurl], maybe $_SESSION[sessionurl] or something like that?
Do you need to loginas another user just to see your profile page?
You need to logged inas Abe1 for example to your ACP.
Then loginas another User, for example Testuser and try to look at your (Abe1) profile.
Quote:
Originally Posted by Ninth Dimension
I've tred adding a $ to the start of [sessionurl], but it then just shows $[sessionurl] in the URL. Are you sure it's not meant to be something like $something[sessionurl], maybe $_SESSION[sessionurl] or something like that?
My HEADER, it works fine now:
Code:
find:
--------------------------------------------------------------------
<!-- logo -->
--------------------------------------------------------------------
BEFORE place this:
--------------------------------------------------------------------
<!-- Start AdminLogInAsUser -->
<if condition="$_REQUEST['admin_log_in_as_user'] OR $_COOKIE[COOKIE_PREFIX . 'admin_log_in_as_user']">
<div align="center" style="color: red; background-color: white; border: 1px solid black; padding:2px"><a href="$vboptions[forumhome].php?$session[sessionurl]log_out_admin_log_in_as_user=true">$vbphrase[admin_log_out_as_user]</a></div>
</if>
<!-- End AdminLogInAsUser -->
--------------------------------------------------------------------
I'm not sure what's not working right, but in our case when you click the link to login as a different user, we get the header line saying we are logged inas the other user and click to log back in to our account. But everything else is showing up like we're not logged in at all most of the time. It seems to randomly show it as logged inas that user sometimes, but most of the time not. The only thing I can think of is maybe a conflict with another addon? Cant think of what it could be though.