Title: whiteorb's Replies | WordPress.org

---

# whiteorb

  [  ](https://wordpress.org/support/users/whiteorb/)

 *   [Profile](https://wordpress.org/support/users/whiteorb/)
 *   [Topics Started](https://wordpress.org/support/users/whiteorb/topics/)
 *   [Replies Created](https://wordpress.org/support/users/whiteorb/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/whiteorb/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/whiteorb/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/whiteorb/engagements/)
 *   [Favorites](https://wordpress.org/support/users/whiteorb/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 71 total)

1 [2](https://wordpress.org/support/users/whiteorb/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/whiteorb/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/whiteorb/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/whiteorb/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/whiteorb/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] Synonym help](https://wordpress.org/support/topic/synonym-help/)
 *  [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years ago](https://wordpress.org/support/topic/synonym-help/#post-2152112)
 * So whales = whale or whales=whale
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] Synonym help](https://wordpress.org/support/topic/synonym-help/)
 *  [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years ago](https://wordpress.org/support/topic/synonym-help/#post-2152110)
 * So what is the proper format?
 * whale = whales
    whales = whale ‘whale = whales’ ‘whales = whale’
 * Are they comma separated?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Server Status] [Plugin: WP Server Status] Unable to activate](https://wordpress.org/support/topic/plugin-wp-server-status-unable-to-activate/)
 *  Thread Starter [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-server-status-unable-to-activate/#post-2288352)
 * I should have published this before. Here is a “fixed” branch of the original
   since they have stopped development.
 * [https://github.com/zachshallbetter/Wordpress-Server-Status](https://github.com/zachshallbetter/Wordpress-Server-Status)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SimpleModal Login] [Plugin: SimpleModal Login] Login link in WP menu, how to redirect to current page?](https://wordpress.org/support/topic/plugin-simplemodal-login-login-link-in-wp-menu-how-to-redirect-to-current-page/)
 *  [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-login-link-in-wp-menu-how-to-redirect-to-current-page/#post-2586463)
 * I used peter’s login redirect to resolve this issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: SimpleModal Login] How to avoid wp-login page?](https://wordpress.org/support/topic/plugin-simplemodal-login-how-to-avoid-wp-login-page/)
 *  [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-how-to-avoid-wp-login-page/#post-2601958)
 * Wow [@mtnexile](https://wordpress.org/support/users/mtnexile/) you’re kind of
   an ass. I would suggest you find an experienced WordPress developer to resolve
   your issue or figure it out yourself. However, I imagine with that attitude you’ll
   have a tough time finding someone to help without compensation.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LoginWP (Formerly Peter's Login Redirect)] [Plugin: Peter's Login Redirect] Not sure how to set up logout](https://wordpress.org/support/topic/plugin-peters-login-redirect-not-sure-how-to-set-up-logout/)
 *  [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-peters-login-redirect-not-sure-how-to-set-up-logout/#post-2334755)
 * I seem to be having the same issue. It indicates that it’s updated but doesn’t
   fill the log-out field
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LoginWP (Formerly Peter's Login Redirect)] [Plugin: Peter's Login Redirect] ****ERROR: Unknown error updating role-specific URL for role s](https://wordpress.org/support/topic/plugin-peters-login-redirect-error-unknown-error-updating-role-specific-url-for-role-subscriber/)
 *  [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-peters-login-redirect-error-unknown-error-updating-role-specific-url-for-role-subscriber/#post-2526443)
 * Same issue here as well.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Login-Logout] [Plugin: Login-Logout] Error when adding or updating roles](https://wordpress.org/support/topic/plugin-login-logout-error-when-adding-users/)
 *  Thread Starter [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-login-logout-error-when-adding-users/#post-2332934)
 * Thanks, it’s been a long time. I’m manually handling this now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Survey And Quiz Tool] [Plugin: WP Survey And Quiz Tool] Quizzes are not saving results](https://wordpress.org/support/topic/plugin-wp-survey-and-quiz-tool-quizzes-are-not-saving-results/)
 *  Thread Starter [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-survey-and-quiz-tool-quizzes-are-not-saving-results/#post-2376662)
 * I just took the time to test this. I wiped the db and made new quizzes, updated
   the plugin and ran all of the diagnostics. Still not receiving and quiz results.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Survey And Quiz Tool] [Plugin: WP Survey And Quiz Tool] Quizzes are not saving results](https://wordpress.org/support/topic/plugin-wp-survey-and-quiz-tool-quizzes-are-not-saving-results/)
 *  Thread Starter [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-survey-and-quiz-tool-quizzes-are-not-saving-results/#post-2376661)
 * Yeah this is still an issue for us. We can’t seem to get any results from the
   quizzes at all.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Server Status] [Plugin: WP Server Status] Unable to activate](https://wordpress.org/support/topic/plugin-wp-server-status-unable-to-activate/)
 *  Thread Starter [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-server-status-unable-to-activate/#post-2288320)
 * Yes I’m using IIS 7 on Server 2008 RC2 with PHP 5.2.17. I modified the slash 
   and received the following error.
 * `
    Plugin could not be activated because it triggered a fatal error. [http://pastebin.com/nedkgtYc](http://pastebin.com/nedkgtYc)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Server Status] [Plugin: WP Server Status] Unable to activate](https://wordpress.org/support/topic/plugin-wp-server-status-unable-to-activate/)
 *  Thread Starter [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-server-status-unable-to-activate/#post-2288317)
 * I appreciate the help. Let me know when you’re done.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Server Status] [Plugin: WP Server Status] Unable to activate](https://wordpress.org/support/topic/plugin-wp-server-status-unable-to-activate/)
 *  Thread Starter [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-server-status-unable-to-activate/#post-2288315)
 * WordPress 3.2, Standard installation, I added the plugin to the directory and
   activated on the plugin page it then immediately produced the following error.
 * Plugin could not be activated because it triggered a fatal error.
 *     ```
       "; $styles = ""; $end = ""; if ($col && !$stripColors){ $styles.="color:#".$col.";"; } if ($italic){ $styles.="font-style:italic;"; } if ($wide){ $styles.="font-weight:bold;"; } if ($narrow){ $styles.="letter-spacing: -0.1em;font-size:smaller"; } $string = $start1.$styles.$start2.$string.$end; } return $string; } function parseLinks($str, $showLinks = true){ $str = $this->parseManialinks($str, $showLinks); $str = str_replace('$L', '$l', $str); $this->links=array(); $linkidx = 0; $chunks = explode('$l', $str); for ($i=0; $ilinks[$id] = $url; if ($showLinks) $chunks[$i] = '$a'.$id.'$x'.substr($text, strpos($text, ']')+1).'$a{/LINK}$x'; else $chunks[$i] = substr($text, strpos($text, ']')+1); } else { $this->links[$id]= $text; if ($showLinks) $chunks[$i] = '$a'.$id.'$x'.$text.'$a{/LINK}$x'; } } } $this->fixWWWLinks(); return implode('', $chunks); } function fixWWWLinks(){ foreach ($this->links as $key => $value){ $value = trim($value); if (substr(strtolower($value), 0, 4) == 'www.'){ $value = 'http://'.$value; $this->links[$key] = $value; } } } function parseManialinks($str, $showLinks = true){ $str = str_replace('$H', '$h', $str); $this->manialinks=array(); $linkidx = 0; $chunks = explode('$h', $str); for ($i=0; $imanialinks[$id] = $url; if ($showLinks) $chunks[$i] = '$a'.$id.'$x'.substr($text, strpos($text, ']')+1).'$a{/LINK}$x'; else $chunks[$i] = substr($text, strpos($text, ']')+1); } else { $this->manialinks[$id]= $text; if ($showLinks) $chunks[$i] = '$a'.$id.'$x'.$text.'$a{/LINK}$x'; } } } return implode('', $chunks); } function insertLinks($str){ foreach ($this->manialinks as $key => $value){ $str = str_replace($key, 'links as $key => $value){ $str = str_replace($key, '', $str); } $str = str_replace('{/LINK}', '', $str); return $str; } function toHTML($str, $stripColors = false, $stripLinks = false){ $col = false; $wide = false; $narrow = false; $caps = false; $italic = false; $str = str_replace('$$','[DOLLAR]',$str); $str = str_replace(' ',' ',$str); $str = $this->parseLinks($str, !$stripLinks); $chunks = explode('$',$str); for ($i = 1; $i < count($chunks); $i++){ if (preg_match("/^[0-9a-f]{2,3}/i",$chunks[$i], $matches)){ $col = $matches[0]; if (strlen($col)<3) $col.="8"; $col = $col[0].$col[0].$col[1].$col[1].$col[2].$col[2]; $chunks[$i] = $this->getStyledString($chunks[$i], $matches[0], $col, $wide, $narrow, $caps, $italic, $stripColors); } else if (preg_match("/^(i)/i",$chunks[$i], $matches)){ $italic = true; $chunks[$i] = $this->getStyledString($chunks[$i], $matches[0], $col, $wide, $narrow, $caps, $italic, $stripColors); } else if (preg_match("/^(w)/i",$chunks[$i], $matches)){ $narrow = false; $wide = true; $chunks[$i] = $this->getStyledString($chunks[$i], $matches[0], $col, $wide, $narrow, $caps, $italic, $stripColors); } else if (preg_match("/^(o)/i",$chunks[$i], $matches)){ $narrow = false; $wide = true; $chunks[$i] = $this->getStyledString($chunks[$i], $matches[0], $col, $wide, $narrow, $caps, $italic, $stripColors); } else if (preg_match("/^(n)/i",$chunks[$i], $matches)){ $wide = false; $narrow = true; $chunks[$i] = $this->getStyledString($chunks[$i], $matches[0], $col, $wide, $narrow, $caps, $italic, $stripColors); } else if (preg_match("/^(s)/i",$chunks[$i], $matches)){ $chunks[$i] = $this->getStyledString($chunks[$i], $matches[0], $col, $wide, $narrow, $caps, $italic, $stripColors); } else if (preg_match("/^(t)/i",$chunks[$i], $matches)){ $caps = true; $chunks[$i] = $this->getStyledString($chunks[$i], $matches[0], $col, $wide, $narrow, $caps, $italic, $stripColors); } else if (preg_match("/^(m)/i",$chunks[$i], $matches)){ $wide = false; $bold = false; $chunks[$i] = $this->getStyledString($chunks[$i], $matches[0], $col, $wide, $narrow, $caps, $italic, $stripColors); } else if (preg_match("/^(g)/i",$chunks[$i], $matches)){ $col = false; $chunks[$i] = $this->getStyledString($chunks[$i], $matches[0], $col, $wide, $narrow, $caps, $italic, $stripColors); } else if (preg_match("/^(a)/i",$chunks[$i], $matches)){ $colSave= $col; $wideSave = $wide; $narrowSave = $narrow; $capsSave = $caps; $italicSave = $italic; $col = false; $wide = false; $narrow = false; $caps = false; $italic = false; $chunks[$i] = $this->getStyledString($chunks[$i], $matches[0], $col, $wide, $narrow, $caps, $italic, $stripColors); } else if (preg_match("/^(x)/i",$chunks[$i], $matches)){ $col = $colSave; $wide = $wideSave; $narrow = $narrowSave; $caps = $capsSave; $italic = $italicSave; $chunks[$i] = $this->getStyledString($chunks[$i], $matches[0], $col, $wide, $narrow, $caps, $italic, $stripColors); } else if (preg_match("/^(z)/i",$chunks[$i], $matches)){ $col = false; $wide = false; $narrow = false; $caps = false; $italic = false; $chunks[$i] = $this->getStyledString($chunks[$i], $matches[0], $col, $wide, $narrow, $caps, $italic, $stripColors); } } for ($i = 1; $i < count($chunks); $i++){ $chunks[$i] = str_replace('[DOLLAR]','$',$chunks[$i]); $chunks[$i] = str_replace('&NBSP;',' ',$chunks[$i]); } $str = implode($chunks); $str = $this->insertLinks($str); return $str; } function toArray($str){ $col = false; $wide = false; $narrow = false; $caps = false; $italic = false; $shadow = false; $str = str_replace('$$','[DOLLAR]',$str); $str = $this->parseLinks($str, false); $chunks = explode('$',$str); $result = array(); if ($chunks[0]) $result[0]["text"]=str_replace('[DOLLAR]','$',$chunks[0]); for ($i = 1; $i < count($chunks); $i++){ $match = ""; if (preg_match("/^[0-9a-f]{2,3}/i",$chunks[$i], $matches)){ $col = $matches[0]; $match = $col; if (strlen($col)<3) $col.="8"; $col = $col[0].$col[0].$col[1].$col[1].$col[2].$col[2]; } else if (preg_match("/^(i)/i",$chunks[$i], $matches)){ $match = $matches[0]; $italic = true; } else if (preg_match("/^(w)/i",$chunks[$i], $matches)){ $match = $matches[0]; $narrow = false; $wide = true; } else if (preg_match("/^(o)/i",$chunks[$i], $matches)){ $match = $matches[0]; $narrow = false; $wide = true; } else if (preg_match("/^(n)/i",$chunks[$i], $matches)){ $match = $matches[0]; $wide = false; $narrow = true; } else if (preg_match("/^(s)/i",$chunks[$i], $matches)){ $match = $matches[0]; $shadow = true; } else if (preg_match("/^(t)/i",$chunks[$i], $matches)){ $match = $matches[0]; $caps = true; } else if (preg_match("/^(m)/i",$chunks[$i], $matches)){ $match = $matches[0]; $wide = false; $bold = false; } else if (preg_match("/^(g)/i",$chunks[$i], $matches)){ $match = $matches[0]; $col = false; } else if (preg_match("/^(x)/i",$chunks[$i], $matches)){ $match = $matches[0]; } else if (preg_match("/^(z)/i",$chunks[$i], $matches)){ $match = $matches[0]; $shadow = false; $col = false; $wide = false; $narrow = false; $caps = false; $italic = false; } $chunks[$i] = substr($chunks[$i], strlen($match)); if ($chunks[$i]){ $a = count($result); $result[$a]["text"]=str_replace('[DOLLAR]','$',$chunks[$i]); $result[$a]["italic"]=$italic; $result[$a]["narrow"]=$narrow; $result[$a]["wide"]=$wide; $result[$a]["caps"]=$caps; $result[$a]["shadow"]=$shadow; $result[$a]["color"]=$col; } } return $result; } function get_rgb($hex) { $hex_array = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 'A' => 10, 'B' => 11, 'C' => 12, 'D' => 13, 'E' => 14, 'F' => 15); $hex = str_replace('#', '', strtoupper($hex)); if (($length = strlen($hex)) == 3) { $hex = $hex{0}.$hex{0}.$hex{1}.$hex{1}.$hex{2}.$hex{2}; $length = 6; } if ($length != 6 or strlen(str_replace(array_keys($hex_array), '', $hex))) return NULL; $rgb['r'] = $hex_array[$hex{0}] * 16 + $hex_array[$hex{1}]; $rgb['g'] = $hex_array[$hex{2}] * 16 + $hex_array[$hex{3}]; $rgb['b']= $hex_array[$hex{4}] * 16 + $hex_array[$hex{5}]; return $rgb; } /** * draws a TMN color coded string onto the given picture * * @param imageHandle $src_img The picture to be drawn on * @param int $size	The fontsize * @param int $x The X-Position * @param int $y The Y-Position * @param color $color The color for letters that are not otherwise color coded (default color) * @param String $font The used font * Attention: You need 4 fonts for the different styles like * tahoma.ttf	 -- normal style * tahomait.ttf	-- italic style * tahomawd.ttf -- wide style * tahomawdit.ttf	-- wide and italic style * (narrow style not implemented yet) * @param String $text The TMN color coded Text you want to display * @param boolean $stripcolors Strip out the colors or not. */ function drawStyledString($src_img,$size, $x, $y , $color, $font, $text, $stripcolors = false){ $chunks = $this->toArray($text); //var_dump($text); $x_offset = 0; $black = imagecolorallocate($src_img, 50,50,50); for ($i = 0; $i < count ($chunks); $i++){ $fontUsed = "./".$font; if ($chunks[$i]["wide"]) $fontUsed .= "wd"; if ($chunks[$i]["italic"]) $fontUsed .= "it"; if ($chunks[$i]["caps"]) $chunks[$i]["text"] = strtoupper($chunks[$i]["text"]); $fontUsed.=".ttf"; if ($chunks[$i]["color"] && (!$stripcolors)){ $colRGB = $this->get_rgb("#".$chunks[$i]["color"]); $usedCol = imagecolorallocate($src_img, $colRGB['r'], $colRGB['g'], $colRGB['b']); } else { $usedCol = $color; } imagettftext($src_img, $size, 0, $x + $x_offset + 1, $y + 1, $black, $fontUsed, $chunks[$i]["text"]); imagettftext($src_img, $size, 0, $x + $x_offset, $y, $usedCol, $fontUsed, $chunks[$i]["text"]); $bbox = imagettfbbox($size, 0, $fontUsed, $chunks[$i]["text"]); $x_offset += $bbox[2]+2; } } }
       Fatal error: Class 'TMFColorParser' not found in C:\inetpub\wwwroot\openeye\wp-content\plugins\wp-srvstatus\wp-srvstatus.php on line 41
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Promotion Slider] [Plugin: Promotion Slider] Slider duplicating image](https://wordpress.org/support/topic/plugin-promotion-slider-slider-duplicating-image/)
 *  Thread Starter [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-promotion-slider-slider-duplicating-image/#post-2410542)
 * Yes I have, however it seems as though the jQuery update resolved the issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Better Related Posts] Disable globally and remove default "No related content" message](https://wordpress.org/support/topic/disable-globally-and-remove-default-no-related-content-message/)
 *  Thread Starter [whiteorb](https://wordpress.org/support/users/whiteorb/)
 * (@whiteorb)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/disable-globally-and-remove-default-no-related-content-message/#post-2245430)
 * Related posts appear on every post normally.

Viewing 15 replies - 1 through 15 (of 71 total)

1 [2](https://wordpress.org/support/users/whiteorb/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/whiteorb/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/whiteorb/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/whiteorb/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/whiteorb/replies/page/2/?output_format=md)