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)
 Report a Bug Mod (requires PM MOD)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 01 August 2008 :  04:00:35  Show Profile  Reply with Quote
This little mod creates an automatic bug report to Admin via PM. User posts the page & whatever description, the mod gets the other pertinent info (time, user's IP, etc.) and pm's the whole thing to you.

Mad2Kool provided the 3.3 mod, I just packaged it for 3.4. Get a copy at SnitzBitz.<

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 01 August 2008 :  10:19:32  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
WooHoo!

i think i used to use this as a popup page that had the link at the bottom of the page.
did it take much to convert it or was it more or less ready to go?

thanks

MaD2ko0l<

© 1999-2010 MaD2ko0l
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 01 August 2008 :  11:01:48  Show Profile  Visit Etymon's Homepage  Reply with Quote
You know, I was really betting on 4 of a kind for the most recent MODs at SnitzBitz. LOL!

Petition MOD v1.2 8/1/2008 8:11:16 AM
Bug Reporter v1.0 8/1/2008 3:08:22 AM
Permalink v2.0 7/24/2008 3:20:57 PM
PM Search v1.00 7/17/2008 10:56:22 AM

Couldn't have been like the "PM to Admin Bug Reporter v1.0"? <
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 01 August 2008 :  17:22:09  Show Profile  Reply with Quote
quote:
Originally posted by MaD2ko0l

WooHoo!

i think i used to use this as a popup page that had the link at the bottom of the page.
did it take much to convert it or was it more or less ready to go?

thanks

MaD2ko0l



I eliminated one file altogether, combining it into the main page, had to convert the html to asp & fix a few variables. Wasn't too much work; the bulk of the task is done by the computer grabbing a batch of variables without user interaction.<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 03 August 2008 :  06:40:18  Show Profile  Reply with Quote
CF Brilliant idea! A few questions?
1. Browsing the code, am I right in saying before a bug report can be sent, does a user have to be logged in owing to this code:

if strDBNTUserName = "" then
Go_Result "You must log on or register!", 0
WriteFooter
Response.End
end if


if that is the case, I tried the header link (not logged in) and the input form bug_reporter.asp opens , enter the data and the report is sent. The PM report shows
User Name: xx.xx.xxx.xxx
IP Address: xx.xx.xxx.xxx
Page Name: xxpage namexx
Bug Description: xxmessagexx
The PM subjects shows: Subject: [Bug From xx.xxx.xxx.xxx]


2. If I am logged in and send a report the strDBNTUserName is picking up the users IP address, thus stating User Name: xx.xx.xx.xx
IP Address: User Name: xx.xxx.xxx.xxx
[Bug From xx.xxx.xxx.xxx] in the subject It seems all the strDBNTUserName is IP address

Its probably as meant to be like this, but if a user is not logged in we can only trace the sender by Ip and not correspond back if further questions are required. If the report comes from a member then its it is better. (just ideas!)

3. Edit addition:
If I am logged in as a member (demo account)
Sent report no problems,,, When I view the PM as admin, I see the PM says its from admin (its picking up admins IP address)

4. Edit addition:
I asked another user (a member) to send atest report
Sent report no problems,,, When I view the PM as admin, I see the PM says its from admin intead of the users member name and the PM shows my name admin??
<

Edited by - Andy Humm on 03 August 2008 07:31:58
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 03 August 2008 :  08:49:54  Show Profile  Reply with Quote
I didn't play with that section of code, Andy; but I'll take a quick look and fix that. Nor can I take credit for the idea, I just adapted an old mod to work with 3.4.06.

<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 03 August 2008 :  10:01:01  Show Profile  Reply with Quote
CF k...
Could you use my file...text link<
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 03 August 2008 :  10:56:00  Show Profile  Reply with Quote
OK - rather than restricting non-members from sending bug reports (the bug just MIGHT be in register.asp), I have it use the admin id to send the report; otherwise it'll use the member's.

That piece of code was kind of goofy, anyway - always used ID #1 (forgetting that the admin could use a different ID); regardless of who was sending the report.

Sorry I didn't read that more thoroughly - was concentrating on getting it into asp & Snitz' format.

Anyway, it's been updated at SnitzBitz.<
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 03 August 2008 :  10:57:38  Show Profile  Reply with Quote
quote:
Originally posted by Andy Humm

CF k...
Could you use my file...text link



Sorry Andy, your code doesn't change the reporting problem. It still uses ID #1 as sender/receiver, etc. No worries, I fixed it.<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 03 August 2008 :  14:11:02  Show Profile  Reply with Quote
CF, no problems. I posted the link, as it was the original code you supplied, but had new table formatting, inline with the rest of the other forum settings.. Never mind, Thank you for the update, all works well and I have adjusted the table borders accordingly.. <
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07