Author |
Topic  |
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 27 January 2001 : 04:59:09
|
Kerry,
I would be interested to know what the differences were you had to make to work with my code?
'Resistance is futile' |
 |
|
Kerry
Average Member
  
USA
553 Posts |
Posted - 27 January 2001 : 10:41:56
|
The three files edited for this 'bundle' of mods were pop_profile.asp, inc_profile.asp and register.asp. I'm pretty sure they're all commented pretty well with any changes I made tagged: '###### kerrycode - Description of what it's for <% Response.write"My changes" ' Response.write"What I commented out" %> '----------------/kerrycode
The only exception (I know of) is in register.asp at around line 363:
if strAuthType="db" then strMessage = strMessage & "Password: " & My_Pass & vbCrLf & vbCrLf end if
...where My_Pass is the generated password and not commented (oops!).
Most changes, though, are in pop_profile (for sql statements) and inc_profile (form).
-Kerry
Edited by - kerry on 27 January 2001 11:25:44 |
 |
|
Kerry
Average Member
  
USA
553 Posts |
Posted - 27 January 2001 : 10:47:22
|
quote:
http://webrc.ca they have a special add snitz forum on it
Then you might want to check with them - I'm not sure what version they might have or what limitations they might or might not have.
-Kerry
|
 |
|
RR_Pilot
New Member

88 Posts |
|
Kerry
Average Member
  
USA
553 Posts |
Posted - 28 January 2001 : 17:07:22
|
Thanks RR Pilot. ------------------------ To Cartman,
Then that's the problem - you're using the Standard release, not the version HuwR modified. As a result, these files will not work for you. What you'll want to do is look around about - all these mods have been released for the standard forum also.
-Kerry
|
 |
|
ajy
New Member

USA
55 Posts |
Posted - 28 January 2001 : 19:17:58
|
quote:
These mods are for the HuwR Modified release of 3.1sr4 only. (* All of these mods are already posted for the standard release)
Included:
- Email List & Message Manager
- Random Password emailed to new registrant
- Username Filter
These files worked well on a default install of HuwR's modified version. I think all files are fairly well commented. As always, back up your old files before using and let me know of any bugs, comments or suggestions.
File: http://www.cantonweb.com/HuwR-ized_ALL.zip
-Kerry
Note: Because of changes to muliple files, the mods in this zip are bundled and not seperable
Edited by - kerry on 26 January 2001 04:29:49
is there any way to get the Username Filter mod by itself for the HuwR-ized Snitz forum
ajy http://www.ajy.net/ |
 |
|
CartmaN
Starting Member
Canada
8 Posts |
Posted - 28 January 2001 : 20:04:41
|
quote:
2 things...
(1) I get this error when I try to edit any profile and I have the updated .zip already and it still causes an error:
Microsoft JET Database Engine error '80040e10'
No value given for one or more required parameters.
/guitard/snitz_forum/pop_profile.asp, line 787
(2)Is there a way to turn off the random emailed password? I just wanted this mod for the email list so I can inform people of updates, but now I can't remove the random password..
Here is what my pop_profile.asp looks like: http://user.webrc.ca/guitard/pop_profile.txt
-~=CartmaN=~-
Edited by - CartmaN on 27 January 2001 01:17:54
-~=CartmaN=~- |
 |
|
Kerry
Average Member
  
USA
553 Posts |
Posted - 28 January 2001 : 23:44:33
|
quote:
is there any way to get the Username Filter mod by itself for the HuwR-ized Snitz forum ajy http://www.ajy.net/
I don't have it seperate for HuwR's version, but it should be pretty easy. First, get the Standard version zip: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=3912&FORUM_ID=25&CAT_ID=17&Topic_Title=MOD%3A+Username+Filter&Forum_Title=MOD+Add%2DOn+Forum+%28W%2FCode%29
Run the setup & use the admin file, but not the register.asp. In the default HuwR version, around line #144 - 147 look for: if Len(Request.Form("Sig")) > 255 then Err_Msg = Err_Msg & "<li>The signature can not be greater than 255 characters. " Err_Msg = Err_Msg & "It now is <b>" & Len(Request.Form("Sig")) & "</b> characters long.</li>" end if Directly after that, add: '######################## kerrycode for Username Filter
'## Forum_SQL strSql = "SELECT NOUSER FROM " & strMemberTablePrefix & "NOUSER " strSql = strSql & " WHERE NOUSER = '" & Trim(Request.Form("Name")) &"'"
set rs = my_Conn.Execute (strSql)
if rs.BOF and rs.EOF then '## Do Nothing else Err_Msg = Err_Msg & "<li>BAD NAME!</li>" end if rs.close set rs = nothing
'-------------------------/kerrycode--
...That should do it! 
-Kerry
Edited by - kerry on 28 January 2001 23:45:47 |
 |
