Release of upgrade for phpbb2.0.20

Support for IntegraMOD 140

Moderator: Integra Moderator

Re: Release of upgrade for phpbb2.0.20

PostAuthor: tekguru » Fri Apr 14, 2006 1:10 pm

I still think there is a problem with the :

Code: Select all
$html_match = '#<[^w<40>#';
myself.
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

PostAuthor: Eon » Fri Apr 14, 2006 1:12 pm

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.
Last edited by Eon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Eon
Sr Integra Member
Sr Integra Member
 
Posts: 627
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:15 am
Cash on hand: 0.00

Re: Release of upgrade for phpbb2.0.20

PostAuthor: found it » Fri Apr 14, 2006 1:14 pm

To tekguru

try this open bbcode.php and find

Code: Select all
// [quote] and [/quote] for posting replies with quote, or just for quoting stuff.     $text = bbencode_first_pass_pda($text, $uid, '[quote]', '[/quote]', '', false, '');.


about line 464

after add
Code: Select all
$text = bbencode_first_pass_pda($text, $uid, '/[quote=\\&quot;(.*?)\\&quot;]/is', '[/quote]', '', false, '', "[quote]");


you seem to be missing that line (back up first)

Lemme know

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

PostAuthor: found it » Fri Apr 14, 2006 1:19 pm

"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.


Lol you should see me on a bad day.... :D

I just registered at your site and logged in did you fix or change the files back....

with regards to the manual upgrade that is the phpbb upgrade with some of the changes taken out after 3 hours of looking for code I didnt do it all....

:mrgreen:
Last edited by found it on Fri Apr 14, 2006 1:20 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

Re: Release of upgrade for phpbb2.0.20

PostAuthor: tekguru » Fri Apr 14, 2006 1:20 pm

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>
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

Re: Release of upgrade for phpbb2.0.20

PostAuthor: found it » Fri Apr 14, 2006 1:22 pm

"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....
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

PostAuthor: tekguru » Fri Apr 14, 2006 1:25 pm

Grin at least we have the same problem now. Let me know please if you find a solution - that will make us both happy I think <img>

Cheers for the assist so far!
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

PostAuthor: Eon » Fri Apr 14, 2006 1:47 pm

meh...

I logged in but it is not letting me view as logged in. I don't know how you got to register though..

I am going back to .0.19 for now and will try this again.
Last edited by Eon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Eon
Sr Integra Member
Sr Integra Member
 
Posts: 627
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:15 am
Cash on hand: 0.00

PostAuthor: Bush » Fri Apr 14, 2006 8:50 pm

I did the following:

Code: Select all
# #-----[ 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);


I get this error: Call to undefined function: clean_html() in /home/mofclan/public_html/portal/includes/functions_post.php on line 180

Line 180 = $message .= htmlspecialchars($part) . clean_html($tag);
Last edited by Bush on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
no signature.

Bush
Integra Member
Integra Member
 
Posts: 191
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 8:55 am
Cash on hand: 0.00

PostAuthor: tekguru » Fri Apr 14, 2006 10:07 pm

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.
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

PostAuthor: Bush » Fri Apr 14, 2006 11:10 pm

"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.


there is no quoted person here named problkem in this thread.. ?
Last edited by Bush on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
no signature.

Bush
Integra Member
Integra Member
 
Posts: 191
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 8:55 am
Cash on hand: 0.00

Re: Release of upgrade for phpbb2.0.20

PostAuthor: Flex » Sat Apr 15, 2006 4:42 am

"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....


I have exactly the same issue as you guys. Found it have you found a fix for this yet?

Thanks
Last edited by Flex on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]My integramod site <img>[/url]

Flex
Sr Integra Member
Sr Integra Member
 
Posts: 221
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 4:09 pm
Cash on hand: 0.00

Re: Release of upgrade for phpbb2.0.20

PostAuthor: tekguru » Sat Apr 15, 2006 6:54 am

Not as of yet, I _think_ it's a missing < when the first part of the Quote BBCode is created, but no ideas how to get it back in there! Or even whether that is actually the problem.
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

PostAuthor: found it » Sat Apr 15, 2006 1:17 pm

"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.


ok my bad i did make an error on the bbcode.php file I used an old update 2.0.18 to 2.0.19 and did not apply the bbcode error we had before.....

first post is updated with the new bbcode file and a new complete premodded package....

though the fix in function post must be done as well....

Sorry for the inconveniance......

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

PostAuthor: tekguru » Sat Apr 15, 2006 11:58 pm

Oh blast, now to download and remod the BBCode to support my advances table handling.

Oh well, only takes 10 minutes or so, at least the problem is now identified!
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

PreviousNext

Return to IntegraMOD 140

Who is online

Registered users: Bing [Bot], Google [Bot]