Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/68955?pagenum=1
05 November 2025, 02:12
Topic
richfed
Blog MOD for Snitz
27 September 2009, 08:06
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 -
Replies ...
AnonJr
27 September 2009, 11:22
There is none last I checked. Its not terribly difficult to write, just a tad on the time consuming side. A lot of people have done the modifications, just no one has published it as as MOD.
garyrobar
29 September 2009, 23:17
What do you actually need the blog to do that it needs to connect to your snitz install? Let me know and I may have a solution.
richfed
30 September 2009, 06:58
Basically, just create a diary-like thread that the creating poster has full contol of - except for moderators/administrators - they can lock it for themselves, etc. I would like for it to be set up in one forum only. Administrative controls would be nice.
richfed
10 October 2009, 14:31
Does no one have a blog set-up they are willing to share for this dumb, old forum admin????
AnonJr
10 October 2009, 15:50
Marcel has one, and for the life of me I thought the code was floating around either here or at oxle.com - but I can't seem to find it...
Others have put something together, but no one has really shared what they have done. Bitter with everyone else's lack of sharing, they seem to be doing the same. =/
I've had the idea on my mind to do something about that, but having an idea and having time are two completely different things.
phoenixtaz13
10 October 2009, 16:23
i forgot how i did mine, i'll check my notes and zip the files for u to download... :)
richfed
10 October 2009, 16:31
That would be most appreciated ... probably by a lot more folks than me!!!
MarcelG
12 October 2009, 06:06
I have indeed made a Blog mod, however it relied heavily on various other mods, and it was made strictly for MS Access.
Here are two topics relating to that mod: The original mod, Weblogs RC1: http://oxle.com/topic/2192.html An addon by Jorrit: http://oxle.com/topic/2323.html
richfed
12 October 2009, 09:13
Hmmm ... first link was broken ... and yes, I was intensely disappointed!!! I did track it down, however. I have both the avatar and message icon mods installed, so that is not an issue. I do use a MS-SQL database, though. How much of an impediment do you think this might be???
Later today, barring any new posts to this thread that point me to parts unknown, I will give this a try and see what happens.
MarcelG
12 October 2009, 09:27
Link is fixed.
If you're using MS SQL, I think you can use it without problem ; I've disabled the blog mod on oxle long after I migrated to MS SQL, so I can confirm it works on MS SQL.
richfed
12 October 2009, 09:45
I am having a problem, Marcel ... I registered on your forum so that I could download the two files, but the first presents me with a log-in screen that doesn't work --- I cannot enter any characters into the user name field, and the password field is greyed-out.
The second file, the admin add-on, comes up file not found. Thus, I have not downloaded either one.
Edit ---> OK, figured out first problem [not logged in - I thought I was]
MarcelG
12 October 2009, 09:52
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.
richfed
12 October 2009, 13:21
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:
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?
richfed
12 October 2009, 13:50
Actually, upon further review, THIS is the code in the MOD:
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!
MarcelG
12 October 2009, 14:50
You could add a line to the SQL query that pulls up all active topics, such as this:
I never build something like that into my active.asp, so you have to try it out.
richfed
12 October 2009, 15:06
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.
Thanks, Marcel ... will try that this evening. Is that all that is necessary? That one line?
MarcelG
14 October 2009, 06:18
Yup, that will filter out all the posts made in the weblogsforum from the Active Topics page.
richfed
14 October 2009, 06:52
OK! Works!! Thanks --
You are kind to assist!! I know it wasn't a Snitz packaged MOD ... though, you ought to consider that!!!
MarcelG
14 October 2009, 09:48
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
15 October 2009, 06:49
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
15 October 2009, 08:25
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
15 October 2009, 18:38
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
19 October 2009, 06:51
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.
MarcelG
19 October 2009, 09:02
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.