Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question [SOLVED] How to hide "who's viewing the forum" information

More
16 years 2 months ago - 16 years 2 months ago #40871 by spindy
Hello.

I need get off the usernames and guest from "forum user views". For example:

The standard is:

Support(6 viewing) bluedraco20, interworld, octet, spindy, thejasco, (1) Guest

And i need change it to:

Support(6 viewing)


I did try change it in the line 155 from fb_pathway.php:

Edit: i can not sent code.. it say me /forum/138-support/post not supported.


But it dont work because get off all (Get off "6 viewing" too).

Thanks.
Last edit: 16 years 2 months ago by sozzled. Reason: Change topic subject for relevance

Please Log in or Create an account to join the conversation.

More
16 years 2 months ago #40904 by sozzled
Perhaps you might try searching for the answers in future: see Cannot hide "Viewing users" at the top of forum . :)

The feature, that incorporates a list of viewing users and that you want to disable, is standard. The only way you can change this is to modify the source code. This topic is being moved from Support to Hacks, Tips and Tricks for that reason.

Please Log in or Create an account to join the conversation.

More
16 years 2 months ago #40936 by spindy
sozzled wrote:

Perhaps you might try searching for the answers in future: see Cannot hide "Viewing users" at the top of forum . :)

The feature, that incorporates a list of viewing users and that you want to disable, is standard. The only way you can change this is to modify the source code. This topic is being moved from Support to Hacks, Tips and Tricks for that reason.



I did search before sumit this post. I did found several post but xillibit changes dont work for me because get off all.

For that i did submit this post :)

Please Log in or Create an account to join the conversation.

More
16 years 2 months ago - 16 years 2 months ago #40939 by sozzled
So, you're saying that following advice does not work for you:

Open the file ../components/com_kunena/template/default_ex/fb_pathway.php. At line 129 replace this
Code:
if ( $user->showOnline > 0 ){ $fireonline .= CKunenaLink::GetProfileLink($fbConfig, $user->userid, $user->username) . $divider; }
with this :
Code:
if($kunena_my->id != '0'){ if ( $user->showOnline > 0 ){ $fireonline .= CKunenaLink::GetProfileLink($fbConfig, $user->userid, $user->username) . $divider; } }

I have to admit, I haven't tried the solution, myself, however other users claim that this has worked for them.
Last edit: 16 years 2 months ago by sozzled.

Please Log in or Create an account to join the conversation.

More
16 years 2 months ago - 16 years 2 months ago #40999 by spindy
sozzled wrote:

So, you're saying that following advice does not work for you:

Open the file ../components/com_kunena/template/default_ex/fb_pathway.php. At line 129 replace this

Code:
if ( $user->showOnline > 0 ){ $fireonline .= CKunenaLink::GetProfileLink($fbConfig, $user->userid, $user->username) . $divider; }
with this :
Code:
if($kunena_my->id != '0'){ if ( $user->showOnline > 0 ){ $fireonline .= CKunenaLink::GetProfileLink($fbConfig, $user->userid, $user->username) . $divider; } }

I have to admit, I haven't tried the solution, myself, however other users claim that this has worked for them.


No that dont work.

But no problem. I did resolved it replace this in line 129:
Code:
if ( $user->showOnline > 0 ){ $fireonline .= CKunenaLink::GetProfileLink($fbConfig, $user->userid, $user->username) . $divider; } } else { $totalguest = $totalguest + 1; } }

with this :
Code:
if ( $user->showOnline > 0 ){ } } else { } }
:

:)
Last edit: 16 years 2 months ago by spindy.

Please Log in or Create an account to join the conversation.

More
16 years 2 months ago #41017 by sozzled
Oh, I see. You don't want to show how many users (registered or guests) are viewing at all! Yes, I suppose your solution will work, if that's what you want to do. B)

Please Log in or Create an account to join the conversation.

Time to create page: 0.243 seconds