Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 User Space 1.0.xx
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

cripto9t
Average Member

USA
881 Posts

Posted - 03 December 2007 :  15:08:44  Show Profile
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.
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\-_

Edited by - cripto9t on 13 January 2008 11:01:38

JJenson
Advanced Member

USA
2121 Posts

Posted - 04 December 2007 :  11:19:41  Show Profile  Visit JJenson's Homepage
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.<
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 04 December 2007 :  13:53:39  Show Profile
Some screenshots

Posts



Drafts



Bookmarks

<

    _-/Cripto9t\-_
Go to Top of Page

CodeMan7
New Member

USA
88 Posts

Posted - 19 December 2007 :  09:54:14  Show Profile
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.

<
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 20 December 2007 :  09:09:38  Show Profile
quote:
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?


Could you explain a bit more? I'm not sure what you're talking about.
quote:
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 .

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 .<

    _-/Cripto9t\-_
Go to Top of Page

CodeMan7
New Member

USA
88 Posts

Posted - 20 December 2007 :  09:51:12  Show Profile
"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.



<
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 20 December 2007 :  10:19:13  Show Profile
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 .<

    _-/Cripto9t\-_
Go to Top of Page

CodeMan7
New Member

USA
88 Posts

Posted - 20 December 2007 :  10:45:43  Show Profile
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.

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.

Thanks for checking that out on the Topic part. It seems that maybe I am cutting out something in Post.

Codeman7<
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 20 December 2007 :  11:28:28  Show Profile  Visit NiteOwl's Homepage
This is a pretty cool mod, I will be implementing it on my site soon.<

-=NiteOwl=-
Go to Top of Page

CodeMan7
New Member

USA
88 Posts

Posted - 22 December 2007 :  07:22:52  Show Profile
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?
<

Edited by - CodeMan7 on 22 December 2007 08:54:55
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 22 December 2007 :  09:55:18  Show Profile
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\-_
Go to Top of Page

CodeMan7
New Member

USA
88 Posts

Posted - 22 December 2007 :  10:11:36  Show Profile
Thanks, I'll check for that.

I've gone through post.asp line by line and everything looks ok.
BTW, I checked out drafts with a a private Usergroup and it worked fine except for cutting off the topic content of the main topic.

I haven't installed the Bookmarks addon yet but I have a question for you. Do you have code in there for a post that has been archived and a user has it bookmarked? I can see that happening.

I forgot to mention that yes, the footer does show up.
<

Edited by - CodeMan7 on 22 December 2007 10:14:11
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 22 December 2007 :  13:19:32  Show Profile
I haven't tested it on an archived post, but I'm almost certain it will mark it.
It takes the topic id, reply id (if it is a reply) and archiveview (true or false) from topic.asp and builds a URL around them to be added to the db. In other words it stores the URL not an ID, like other bookmark mods I've seen.

For that reason, this mod will not work unless "Forum URL" in "admin options" is set to the default page of your forum. Its also the reason you can bookmark outside Links.

Just curious, does the topic content show up in the source? It sounds like there may be a misplaced or missing <td> or </td>.<

    _-/Cripto9t\-_
Go to Top of Page

CodeMan7
New Member

USA
88 Posts

Posted - 22 December 2007 :  14:08:25  Show Profile
Yes, it shows up in the source. You can also see the topic when you have "quick reply" as we do here.

But when I choose "Reply to Topic" it cuts off right after the date and time for the Topic post.

I agree that it does seem like a misplaced <td> or </td>. I've got the right section of code and am looking around at it.

At first I thought it might have something to do with "moderation", but I checked that out. I'll do some more checking on it though.

Thanks.<
Go to Top of Page

golfmann
Junior Member

United States
450 Posts

Posted - 22 December 2007 :  15:16:25  Show Profile  Visit golfmann's Homepage
All worked fine on my site...

Nice work!
<
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 22 December 2007 :  20:04:19  Show Profile  Visit NiteOwl's Homepage
I have mySQL, SNiTZ 3.4.05 Just installed the mod, went in like a dream, nice instructions and its obvious the work and planning that you have done. I am about to install one of the add ons.

BTW, I noted that the ?help? is not yet active . . I don't think I missed it but I will check.

Update:
I have proceeded through the setup one step at a a time.
I installed the User Space Mod
Note that after this install I ran the database setup, looks ok. I do see a link to "Add a feature" and when I select that I can see
User Drafts - Feature Installed
User Bookmarks - Feature Installed
Odd, but they are grayed out so I ignored that.

Next I setup the ##DRAFTS and noted the same look in the "Add a Feature" menu, everything grayed out.

Then I setup the ##BOOKMARKS and noted the same look in the "Add a Feature" menu, everything greyed out.

I am hesitant to run the database installs through the MOD setup as the instructions caution me not too with a mySQL.

So what do you think? BTW this is not my production system, I can easily drop the database and pull in another copy of a backup. OH and I did run the setup.asp after, twice as a matter of fact.

BTW I am here:
www.bcfmwu.com/test/forum/
test/test

<

-=NiteOwl=-

Edited by - NiteOwl on 22 December 2007 23:07:59
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07