User Space 1.0.xx - Posted (2428 Views)
Average Member
cripto9t
Posts: 881
881
User Space Mod

Tested in MS SQL & MYSQL
Untested in ACCESS.

I think I've got all the loose ends tied up - except one. Thats why I'm posting this in the without code forum for testing,
<font color="red">moved to with code forum by Admin</font id="red">
so maybe I can get some ideas from you guys and shake out
any remaining bugs.

One of the Addons is incomplete. I can't come up with a good way for the Admin to manage the "Bookmarks" addon.
In other words I need some ideas about trimming them back.
The best I have come up with is something along this line
"Delete member bookmarks where last login = 1 year ago"
If anyone has any ideas/suggestions, let me know.
Anyway, This is a very easy install. The basic User Space portion
shouldn't take a rookie over 5 minutes to intall.

Heres the download <s>Right Click and save</s> <b>Link Removed</b> New Download Link Here This is the description from the readme.
Code:
User Space Mod for Snitz Forums

Author: cripto9t

Date Released: 3 December 2007

Version: 1.0.00

This mod adds a link in the forum menu that takes forum members to a private personal page
viewable only by the member and the forum administrator(s). The mod consists of "features" that
you add to it.
The default feature "User Posts" shows recent topics that the member has participated in. Other
features can be added later. Meaning that you don't have to add a feature if you don't want it.
Add on features:

User Drafts: Allows members to save posts as drafts to be posted later.
User Bookmarks: Allows members to bookmark topics, replies and outside urls for later reference.
Feature wish list:

User Friends: Will allow members to make a list forum friends e-mail, IMs, etc... so they won't have to look
through the forum members list.
User Ignore List: Will allow members to list forum members they want to ignore when reading posts. Posts of
members on the list will be hidden from member.
Insallation:

Note: This is a very easy install

1. Add files to your forum folder.
a. admin_user_space.asp

b. user_space.asp

c. dbs_user_space.asp

d. Add these files to you forum images folder

1. icon_folder_post_closed.gif

2. icon_folder_userspace.gif

2. Add these files to you forum folder IF you are going to add any of the addons

1. user_space_setup.asp (MYSQL and MS SQL users only)

2. admin_user_space_manager.asp

3. pop_user_space.asp

