Author |
Topic |
richfed
Average Member
United States
999 Posts |
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 13 October 2009 : 05:35:01
|
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 |
|
|
richfed
Average Member
United States
999 Posts |
Posted - 13 October 2009 : 06:57:26
|
Thanks, Marcel ... will try that this evening. Is that all that is necessary? That one line? |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 14 October 2009 : 06:18:15
|
Yup, that will filter out all the posts made in the weblogsforum from the Active Topics page. |
portfolio - linkshrinker - oxle - twitter |
|
|
richfed
Average Member
United States
999 Posts |
Posted - 14 October 2009 : 06:52:04
|
OK! Works!! Thanks --
You are kind to assist!! I know it wasn't a Snitz packaged MOD ... though, you ought to consider that!!! |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 14 October 2009 : 09:48:36
|
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 |
|
|
richfed
Average Member
United States
999 Posts |
Posted - 15 October 2009 : 06:49:29
|
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. |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 15 October 2009 : 08:25:41
|
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 |
|
|
richfed
Average Member
United States
999 Posts |
Posted - 15 October 2009 : 18:38:25
|
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!! |
|
|
richfed
Average Member
United States
999 Posts |
Posted - 19 October 2009 : 06:51:41
|
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] |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 19 October 2009 : 09:02:04
|
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 |
|
|
Topic |
|