|
Therion93
Junior Member
 
USA
263 Posts |
Posted - 29 January 2001 : 00:17:04
|
Kerry,
Installed and worked like a charm!
Now, can you do that for the Sub-Categories Mod? <wicked grin>
Therion93 "Stare Deep Into The Heart Of Darkness...There Is No Good, No Evil - Only Me" Because Legends Never Die! - Kiss-Forever Community Forum (SR4 W/Mods & Access 2000)
|
 |
|
Kerry
Average Member
  
USA
553 Posts |
Posted - 29 January 2001 : 00:59:35
|
LOL - I wish I could! Right now I've got a full plate of current / upcoming projects (some of which actually pay the bills ).
The two Snitz-related projects are:
- A file-archive addon we can use here for mods. The code will of course be released to the community and could be used for zip files, documents, images or whatever files you may want to distribute. It'll have a ratings system, comments (not discussion), decriptions, file sizes, etc...
- The other is the "Amazing Snitz < ---- CENSORED --- >" which should be ready for testing later this week.
-Kerry
|
 |
|
Therion93
Junior Member
 
USA
263 Posts |
Posted - 29 January 2001 : 01:08:51
|
The other is the "Amazing Snitz < ---- CENSORED --- >" LOL ok now that everyone's interest is piqued...... TELL US MAN! WHAT IS IT MAN?(best Ren voice).
Therion93 "Stare Deep Into The Heart Of Darkness...There Is No Good, No Evil - Only Me" Because Legends Never Die! - Kiss-Forever Community Forum (SR4 HuwR-ized mods & Access 2000)
|
 |
|
Kerry
Average Member
  
USA
553 Posts |
Posted - 29 January 2001 : 01:14:30
|
Nope. -I ain't talkin' til it's done. You can't make me talk, ya' lousy coppers -I ain't no rat. (*best Cagney voice*)

-Kerry
|
 |
|
work mule
Senior Member
   
USA
1358 Posts |
Posted - 29 January 2001 : 22:20:23
|
quote:
The other is the "Amazing Snitz < ---- CENSORED --- >"
Is it a scooter? Is it a plane? I'll have to scour the patent records to find out now. (A bad Spoof on the hype surrounding "IT")
|
 |
|
Kerry
Average Member
  
USA
553 Posts |
Posted - 29 January 2001 : 22:50:44
|
ROFL... okay, okay I'll talk!
I'm working on the Snitz Forums 2000... ( * drumroll, please...) Layout-O-Matic
...It slices, it dices, it juliennes salads like * Opps, sorry about that. Too many late-night infommercials. No, it's just a mod that'll allow the user to move navigation / site features (polls, events calendar, quick-search, other stuff) from the page top to either side through the admin panel. We seem to see a fair amount of requests here and there for info on how to do that side column so... ta-da! Another mod .
It's about 75% done and will be out in a day or so unless my cold gets worse.
-Kerry
|
 |
|
Nathan L
New Member

USA
83 Posts |
Posted - 30 January 2001 : 13:44:03
|
quote:
ROFL... okay, okay I'll talk!
I'm working on the Snitz Forums 2000... ( * drumroll, please...) Layout-O-Matic
...It slices, it dices, it juliennes salads like * Opps, sorry about that. Too many late-night infommercials. No, it's just a mod that'll allow the user to move navigation / site features (polls, events calendar, quick-search, other stuff) from the page top to either side through the admin panel. We seem to see a fair amount of requests here and there for info on how to do that side column so... ta-da! Another mod .
It's about 75% done and will be out in a day or so unless my cold gets worse.
-Kerry
Sounds like you're on the right track, Kerry! As I just posted, I'm really interested in rewriting all the forum HTML, though....what that would do to mods, I don't know.
Response.Write ("The Reign of Nice") |
 |
|
Topic  |
|