Author |
Topic |
Rusty_yellowjeep
Starting Member
23 Posts |
Posted - 27 September 2002 : 14:20:44
|
Is this mod almost done? should I attempt to load it yet. I don't want to rush you, just want to make sure that it is ready to go before I begin. |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 27 September 2002 : 14:30:19
|
I would never call any MOD "done" because improvements can be made all the time but no it is not at all done. If you include hidden or member list forums etc it will not block them. There are a few other things to work out as well. I also want to fix the documentation because this MOD can work far more efficiently if, when you have set it up how you want, you delte the display modes you are not using and functions you are not using. This will require an extensive enhancement to the readme but if I am using 1 display mode I see no reason to leave 15 modes in the production code. Ditto for all the WriteMessage and WriteSubject functions. They are great to mess with while you set it up but you can cut half to 2/3 of the code off and still have it function.
I encourage people to download it to experiment with it and give me input though so I can fix or enhance this further.
@tomic |
SportsBettingAcumen.com |
|
|
hackemaier
Starting Member
4 Posts |
Posted - 30 September 2002 : 19:53:29
|
i ve got a problem. first i use the german version 3.4.02 (with access 2000) its the same like the enlgish one. installing avatar and msgicons was no problem there was only a few thinks to translate. but after intalling content display every icons get lost (they are not shown anymore). i try the getCurrentIcon function written in the readme file and the one in this forum here without hope.
and can you please write this sentence with other words
Make sure that you have correct category, forum, topic, author or msgIcon ID's. Look in your db to get those ID's
i think i havent understand it correctly.
thanks a lot
|
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 30 September 2002 : 20:25:31
|
From the readme:
quote:
ContentType: (Where the source is derived from) 0 = display topics from a specific category ID 1 = display topics from a specific forum ID 2 = display from a specific topic ID (single topic is returned) 3 = display topics from a specific msgIcon ID (msgIcon mod must be installed) 4 = display topics from a specific author ID
ContentID: (the ID of the category, forum, topic, msgIcon or author that the source is derived from) 0 = displays all content with ID's greater than 0 (zero)
The Content Type needs a specific value(or 0 for all).
If you wanted to just display all of memberid = 3's posts you would select 4 for the Content Type and 3 for the Content ID.
If you wanted everything from category 2 you would enter 0 for the Content Type and 2 for the Content ID
And so on....
@tomic |
SportsBettingAcumen.com |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 01 October 2002 : 23:27:49
|
Hi @tomic,
Have you had a chance to work on the 3.3.05 version? It's not like you are busy or nuthin', right?! LOL!
Thanks,
Etymon |
|
|
bobbart
Junior Member
USA
163 Posts |
Posted - 03 October 2002 : 16:26:39
|
I am getting this error
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[undefined]'
content.asp, line 1109
[code] LINE --> Response.Write " <b><a href=""" & strForumURL & strLink & "?TOPIC_ID=" & strTopicID & """>" & vbNewLine & _
|
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 03 October 2002 : 16:35:49
|
What page are you using in the sub call? article.asp? news.asp? topic.asp? I should have a new version of this out soon. Perhaps your issue will be cleared up but I need a lot more information to even look at what's causing your problem. Such as what display mode are you using etc.
@tomic |
SportsBettingAcumen.com |
|
|
bobbart
Junior Member
USA
163 Posts |
Posted - 03 October 2002 : 16:37:28
|
I am calling topic.asp
<% DisplayContent 1, 3, 2, 1, 6, 5, 200, 0, 8, 1, 2, 0, "Whats New", 300, "topic.asp" %>
|
Edited by - bobbart on 03 October 2002 16:40:55 |
|
|
bobbart
Junior Member
USA
163 Posts |
Posted - 03 October 2002 : 16:38:47
|
Another thing is that if I use <!--#INCLUDE FILE="inc_contentdisplay.asp" --> I get this error. Microsoft VBScript compilation error '800a03ea'
Syntax error
inc_contentdisplay.asp, line 465
set regEx = New RegExp --------------------^
If I dont use that I just get the above error. |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 03 October 2002 : 17:17:41
|
One thing is definate: There is no way this will work without the include inc_contentdisplay.asp but you can remove the following from inc_contentdisplay.asp:
'#################################################################################
'# Function ClearHTMLTags().
'# by Jóhann Haukur Gunnarsson
'#
'# Variables needed to be defined before calling this
'# function are the following:
'#
'# @strHTML - String to be cleaned up
'# @strTag - "" - (Empty) if you want to remove all HTML tags
'# Tag - To remove an especific tag ( img, p, b, etc )
'#################################################################################
Function ClearHTMLTags( strHTML, strTag )
' Variables used in the function
dim regEx
' regEx initialization
set regEx = New RegExp
regEx.IgnoreCase = True
regEx.Global = True
regEx.Pattern = "<" & strTag & "[^>]*>"
strHTML = regEx.Replace( strHTML, "" )
set regEx = nothing
ClearHTMLTags = strHTML
end function I searched and could find nothing in the MOD that makes use of this. If someone else knows differently please enlighten me.
@tomic |
SportsBettingAcumen.com |
|
|
@tomic
Senior Member
USA
1790 Posts |
|
bobbart
Junior Member
USA
163 Posts |
Posted - 04 October 2002 : 01:06:12
|
Yep. Wow you remembered me. I dont know if thats good or not. lol |
|
|
bobbart
Junior Member
USA
163 Posts |
Posted - 04 October 2002 : 01:10:48
|
Ok I removed that and added the include and its working. Thanks |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 04 October 2002 : 02:13:22
|
Whew. Ok, glad I could help. It's tough having no mySQL to test on. I am always glad to get rid of useless code. I want to dismiss Chilisoft! in a way but it's mostly becuase odd problems like this spring up. I'm sure it has it's place.
@tomic |
SportsBettingAcumen.com |
|
|
bobbart
Junior Member
USA
163 Posts |
Posted - 04 October 2002 : 13:23:50
|
I was wondering will you have an admin interface like the old version? Where you can enter and see what your doing as you do it thnn copy the code and past it. |
|
|
Topic |
|