There are 3 bits of code to add to the forum_posts.asp page. The first is..
strSQL="SELECT tblAuthor.Karizma, tblAuthor.Tesekkur FROM tblAuthor WHERE author_ID =" & lngUserID
rsCommon.Open strSQL, adoCon
'Karizmayi ögren
tesk_sayisi = int(rscommon("tesekkur"))
intkarizma = int(rsCommon("Karizma"))
'intrankkarizma =(int(tesk_sayisi)*100)\lngAuthorNumOfPosts
if intrankkarizma >100 then intrankkarizma=100
'KARIZMA BITIS
'Thanks mod finish
When i add that to around line 926 i get the following error...
ADODB.Recordset error '800a0e79'
Operation is not allowed when the object is open.
forum_posts.asp, line 926
There are 2 more bits of code similar to this going below it which cause the same error. I'm assumed it was something to do with not closing the database 1st so i tried that and then reopening it but that kinda gave the opposite error. I have every other bit working fine i just cannot seem to figure out what is going on with this. Any help would be greatly appreciated. Ta.