![]() |
MarcusTangh, I am sure you are capable of writing a better hack than this. Please go ahead and do it.
|
MThornback,
'comment' is a string, why are you comparing to with zero? Try comparing it with ''. |
Quote:
So this should work then? Cause it doesn't Code:
// Require Comment // |
LoL, I'll have to look at the code to see how this Javascript needs to be called. Did you verify that the comparison works? In other words, with the above code, does the program goes into the IF statement or in the ELSE statement?
|
It goes right to the else...it seems to ignore the IF altogether....it went to the IF when I was comparing it to zero...for obvious reasons :p
|
Try this.
In Warn.php find: Code:
$slcomment=$vbulletin->GPC['comment']; Code:
if ($slcomment=='') Code:
$url="showthread.php?p={$post}"; Code:
} Also, you do not have to use the "Back" javascript, it will redirect you automatically. |
Quote:
|
Another fed-up customer.
|
Yup, what can be done... :-/
|
hi people,
i got the warn_notes to work !!!!!! and added it to the product XML.I hate half work and keep playing with it till i found what went wrong those notes do work fine :D :cool: |
All times are GMT. The time now is 06:31 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|