Report a Bug Mod (requires PM MOD) - Posted (1666 Views)
Advanced Member
Carefree
Posts: 4224
4224
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.<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Senior Member
MaD2ko0l
Posts: 1053
1053
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
Posted
Advanced Member
Etymon
Posts: 2396
2396
You know, I was really betting on 4 of a kind for the most recent MODs at SnitzBitz. sad 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"? bigsmile<
Posted
Advanced Member
Carefree
Posts: 4224
4224
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.<
Posted
Average Member
Andy Humm
Posts: 908
908
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?? <
Posted
Advanced Member
Carefree
Posts: 4224
4224
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.
<
Posted
Average Member
Andy Humm
Posts: 908
908
CF k... Could you use my file...text link<
Posted
Advanced Member
Carefree
Posts: 4224
4224
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.<
Posted
Advanced Member
Carefree
Posts: 4224
4224
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.<
Posted
Average Member
Andy Humm
Posts: 908
908
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.. smile wink<
 
You Must enter a message