Page 4 of 6

Posted: Tue May 17, 2005 8:41 am
by peterpaulw
Thanks guys :D

Installed MOD Version: 1.6.1 on phpBB 2.0.15, and it works nicely.

Posted: Sat Jun 18, 2005 5:16 am
by Blade Runner
After doing a manual install of this mod, I keep getting these error messages (and similar...)

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /home/animear/public_html/phpBB2/language/lang_english/lang_main.php:1047) in /home/animear/public_html/phpBB2/includes/functions.php on line 803
I have a clean phpBB2 version 2.0.15 with EasyMod installed and a couple of other mods that went in with EasyMod just fine. This wasn't recognized by EasyMod so I edited the files from my control panel. Now, I can't log in to my admin because of this error.

I undid all the changes to the files by removing all the modified code, but I'm still getting this error.

I need help!

Posted: Sat Jun 18, 2005 6:47 pm
by kulinar
Check for duplicate ?> in your lang_main.php file

hi

Posted: Mon Jul 04, 2005 8:01 am
by dcz
I just discovered this mod and went through all the thread.
Now there is just one thing I'd like to know before testing it.

In all above mentionned version it is told to perform this change in include/bbcode.php

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
   $patterns[] = "#\[img:$uid\](.*?)\[/img:$uid\]#si";
   $replacements[] = $bbcode_tpl['img'];
but int the original file (2.0.16) the code looks more like :

Code: Select all

   $patterns[] = "#\[img:$uid\](.*?)\[/img:$uid\]#i";
   $replacements[] = $bbcode_tpl['img'];
So I was wondering if I needed to change the #i into #si in the rest of the code before applying this code change (including #si's)

Thanks

++

dcz

Posted: Tue Jul 19, 2005 12:23 am
by isoS
That's not the only difference in that file, as far as I could see... I just tried installing this (using easyMOD) in 2.0.16 and it didn't work -- got this message when trying to preview a post with right-aligned img:

Code: Select all

Parse error: parse error, unexpected '<' in xxxx/phpbb/includes/bbcode.php(90) : eval()'d code on line 23

Warning: Cannot modify header information - headers already sent by (output started at xxxx/phpbb/includes/bbcode.php(90) : eval()'d code:23) in xxxx/phpbb/includes/page_header.php on line 557

Warning: Cannot modify header information - headers already sent by (output started at xxxx/phpbb/includes/bbcode.php(90) : eval()'d code:23) in xxxx/phpbb/includes/page_header.php on line 559

Warning: Cannot modify header information - headers already sent by (output started at xxxx/phpbb/includes/bbcode.php(90) : eval()'d code:23) in xxxx/phpbb/includes/page_header.php on line 560
Can someone rewrite this for 2.0.16, or give a hint how to implement it? Maybe if I installed it manually I could figure it out, but I'm not sure.

Posted: Mon Aug 22, 2005 1:13 pm
by Olja
Fixed it ;)

Posted: Wed Oct 26, 2005 10:55 am
by NeoID
Doesn't anyone have this mod installed so I could take a look at it?
No of the hyperlinks/demo sites worked... :?

Posted: Wed Oct 26, 2005 12:07 pm
by atnbueno
Hi,

I do. Well, at least my own 1.6.2 version. You can see it at http://www.mundoplus.tv/foros/


Regards,

Posted: Wed Oct 26, 2005 2:24 pm
by NeoID
Thanks, atnbueno! Nice board, however, I don't know much spanish... :)
I'll give it a try...

Posted: Wed Oct 26, 2005 4:56 pm
by SeraphicGate
Does this also work with text and in signatures or just in normal posts. Also, are there any plans to add a "Center" bbcode tag to this mod?

Posted: Wed Oct 26, 2005 9:47 pm
by NeoID
atnbueno wrote: Hi,

I do. Well, at least my own 1.6.2 version. You can see it at http://www.mundoplus.tv/foros/
Regards,


It looks quite good, but for some reason only [img=left] will work... :/
when I try to use =right I only see the URL... :(

Posted: Thu Oct 27, 2005 6:13 am
by kulinar
SeraphicGate wrote: Does this also work with text and in signatures or just in normal posts?
Yes, sure. Check it out.

Posted: Thu Oct 27, 2005 7:12 am
by NeoID
Is it possible to change margin-left? I've heard some talking about it, but I didn't get it to work... :)

Re: hi

Posted: Thu Oct 27, 2005 9:16 am
by dcz
dcz wrote: I just discovered this mod and went through all the thread.
Now there is just one thing I'd like to know before testing it.

In all above mentionned version it is told to perform this change in include/bbcode.php

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
   $patterns[] = "#\[img:$uid\](.*?)\[/img:$uid\]#si";
   $replacements[] = $bbcode_tpl['img'];
but int the original file (2.0.16) the code looks more like :

Code: Select all

   $patterns[] = "#\[img:$uid\](.*?)\[/img:$uid\]#i";
   $replacements[] = $bbcode_tpl['img'];
So I was wondering if I needed to change the #i into #si in the rest of the code before applying this code change (including #si's)

Thanks

++

dcz


no body had this, can't believe it!

Posted: Thu Oct 27, 2005 12:22 pm
by atnbueno
Hello all.
neox3 wrote: It looks quite good, but for some reason only [img=left] will work... :/
when I try to use =right I only see the URL... :(

You mean in my forum? It works for me (WinXP, IE, FF & Op):
http://www.mundoplus.tv/foros/viewtopic.php?t=22748
neox3 wrote: Is it possible to change margin-left? I've heard some talking about it, but I didn't get it to work... :)

If you mean to style the floated image, check out the style attribute of the img tag after <!-- BEGIN left --> in http://www.mundoplus.tv/atnbueno/left-right_162.mod
dcz wrote: [...] I was wondering if I needed to change the #i into #si in the rest of the code before applying this code change (including #si's)

The "s" is a regex modifier that enables single-line mode. You can decide if you want to allow linebreaks in your [img] bbcodes.


Regards,