Author |
Topic |
Pouyan
New Member
91 Posts |
Posted - 16 September 2002 : 23:26:16
|
@tomic, thanks for updating this MOD. It is such a great mod...hopefully you will be done with everything you plan to do with it and bug fixes soon, can't wait |
|
|
rlesedai
Starting Member
United Kingdom
20 Posts |
Posted - 16 September 2002 : 23:38:19
|
Agreed, this is a promising Mod. I have been playing with it for a couple of days with an Access Database. So far so good. Just waiting for the update where it can be used outside of the forum folder (it calls all the data, but not the images). Once thats there i will play with it some more. Keep up the great work |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 17 September 2002 : 00:32:35
|
That's easy to fix(the images).
Change this line: getCurrentIcon = "<img src=""" & strTempImageUrl & tmpicons(0) & """" & fWidth & fHeight & " border=""0"" alt=""" & fAltText & """ title=""" & fAltText & """" & fOtherTags & " />"
To this:
getCurrentIcon = "<img src=""" & strForumURL & strTempImageUrl & tmpicons(0) & """" & fWidth & fHeight & " border=""0"" alt=""" & fAltText & """ title=""" & fAltText & """" & fOtherTags & " />"
This won't fix the links, though. Just the images.
@tomic |
SportsBettingAcumen.com |
|
|
rlesedai
Starting Member
United Kingdom
20 Posts |
Posted - 17 September 2002 : 01:53:03
|
quote: Originally posted by @tomic
That's easy to fix(the images).
Change this line: getCurrentIcon = "<img src=""" & strTempImageUrl & tmpicons(0) & """" & fWidth & fHeight & " border=""0"" alt=""" & fAltText & """ title=""" & fAltText & """" & fOtherTags & " />"
To this:
getCurrentIcon = "<img src=""" & strForumURL & strTempImageUrl & tmpicons(0) & """" & fWidth & fHeight & " border=""0"" alt=""" & fAltText & """ title=""" & fAltText & """" & fOtherTags & " />"
This won't fix the links, though. Just the images.
@tomic
I may be stupid, but i have searched the files and am unable to locate this section. Have the files been recently upgraded (within the last 36 hours?)
Also, i have checked the links, and the vast majority appear to work. |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 17 September 2002 : 02:26:01
|
Whoops. I suppose it would have helped if I had said that that line was in inc_iconfiles.asp. It's just as well you missed it because there were issues with images with http:// in them like the ICQ and Yahoo icons but I think I have solved that.
Change the entire getCurrentIcon function in inc_iconfiles.asp to:
function getCurrentIcon(fIconName,fAltText,fOtherTags)
if fIconName = "" then exit function
if fOtherTags <> "" then fOtherTags = " " & fOtherTags
if Instr(fIconName,"http://") > 0 then strTempImageUrl = "" else strTempImageUrl = strImageUrl
tmpicons = split(fIconName,"|")
if tmpicons(1) <> "" then fWidth = " width=""" & tmpicons(1) & """"
if tmpicons(2) <> "" then fHeight = " height=""" & tmpicons(2) & """"
if lcase(left(fIconName,7)) = "http://" then
getCurrentIcon = "<img src=""" & strTempImageUrl & tmpicons(0) & """" & fWidth & fHeight & " border=""0"" alt=""" & fAltText & """ title=""" & fAltText & """" & fOtherTags & " />"
else
getCurrentIcon = "<img src=""" & strForumURL & strTempImageUrl & tmpicons(0) & """" & fWidth & fHeight & " border=""0"" alt=""" & fAltText & """ title=""" & fAltText & """" & fOtherTags & " />"
end if
end function
@tomic |
SportsBettingAcumen.com |
Edited by - @tomic on 17 September 2002 02:26:33 |
|
|
rlesedai
Starting Member
United Kingdom
20 Posts |
Posted - 17 September 2002 : 03:26:36
|
That worked for me - Thanks. Now i will play with it a little more.
Thanks again for this great mod. |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 17 September 2002 : 14:34:28
|
@tomic, in your terms of time and ability, IF you were to implement this MOD on a pre-3.4.xx forum such as 3.3.05 how long would it take you to tweak it to fit? I know this MOD was written for Snitz v3.4.xx, but I am wondering if it is even possible as well as even feasible.
I'd really like to see if I can get this to work on my test 3.3.05 forum.
Kind regards,
Etymon
|
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 17 September 2002 : 14:40:12
|
I have had this MOD running on a 3.1R4 forum for well over a year now. I will try to put something together that will work for you. It shouldn't need many adjustments at all. The most important are the includes, the getCurrentIcon function and the way it checks for hidden folders etc. The rest should be fine. Actually, I have this running on a 3.3 Final forum also.
@tomic |
SportsBettingAcumen.com |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 17 September 2002 : 15:21:12
|
Whew! You are d'man! Thanks!
I am definitely looking forward to this!
Thanks for the help!
Etymon
|
|
|
Rusty_yellowjeep
Starting Member
23 Posts |
Posted - 17 September 2002 : 17:57:07
|
quote: Originally posted by rlesedai
Agreed, this is a promising Mod. I have been playing with it for a couple of days with an Access Database. So far so good. Just waiting for the update where it can be used outside of the forum folder (it calls all the data, but not the images). Once thats there i will play with it some more. Keep up the great work
I thought this could be used on any ASP page?
Are you getting closer to a final release yet? Are there any changes that have to be made for it to work on 3.4.03 ?
Will this work with the Avatar Plus mod or should I stick to the tried and true Avatar mod?
Sorry for being such a newbie |
Edited by - Rusty_yellowjeep on 17 September 2002 17:59:40 |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 17 September 2002 : 18:10:22
|
quote: I thought this could be used on any ASP page?
It will work on any ASP connected to the forum in the customary manner(check include files on default.asp)
I'm not sure about the avatar plus MOD. I honestly haven't any clue as to what the Plus is for. For the most part and maybe all the part the CD MOD looks for the avatar URL of a topic author. If that column name is the same as the avatar MOD it should probably be fine. I am making no promises though since, as I said I have no idea what the difference is.
I have no idea when I could consider this a final release yet. I am hoping someone will examine it for security issues.
@tomic |
SportsBettingAcumen.com |
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 17 September 2002 : 20:00:59
|
hi~ atomic, thanks for this great Mod upgrade..
and founad a small problem in Sub WriteGraphicBar() were these Reply_MemberReceiveEmail, Reply_MemberHomepage, Topic_Status should be changed to rs("M_RECEIVE_EMAIL"), len(rs("M_Homepage")) > 10, rs("T_STATUS") (and maybe also need add one line in SQL statement..) strSql = strSql & strTablePrefix & "MEMBERS.M_RECEIVE_EMAIL, "
|
~......~.~~ |
|
|
Rusty_yellowjeep
Starting Member
23 Posts |
Posted - 17 September 2002 : 21:22:51
|
Can you please help me with the following? Sorry I did try and follow what you have written.
This is the error I get when I load my front page I loaded the files in my forum dir. and my front page is in my root dir:
Active Server Pages error 'ASP 0126'
Include file not found
/index1.asp, line 53
The include file 'content.asp' was not found.
What do i do when I find the below ID's? Make sure that you have correct category, forum, topic, author or msgIcon ID's. Look in your db to get those ID's
How and where do I show the following? In the header? * Make sure that you also have the inc_functions.asp, config.asp AND the inc_top.asp as includes in each page that you want to use the Display Content mod.
This reads "will be necessary" but where, in the page you want the the msg's to show? The following include files will be necessary(maybe more I have forgotton)
<!--#INCLUDE FILE="config.asp"--> <!--#INCLUDE FILE="inc_func_secure.asp" --> <!--#INCLUDE FILE="inc_sha256.asp"--> <!--#INCLUDE FILE="inc_header.asp" --> |
Edited by - Rusty_yellowjeep on 17 September 2002 21:41:04 |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 18 September 2002 : 03:05:22
|
hi~ atomic, thanks for this great Mod upgrade..
and founad a small problem in Sub WriteGraphicBar()
were these
Reply_MemberReceiveEmail, Reply_MemberHomepage, Topic_Status
should be changed to
rs("M_RECEIVE_EMAIL"), len(rs("M_Homepage")) > 10, rs("T_STATUS")
(and maybe also need add one line in SQL statement..)
strSql = strSql & strTablePrefix & "MEMBERS.M_RECEIVE_EMAIL, "
Thank you. I have added these to my file. I have also started using my image protection with these and will include getimage.asp and getphoto.asp with this MOD and I will use it with avatars and photos on article.asp so that no one can easily link to them and drain bandwidth.
@tomic |
SportsBettingAcumen.com |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 18 September 2002 : 03:08:00
|
Rusty, I have updated the readme and it should help you identify what include files you need and look carefully at the selections since one set is for out-of-forum use.
To identify the forum and category IDs just look up at the address bar when you are in a forum or category. Then basically mess around with the different combinations until you have something you are satisfied with.
@tomic |
SportsBettingAcumen.com |
|
|
Topic |
|