[Solved]: No name with comment [Solved]: No name with comment
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: No name with comment

Started by Gephri, July 23, 2008, 01:59:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gephri

Logged in members and guests can not upload comments to pictures in my CPG 1.4.18.  The error message asks them to provide their name with the comment - even when logged in.

My admin error notice claims a problem with db_input.php - Line: 122
which reads
if ($msg_author == '' || $msg_body == '') cpg_die(ERROR, $lang_db_input_php['empty_name_or_com'], __FILE__, __LINE__);

can anyone point me towards where to look to fix this?

I have Stramm's pack installed - working fine and he says his mod isn't creating the prob.

Gephri

I am unable to post comments to pictures in my gallery.

In trying to fix this I've discovered the following "Notices" for the db_input.php page I'm using from the Stramm Mod Pack 1.4.18 Bridge:


/db_input.php

    * Warning line 39: preg_replace() [function.preg-replace]: Compilation failed: missing ) at offset 5
    * Warning line 39: preg_replace() [function.preg-replace]: Compilation failed: missing ) at offset 5


Can someone direct me on how to fix this code?

Joachim Müller

#2
Merged your threads that both deal with your issues to post comments. You're a frequent poster, so you should already know what we'll be asking first: post a link to your gallery and (if needed) a non-admin test user account...
Don't spread your requests about one thing over many threads and sub-boards. Don't turn notices_display on if you have no idea what notices are meant to be used for.

Gephri

Sorry for causing the effort on your part - nothing sinister on mine... just trying to fix the problem from all angles.

Turns out it was a badly placed (

Solved.

Joachim Müller

Then why don't you share your insight with us for the benfit of others with similar issues? In other words: resolve your threads - that's the point of a support board. As I suggested above: by now you should know board rules...

Gephri

Ok

After updating my english language $lang_bad_words list with words from phpBB and other sources, I found that "Fu(*" (without the quotes) creates a problem.  It needs to be "Fu\(*" (without the quotes) - see the escape backslash.

If anyone would like an updated $lang_bad_words list that works - here you go:

$lang_bad_words = array('asshole', 'assramer', 'bitch*', 'c0ck', 'cawk', 'clits', 'clitz', 'klitz', 'klits', 'Cock', 'cum', '*beep**', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', '**beep**', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*', '@$$', 'amcik', 'andskota', 'arschloch', 'arse*', 'ass', 'asses', 'asshol*', 'ass-hol*', 'assramer', 'ass-*', 'ayir', 'bastard', 'beasti*', 'bestial', 'bestiality', 'b!+ch', 'b!tch', 'b17ch', 'b1tch', 'bi+ch', 'bi7ch', 'bitch*', 'bitch', 'bitcher', 'bitchers', 'bitches', 'bitchin', 'bitching', 'blowjob', 'blowjobs', 'b00b*', 'boiolas', 'bollock', 'breast', 'breasts', 'buceta', 'butt*', 'cabron', 'cawk', 'cawx', 'cazzo', 'chink', 'chraa', 'chuj', 'cipa', 'clit', 'clits', 'clitz', 'Cock*', 'cock', 'c0ck', 'cocks', 'c0cks', 'cocksuck', 'cocksucked', 'cocksucker', 'cocksucking', 'cocksucks', 'cop', 'copulation', 'cum', 'cummer', 'cumming', 'cums', 'cumshot', 'cunilingus', 'cunillingus', 'cunnilingus', '*beep*', 'cuntlick*', '*beep**', 'cyberfuc*', 'cyber-fuc*', 'cyberfuck*', 'cyber-*beep**', 'dago', 'daygo', 'd4mn', 'damn', 'dego', 'dick', 'dicks', 'dickz', 'dick*', 'dike*', 'dirsa', 'dildo', 'dildos', 'dink', 'dinks', 'dupa', '*dyke', 'dziwka', 'ejackulate', 'ejacula*', 'Ekrem*', 'Ekto', 'enculer', 'faen', 'fag*', 'fanculo', 'fanny', 'fart*', 'fatass', 'fat-ass', 'feces', 'feg', 'felatio', 'Felcher', 'fellatio', 'ficken', 'fingerfuck*', 'finger-*beep**', 'fistfuck*', 'fist-*beep**', 'fitt*', 'Flikker', 'foreskin', 'fore-skin', 'Fotze', 'fcuk', '*beep*', '**beep**', '*beep**', 'fuc', 'fuk*', 'FU', 'futkretzn', 'fux0r', 'gangbang*', 'gay', 'gaysex', 'goddamn', 'gook', 'guiena', 'hardcoresex', 'hell', 'helvete', 'hoer*', 'honkey', 'h0r', 'hore', 'h4x0r', 'homo', 'homosexual', 'honkey', 'horniest', 'horny', 'hotsex', 'Huevon', 'hui', 'injun', 'jack-off', 'jerk-off', 'jism', 'jiz', 'jizz', 'jizm', 'kanker', 'kawk', 'kike', 'klootzak', 'kock', 'kondum', 'kondums', 'kraut', 'knulle', 'kuk', 'kuksugar', 'Kurac', 'kurwa', 'kusi*', 'kum', 'kummer', 'kumming', 'kums', 'kunilingus', 'kyrpa*', '13i+ch', 'l3i+ch', '13itch', 'l3itch', 'lesbo', 'lez', 'lesbian', 'lust', 'lusting', 'mamhoon', 'masterbat*', 'masturbat*', 'merd*', 'mibun', 'monkleigh', 'mothafuck*', 'motherfuck*', 'mofo', 'mouliewop', 'muie', 'mulkku', 'muschi', 'nazi', 'nazis', 'nepesaurio', 'nigga', 'nigger*', 'nutsack', 'orgasim', 'orgasims', 'orgasm', 'orgasms', 'orospu', 'paska*', 'pedophel*', 'pedophil*', 'penis', 'perse', 'phonesex', 'phuck', 'phuk', 'phuked', 'phuking', 'phukked', 'phukking', 'phuks', 'phuq', 'picka', 'pierdol*', 'pillu*', 'pimmel', 'pimpis', 'piss*', 'pizda', 'poontsee', 'poop', 'porn', 'p0rn', 'pr0n', 'porno', 'pornography', 'pornos', 'preteen', 'prick', 'pricks', 'pula', 'pule', 'pusse', 'pussies', 'pussy', 'pussys', 'puta', 'puto', 'qahbeh', 'queef*', 'rautenberg', 'schaffer', 'scheiss', 'schlampe', 'schmuck', 'scrotum', 'skrotum', 'screw', 'skrew', 'sharmuta', 'sharmute', 'shemale', 'shipal', 'shit', 'sh!t', 'sh!+', '*shit*', 'shited', 'shitfull', 'shiting', 'shits', 'shitted', 'shitter', 'shitters', 'shitting', 'shittings', 'shitty', 'shiz', 'skribz', 'skurwysyn', 'slut', 'sluts', 'smut', 'spic', 'spunk', 'sphencter', 'spierdalaj', 'splooge', 'suka', 'teets', 'teez', 'testicle*', 'tit', 'tits', 'titt*', 'titties', 'tity', 'tities', 'titty', 'twat', 'twaty', 'vittu', 'w00se', 'wank', 'wetback', 'wet-back', 'whoar', 'whore', 'wichser', 'wop*', 'yed', 'zabourah');