Author |
Topic |
|
KC
Junior Member
USA
152 Posts |
Posted - 26 July 2006 : 13:16:40
|
Snitz Forums 2000 Version 3.4.05
I have made yet another Snitz based web site, for my computer business this time, and have a strange need...
I want to provide a personal Blog topic for all customers in a Customer Blog forum, but I want them to be able edit or delete any content in it from anyone, BUT, only in THEIR topic.
I know I can just make them a mod and give them a forum, but that would be a mess.
Being quite professient at VBscript and have modifed Snitz a bunch for certain needs (like dynamic topic content) I was wondering if anyone else wanted this ability, and how they achived it.
Thanks.
<moved to="MOD Add-On Forum (W/O Code)" by="Shaggy" />< |
Owner of vales.com and Elite Computers. |
Edited by - Shaggy on 27 July 2006 04:45:29 |
|
Jezmeister
Senior Member
United Kingdom
1141 Posts |
Posted - 26 July 2006 : 16:10:54
|
there is something i've been intending to do for months and am yet to get around to - modifying the sub-forum mod to allow members to effectively be admins for their sub-forum but nowhere else. main things off the top of my head (i have started it somewhere, maybe not on this comp cos i can't find it) i was going to add an admin column to the forum_forum table which would hold the username for the user I wanted to be admin, using that then to add a variable inpage giving new options - say something like
if strDBNTUserName = strForumAdmin then
'adminny stuff
end if I'm certainly no gonna be able to do anything on it myself for a few weeks and I don't guaruntee I'll have time to do it after then so if you want to adapt that idea for yourself go ahead < |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 27 July 2006 : 06:13:23
|
I know this has come up before, but I can't seem to find it either... then again, I just woke up so my search foo may be off.
To the best of my fuzzy memory, no finished code was produced but a few promising leads were generated.< |
|
|
KC
Junior Member
USA
152 Posts |
Posted - 31 July 2006 : 17:22:58
|
I was thinking just a new table in the snitz DB. All it would need is a Topic ID and Member ID field. Then, just a little humpty in the topic.asp page to look at and see if their is a match with the user, if so, give him mod ability in that topic.
I'm going to give that a whril, if I make it go I'll post the code I used. < |
Owner of vales.com and Elite Computers. |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 31 July 2006 : 17:32:05
|
Seems easy enough.
Why not do this:
Create a new forum for blogs. All collections of blogs would reside there along with the comments.
On another page is where you display the collection of blogs for the individual person. Sort of like this: Blog.asp?Member=1
1 would be the MemberID for the person.
This page would display all the blogs for the person based on the member ID. Just query the DB for the Blog ForumID where Author = 1. Then just display.
Only thing to add is the link in the profile, under the user's name when posting and possibly on the member's page. Doesn't seem to be too much work.< |
My Completed Mods: News Mod | Zuel's Avatar Add-on In Development: World of Warcraft Member Roster | [C# Based Forum]
Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.
MSN / E-Mail: ucyimDa_Ruler@Hotmail.com
Personal Bookmarks: How to work a DBS File
|
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 03 August 2006 : 03:54:23
|
I requested this some time ago, try a search for all my posts or something. Can't remember if I got a good answer or not =) Haven't had the time to look into it any further anyways.. < |
/Tribaliztic - www.gotlandrace.se -
|
|
|
Jezmeister
Senior Member
United Kingdom
1141 Posts |
Posted - 16 August 2006 : 17:06:00
|
|
Edited by - Jezmeister on 16 August 2006 17:11:21 |
|
|
KC
Junior Member
USA
152 Posts |
Posted - 21 August 2006 : 14:17:06
|
Thanks Jezmeister!
I hadn't thought about going that way. I'll keep that as a backup plan.
I'm pretty much stuck with having to do this within my "Dynamic Topic Text" modifications. Slick system actually, and I should be able to modify it to do it.
Most of my web sites are geared to sharing custom made ad-on tracks and vehicles for PC racing games, and then provide dynamic topic public reviews for each file.
In short it works like this: To upload an add-on file, you get a form to select the file and fill in a description form. That info is then saved in my own database for what that particular file type is (track, vehicle, etc). Then the code generates a Dynamic Snitz topic with info from the form as the topic name, like "Awesome Jeep by Jeepster", and for the post text it simply inserts a special string like ~`1X.
A mod in topic.asp checks for that special string, and if it's found it opens up my database and structures all the data the way I want for the topics first post, including display a picture, all of the descrption text, link to download, etc etc.
The beauity of this is the uploader can edit his upload with a new file, picture, descripton, whatever, and those change will be dynamic in his review topic even after there are many replies. It also does one other thing... The first post in a given forums topic is formated exactly the same.
< |
Owner of vales.com and Elite Computers. |
|
|
|
Topic |
|