Blog MOD for Snitz - Posted (4029 Views)
Average Member
richfed
Posts: 999
999
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 -
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
Feel free to take the code and wrap it up in a mod bigsmile I really do not have much time left to spend on coding lately....dead
Posted
Average Member
richfed
Posts: 999
999
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.
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
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.
Posted
Average Member
richfed
Posts: 999
999
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!!
Posted
Average Member
richfed
Posts: 999
999
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.
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
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.
You Must enter a message