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)
 Bug in SMILE_MOD and fixes :)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

bugfix
Starting Member

Singapore
47 Posts

Posted - 28 December 2000 :  19:51:30  Show Profile
I installed smile mod in snitz 3.1 sr4, and it works fine at first until i added one extra smiley (no. 27), file pop_icon_legend.asp and faq.asp doesn't display the new icon.

I checked both files and found that just before the code that state second page (drs.PageSize = strCount2)

<table border="0" align="center">
<%
strTempCount = 0
strsql = "Select smile_name, smile_url, smile_code from "&strTablePrefix&"smiles"
Set drs = Server.CreateObject("ADODB.Recordset")
drs.open strsql, my_conn, 3
<b>drs.PageSize = strCount2</b>
drs.AbsolutePage = 2
Do until strTempCount = strCount2
smile_name = drs("smile_name")
smile_url = drs("smile_url")
smile_code = drs("smile_code")
bla blabla

just change the line
<b>drs.PageSize = strCount1</b> to
<b>drs.PageSize = strCount2</b>

------------------------------------------

A bug is always a bug, that's why <b>bugfix</b> is here ;)

bugfix
Starting Member

Singapore
47 Posts

Posted - 28 December 2000 :  20:04:32  Show Profile
oops . . . sorry
should be
<b>drs.PageSize = strCount2</b> to
<b>drs.PageSize = strCount1</b>


A bug is always a bug, that's why <b>bugfix</b> is here ;)
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07