PDA

View Full Version : pm problem


Delphiprogrammi
03-20-2005, 07:20 PM
hi people

i'm having a problem issueing automatic pm's the error from the screenshot attached is appearing every time i try also this


Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 1946


i thought it was me since i have several hacks that use functions.php but i restored the original (from my original vbulletin zip) so ....... what the heck is wrong here ?

yes i have enabled automatic warnings
yes i have defined censored words

rgds

UPDATE

reading some docs about automatic warnings makes me think i have no warningtype called 'ObsceneWords' can this be the cause ?? trying that


yeah adding that warningtype solved that now gonna edit that file again to add some other hacks it was me who whas to fast again in thinking something is wrong while it whas my own fault :ninja:

sv1cec
03-21-2005, 03:22 AM
hi people

i'm having a problem issueing automatic pm's the error from the screenshot attached is appearing every time i try also this


Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 1946


i thought it was me since i have several hacks that use functions.php but i restored the original (from my original vbulletin zip) so ....... what the heck is wrong here ?

yes i have enabled automatic warnings
yes i have defined censored words

rgds

UPDATE

reading some docs about automatic warnings makes me think i have no warningtype called 'ObsceneWords' can this be the cause ?? trying that


yeah adding that warningtype solved that now gonna edit that file again to add some other hacks it was me who whas to fast again in thinking something is wrong while it whas my own fault :ninja:
Oh well, you should be punished! Let's see how many beers is that worth?

On the other hand, you can now start writing the code, which will add the "ObsceneWords" warning type, as soon as the user selects to use the automatic warnings (nice suggestion for new feature).

Rgds

Delphiprogrammi
03-21-2005, 08:17 AM
hi,

lol i thought you needed coffee :surprised: hahaha yes that would be a nice addition but it involves some "personal things" like the points that's geven to the warning and whether it's a permanent ban or not every board owner chooses this himself i also thought about if a user is caught on using ObsceneWords to (temporarly) lock his account to be honest this goes above my php & MySQL knowledge but that doesn't mean i won't try