[2.0.19] L-C-R IMG And Text Alignment BBcode

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
7
54%
Very Good
5
38%
Good
1
8%
Fair
0
No votes
Poor
0
No votes
 
Total votes: 13

User avatar
JunglistPerfection
Registered User
Posts: 611
Joined: Mon Apr 09, 2007 11:58 pm
Location: Chicago, IL

Re: [2.0.19] L-C-R IMG And Text Alignment BBcode

Post by JunglistPerfection » Tue May 15, 2007 1:05 am

It would be nice if this mod can align flash, also. ;)

Templater
Registered User
Posts: 343
Joined: Wed Aug 31, 2005 5:07 am

Re: [2.0.19] L-C-R IMG And Text Alignment BBcode

Post by Templater » Wed May 16, 2007 2:00 am

JunglistPerfection wrote: It would be nice if this mod can align flash, also. ;)

It can indeed align it! Actually you can align every object you post in your forum! ;)
MOD::Pseudo WYSIWIG BBcode Editor.
Latest stable Version: 1.8.8b -> Screenshot: Pseudo WYSIWYG -> Download: Pesudo WYSIWYG 1.8.8b

REPOM4N
Registered User
Posts: 32
Joined: Wed May 10, 2006 7:42 pm
Location: Montreal

Re: [2.0.19] L-C-R IMG And Text Alignment BBcode

Post by REPOM4N » Thu Jun 07, 2007 2:13 am

Great MOD Templater,

The only thing I had a problem with was:

Code: Select all

#-----[ FIND ]------------------------------------------
#  
    $EMBB_widths = array('') ; 
I managed to find it searching for $EMBB_widths = array(' since there is content inside the quotation marks.

I also had a little problem with:

Code: Select all

#-----[ FIND ]------------------------------------------ 
#  
bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','
','
  • ','
','
  • ','
','[img]','[/img]','','');
#
#-----[ IN-LINE FIND ]------------------------------------------
#
'[/url]'
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
,'[left]','[/left]','[center]','[/center]','[right]','[/right]'
# [/code]
But that's just because I had the Flash MOD and the Tab MOD. Only had to ajust acordingly.

Thank you very much for this. Very helpfull!
Image
Easy come, Easy go

Templater
Registered User
Posts: 343
Joined: Wed Aug 31, 2005 5:07 am

Re: [2.0.19] L-C-R IMG And Text Alignment BBcode

Post by Templater » Sat Jun 09, 2007 6:19 am

REPOM4N wrote:Great MOD Templater,

The only thing I had a problem with was:

Code: Select all

#-----[ FIND ]------------------------------------------
#  
    $EMBB_widths = array('') ; 
I managed to find it searching for $EMBB_widths = array(' since there is content inside the quotation marks.
You didn't find that line because obviously you don't have intalled the Multi-BBcode Mod which it is required to install before any BBcode Mod.
REPOM4N wrote: I also had a little problem with:

Code: Select all

#-----[ FIND ]------------------------------------------ 
#  
bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','
','
  • ','
','
  • ','
','[img]','[/img]','','');
#
#-----[ IN-LINE FIND ]------------------------------------------
#
'[/url]'
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
,'[left]','[/left]','[center]','[/center]','[right]','[/right]'
# [/code]
But that's just because I had the Flash MOD and the Tab MOD. Only had to ajust acordingly.
Yes, try using this search instruction instead:

Code: Select all

# 
#-----[ FIND ]------------------------------------------ 
#  
bbtags = new Array
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
); 
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------ 
# 
,'[new_bbcode]','[/new_bbcode]'
REPOM4N wrote: Thank you very much for this. Very helpfull!
You are very welcome! :D And thanks for the kudos! :mrgreen:
MOD::Pseudo WYSIWIG BBcode Editor.
Latest stable Version: 1.8.8b -> Screenshot: Pseudo WYSIWYG -> Download: Pesudo WYSIWYG 1.8.8b

REPOM4N
Registered User
Posts: 32
Joined: Wed May 10, 2006 7:42 pm
Location: Montreal

Re: [2.0.19] L-C-R IMG And Text Alignment BBcode

Post by REPOM4N » Wed Jun 13, 2007 10:35 pm

You didn't find that line because obviously you don't have intalled the Multi-BBcode Mod which it is required to install before any BBcode Mod.
I did have Multi-BBcode installed otherwise I wouldn't have been able to install the Flash Mod and The Tab Mod. It's been insalled for a while...

A) $EMBB_widths = array('') ; is not the same as
B) $EMBB_widths = array('

A) Cannot be found because of what's inside the quotes (well parenthesis, I should say).

Like I said, it's working great and I thank you very much for sharing your work.
Image
Easy come, Easy go

Templater
Registered User
Posts: 343
Joined: Wed Aug 31, 2005 5:07 am

