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/O Code)
 Blog MOD for Snitz
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

richfed
Average Member

United States
999 Posts

Posted - 12 October 2009 :  15:06:40  Show Profile  Visit richfed's Homepage  Reply with Quote
With my limited [non-existant] coding knowledge, I am confused ... where? How? Any clues would be greatly apprciated. Anyone?

Link to my active.asp: active.asp

Thanks.

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 13 October 2009 :  05:35:01  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Rich,
in your active.asp, find this:

    "AND F.FORUM_ID = T.FORUM_ID " & _
    "AND C.CAT_ID = T.CAT_ID " & _
    "AND M.MEMBER_ID = T.T_AUTHOR " & _

Replace it by this:

    "AND F.FORUM_ID = T.FORUM_ID " & _
    "AND F.FORUM_ID <> " & strWeblogsForum & " " & _
    "AND C.CAT_ID = T.CAT_ID " & _
    "AND M.MEMBER_ID = T.T_AUTHOR " & _

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 13 October 2009 05:35:40
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 13 October 2009 :  06:57:26  Show Profile  Visit richfed's Homepage  Reply with Quote
Thanks, Marcel ... will try that this evening. Is that all that is necessary? That one line?
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 14 October 2009 :  06:18:15  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Yup, that will filter out all the posts made in the weblogsforum from the Active Topics page.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 14 October 2009 :  06:52:04  Show Profile  Visit richfed's Homepage  Reply with Quote
OK! Works!! Thanks --

You are kind to assist!! I know it wasn't a Snitz packaged MOD ... though, you ought to consider that!!!
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 14 October 2009 :  09:48:36  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Feel free to take the code and wrap it up in a mod
I really do not have much time left to spend on coding lately....

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 14 October 2009 09:48:47
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 15 October 2009 :  06:49:29  Show Profile  Visit richfed's Homepage  Reply with Quote
Not sure I'm the guy for the job, but it would be good to have it put together as a downloadable MOD on SnitzBitz ...

One more thing ... How can I have it so that no one can post in another person's blog? The Adminstrator and original poster should be the only ones allowed to edit/post/etc in a webblog -- or, that's how I would like it, anyway.
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 15 October 2009 :  08:25:41  Show Profile  Visit MarcelG's Homepage  Reply with Quote
That's already the way it works.
The blog system works like this:
  • there's one dedicated forum (forum_id=x) in which everyone can post.
  • each persons posts in that blog (topics) are shown as blogposts. The poster (T_AUTHOR) and moderators can edit the posts.
    For example, in your snitzblog, only those topics where T_AUTHOR = your_member_id are shown.
    It's therefore impossible to have someone else post in your blog, unless they have the same Member ID (and that's not possible).
  • everyone can reply to blogposts, unless the blogpost (topic) is locked by the author or moderator.
I hope this clarifies it.

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 15 October 2009 08:26:25
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 15 October 2009 :  18:38:25  Show Profile  Visit richfed's Homepage  Reply with Quote
OK - great. Sounds like it executes as I would like. It's not been used yet much, so it was hard to tell exactly how it behaved. Appreciate your help!!
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 19 October 2009 :  06:51:41  Show Profile  Visit richfed's Homepage  Reply with Quote
With replies, up in the header portion of the reply, I am getting something like this: "Posted Octob/09 @ 18:17". [That is also the incorrect date & time, besides the mispelling]. It had been saying: "yester/ay", or something similiar, when the post had been made "yesterday". I searched the MOD files looking for something like that, but couldn't locate the source of the problem.

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 19 October 2009 :  09:02:04  Show Profile  Visit MarcelG's Homepage  Reply with Quote
The source of that problem is the fact that my code uses a different (old) datetime function.
Those functions are also included in the download, I'm not sure in which files.
It was made specifically for oxle, and there it fitted the needs.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07