- Code: Select all
$html_match = '#<[^w<40>#';
Moderator: Integra Moderator
// [quote] and [/quote] for posting replies with quote, or just for quoting stuff. $text = bbencode_first_pass_pda($text, $uid, '[quote]', '[/quote]', '', false, '');.
$text = bbencode_first_pass_pda($text, $uid, '/[quote=\\"(.*?)\\"]/is', '[/quote]', '', false, '', "[quote]");
"Eon";p="1600" wrote:Well then. lol So touchy.. I didn't say I didn't have back ups. Well profile.php is mention in the manual upgrade, so that should be removed, it actually says to find and replace..
http://www.eon.roxr.com
There is you a link.
I would make you admin but I can not get there yet. what is odd though, it shows me already logged in as well. LOL
How can it go wrong if it is stock and you just upload the premod files and run the db update? That should simple enough. But it did not work.
"tekguru";p="1604" wrote:That gets us closer at least we get the boxes now - but if you check out:
http://www.4winmobile.com/viewtopic.php?p=24211#24211
You will see that the post quoted lists the prior post as:
waveydavey";p="24216 wrote: à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ º à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¹ Select à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ºÃƒÆ’ ¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¹ Expand à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ º
Instead of referencing it properly.
Near but still something amiss <img>
# #-----[ OPEN ]--------------------------------------------- # includes/functions_post.php ##-----[ FIND ]---------------------------------------------# Line 165 $allowed_html_tags = split(',', $board_config['allow_html_tags']); $end_html = 0; $start_html = 1; $tmp_message = ''; $message = ' ' . $message . ' '; while ($start_html = strpos($message, '<', $start_html)) { $tmp_message .= preg_replace($html_entities_match, $html_entities_replace, substr($message, $end_html + 1, ($start_html - $end_html - 1))); if ($end_html = strpos($message, '>', $start_html)) { $length = $end_html - $start_html + 1; $hold_string = substr($message, $start_html, $length); if (($unclosed_open = strrpos(' ' . $hold_string, '<')) != 1) { $tmp_message .= preg_replace($html_entities_match, $html_entities_replace, substr($hold_string, 0, $unclosed_open - 1)); $hold_string = substr($hold_string, $unclosed_open - 1); } $tagallowed = false; for ($i = 0; $i < sizeof($allowed_html_tags); $i++) { $match_tag = trim($allowed_html_tags[$i]); if (preg_match('#^</?' . $match_tag . '[> ]#i', $hold_string)) { $tagallowed = (preg_match('#^</?' . $match_tag . ' .*?(style[ ]*?=|on[w]+[ ]*?=)#i', $hold_string)) ? false ]---------------------------------------------# // If HTML is on, we try to make it safe // This approach is quite agressive and anything that does not look like a valid tag // is going to get converted to HTML entities $message = stripslashes($message); $html_match = '#<[^w<40>#'; $matches = array(); $message_split = preg_split($html_match, $message); preg_match_all($html_match, $message, $matches); $message = ''; foreach ($message_split as $part) { $tag = array(array_shift($matches[0]), array_shift($matches[1]), array_shift($matches[2])); $message .= htmlspecialchars($part) . clean_html($tag); } $message = addslashes($message);
"tekguru";p="1693" wrote:Ref the Quote problkem, I asked on PhpBBS and all tehy had to ofer in the way of advise is that we screwed up the edit of the bbcode.php file. Not a lot of help.
"found it";p="1605" wrote:"tekguru";p="1604" wrote:That gets us closer at least we get the boxes now - but if you check out:
http://www.4winmobile.com/viewtopic.php?p=24211#24211
You will see that the post quoted lists the prior post as:
waveydavey";p="24216 wrote: à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ º à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¹ Select à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ºÃƒÆ’ ¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¹ Expand à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ º
Instead of referencing it properly.
Near but still something amiss <img>
yeah I have the same problem on my site......I shall have a look....
"tekguru";p="1693" wrote:Ref the Quote problkem, I asked on PhpBBS and all tehy had to ofer in the way of advise is that we screwed up the edit of the bbcode.php file. Not a lot of help.
Registered users: Bing [Bot], Google [Bot]