![]() |
Forum Send PM result in code listing top of page I just found out I get errors on top of Send New PM page, I dont think I had it before. I havent done any work at all with those kind of templates or php-files. What do you think is wrong? The Forum seems to work fine except for that. This is what I get before the page is "normal" with logo, navbar etc. Code: glist'], $errors, false); if (!empty($threadinfo['prefixid'])) { $prefix = $vbphrase["prefix_$threadinfo[prefixid]_title_plain"]; $keywords[] = trim($prefix); } if (!empty($pagetext)) { // title has already been htmlspecialchar'd, pagetext has not $words = fetch_postindex_text(unhtmlspecialchars($threadinf o['title']) . ' ' . $pagetext); $wordarray = split_string($words); [php]$sorted_counts = array_count_values($wordarray); arsort($sorted_counts); require(DIR . '/includes/searchwords.php'); // get the stop word list; allow multiple requires $badwords = array_merge($badwords, preg_split('/\s+/s', $vbulletin->options['badwords'], -1, PREG_SPLIT_NO_EMPTY)); foreach ($sorted_counts AS $word => $count) { $word = trim($word); if (in_array(strtolower($word), $badwords) OR strlen($word) = 50) { break; } } } return implode(', ', $keywords); } /*================================================= =====================*\ || ################################################## ################## || # Downloaded: 07:21, Thu Jun 24th 2010 || # CVS: $RCSfile$ - $Revision: 36195 $ || ################################################## ################## \*================================================ ======================*/ ?> |
الساعة الآن 09:56 AM |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir