Icy Phoenix
Old Bugs - Problem When Hidding Url's
Zuker [ Sun 26 Nov, 2006 00:46 ]
Post subject: Problem When Hidding Url's
This happend on my xs an also on area69
Take a look at
http://www.phpbbxs.eu/viewtopic.php?p=5151#p5151
that first messege is
- [hide]
-
- http://www.rapidshare.com/files/1714162/anyfileforexample.rar
-
- [/hide]
and i got for result
- [url autourl=1164498241]http://www.rapidshare.com/files/1714162/anyfileforexample.rar[/url autourl=1164498241]
but if i erase the spaces beetwen the codes, it's all right, like this (the second message)
- [hide]http://www.rapidshare.com/files/1714162/anyfileforexample.rar[/hide]
any reason ????
greets
difus [ Sun 26 Nov, 2006 01:23 ]
Post subject: Re: Problem When Hidding Url's
and first and second for me [as guest]

Zuker [ Sun 26 Nov, 2006 01:28 ]
Post subject: Re: Problem When Hidding Url's
ya difus
reply

Mighty Gorgon [ Wed 29 Nov, 2006 01:19 ]
Post subject: Re: Problem When Hidding Url's
Thanks for reporting this... I'll try to chek.
Leon [ Wed 06 Dec, 2006 02:42 ]
Post subject: Re: Problem When Hidding Url's
where is this bug going so far?, and if it is possible how do you uninstall the shorten url mod from the board ?
Zuker [ Wed 06 Dec, 2006 15:10 ]
Post subject: Re: Problem When Hidding Url's
Fixed

Leon [ Wed 06 Dec, 2006 16:34 ]
Post subject: Re: Problem When Hidding Url's
still need a solution
Zuker [ Wed 06 Dec, 2006 18:21 ]
Post subject: Re: Problem When Hidding Url's
yes, i don't know why before semms right the code...
Leon [ Thu 07 Dec, 2006 21:19 ]
Post subject: Re: Problem When Hidding Url's
i still guess there something need to be involved with bb code second pass or third pass for url to be parse inside of hide tag, but i dont know where to add it in viewtopic.php
Zuker [ Thu 07 Dec, 2006 21:28 ]
Post subject: Re: Problem When Hidding Url's
first and second pass are not in bbcode.php of xs
Leon [ Thu 07 Dec, 2006 21:30 ]
Post subject: Re: Problem When Hidding Url's
first and second pass are not in bbcode.php of xs
what about third pass ?
Zuker [ Thu 07 Dec, 2006 21:33 ]
Post subject: Re: Problem When Hidding Url's
there aren't any pass like in bbcode.php og phpbb, i think that mg wrote their own bbcode.php
Leon [ Thu 07 Dec, 2006 21:37 ]
Post subject: Re: Problem When Hidding Url's
there aren't any pass like in bbcode.php og phpbb, i think that mg wrote their own bbcode.php
true. it is originally developed by Cyber Alien
suppose in normal bb code mod for phpbb, you will be adding the third pass for hide bb code mod in viewtopic.php
find:
if ( $bbcode_uid != '' )
{
$message = ($board_config['allow_bbcode']) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace("/:$bbcode_uid/si", '', $message);
after add:
$message = bbencode_third_pass($message, $bbcode_uid, $valid);
i am trying to find that line in viewtopic.php but could not find it
Mighty Gorgon [ Fri 08 Dec, 2006 12:08 ]
Post subject: Re: Problem When Hidding Url's
there aren't any pass like in bbcode.php og phpbb, i think that mg wrote their own bbcode.php
Yes, third_pass doesn't exists... stop losing time trying to help this kind of requests...

Zuker [ Fri 08 Dec, 2006 13:04 ]
Post subject: Re: Problem When Hidding Url's
ok mighty

...
Zuker [ Fri 08 Dec, 2006 14:08 ]
Post subject: Re: Problem When Hidding Url's
Try this and let me know
On my xs worked
in bbcode.php
replace
- // generate html
- $html = '<blockquote class="quote"><div class="quote-nouser">' . $lang['xs_bbc_hide_message'] . ':</div><div class="post-text">';
- if(!$show)
- {
- $content = $lang['xs_bbc_hide_message_explain'];
- }
- return array(
- 'valid' => true,
- 'html' => $html . $content . '</div></blockquote>'
- );
- }
with
- // generate html
- $html = '<blockquote class="quote"><div class="quote-nouser">' . $lang['xs_bbc_hide_message'] . ':</div><div class="post-text">';
- if(!$show)
- {
- return array(
- 'valid' => true,
- 'html' => $html . $lang['xs_bbc_hide_message_explain'] . '</div></blockquote>',
- 'allow_nested' => false,
- );
- }
- else
- {
- return array(
- 'valid' => true,
- 'start' => $html,
- 'end' => '</div></blockquote>'
- );
- }
- }
Mighty Gorgon [ Fri 08 Dec, 2006 18:03 ]
Post subject: Re: Problem When Hidding Url's
Great... you have found my fix!
Good.

Leon [ Fri 08 Dec, 2006 22:52 ]
Post subject: Re: Problem When Hidding Url's
it rocks ...thanks you are my hero zuker
MG ...thanks for the fix
Zuker [ Sat 09 Dec, 2006 00:24 ]
Post subject: Re: Problem When Hidding Url's
yeah! now i've got to look at the rss problem :S
it's a little bit complex

Mighty Gorgon [ Tue 12 Dec, 2006 01:14 ]
Post subject: Re: FIXED -Problem When Hidding Url's
it rocks ...thanks you are my hero zuker
MG ...thanks for the fix
You're welcome...
yeah! now i've got to look at the rss problem :S
it's a little bit complex

It seems like you hanged up on this one...

Zuker [ Tue 12 Dec, 2006 01:20 ]
Post subject: Re: FIXED -Problem When Hidding Url's
Yes Mighty...
I'll take a look with WINMERGE :p