Re: [2.0.19] L-C-R IMG And Text Alignment BBcode

Post by Templater » Fri Jun 15, 2007 12:09 am

REPOM4N wrote:
You didn't find that line because obviously you don't have intalled the Multi-BBcode Mod which it is required to install before any BBcode Mod.
I did have Multi-BBcode installed otherwise I wouldn't have been able to install the Flash Mod and The Tab Mod. It's been insalled for a while...

A) $EMBB_widths = array('') ; is not the same as
B) $EMBB_widths = array('

A) Cannot be found because of what's inside the quotes (well parenthesis, I should say).

Like I said, it's working great and I thank you very much for sharing your work.
My bad! sorry mate, obvioulsy i didn't read well your post! :oops: It seems, as soon as i saw that infamous Multi-BBcode Mod line ($EMBB_widths = array(') made me think that this was yet another case of a newbie who didn't put attention to Athor Notes... lol.

Greets.
MOD::Pseudo WYSIWIG BBcode Editor.
Latest stable Version: 1.8.8b -> Screenshot: Pseudo WYSIWYG -> Download: Pesudo WYSIWYG 1.8.8b

User avatar
xmenfile
Registered User
Posts: 163
Joined: Sun Apr 22, 2007 10:32 pm

Re: [2.0.19] L-C-R IMG And Text Alignment BBcode

Post by xmenfile » Sat Jul 07, 2007 12:37 am

Hi there,

can anyone help me to decide which one is better? This mod or Left and Right IMG tags http://www.phpbb.com/community/viewtopic.php?t=149238
or Pseudo WYSIWYG BBcode Editorhttp://www.phpbb.com/community/viewtopi ... &sk=t&sd=a



Thank you so much in advance,

th3l33t1
Registered User
Posts: 87
Joined: Wed Jan 31, 2007 12:10 pm

Re: [2.0.19] L-C-R IMG And Text Alignment BBcode

Post by th3l33t1 » Fri Sep 14, 2007 10:43 am

I want to add this mod to my forum, but without the buttons, which bit would i take out/leave out to achieve this?

,thanks th3l33t1 :)

Templater
Registered User
Posts: 343
Joined: Wed Aug 31, 2005 5:07 am

Re: [2.0.19] L-C-R IMG And Text Alignment BBcode

Post by Templater » Mon Sep 24, 2007 9:34 pm

th3l33t1 wrote:I want to add this mod to my forum, but without the buttons, which bit would i take out/leave out to achieve this?

,thanks th3l33t1 :)
Just exclude this part:

Code: Select all

# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/bbcode.php 
# 
#-----[ FIND ]------------------------------------------
#
<?php
# 
#-----[ AFTER, ADD ]------------------------------------
#
//-- mod : L-C-R IMG & Text Alignment ------------------------------------------ 
# 
#-----[ FIND ]------------------------------------------
#  
    $EMBB_widths = array('') ; 
# 
#-----[ IN-LINE FIND ]----------------------------------- 
#                                                         
    $EMBB_widths = array(''                                              
#                                                           
#-----[ IN-LINE AFTER, ADD ]----------------------------
# 
, '55', '55', '55'
# 
#-----[ FIND ]------------------------------------------- 
#
    $EMBB_values = array('') ; 
# 
#-----[ IN-LINE FIND ]-----------------------------------
# 
	$EMBB_values = array(''
# 
#-----[ IN-LINE AFTER, ADD ]----------------------------
# 
, 'Left', 'Center', 'Right' 
Cheers!
MOD::Pseudo WYSIWIG BBcode Editor.
Latest stable Version: 1.8.8b -> Screenshot: Pseudo WYSIWYG -> Download: Pesudo WYSIWYG 1.8.8b

th3l33t1
Registered User
Posts: 87
Joined: Wed Jan 31, 2007 12:10 pm

Re: [2.0.19] L-C-R IMG And Text Alignment BBcode

Post by th3l33t1 » Tue Sep 25, 2007 7:52 am

thanks ;)

mihaiv
Registered User
Posts: 1
Joined: Mon May 12, 2008 7:03 am

Re: [2.0.19] L-C-R IMG And Text Alignment BBcode

Post by mihaiv » Mon May 12, 2008 7:05 am

Does it work with 3.0.1?

MichaelWagner
Registered User
Posts: 105
Joined: Fri Nov 24, 2006 6:51 am

Re: [2.0.19] L-C-R IMG And Text Alignment BBcode

Post by MichaelWagner » Mon May 12, 2008 9:13 am

This mod is in the forum 2.0.x MOD Database releases. It is extremely unlikely to work in 3.anything, since the whole way they did this was changed, totally, for 3.

Post Reply

Return to “[2.0.x] MOD Database Releases”