T O P I C R E V I E W |
richfed |
Posted - 27 September 2009 : 08:06:57 Anyone? I searched these forums, and elsewhere, but I can't seem to find one that will easily and seamlessly integrate w/ Snitz [3.4.05].
Thanks - |
15 L A T E S T R E P L I E S (Newest First) |
MarcelG |
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. |
richfed |
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. |
richfed |
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!! |
MarcelG |
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. |
richfed |
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 |
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.... |
richfed |
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 |
Posted - 14 October 2009 : 06:18:15 Yup, that will filter out all the posts made in the weblogsforum from the Active Topics page. |
richfed |
Posted - 13 October 2009 : 06:57:26 Thanks, Marcel ... will try that this evening. Is that all that is necessary? That one line? |
MarcelG |
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 " & _ |
richfed |
Posted - 12 October 2009 : 15:06:40 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. |
MarcelG |
Posted - 12 October 2009 : 14:50:37 You could add a line to the SQL query that pulls up all active topics, such as this:
strSql = strSql & " AND F.FORUM_ID <> " & strWeblogsForum & " " (Pseudo code!)
I never build something like that into my active.asp, so you have to try it out. |
richfed |
Posted - 12 October 2009 : 13:50:51 Actually, upon further review, THIS is the code in the MOD:
quote: if NOT Request.QueryString("FORUM_ID") = "" then if .QueryString("FORUM_ID") - strWeblogsForum = 0 and mlev <> 4 then Response.Redirect "weblogs.asp" end if end if
That is different than the code that I quoted in the above post:
quote: if NOT Request.QueryString("FORUM_ID") = "" then if Request.QueryString("FORUM_ID") - strWeblogsForum = 0 and mlev <> 4 then Response.Redirect "weblogs.asp" end if end if
Using the red bit worked for me, though I had a little problem from the additional star level mod - or whatever it is called - that I had installed. I managed to fix that, so I THINK it looks the way it should, though I'll be tweaking the header and cell colors.
So, problem one solved.
I just need help on problem 2 ... the active topics issue.
Thank you! |
richfed |
Posted - 12 October 2009 : 13:21:30 Thanks, Marcel ... I checked with him and he did reply, but he no longer has it - so, a dead end.
Anyway, I have implemented your MOD on my forum as per the instructions. Pretty straight forward. But, I have encounted two issues I do not know how to correct:
1 - I was getting this error:
Microsoft VBScript runtime error '800a01f9'
Invalid or unqualified reference
/messageboard/forum.asp, line 44
I looked over at your forum and found this solution to another problem:
quote: if NOT Request.QueryString("FORUM_ID") = "" then if Forum_ID - strWeblogsForum = 0 and mlev <> 4 then Response.Redirect "weblogs.asp" end if end if
Replace with: code : if NOT Request.QueryString("FORUM_ID") = "" then if Request.QueryString("FORUM_ID") - strWeblogsForum = 0 and mlev <> 4 then Response.Redirect "weblogs.asp" end if end if
I actually did the reverse ... that second bit is now in the MOD as I downloaded it. Putting it back to the first bit fixed it. However, the posts look just like a normal topic. I see no difference. Is that WAD?
2 - How can I avoid having blog posts show up in Active Topics? |
MarcelG |
Posted - 12 October 2009 : 09:52:30 Regarding Jorrit's add-on, you may want to contact him via his profile: http://oxle.com/jorrit.id He posted it back in 2005, so it may indeed be offline now. |