Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Simple Slash Mod v.1.0
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 11

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 17 December 2003 :  10:19:23  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
I get the same with the simple_slash.asp, could someone please post the code for both files? Or maybe e-mail them to me?

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 17 December 2003 :  17:18:18  Show Profile  Visit Gremlin's Homepage
I'm not sure what you mean post the code for both files ?

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 17 December 2003 :  17:29:45  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
quote:
Originally posted by tribaliztic

I get the same with the simple_slash.asp, could someone please post the code for both files? Or maybe e-mail them to me?



The download links are in the original post at the top of this thread and contain the latest released version of the code.
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 18 December 2003 :  03:23:30  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
yeah, but when I download from these links the code is corrupted. Probably because I'm only clicking on the link and not using a ftp client.

EDIT: I just downloaded it from snitzbits, will test that instead.

/Tribaliztic
- www.gotlandrace.se -

Edited by - tribaliztic on 18 December 2003 03:25:25
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 18 December 2003 :  03:58:39  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
quote:
Originally posted by tribaliztic

yeah, but when I download from these links the code is corrupted. Probably because I'm only clicking on the link and not using a ftp client.

EDIT: I just downloaded it from snitzbits, will test that instead.



SnitzBitz doesn't have the latest. The latest excluded private forums. Wait a few and I will post some text links.
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 18 December 2003 :  04:07:58  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Ok, here are the links.

zip file: ftp://ftp.spinbusters.com/simpleslash.zip
read me ftp://ftp.spinbusters.com/Simple_Slash_Mod_ReadMe.txt
stand alone ftp://ftp.spinbusters.com/simple_slash.txt
as include ftp://ftp.spinbusters.com/inc_simple_slash.txt

ok, I checked the links and all seem to work.
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 18 December 2003 :  04:41:58  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
quote:
Originally posted by tribaliztic

Hm.. the include is messing up my sitenews, the footer is removed. Or more exactly, everything "below" that include is removed.. You can see it here: http://213.65.78.5/forum/sitenews5.asp
Anyone else got this or is it just me? =)



OK, Tribal, I did some testing for you. Seems that the last reply date and link aren't quite up to snuff and when coupled with one of the "prepackaged" forums things go haywire like you saw. So here is a fix if you're interested. You will lose the last reply link though.

Find the below section of code in the include and delete the portions in red.

Response.Write "<tr><td bgcolor=""" & strForumCellColor & """ colspan=""3""> <a href='topic.asp?TOPIC_ID=" & objRS("TOPIC_ID") & "'><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>More >></a>  Replies(" & objRS2(0) & ")  With the last reply on"
  
			if IsNull(objRS("T_LAST_POST_AUTHOR")) then
				strLastAuthor = ""
			else
				strLastAuthor = " by: <span class=""spnMessageText"">" & profileLink(getMemberName(objRS("T_LAST_POST_AUTHOR")),objRS("T_LAST_POST_AUTHOR")) & "</span> " & "<a href=""topic.asp?whichpage=-1&TOPIC_ID=" & objRS("TOPIC_ID") & "&REPLY_ID=" & objRS("T_LAST_POST_REPLY_ID") & """>" & getCurrentIcon(strIconLastpost,"Jump To Last Post","align=""absmiddle""") & "</a>"
			end if
			Response.Write	"                 <font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strForumFontColor & """>" & ChkDate(objRS("T_LAST_POST"), " " ,true) & strLastAuthor & "</font></td></tr>"

Response.Write "<tr><td bgcolor=""" & strForumCellColor & """ colspan=""3"" height=""5""></td></tr>"
  objRS.MoveNext()
Wend



Maybe we can get someone more fluent than myself to clean up the coding and get the last reply stuff back for you. If you want to see it working in a pre packaged forum then I will leave it up on the txradio link below in my sig for a few days. Let me know when you no longer need to see it working so I can take that off that site. I hope this helps.

Edited by - RebelTech on 18 December 2003 04:45:14
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 18 December 2003 :  06:35:03  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
Hm.. is the code in the include and the stand-alone the same apart from the includes in top of the file? If not, can someone post the code for the include? I downloaded the files again, from snitzbits this time and no luck. Must be some error in the transfer somehow. When I take the code posted here and make a new file it work fine.

RebelTech: I added you on ICQ, it's alittle faster to chat that way if you don't mind..

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 18 December 2003 :  06:43:50  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
I can't find the text in red either? =)
Am I completely lost here or am I looking at the wrong files or what? hehe...

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 18 December 2003 :  11:16:17  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
quote:
Originally posted by tribaliztic

I can't find the text in red either? =)
Am I completely lost here or am I looking at the wrong files or what? hehe...



Not you on this one. I just realized that the reply code was never added to the zip and therefore you don't need to remove it. But, I uploaded the inc_simple_slash.asp that I gave you the link for above to txradio.org to test it in a pre packaged forum environment.. The only change I made before uploading it was changing the forum id from 5 to "any". It worked fine.

If I remember correctly, one of the sh includes added to the overall bugginess of the forum. It was something like top posters or last seen.
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 19 December 2003 :  02:10:40  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
Hm, but I got the standalone working =) It's just the include that's messing up everything "below" it..

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

golfmann
Junior Member

United States
450 Posts

Posted - 19 December 2003 :  19:47:00  Show Profile  Visit golfmann's Homepage
I got my simple slash standalone to work as an include by removing this:
Wend

response.write "</table></td></tr></table>" & vbNewLine
objRS2.Close()
Set objRS2 = Nothing
objRS.Close()
Set objRS = Nothing
objConn.Close()
Set objConn = Nothing


Response.End
and substituting THIS:
Wend
%>


</table>
<%
Don't know if this will help you or not, just saying I'm using the simple slash stand alone in mine as an include...

Hope that helps
Go to Top of Page

edbyrne
Starting Member

Ireland
34 Posts

Posted - 20 December 2003 :  20:41:46  Show Profile
I have tried using the mod as an include (inc_simple_slash.asp) on my site's home page, syntax = <!--#include file="forum/inc_simple_slash.asp" --> (that is how Dreamweaver adds it). But nothing is displaying. What might be the problem? My home page is a static html document by the way. Do I need to get the website hosts to do anything in order for it to work? Any ideas?

Eddie
http://www.cleft.ie
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 21 December 2003 :  00:36:44  Show Profile  Visit Gremlin's Homepage
Includes won't work if the page is .htm or .html it needs to be .asp (just rename it is probably all you'll need to do).
Though you may also need to change the includes in the inc_simple_slash.asp file too becuase you trying to load it from
outside the fourm directory.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

edbyrne
Starting Member

Ireland
34 Posts

Posted - 21 December 2003 :  13:46:17  Show Profile
Thanks for that. I'll have to give some consideration to what changing my home page extension to .asp will mean in terms of search engines, links to it from other pages on the site and from elsewhere, etc. Thanks also for the tip in relation to the other includes.

Eddie
http://www.cleft.ie
Go to Top of Page
Page: of 11 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07