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)
 Slash MOD ver 2.00
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 12

frankie
Junior Member

Vatican City
304 Posts

Posted - 05 January 2001 :  14:49:04  Show Profile  Visit frankie's Homepage  Send frankie an AOL message  Send frankie an ICQ Message  Send frankie a Yahoo! Message
animedj,
btw my mod works fine now. I found a missing "," in the above code right after
TOP slPosts. Thank You.

evehawk,
I did the same thing you wrote and it worked fine, but I'm trying to rid of the smilies in my frontpage,and that didn't work eventhough I did the same thing above!!

any ideas? Thank you

ô¿~

Edited by - frankie on 05 January 2001 14:54:27
Go to Top of Page

evehawk
New Member

Australia
65 Posts

Posted - 05 January 2001 :  21:06:02  Show Profile  Send evehawk an ICQ Message
frankie,

it is in the part

fString= replace(fString, "<img src=icon_smile_angry.gif border=0 align=middle>", <font color=red>""</font id=red>, 1, -1, 1)
.....
... etc

replace all the red text that represent the icons with "" ( third instances inside the () of the function) and it will be ok


Go to Top of Page

frankie
Junior Member

Vatican City
304 Posts

Posted - 05 January 2001 :  21:46:12  Show Profile  Visit frankie's Homepage  Send frankie an AOL message  Send frankie an ICQ Message  Send frankie a Yahoo! Message
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
frankie,

it is in the part

fString= replace(fString, "<img src=icon_smile_angry.gif border=0 align=middle>", <font color=red>""</font id=red>, 1, -1, 1)
.....
... etc

replace all the red text that represent the icons with "" ( third instances inside the () of the function) and it will be ok



<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

That's exactly what I did the first time..but they still there. For my amazement I did add the same fstring with the <font color=red>""</font id=red> in the smilie code for my other smilies from Da_Stimulator's smilies mod and it did work!!!

Thoughts?

ô¿~
Go to Top of Page

evehawk
New Member

Australia
65 Posts

Posted - 05 January 2001 :  21:52:25  Show Profile  Send evehawk an ICQ Message
heh glad it work for you. i dont have da_stim smiles mode so i dunno.. may need your help there when i install it:)

may be animedj can come up with a better fix then what we did. this is a great mode :)

Go to Top of Page

frankie
Junior Member

Vatican City
304 Posts

Posted - 05 January 2001 :  21:57:32  Show Profile  Visit frankie's Homepage  Send frankie an AOL message  Send frankie an ICQ Message  Send frankie a Yahoo! Message
evehawk,

I'm sorry for the missunderstanding, it didn't work for the default smilies only for the mod added smilies!

ô¿~
Go to Top of Page

evehawk
New Member

Australia
65 Posts

Posted - 05 January 2001 :  22:56:41  Show Profile  Send evehawk an ICQ Message
i just icq you frank

Go to Top of Page

shaneb
Junior Member

USA
319 Posts

Posted - 06 January 2001 :  00:31:10  Show Profile  Send shaneb a Yahoo! Message
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
<b> Need Some Help Please.</b>
I got the MOD Commander working and the Slash MOD shows up in the Admin Section. But when I click on the go link to go to /forum/mods/slash_admin.asp I get a HTTP 500 - Internal server error.

I am using ver 3.1 SR4 (newest Snitz Forum Ver) and I am on a Win2K Server using IIS 5.0 ASP 3.0.

I am also using MOD Commander ver 1.05 and
Slash Mod ver 2.00

Anybody else having this problem? Did I leave something out?

Thanks in advance!
Shane B.



Edited by - shaneb on 02 January 2001 03:24:16
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>


Just found this. There is an "s" missing on the include <!--#include virtual="/forum/mod/slash.asp"--> Located at the bottom of the slash_admin.asp page. The folder was to be called mods not mod.

This still doesn't help me though. All I get now is a blank page with no errors. Anybody know whats going on.

I did a view source and this is what I get on the blank page. Notice there are no <table> tags or anything, just JavaScript. I'm wondering if this is because I am on a Win2K server and the includes are not working correctly.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
<html> <head>
<title>Slash Mod - by - AnimeDJ.com</title>
<style type="text/css">
<!--
p { font: 10pt Verdana, Arial, Helvetica, sans-serif}
p.small { font: 10pt Verdana, Arial, Helvetica, sans-serif}
-->
</style>
<script language="JavaScript">
<!--
function MM_findObj(n, d) { //v3.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_validateForm() { //v3.0
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (val!=''+num) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
} if (errors) alert('The following error(s) occurred:\n'+errors);
document.MM_returnValue = (errors == '');
}
//-->
</script></head>
<body bgcolor="#FFFFFF">
<center>

</center></body>
</html>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>


Shane B.



Edited by - shaneb on 06 January 2001 00:32:51<font color=red></font id=red><font color=black></font id=black><font face='Verdana'></font id='Verdana'><font size=2></font id=size2>

