Profile link in header is borked but still works.

by Melancholy

Melancholy
すけべ
Admin
Posts: 3,871
Threads: 213
Joined: Jul 2014
Reputation: 60
07-28-2015, 10:32 PM
#18330 (1)
this button: 
[Image: 687474703a2f2f6e6f73636f70652e6d652f692f...372e706e67]


has this link to :
http://desuforum.com/member.php?action=profile&uid=

it can be fixed by going into your header_welcomeblock_member templates and changing /member.php?action=profile&uid=(whatever you have here) to /member.php?action=profile&uid={$mybb->user['uid']}

or you could remove the &uid= part completely and just have:
/member.php?action=profile


idk, what you have now still works, but it isn't right :s

Yen
自分を殺します
Waifu
Posts: 247
Threads: 14
Joined: Jul 2015
Reputation: 0
07-29-2015, 09:02 AM (This post was last modified: 07-29-2015, 09:10 AM by Melancholy.)
#18335 (2)
Fixed.

Odd that it still works, but It's better to have the correct way to do it thanks.

I'm offended that you're not offended
KamiSama
Senior Member
Kohai
Posts: 260
Threads: 26
Joined: Jan 2015
Reputation: 0
07-29-2015, 11:22 AM
#18337 (3)
Gg, still a pretty good find.
you so good :c
Melancholy
すけべ
Admin
Posts: 3,871
Threads: 213
Joined: Jul 2014
Reputation: 60
07-29-2015, 08:59 PM
#18344 (4)
uh, you broke it further, when i click it, this comes up:
http://desuforum.com/member.php?action=p...bb-%3Euser[%27uid%27]}

i think you might be missing the dollar sign before "mybb" c:

Yen
自分を殺します
Waifu
Posts: 247
Threads: 14
Joined: Jul 2015
Reputation: 0
07-30-2015, 02:23 AM
#18345 (5)
(07-29-2015, 08:59 PM)Senpai Wrote: uh, you broke it further, when i click it, this comes up:
http://desuforum.com/member.php?action=p...bb-%3Euser[%27uid%27]}

i think you might be missing the dollar sign before "mybb" c:

Lmao did it when I was tired, fixed now :lmao:

I'm offended that you're not offended
Asada
日本 Leader
Kohai
Posts: 35
Threads: 6
Joined: Jul 2015
Reputation: 1
07-30-2015, 04:48 PM
#18349 (6)
(07-30-2015, 02:23 AM)Yen Wrote:
(07-29-2015, 08:59 PM)Senpai Wrote: uh, you broke it further, when i click it, this comes up:
http://desuforum.com/member.php?action=p...bb-%3Euser[%27uid%27]}

i think you might be missing the dollar sign before "mybb" c:

Lmao did it when I was tired, fixed now :lmao:

what happened to chris
Yen
自分を殺します
Waifu
Posts: 247
Threads: 14
Joined: Jul 2015
Reputation: 0
07-30-2015, 05:03 PM
#18351 (7)
(07-30-2015, 04:48 PM)Asada Wrote:
(07-30-2015, 02:23 AM)Yen Wrote: Lmao did it when I was tired, fixed now :lmao:

what happened to chris

He's dead and doesn't want to be Dev anymore :toucan:

I'm offended that you're not offended
Spaceman
Away - Indeffinitly
Kohai
Posts: 19
Threads: 5
Joined: Jul 2015
Reputation: 0
07-31-2015, 03:54 PM
#18354 (8)
(07-30-2015, 05:03 PM)Yen Wrote:
(07-30-2015, 04:48 PM)Asada Wrote: what happened to chris

He's dead and doesn't want to be Dev anymore :toucan:

I'm not dead, I just don't have time to dev, though I can still help @Yen behind the scenes in case he royally fucks anything