21
turnerrw
Re: News link doesn't appear for anonymous users on website with www prefix
  • 2007/1/4 21:20

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


When I click on a news category, I get a permission denied error. This seems to say that it's a permission problem.

Give read permission to the news module to the Anonymous group and you should see the menu item.

-Robert



22
turnerrw
Re: Setting Permissions on userinfo.php
  • 2006/10/7 11:35

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


Thanks James - I did search the site before posting my query; not sure why I didn't see that thread.

Here is the code to add to userinfo.php - add it to the top of the script after line 32

$uid intval($_GET['uid']);
if (
$uid <= 0) {
    
redirect_header('index.php'3_US_SELECTNG);
    exit();
}

if (!
is_object($xoopsUser)) {
redirect_header('index.php',3,_NOPERM);
exit();
}
$gperm_handler = & xoops_gethandler'groupperm' );
$groups is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS;


Works like a charm with XOOPS v2.0.14. Thanks again James.



23
turnerrw
Setting Permissions on userinfo.php
  • 2006/10/7 1:28

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


I am building a site using XOOPS 2.0.14. This site is in the genre of "social networking" sites like Facebook.com. The site owners want to restrict the ability to view member profiles to only registered users.

So, for instance, if I see a post in a Forum on a Comment in a News Article, I would be able to click the link to the user's profile page (/userinfo.php?uid=x) only if I'm a registerd user. If I'm not registered, I get a gentle message telling me that I must register to view this page.

I see two ways of doing this:
1. Edit the news and forum templates so that usernames are hyperlinked for registered users only.

2. Change the permissions (somehow) on userinfo.php (and other files I imagine) so that anonymous users cannot access member profiles.

QUESTIONS:
A. Are there other solutions to this problem that I'm not thinking of?

B. Is there already a solution to this that I don't know of?

C. Given the use case, what is the preferred method, or best practice for implementing this functionality?

-Robert



24
turnerrw
Re: Community Blogs & High User Counts
  • 2006/5/17 10:01

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


Quote:

phppp wrote:
"create their own blog or create their own journal"
-- should the bloggers have their own categories?


Each member would have the ability to create and post to their own blog and journal. I would think that categories would also be part of the equation.



25
turnerrw
Community Blogs & High User Counts
  • 2006/5/17 2:27

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


I'm working on scoping out a project for a new client. The site will be a young women's community portal with core features of blogging, journaling, user management, and static pages.

I've seen wordpress integrated into XOOPS, but only for the site admin or a single user.

Has anyone stood up a site where you might have a large quantity of users who all come to the site to create their own blog or create their own journal? The concept is kind of like blogger.com except focused at a particular community of users.

Also, I can anticipate registered users of > 100,000. Any thoughts relative to best practices on scaling so that the site doesn't shut down from excessive load? Is there any reason, with proper planning, that XOOPS couldn't handle a project like this?

Thanks for the input.

Cheers,
-Robert



26
turnerrw
Re: Activating users in bulk through phpMyAdmin
  • 2006/4/27 19:52

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


Excellent - after I posted my message here I noticed the Level field incremented to 1 after I activated a user. Appreciate the confirmation and the SQL syntax.

Cheers,
-Robert



27
turnerrw
Activating users in bulk through phpMyAdmin
  • 2006/4/26 18:30

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


I have a number of users that need to be activated - I selected activate by Admin and never received email notification.

What needs to be done directly in the xoops_users table to activate these users? I'd like to just execute a single SQL query and do it in bulk.

I'm on XOOPS 2.0.x.

cheers,
-Robert



28
turnerrw
Re: Javascript Menu & Site Context Problems
  • 2005/12/13 22:13

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


Here's the page ... http://69.16.202.42/~campfire/

In Firefox, the menu displays properly, with multiple submenus, etc.

In IE, the submenus do not display. If I strip the menu code out and put it in a seperate file, it works (within IE and Firefox).

I'm wondering if it's the syntax of something that is causing IE to barf.

Thoughts, Ideas?



29
turnerrw
Re: Javascript Menu & Site Context Problems
  • 2005/12/13 21:10

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


Quote:

turnerrw wrote:
I'll give it a shot. Right now I just noticed that while the menu works in Firefox, it does not display submenus in IE. UGH!


it didn't work. I got the infamous sticking menu problem. Now back to trying to figure out why IE is coughing on this menu.



30
turnerrw
Re: Javascript Menu & Site Context Problems
  • 2005/12/13 21:00

  • turnerrw

  • Just popping in

  • Posts: 68

  • Since: 2003/12/1


I'll give it a shot. Right now I just noticed that while the menu works in Firefox, it does not display submenus in IE. UGH!




TopTop
« 1 2 (3) 4 5 6 7 »



Login

Who's Online

88 user(s) are online (57 user(s) are browsing Support Forums)


Members: 0


Guests: 88


more...

Donat-O-Meter

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

Latest GitHub Commits