Edited by - shaneb on 06 January 2001 01:06:36
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 06 January 2001 :  16:57:57  Show Profile
ShaneB, I got that same problem. It's a cookie problem. Open slash_admin.asp. Near to the top, uncomment these lines in green like I did in the following:<pre id=code><font face=courier size=2 id=code>Dim slMessage
<font color=green>'strCookieURL = Left(Request.ServerVariables("Path_Info"), InstrRev(Request.ServerVariables("Path_Info"), "/mods/"))</font id=green>
action = request.querystring("action")
set my_Conn = Server.CreateObject("ADODB.Connection")
my_Conn.Open strConnString
<font color=green>'mLev = cint(ChkUser2(Request.Cookies(strCookieURL & "User")("Name"), Request.Cookies(strCookieURL & "User")("Pword")))</font id=green></font id=code></pre id=code>Then add this line after you did the above:<pre id=code><font face=courier size=2 id=code>mLev = cint(ChkUser2(Request.Cookies(strUniqueID & "User")("Name"), Request.Cookies(strUniqueID & "User")("Pword")))</font id=code></pre id=code>Then try accessing the slash_admin.asp again and see if that doesn't fix it.

<center><font color=green>*----*----*----*----*----*----*----*----*
<font size=2>"To Get To Heaven,
It's Who You Know That Counts."</font id=size2>
*----*----*----*----*----*----*----*----*</font id=green></center>
Go to Top of Page

frankie
Junior Member

Vatican City
304 Posts

Posted - 06 January 2001 :  17:58:56  Show Profile  Visit frankie's Homepage  Send frankie an AOL message  Send frankie an ICQ Message  Send frankie a Yahoo! Message
Davio,

Is there anyway I could get rid of the smilies on my frontpage without showing the image tag?!

ô¿~
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 06 January 2001 :  20:13:30  Show Profile
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Davio,

Is there anyway I could get rid of the smilies on my frontpage without showing the image tag?!

ô¿~
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I don't understand what you're asking...<img src=icon_smile_question.gif border=0 align=middle>

<center><font color=green>*----*----*----*----*----*----*----*----*
<font size=2>"To Get To Heaven,
It's Who You Know That Counts."</font id=size2>
*----*----*----*----*----*----*----*----*</font id=green></center>
Go to Top of Page

frankie
Junior Member

Vatican City
304 Posts

Posted - 06 January 2001 :  21:55:50  Show Profile  Visit frankie's Homepage  Send frankie an AOL message  Send frankie an ICQ Message  Send frankie a Yahoo! Message
What I meant is that I'm using this mod to display on the frontpage of my website. Some posts have smilies and pics in'em, how can I get rid of those images? (I don't want the image tag to appear either!!).

Thank You

ô¿~
Go to Top of Page

shaneb
Junior Member

USA
319 Posts

Posted - 07 January 2001 :  04:26:42  Show Profile  Send shaneb a Yahoo! Message
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
ShaneB, I got that same problem. It's a cookie problem. Open slash_admin.asp. Near to the top, uncomment these lines in green like I did in the following:[code]Dim slMessage
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Thanks Davio,

I think that did it for the new release, but I now have put on HuwR forum which includes a lot of the mods. The only one I think he didn't throw in there was the Slash MOD. Now I am trying to get it to work with it. I have asked him a question about it here.

http://www.forum.snitz.com/forum/topic.asp?TOPIC_ID=3336&FORUM_ID=34&CAT_ID=10&Topic_Title=Final+version+4+with+all+the+mods+%3F%3F&Forum_Title=Help%3A++General

You guys ought to take a look at HuwR Version of the forums, it's really nice!

Heres a link to it on my site! http://64.224.29.14/forum/


Shane B.



Edited by - shaneb on 07 January 2001 04:27:33
Go to Top of Page

shaneb
Junior Member

USA
319 Posts

Posted - 07 January 2001 :  05:16:45  Show Profile  Send shaneb a Yahoo! Message
Davio,

I got your cookie solution working but now I can't get the slash_admin.asp to update the dB. When I put in a number for "How many posts to show?" and hit the update button, it still shows "The last 0 topics submitted" in the table below it. I can't go into the dB to add the fields manually or change the the data in those fields because HuwR's dB is Access 2000 and I only have Access 97 installed on my system.

I also noticed that by using his dB The slash_admin.asp page didn't ask me if I wanted to set a table up as if he already had it set up before. I don't know, I am at a loss. The Admin screen just automatically came up.

Anybody got any ideas?



Shane B.

Go to Top of Page

anotherwin95
Junior Member

USA
140 Posts

Posted - 07 January 2001 :  12:52:13  Show Profile  Visit anotherwin95's Homepage  Send anotherwin95 an ICQ Message
Anyone have this mod complete with all fixes that have been discussed?


Richard Hay
Webmaster/Forum Admin
http://AnotherWin95.com
http://AnotherWin95.com/forum
http://AnotherWin95.com/cowboys/
Go to Top of Page

speedway
New Member

88 Posts

Posted - 07 January 2001 :  13:48:57  Show Profile
When I run slash_admin.asp I just get a blank page.

I Have got version 2 of the Mod.
If there any help on how to setup and run mods.
I have got the mod commander running.


Go to Top of Page
Page: of 12 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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07