[2.0.11] Accurate BBCode Insertion Mod

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
18
64%
Very Good
1
4%
Good
4
14%
Fair
2
7%
Poor
3
11%
 
Total votes: 28

User avatar
khalderon
Registered User
Posts: 14
Joined: Tue Jan 02, 2007 11:21 am
Location: Sofia, Bulgaria
Contact:

Post by khalderon » Tue Jan 02, 2007 11:52 am

It doesn't work for me. What do I do next?

Dr. Mabuse
Registered User
Posts: 39
Joined: Wed May 10, 2006 5:00 am
Location: Sweden
Name: Mikael
Contact:

Post by Dr. Mabuse » Sun Jan 21, 2007 10:13 pm

I tried to install it with EasyMOD, but it didn't work...

The problem was that I've made my own modifications to the BBcode, adding new formatting buttons, and that affected the MOD where the image-tag is concerned. When I installed the MOD manually (accounting for the changes I've already made) the MOD worked like a charm.

Thanks for a great MOD!
"When the going gets tough, the tough gets Duct-tape(tm)" Dr. Mabuse moderator of:
Skeptic Friends Network and
Skepticality Podcast and Forum

marvuk
Registered User
Posts: 15
Joined: Sat Jan 28, 2006 11:20 am
Contact:

Post by marvuk » Sun Jan 28, 2007 7:42 pm

raipe wrote: Support for "View more emoticons" window would be so coooooool :roll:


I've made this change to get it to work:

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/posting_smilies.tpl

#
#-----[ FIND ]------------------------------------------
# LINE 4

function emoticon(text) {
	text = ' ' + text + ' ';
	if (opener.document.forms['post'].message.createTextRange && opener.document.forms['post'].message.caretPos) {
		var caretPos = opener.document.forms['post'].message.caretPos;
		caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
		opener.document.forms['post'].message.focus();
	} else {
	opener.document.forms['post'].message.value  += text;
	opener.document.forms['post'].message.focus();
	}
	
}

#
#-----[ REPLACE WITH ]------------------------------------------
#
function emoticon(text) {
	
	if(!window.opener.closed){

		window.opener.emoticon(text);

	}
	
}

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#

# EoM 

rewardstupid
Registered User
Posts: 34
Joined: Thu Jan 11, 2007 3:54 pm

Post by rewardstupid » Mon Jan 29, 2007 1:39 am

Great Mod, but it would be even better if it worked for the Font Colour and Font Size BBCodes in Firefox too.

Has that Smilie Pop-up addition worked for anyone? I've added the amendment but don't have enough smilies right now for the pop-up to even be viewable. I'll be adding more soon, though, so I thought this would be useful. Let us know on this thread if it doesn't work. ;)

craigpierce
Registered User
Posts: 70
Joined: Fri Nov 25, 2005 11:14 pm

Post by craigpierce » Tue Feb 20, 2007 8:20 pm

It worked great for me - though I'm using the Conundrum theme and my posting_smilies looked much different from what was posted...here's what mine looks like now...

Code: Select all

<a href="javascript:if(!window.opener.closed){window.opener.emoticon('{smilies_row.smilies_col.SMILEY_CODE}')}">
Thanks guys for a great MOD!

p.s. I actually wrote all the text above and then went back and added the code tag in the middle, expecting the board to put the code tag where the cursor was :D - I'm addicted to this MOD already!

User avatar
raipe
Registered User
Posts: 96
Joined: Sun May 28, 2006 1:14 pm

Post by raipe » Tue Feb 20, 2007 10:32 pm

marvuk wrote:
raipe wrote:Support for "View more emoticons" window would be so coooooool :roll:


I've made this change to get it to work:

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/posting_smilies.tpl

#
#-----[ FIND ]------------------------------------------
# LINE 4

function emoticon(text) {
	text = ' ' + text + ' ';
	if (opener.document.forms['post'].message.createTextRange && opener.document.forms['post'].message.caretPos) {
		var caretPos = opener.document.forms['post'].message.caretPos;
		caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
		opener.document.forms['post'].message.focus();
	} else {
	opener.document.forms['post'].message.value  += text;
	opener.document.forms['post'].message.focus();
	}
	
}

#
#-----[ REPLACE WITH ]------------------------------------------
#
function emoticon(text) {
	
	if(!window.opener.closed){

		window.opener.emoticon(text);

	}
	
}

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#

# EoM 


I tried that, but then it didnt insert smilies at all... :|

User avatar
Avaya
Registered User
Posts: 73
Joined: Thu Mar 08, 2007 7:08 pm
Location: Vancouver, Canada
Contact:

Re: [2.0.11] Accurate BBCode Insertion Mod

Post by Avaya » Tue May 08, 2007 4:30 am

Was this mod ever consolidated in to one location for Firefox v2.x? From my reading here, it seems like the mod only works with v1.x for Firefox. And considering the latest version of Firefox is v2, is it even worthwhile installing this mod?
My website: SixSeventyOne.net
Get the best! Browse with Image

Bullfn33
Registered User
Posts: 92
Joined: Mon Jan 29, 2007 2:29 am

Re: [2.0.11] Accurate BBCode Insertion Mod

Post by Bullfn33 » Sun Jul 22, 2007 8:55 pm

I'm wondering if this mod works with Firefox 2. The only problem I'm having in FF is inserting the emoticons at the point of the cursor. It just goes to the bottom every time. If I use the updated version of this MOD that someone gives on pg 4 of this thread, will it correct this problem?

Thanks for any help on this!

User avatar
mattgid
Registered User
Posts: 339
Joined: Wed Sep 05, 2007 6:57 am
Location: Singapore

Re: [2.0.11] Accurate BBCode Insertion Mod

Post by mattgid » Thu Sep 06, 2007 5:25 am

it installed smoothly with easy mod but it didnt work!!! D:
✖✖_Matthew Gideon_✖✖

jalaln
Registered User
Posts: 1076
Joined: Tue Jul 05, 2005 5:05 am

Re: [2.0.11] Accurate BBCode Insertion Mod

Post by jalaln » Mon Sep 24, 2007 10:59 am

mattgid wrote:it installed smoothly with easy mod but it didnt work!!! D:
Try this MOD http://www.phpbb.com/community/viewtopi ... &sk=t&sd=a instead.
No more spambots for phpBB2 and phpBB3.

mobeen
Registered User
Posts: 1
Joined: Fri Jan 11, 2008 7:29 am

Re: [2.0.11] Accurate BBCode Insertion Mod

Post by mobeen » Fri Jan 11, 2008 7:54 am

Hi all,

i have another problem regarding copy/past ... In textarea when i cppy/paste any word by Ctrl+C/Ctrl+V then it can't repose

regards,
Mob

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51864
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [2.0.11] Accurate BBCode Insertion Mod

Post by Brf » Fri Jan 11, 2008 12:09 pm

What does that have to do with BBCode Insertion?

Post Reply

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