Welcome to Geeklog, Anonymous Monday, November 28 2022 @ 05:55 pm EST

Geeklog Forums

Big Project


Status: offline

Ectropian

Forum User
Chatty
Registered: 06/19/02
Posts: 61
Ok fellas, I've got a project that I can't seem to get any answers on, so I'm going to post it here and see what rises to the top.

1. I need to import 120+ users with bio / homepage / signature / e-mail etc.. and assign them to a group.

2. I will assigned each user a separate topic (like a blog), so that posts can be made to that user/topic on a regular basis.

3. I need to have a staticpage for each user (yes a staticpage) that will sit as a centerblock over each user topic page. This staticpage must formatted to pull their bio information and display it in this centerblock. If I can setup a base template, then edit slight changes like userid= etc.. that would be ok.

4. I need a way to list all users in this group on a single static page(centerblock). This user-list must be visible by the public.

Any ideas or suggestions would be greatly appreciated.
--Ted(Ectropian)
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
1. I need to import 120+ users with bio / homepage / signature / e-mail etc.. and assign them to a group.
This will most likely have to be done as a sql script. If these users exist in an existing geeklog database it should be simple to do.
2. I will assigned each user a separate topic (like a blog), so that posts can be made to that user/topic on a regular basis.
Be aware that access to any topic allows users to submit to any topic. I'm not sure what you are trying to accomplish here.
3. I need to have a staticpage for each user (yes a staticpage) that will sit as a centerblock over each user topic page. This staticpage must formatted to pull their bio information and display it in this centerblock. If I can setup a base template, then edit slight changes like userid= etc.. that would be ok.
This sounds exactly like one staticpage written in PHP that is keyed off the currently logged in user. Not a problem. You have the userid when the page is generated. You create a single staticpage with the centerblock option. It will display whenever index.php is called.
4. I need a way to list all users in this group on a single static page(centerblock). This user-list must be visible by the public.
Again this could just be part of the static page above.
 Quote

Status: offline

Ectropian

Forum User
Chatty
Registered: 06/19/02
Posts: 61
This will most likely have to be done as a sql script. If these users exist in an existing geeklog database it should be simple to do.
1. Yeah, that's about what I was coming up with.
Be aware that access to any topic allows users to submit to any topic. I'm not sure what you are trying to accomplish here.
2. Users will not be submitting to any topic. This will be totally run by admins.
This sounds exactly like one staticpage written in PHP that is keyed off the currently logged in user. Not a problem. You have the userid when the page is generated. You create a single staticpage with the centerblock option. It will display whenever index.php is called.
3. This needs to be keyed off of anonymous users, thus it will be necessary to write a 2nd profile.thtml file to format the page to include bio/website/e-mail from userid=6(etc.)
Again this could just be part of the static page above.

4. This is a church website, and the users are the missionaries. Each user/missionary will have a separate identity/topic, thus the separate bio/e-mail. I want the bio/e-mail to show in the top of each Topic from their unique identiy. This would be much easier to do if it was dynamic, rather than hand-crafted for each individual Topic.
--Ted(Ectropian)
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
You seem to think that staticpages are static. They are not. They can be generated completely from PHP. Suppose the topic is for user 6. Then when topic=user6 in the URL, the staticpage can use SQL to gather info about user6 and display it dynamically. One staticpage can do this for all topics as long as the topic names easily map to userids.
 Quote

All times are EST. The time is now 05:55 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content