Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 3 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Userinfo.php shows cbb forum posts even to anonymous users
by allnewtome on 2010/4/19 19:52:22

I hacked a very inelegant solution.

Change the template system_userinfo.html as follows.

After the IF clause beginning <pre><{if $user_ownpage == true}></pre>

Add <pre><{if !$xoops_isuser}><i>Please log in to view this page.</i><{/if}>

<{if $xoops_isuser}></pre>

At end add <pre><{/if}></pre>

This means that logged-in users can see the details as normal but anonymous users see nothing except the "please log in" message.

I'm sure there must be an easier way though!

EDIT: Ignore the <pre> tags above....
Userinfo.php shows cbb forum posts even to anonymous users
by allnewtome on 2010/4/19 19:28:50

I have called this a "bug report" even though technically it might not be a bug...

I use Xoops 2.4.2 and CBB 3.08.

The CBB forum is only visible to logged-in users.

Userinfo.php shows all forum posts by a particular user.

The problem is that userinfo.php shows the titles of all the forum posts the user has made.

So anonymous users can see what topics anyone has posted about.

How can I stop this from happening?

Many thanks.

Who's Online

639 user(s) are online (514 user(s) are browsing Support Forums)


Members: 0


Guests: 639


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits