![]() |
change profile-location with plugin
Hi,
I have a community-website which already provides profile-pages. Therefor I would like to redirect every username-link (member.php?...) to that other profile. My idea was to write a plugin which hooks into member_start. But at that point i would need the username of the link just clicked. How do I get this? $vbulletin->userinfo['username'] returns my own username but not the username I just clicked on. Greetings Valentin Sorry. This Thread points in the same direction but doesnt answer my question: https://vborg.vbsupport.ru/showthrea...t=member_start |
Can't you use htaccess to do the redirect?
|
I might. But the problem remains the same: How do I get the username?
A typical url looks like this "member.php?$session[sessionurl]u=$thread[postuserid]". So no username is provided. Right now I did edit all the templates and replaced "member.php" and all its parameters. But I think a much more elegant solution would be to hook into member.php and redirect everything with one plugin. |
But you have the userid.
Take a look at this and see if it helps a bit - [How-to] Unique subdomain for each member profile |
All times are GMT. The time now is 10:31 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:
|