Blogs

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/66593?pagenum=1
04 November 2025, 21:41

Topic


thelodger
Blogs
05 March 2008, 16:47


Is there a blog mod? I would like to start hosting members blogs, if not whats the best way to go about it?<

 

Replies ...


AnonJr
05 March 2008, 22:47


I know people have done it, but I'm not sure that there's been a formal MOD written up. It wouldn't be to terribly difficult to get something basic working. The real question is have you thought out just how complex you want this? What you want to do will help determine if its worth MODing the forum or if you're better off integrating someone else's blog code into the forum.<
weeweeslap
05 March 2008, 23:27


there's one floating around by marcel called weblogs or something like that.<
JJenson
06 March 2008, 00:01


This is a link to a download that weeweeslap was talking about.
http://oxle.com/topic.asp?tid=2186&SearchTerms=weblog<
thelodger
06 March 2008, 12:05


I have tried Marcel's weblog mod as it does seem to be exactly what I want, I did all the changes and double checked them but I keep getting an HTTP 500 server error when I ftp all the new files. could anyone help me? because I would really like this mod.<
AnonJr
06 March 2008, 12:31


Turn off friendly error messages. This will give you a more detailed error message with the line number. With more details we can figure out where to start looking.<
thelodger
06 March 2008, 12:42


Where can I turn off friendly error messages?<
thelodger
06 March 2008, 12:45


Its OK I have done that, will reload the files to see what it says<
thelodger
06 March 2008, 12:47


The error is

Microsoft VBScript compilation error '800a0400'

Expected statement

/config.asp, line 90

<%
^
<
thelodger
06 March 2008, 12:50


Well sorted that myself, thanks to what I have learnt in this forum

when I click the blog forum I now get this error

Microsoft VBScript runtime error '800a01f9'

Invalid or unqualified reference

/forum.asp, line 39
<
thelodger
06 March 2008, 12:51


lines 38 to 41 in forum.asp reads


if NOT Request.QueryString("FORUM_ID") = "" then
if .QueryString("FORUM_ID") - strWeblogsForum = 0 and mlev <> 4 then
Response.Redirect "weblogs.asp"
end if<
thelodger
06 March 2008, 12:57


All forums are effected by this error not only the blog forum.<
JJenson
06 March 2008, 12:58


what are the few lines around line 90 in config.asp?<
thelodger
06 March 2008, 13:00


lines 83 to 95


Const intCookieDuration = 30

%>
<!--#INCLUDE FILE="inc_iconfiles.asp"-->
<!--#INCLUDE FILE="weblogvars.asp"-->
<%

'#################################################################################
'## Do Not Edit Below This Line - It could destroy your forums and lose data
'#################################################################################
'############## Attachments ###############################
Dim strUploadUrl, strAllowAttachment
'###########################################################<
muzishun
06 March 2008, 14:01


On forum.asp, you are missing a "Request":

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

Not sure what's causing the config.asp error. It looks correct.<
thelodger
06 March 2008, 14:06


Cheers, I have now got this error


Microsoft VBScript compilation error '800a03f9'

Expected 'Then'

/forum.asp, line 39

if Request .QueryString("FORUM_ID") - strWeblogsForum = 0 and mlev <> 4 then
-----------^


<
JJenson
06 March 2008, 14:48


It looks like you have a space after the Request"spacehere".QueryString. I am guessing there is not supposed to be a space? Just a guess on that one.<
thelodger
06 March 2008, 15:06


Great, that seems to have sorted it, cheers.

Now it lets me post and do a test blog and lets me post it all fine, but when clicking on the blog I get this error

set objRec = my_Conn.Execute(strSql)
<
JJenson
06 March 2008, 15:12


Did you get any errors when you updated the database?<
thelodger
06 March 2008, 15:15


There was no need to update the database as far as I am aware, well in the instructions there was no mention or dbs file in the download.<
weeweeslap
06 March 2008, 15:17


I believe the mod requires that you have the message icon mod. You can do 2 things:
1. Install the message icon mod. 2. Remove all code from weblogs mod that refers to message icon mod. I would pick 2.<
thelodger
06 March 2008, 15:27


I am guessing that would be almost impossible for me as someone who is not very good with asp, is the message icon mod a pain? or would it be easy for me to add, baring in mind I have added quite a few mods to my forum. or is there an easy way to remove all the code for that mod?<
cripto9t
06 March 2008, 16:37


I'd remove it to. They take up screen space and hardly anyone uses them. At least on the forums I belong to. If you decide to remove it, the first step would be to remove it from the sql statements - 'FORUM_TOPICS.T_MSGICON'
then look for the variable thats assigned to it. then look for and remove the html associated with it.<
thelodger
06 March 2008, 16:47


angry looks way over my head, which file would contain all this? or will it be all 4 of them?<
AnonJr
06 March 2008, 16:53


