The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
||||
|
||||
![]()
Can't you use htaccess to do the redirect?
|
#3
|
|||
|
|||
![]()
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. |
#4
|
||||
|
||||
![]()
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 |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|