Yeah! You are right. So i'll try to find old version of this extension that puts messages in order by date/time. I think will be useful an option of how to put posts in destination topic: by date or at end of topic.
Thanks!

Eretz wrote:

I noticed a problem o nthis extension :

When posts are moved, they automatically goes at the end of the destination discussion, not taking account of the date of posts.

I have the same problem, suddenly when i move posts from a topic to another it doesn't put them anymore in order by date/time; it puts them at the end of the topic and makes a mess. Anyone have any ideea?

I have this kind of trouble about time/time zone at user login. One of my users could not login into forum, he get the message:

You appear to have logged in successfully, however a cookie has not been set. Please check your settings and if applicable, enable cookies for this website.

The problem was that user's computer RTC was earlyer with about 3-4 minutes as I figured out from testing and the user confirmed. Very strange.... hmm hmm hmm

I got those smilies from PunBB 1.2 forum, from here I guess http://punbb.informer.com/forums/post/5779/#p5779. Anyway you can download from here.

I had PunBB 1.2.x with youtube movies, upgraded to 1.3.  Here is how I manage the youtube links movies:

Youtube BBCode example: [youtube]http://youtube.com/watch?v=uDybmxbKf4Y[/youtube]

1. Modify $tags_without_attr = array('b', 'i', 'u', 'url', 'email', 'img', 'list', 'li' => '*', 'quote', 'code', 'youtube'); #add youtube in /extensions/pun_bbcode/bar.php

2. add youtube image button to /extensions/pun_bbcode/buttons/[your_style]/

3. In includes/parser.php modify function handle_url_tag replace:

if ($full_url == $link)
    return '[url]'.$link.'[/url]';
else
    return '[url='.$full_url.']'.$link.'[/url]';
---------------------------------------------------------
with:
if ($full_url == $link)
    if(strpos($link, 'youtube.com/watch') === 0)
        return '[url]'.$link.'[/url]';
    else
        return $link;
else
    return '[url='.$full_url.']'.$link.'[/url]';
-----------------------------------------------------
this will not transform your youtube url into a href link before inserting message into db.


4. In includes/parser.php modify function do_bbcode  add (at the end of $pattern and $replace array):
$pattern[] = '#\[youtube\]http://(?:www\.)?youtube.com/watch\?v=([0-9A-Za-z-_]{11})[^[]*\[/youtube\]#is';
and
$replace[] = '<object width="425" height="350"><param name="movie" value="$1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>';

5. If you have upgraded from 1.2 and used [youtube][/youtube] BBCode run this queries on the posts table:
- update `forum_posts` set `message` = replace(`message`, '[youtube][url]','[youtube]') WHERE message LIKE '%[youtube][url]%
- update `forum_posts` set `message` = replace(`message`, '[/url][/youtube]','[/youtube]') WHERE message LIKE '%[/url][/youtube]%''

See it in action http://www.latifa.ro/forum/post10107.html#p10107

Hope this help. roll

6

(99 replies, posted in PunBB 1.3 additions)

Hi there!

Nice work with new version of PunBB!

Here you are romanian language pack only front end, not admin.

Keep on the good work!