Post a link to a .txt copy of the 4 files. I don't know if I will get a chance to look at them as I've got a looong day coming up tomorrow, but either I'll look this weekend or some other enterprising soul will be able to help.<
thelodger
06 March 2008, 17:17


Thanks if anyone can help

http://www.forumsuperstars.com/log.txt
http://www.forumsuperstars.com/weblogs.txt

http://www.forumsuperstars.com/weblogvars.txt (doubt this will need changing)

4th file is just an advert.<
thelodger
09 March 2008, 14:25


The error I am getting now when clicking on the blogs forum is

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[MySQL][ODBC 3.51 Driver][mysqld-5.0.22-log]Got error 28 from storage engine

/weblogs.asp, line 71


<
thelodger
12 March 2008, 17:43


sad<
phy1729
12 March 2008, 17:57


The mysql suggestion is "Clean up your disk" Also what is the mysql statement that's causing it to fail?<
thelodger
13 March 2008, 12:37


Line 71 is

set objRec = my_Conn.Execute(strSql)

And how would I clean up the disk?<
phy1729
13 March 2008, 12:59


Please add right before that line
Code:
Response.Write strSql
<
AnonJr
13 March 2008, 13:04


you'd probably want to add:

Code:
Response.Write strSql
Response.End

so it stops before it moves on to the error page. wink<
thelodger
13 March 2008, 13:45


Cheers tried that, I now get this

SELECT FORUM_TOPICS.TOPIC_ID, FORUM_TOPICS.T_SUBJECT, FORUM_TOPICS.T_MESSAGE, FORUM_TOPICS.T_AUTHOR, FORUM_TOPICS.T_REPLIES, FORUM_TOPICS.T_DATE, FORUM_TOPICS.T_LAST_POST, FORUM_MEMBERS.MEMBER_ID, FORUM_MEMBERS.M_NAME, FORUM_MEMBERS.M_TITLE, FORUM_MEMBERS.M_LEVEL, FORUM_MEMBERS.M_AVATAR_URL, FORUM_MEMBERS.M_POSTS FROM FORUM_TOPICS, FORUM_FORUM, FORUM_MEMBERS WHERE FORUM_FORUM.F_PRIVATEFORUMS = 0 AND FORUM_TOPICS.FORUM_ID = FORUM_FORUM.FORUM_ID AND FORUM_FORUM.FORUM_ID = 18 AND FORUM_TOPICS.T_AUTHOR = FORUM_MEMBERS.MEMBER_ID AND FORUM_TOPICS.T_STATUS < 2 AND FORUM_TOPICS.T_STATUS > 0 ORDER BY FORUM_MEMBERS.M_NAME, FORUM_TOPICS.T_DATE DESC;
<
AnonJr
13 March 2008, 14:09


Not sure why you're getting the error, but I do wonder why its checking for the status to be less than 2 and greater than 0 ... wouldn't it be easier to just check and see if its 1? tongue
I'm also wondering why you're getting a storage error on a SELECT statement...
How many replies are there to this topic?<
thelodger
13 March 2008, 15:15


There are 2 test posts which I managed to do before I realised I was getting forum errors.

Problem is it wont let me delete them, I keep getting this error when I try

Active Server Pages error 'ASP 0113'

Script timed out

/pop_delete.asp

The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools. <
AnonJr
13 March 2008, 15:19


I'm not sure if the MOD required any changes to existing files, but if there were any changes needed, I'd start checking them. Something just doesn't seem right, but I can't seem to put my finger on it...<
thelodger
13 March 2008, 15:21


Yeah a few changes were needed, I will start again I think and see what happens.<
thelodger
13 March 2008, 16:00


Whats the best way to delete this forum catagory? when I try I get

Active Server Pages error 'ASP 0113'

Script timed out

/pop_delete.asp

The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.

I have tried to do the mod from scratch again and I get the same error, I cannot delte the old catagory or posts because of this error<
MarcelG
14 March 2008, 06:33


Question ; is the weblogsforum actually set to forum ID 18?<
thelodger
14 March 2008, 12:04


Yes mate the contents of weblogvars is

Code:
dim strWeblogsForum, strWeblogsDisplayName, strSMMReplyText, strSMMReadRepliesText, strSMMNoReplies
dim strSMMPostedby, strSMM1Reply, strSMMNReplies2, strSMMNListClosed, strNewsAllNewsItems, strNewsPostAnItemText
dim strSMReply, strSMReplies

strWeblogsForum = "18"
strWeblogsDisplayName = "Laddies Blogs"
strSMMReplyText = "post a reply"
strSMMReadRepliesText = "read the replies"
strSMReply = "reply"
strSMReplies = "replies"
strSMMNoReplies = "there are no replies"
strSMMPostedby = "posted by [user] on [date] at [time]"
strSMM1Reply = "there's one reply by [user] on [date] at [time]"
strSMMNReplies2 = "there are [n] replies, with the last one by [user] on [date] at [time]"
strSMMNListClosed = "closed"
strNewsAllNewsItems = "all items"
strNewsPostAnItemText = "submit a new item"
'Change the line below to "No" or include your own ads in the file inc_468x60.asp
strEnableAdsInWeblogs = "Yes"
<
MarcelG
14 March 2008, 13:58


