T O P I C R E V I E W |
Carefree |
Posted - 01 August 2008 : 04:00:35 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.< |
9 L A T E S T R E P L I E S (Newest First) |
Andy Humm |
Posted - 03 August 2008 : 14:11:02 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.. < |
Carefree |
Posted - 03 August 2008 : 10:57:38 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.< |
Carefree |
Posted - 03 August 2008 : 10:56:00 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.< |
Andy Humm |
Posted - 03 August 2008 : 10:01:01 CF k... Could you use my file...text link< |
Carefree |
Posted - 03 August 2008 : 08:49:54 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.
< |
Andy Humm |
Posted - 03 August 2008 : 06:40:18 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?? < |
Carefree |
Posted - 01 August 2008 : 17:22:09 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.< |
Etymon |
Posted - 01 August 2008 : 11:01:48 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"? < |
MaD2ko0l |
Posted - 01 August 2008 : 10:19:32 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< |