3. Open reference folder
a. IMPORTANT!!
1. Make backup files (copies) of all files to be modified. If something goes wrong
you can always go back to where you started.
2. DO NOT REPLACE YOUR FILES WITH THE REFERENCE FILES. Make the code changes manually.
b. Make the changes marked in the files (Search for ##USER to find the changes quickly)
There are notes at the top of each file, Please Read Them.
1. inc_header.asp - 1 change (adds link to user space page)

2. config.asp - 2 changes

3. admin_home.asp - 1 change

4. inc_icon_files.asp - 1 change

4. Check installation and update database

a. Make sure there is a new link in your forum menu (upper right hand corner). If not check your
code changes in "inc_header.asp".
b. In your forum "Admin Options" make sure there is a new link called "User Space Configuration".
If not check your code changes in "admin_home.asp".
c. Open up "Mod Setup" in "Admin Options" and select "User Space" and update.

d. Open "User Space Configuration" and make sure you can turn things on and off. If not check your
changes in "config.asp".
5. Thats it!

a. Click the new link in your forum menu and open your "Posts" folder. You should get a list
of the last 50 (default setting) topics you have participated in.
b. You can change the default settings in "User Space Configuration" located in "Admin Options".
c. To add other features, open up the folder of the feature you want and follow the instructions
in the "readme" file.
If you have a problem, post it in this thread.
    _-/Cripto9t\-_
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Advanced Member
JJenson
Posts: 2121
2121
This is great cripto thanks. If I can ever find time here in the next little bit I will try inplemeting and testing the code out.<
Posted
Average Member
cripto9t
Posts: 881
881
Some screenshots

Posts

Drafts

Bookmarks
<
    _-/Cripto9t\-_
Posted
New Member
CodeMan7
Posts: 88
88
cripto9t,

Looks like a great mod. I installed it in a test version of Snitz. I've only had a couple of problems with it.
One problem is when a user replies to a post the original post only shows the username and the date of the post. There is no content. Any idea what is happening there?
The other problem is that I sometimes get get an error when saving a reply as a draft. It doesn't always happen so I'm trying to narrow down when the error occurs and why it might be happening. I do more testing and let you know.
All in all though, it looks like a great mod with a lot of potential.
<
Posted
Average Member
cripto9t
Posts: 881
881
The other problem is that I sometimes get get an error when saving a reply as a draft. It doesn't always happen so I'm trying to narrow down when the error occurs and why it might be happening. I do more testing and let you know.
I just saved about 30 replies with no errors.
I did notice flood control isn't working smile.

I've found and fixed some bookmark security bugs and finished the admin maintanence for the bookmarks. I'm also working on a "Buddy List" for it. Last but not least I forgot to add a link for the Admin to view a members space.
If you want to test it log in as admin and add &memid=2 to the userspace querystring, with the 2 being the members id.
I'm trying to get the next release ready before the end of the year. so keep an I on this topic if your interested smile.<
    _-/Cripto9t\-_
Posted
New Member
CodeMan7
Posts: 88
88
"Could you explain a bit more? I'm not sure what you're talking about."

Ok. When a user replies to a topic, the topic content no longer appears below the user's reply. For example, below me now is "Topic Review" with your original topic, followed by all the replies there have been to your topic. After I installed your mod all I get is a small box with "Topic Review", the poster's name and the date and time of the post. There is no content, i.e. the original topic is not showing up. Any thoughts on why that might be?
(My test forum has so many mods that it is very possible I misplaced some of your code. I can't go by line numbers anymore.)


On the second problem, I believe that may just be random error or even an error caused by the server. I'm not worried about that one.
"Last but not least I forgot to add a link for the Admin to view a members space."

Right. I noticed that, but I managed to figure it out and got it working ok.

I didn't install the bookmarks part because you mentioned you were having a problem with it. I'll do that after I make sure I have everything else working ok with it.
Thanks.


<
Posted
Average Member
cripto9t
Posts: 881
881
I thought thats what you were saying but I'm not having that problem, so I wasn't sure. I'll look at post.asp and see if I can see where this mod might cause that.
Thanks for the feedback. I was starting to think no one was interested smile.<
    _-/Cripto9t\-_
Posted
New Member
CodeMan7
Posts: 88
88
You're welcome.
I got that feeling too when no one was replying, so I wanted to let you know that at least one person is interested and thinks it is a great mod. smile
To be honest I think many are concerned about being hacked. And of course, there are the holidays. So I wouldn't take it personally.
Now if you would have called it "My Space" instead of "Your Space", you probably would have gotten a lot of attention. bigsmile
Thanks for checking that out on the Topic part. It seems that maybe I am cutting out something in Post.
Codeman7<
Posted
Junior Member
NiteOwl
Posts: 403
403
This is a pretty cool mod, I will be implementing it on my site soon.<
-=NiteOwl=-
Posted
New Member
CodeMan7
Posts: 88
88
Cripto9t,

I looked through post.asp and all your code is posted where it should be. The only things I have in there which might possibly interfere with your mod are the Poll Mod and the Usergroup Mod, but I didn't see anything unusual there.
I still can't understand why only the username and date and time of the topic would show up but not the topic content.

Have you found anything yet? <
Posted
Average Member
cripto9t
Posts: 881
881
I have no idea. Does the footer show up? I would remove or comment out the changes one at a time. Check the page after each change to see which part(s) are causing the problem. Every change except the input button has to do with editing a draft. so removing them one at a time should not throw any errors.
You say the name and date of the post show and stops right there, thats why I asked about the footer. I was working on an asp file once that just ended in the middle of a table. Like there was a Response.End at that point. When I removed the last change the page would show up. The change was a function that wasn't even being used. I've never figured that one out.<
    _-/Cripto9t\-_