Ok, just to be sure that it's not that that is causing the problem. Does that forum also have an archive?<
thelodger
14 March 2008, 14:23


Yes it does mate.<
MarcelG
14 March 2008, 14:43


Mmmm....I must admit I haven't dared to do any archiving in the weblogsforum. If you open up the db, do you see anything strange about the weblogsposts/replies compared to other posts/replies (for example missing fields, empty fields, stuff like that).<
thelodger
14 March 2008, 14:51


I dont know how to open the database, I have never done that, I have only ever added stuff in it from the admin with the help of commands from this site.<
MarcelG
14 March 2008, 15:28


Is it an access database?<
thelodger
14 March 2008, 15:40


No its mysql<
MarcelG
15 March 2008, 10:41


MMmm...in that case I have no idea to be honoust. tongue<
AnonJr
15 March 2008, 10:48


Doesn't your host provide some means of accessing the database?
(I also seem to remember that there is a web-based product, but I don't recall what it is...)<
modifichicci
15 March 2008, 11:05


Just some questions:
1) I suppose there is a forum with id 18, isn't it? 2) there are some redundant lines.. Set my_Conn = Server.CreateObject("ADODB.Connection")
Set objRec = Server.CreateObject("ADODB.RecordSet") 'this is the one useful
Set objDict = CreateObject("Scripting.Dictionary")
my_Conn.Open strConnString

as the connection is opened in files included..
3) is implemented avatars mod? 4) what's about T_MSGICON ? 5) have you poll mod installed?<
thelodger
15 March 2008, 13:12


Anon yes I have access, I use Razor SQL to get access, but once I am in, none of it mean anything to me, so I dont know what I am looking for.<
thelodger
16 March 2008, 15:55


OK it looks like this mod isn't going to be possible, now not been internet savvy, although I am happy to try stuff that’s got good instructions, is it possible to add a blog package to my website? I am on a windows server with mysql, and does anyone have any recommendations on a readymade blog package and any other advice with regards to this?<
AnonJr
17 March 2008, 12:22


Don't know off the top of my head. Its always been my intention to look into either writing one based off of Snitz or integrating some other one, I just haven't had the time.
I'll see if I can dig up links to some of the packages I'd downloaded and just haven't looked into.<
thelodger
17 March 2008, 13:36


Cheers much appreciated.<
projectgallbladder
21 April 2008, 22:32


Hi there. New to website build / forum setup. Have installed Snitz recently and looking for a Blog plug-in to expand the member Bio area. Tossed up between VBulletin which now has a member blog add-on and Snitz. Because my project is a non profit making forum concept (cost are coming of my checkbook), I chose to go down the open source path. I also strongly believe Forum member Blog (expanded bio) area will be the next progression in forums. Snitz need to move forward in this area. Either by coding an add-on OR partnering with third party.
Has anyone successfully integrated a third blog party plug-in. Imagine you would have to link members table with the blog page admin area?

Have looked at the following low cost Blog applications which could be added to Snitz. http://www.hostforest.co.uk/Products/blog.asp

Very cheep for a site license

Your thoughts – desperately looking for a member blog area solution

Thanks

John
<
SiSL
22 April 2008, 03:24


Well, I can't help much on MOD resizable, but my blogs are also based on Snitz user structure www.chip.com.tr/blog/selcuk for example, at least might give you an idea<
thelodger
22 April 2008, 14:11


Well I think we, (I know I do) want a facility so our members can do their own blogs on our site, if possible direct from the forum, but if not then an easy to use blog facility so all our members can have their own blog if wanted.<
projectgallbladder
22 April 2008, 23:06


Hi SiSL

That’s one very cool Snitz site setup. Not understanding the language, your blog setup is what I am looking for, an area where members can write a simple diary style journal on personal interests / activities with pictures [basically an extended member Bio area kept very simple].

Are you using a 3rd party Blog application with Snitz member integration or created your own code?
Cheers, John<
SiSL
23 April 2008, 02:12


Nah, just created my own code. Basically uses Snitz posting, Snitz formatting on messages etc. so users are not aliented. Rest are seperate table for blogs, seperate table for comments. (And ofcourse, some ISAPI rewrite for allowing every user seperate fake directory...<
thelodger
14 May 2008, 17:02


Originally posted by SiSL
Nah, just created my own code. Basically uses Snitz posting, Snitz formatting on messages etc. so users are not aliented. Rest are seperate table for blogs, seperate table for comments. (And ofcourse, some ISAPI rewrite for allowing every user seperate fake directory...

any chance we can have a look at your code? maybe just maybe someone would be able to make it usable for a multi blog engine.<
© 2000-2021 Snitz™ Communications