Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2010-10-31 13:47:30

William
Member
From: Washougal, WA., USA
Registered: 2010-10-31
Posts: 71

Unable to view own profile

Unable to view own profile on this forum and my test forum. Goes to Essentials page on both sites. Can view other profiles on this site, and when logged out on mine.

Why is that?

Offline

#2 2010-10-31 14:21:23

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,855
Website

Re: Unable to view own profile

Hard to tell just guessing.

Do you have any modifications installed?


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#3 2010-10-31 14:32:58

William
Member
From: Washougal, WA., USA
Registered: 2010-10-31
Posts: 71

Re: Unable to view own profile

Franz wrote:

Do you have any modifications installed?

Nope, fresh install.

Offline

#4 2010-10-31 14:51:53

Christian
Developer
From: Vienna, Austria
Registered: 2008-05-10
Posts: 463
Website

Re: Unable to view own profile

The Essentials page is a part of your own profile. There is nothing wrong with it.


http://www.fluxbb.de - Deutschsprachiges FluxBB Supportforum

Offline

#5 2010-10-31 14:56:42

William
Member
From: Washougal, WA., USA
Registered: 2010-10-31
Posts: 71

Re: Unable to view own profile

When I view http://fluxbb.org/forums/profile.php?id=55774 to see my profile, its the Essentials page, not going to profile view, when I click your name it goes to profile view.

Same thing on my test forum.

Last edited by William (2010-10-31 14:58:06)

Offline

#6 2010-10-31 15:24:42

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,855
Website

Re: Unable to view own profile

Well, yes, that's how it's supposed to be.

Of course you only see a part of the profile for other people. When you view your profile, you are viewing the real thing. You're only getting a limited peek at other users.

There's no overview page on your own profile, because you get that information on the "Essentials" page or other pages.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#7 2010-10-31 22:18:46

William
Member
From: Washougal, WA., USA
Registered: 2010-10-31
Posts: 71

Re: Unable to view own profile

Thats a strange way of doing it, not my taste though, so I won't being using FluxBB.

Offline

#8 2010-10-31 22:32:50

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,855
Website

Re: Unable to view own profile

I don't quite understand your problem. Could you explain in more detail?

Everybody gets to see the overview page. Exceptions are administrators and the user to whom the profile belongs, because they can edit what other people can only read.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#9 2010-10-31 22:55:05

William
Member
From: Washougal, WA., USA
Registered: 2010-10-31
Posts: 71

Re: Unable to view own profile

Franz wrote:

... Exceptions are administrators and the user to whom the profile belongs, ...

This is different/strange. Not what I am looking for in a forum software.

Other than that, FluxBB seems to be pretty good. smile

Offline

#10 2010-11-01 00:19:14

orkneywd
Member
From: Orkney Islands, UK
Registered: 2008-05-10
Posts: 150

Re: Unable to view own profile

wmf wrote:

Thats a strange way of doing it, not my taste though, so I won't being using FluxBB.

It can easily be changed to your needs smile

Open: profile.php

Find: lines 931

// View or edit?
if ($pun_user['id'] != $id &&
    (!$pun_user['is_admmod'] ||
    ($pun_user['g_moderator'] == '1' && $pun_user['g_mod_edit_users'] == '0') ||
    ($pun_user['g_moderator'] == '1' && $user['g_moderator'] == '1')))

Replace With:

// View or edit?
if (isset($_GET['view']) or ($pun_user['id'] != $id &&
    (!$pun_user['is_admmod'] ||
    ($pun_user['g_moderator'] == '1' && $pun_user['g_mod_edit_users'] == '0') ||
    ($pun_user['g_moderator'] == '1' && $user['g_moderator'] == '1'))))

If you would like to view your own profile, instead of the "Edit Profile" pages, use the following URL:- profile.php?id=2&view (change 2 to your user ID)

If you wanted this to be the default behaviour for every member on your forum it would require a few more code changes but I can post that up if you want smile

Credit to artoodetoo as code was taken from his Elektra Labels mod found on PunRes.

Offline

#11 2012-10-13 09:50:48

William
Member
From: Washougal, WA., USA
Registered: 2010-10-31
Posts: 71

Re: Unable to view own profile

orkneywd wrote:

If you wanted this to be the default behaviour for every member on your forum it would require a few more code changes but I can post that up if you want smile

If you are still around, please post what you can, if available still, would appreciate it, thanks.

Back to using FluxBB, suites my needs.

Offline

#12 2012-10-13 10:11:41

JohnLewis
Developer
From: England
Registered: 2012-09-11
Posts: 99

Re: Unable to view own profile

Hey Wmf, The ability to view your own profile is scheduled for FluxBB 2.0. Also there is a temporary solution you can use for 1.5 o the ticket.

https://fluxbb.org/development/core/tickets/302/


John F. Lewis
FluxBB Developer

Offline

#13 2012-10-13 10:22:09

William
Member
From: Washougal, WA., USA
Registered: 2010-10-31
Posts: 71

Re: Unable to view own profile

JohnLewis wrote:

Hey Wmf, The ability to view your own profile is scheduled for FluxBB 2.0. Also there is a temporary solution you can use for 1.5 o the ticket.

https://fluxbb.org/development/core/tickets/302/

Thank you.

No worries orkneywd, will either wait for 2 or edit from the above posted ticket link.

Offline

#14 2013-01-11 14:52:37

bloggirl
New member
Registered: 2013-01-11
Posts: 4

Re: Unable to view own profile

Hi,

I'm using fluxbb on my forum and I want my members to have a chance to also view their own profile.
The code didn't work.

Can someone help?

Offline

#15 2013-01-11 22:40:26

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,855
Website

Re: Unable to view own profile

Did you realize you have to append "&view" to your profile URL to view it? Yours could then look like this: profile.php?id=2&view.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#16 2013-01-13 14:46:46

bloggirl
New member
Registered: 2013-01-11
Posts: 4

Re: Unable to view own profile

Franz wrote:

Did you realize you have to append "&view" to your profile URL to view it? Yours could then look like this: profile.php?id=2&view.

I found a solution, thanks for the help. smile

Offline

#17 2013-01-13 16:29:23

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,855
Website

Re: Unable to view own profile

Can you post your solution so that it may help other people? smile


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

Board footer

Powered by FluxBB 1.5.7