collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 462
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Author Topic: 3 editors, for 1 record...  (Read 4751 times)

0 Members and 1 Guest are viewing this topic.

Offline johncccccc

  • Jr. Member
  • **
  • Posts: 92
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
3 editors, for 1 record...
« on: July 10, 2010, 12:48:31 PM »
Well, In the BBC block settings I have 3 text forms for 1 block, weird.

I could have sworn that when I 1st went to edit their was only 1, then I previewed now their are 3, however, I may have just missed it the 1st time.



I could probably track this down myself and fix it, but I do not have a lot of time, Where is the editor coded?

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: 3 editors, for 1 record...
« Reply #1 on: July 16, 2010, 08:18:07 PM »
Refer to the 'sportal_admin_block_edit' function from the 'PortalAdminBlocks.php' file, for the source code.

Refer to the 'template_block_edit' function from the "PortalAdminBlocks.template.php" file, for the template.

SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline johncccccc

  • Jr. Member
  • **
  • Posts: 92
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 3 editors, for 1 record...
« Reply #2 on: July 18, 2010, 01:38:32 PM »
Refer to the 'sportal_admin_block_edit' function from the 'PortalAdminBlocks.php' file, for the source code.

Refer to the 'template_block_edit' function from the "PortalAdminBlocks.template.php" file, for the template.

OK this is weird, I have completely replace those files with new ones, and the problem still occurs....

May I add this is only happening on BBC code blocks, not for anything else like custom HTML/PHP AFAIK

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: 3 editors, for 1 record...
« Reply #3 on: July 20, 2010, 03:25:39 AM »
Does is happen for every custom bbc block that you create?
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline johncccccc

  • Jr. Member
  • **
  • Posts: 92
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 3 editors, for 1 record...
« Reply #4 on: August 03, 2010, 11:50:06 AM »
Does is happen for every custom bbc block that you create?

Yes.
Upon creating a new block (bbc) it has 3 editors.

Some useful information:
I was on SMF 2 RC1.2, and I kept the database tables from old setup.
When I edit all 3 editors the same the data still saves, if one is different they fail to save.

Offline johncccccc

  • Jr. Member
  • **
  • Posts: 92
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 3 editors, for 1 record...
« Reply #5 on: August 17, 2010, 06:47:49 PM »
A shameless bump...
 :P

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 3 editors, for 1 record...
« Reply #6 on: August 20, 2010, 11:12:44 AM »
Can you attach the HTML for that?
 
Is create_control_richedit called once or three times?
Are all the buttons that should be between "Custom BBC" and the textarea really gone or just hidden?
Does each textarea have the same name (that's a big no-no!)
Are there any HTML errors?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline johncccccc

  • Jr. Member
  • **
  • Posts: 92
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 3 editors, for 1 record...
« Reply #7 on: August 24, 2010, 05:22:36 PM »
The HTML (From Source) is as follows

Code: [Select]
<label for="bbc_content">Custom BBC:</label>
</dt>
<dd>
</dd>
</dl>
<div id="sp_rich_editor">
<div id="sp_rich_bbc">
<div>
<div>
<textarea class="editor" name="bbc_content" id="bbc_content" rows="12" cols="60" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" tabindex="1" style="width: 95%; height: 200px;">

{custom BBC is here}

</textarea>
</div>
<div id="bbc_content_resizer" style="display: none; width: 95%; padding: 0pt 2px;" class="richedit_resize"></div>
</div>
<input name="bbc_content_mode" id="bbc_content_mode" value="0" type="hidden">
<script type="text/javascript"><!-- // --><![CDATA[
var oSmileyBox_bbc_content = new smc_SmileyBox({
sUniqueId: 'smileyBox_bbc_content',
sContainerDiv: 'bbc',
sClickHandler: 'oEditorHandle_bbc_content.insertSmiley',
oSmileyLocations: {
postform: [
[
{
sCode: ':)',
sSrc: 'http://www.myforum.com/Smileys/default/smiley.gif',
sDescription: 'Smiley'
},
{
sCode: ';)',
sSrc: 'http://www.myforum.com/Smileys/default/wink.gif',
sDescription: 'Wink'
},
{
sCode: ':D',
sSrc: 'http://www.myforum.com/Smileys/default/cheesy.gif',
sDescription: 'Cheesy'
},
{
sCode: ';D',
sSrc: 'http://www.myforum.com/Smileys/default/grin.gif',
sDescription: 'Grin'
},
{
sCode: '>:(',
sSrc: 'http://www.myforum.com/Smileys/default/angry.gif',
sDescription: 'Angry'
},
{
sCode: ':(',
sSrc: 'http://www.myforum.com/Smileys/default/sad.gif',
sDescription: 'Sad'
},
{
sCode: ':o',
sSrc: 'http://www.myforum.com/Smileys/default/shocked.gif',
sDescription: 'Shocked'
},
{
sCode: '8)',
sSrc: 'http://www.myforum.com/Smileys/default/cool.gif',
sDescription: 'Cool'
},
{
sCode: '???',
sSrc: 'http://www.myforum.com/Smileys/default/huh.gif',
sDescription: 'Huh?'
},
{
sCode: '8-)',
sSrc: 'http://www.myforum.com/Smileys/default/rolleyes.gif',
sDescription: 'Roll Eyes'
},
{
sCode: ':P',
sSrc: 'http://www.myforum.com/Smileys/default/tongue.gif',
sDescription: 'Tongue'
},
{
sCode: ':-[',
sSrc: 'http://www.myforum.com/Smileys/default/embarrassed.gif',
sDescription: 'Embarrassed'
},
{
sCode: ':-X',
sSrc: 'http://www.myforum.com/Smileys/default/lipsrsealed.gif',
sDescription: 'Lips Sealed'
},
{
sCode: ':-\\',
sSrc: 'http://www.myforum.com/Smileys/default/undecided.gif',
sDescription: 'Undecided'
},
{
sCode: ':-*',
sSrc: 'http://www.myforum.com/Smileys/default/kiss.gif',
sDescription: 'Kiss'
},
{
sCode: ':\'(',
sSrc: 'http://www.myforum.com/Smileys/default/cry.gif',
sDescription: 'Cry'
},
{
sCode: '>:D',
sSrc: 'http://www.myforum.com/Smileys/default/evil.gif',
sDescription: 'Evil'
},
{
sCode: ':GIYF:',
sSrc: 'http://www.myforum.com/Smileys/default/GoogleFriend.gif',
sDescription: 'Google is you friend'
},
{
sCode: ':muaha:',
sSrc: 'http://www.myforum.com/Smileys/default/hahaha.gif',
sDescription: 'Muahahaha'
},
{
sCode: ':LOL:',
sSrc: 'http://www.myforum.com/Smileys/default/LOL_63.gif',
sDescription: 'LOL sign'
},
{
sCode: ':NT:',
sSrc: 'http://www.myforum.com/Smileys/default/NICE_THREAD.gif',
sDescription: 'Nice Thread Sign'
},
{
sCode: ':hahahaha:',
sSrc: 'http://www.myforum.com/Smileys/default/tongue0011.gif',
sDescription: 'Haa Haa ha ha haa'
},
{
sCode: ':Agreed:',
sSrc: 'http://www.myforum.com/Smileys/default/agreed.gif',
sDescription: 'Agreed'
},
{
sCode: ':thumbdown:',
sSrc: 'http://www.myforum.com/Smileys/default/27ycs1y.png',
sDescription: 'Thumbs Down'
},
{
sCode: '"highfive:',
sSrc: 'http://www.myforum.com/Smileys/default/2lrsxv.gif',
sDescription: 'High Five'
},
{
sCode: ':welcome:',
sSrc: 'http://www.myforum.com/Smileys/default/2zzrled.gif',
sDescription: 'Welcome!'
},
{
sCode: ':getout:',
sSrc: 'http://www.myforum.com/Smileys/default/34zzjp1.gif',
sDescription: 'Get Out!'
},
{
sCode: ':clap1:',
sSrc: 'http://www.myforum.com/Smileys/default/63bsleb.gif',
sDescription: 'Clapping'
},
{
sCode: ':pinkcheek:',
sSrc: 'http://www.myforum.com/Smileys/default/6fxs9s.png',
sDescription: 'Sleep pink cheeks'
},
{
sCode: ':iws1:',
sSrc: 'http://www.myforum.com/Smileys/default/imwithstupid.gif',
sDescription: 'Im With Stupid'
},
{
sCode: ':oops:',
sSrc: 'http://www.myforum.com/Smileys/default/oops.gif',
sDescription: 'ooops'
},
{
sCode: ':SPAM:',
sSrc: 'http://www.myforum.com/Smileys/default/spam.gif',
sDescription: 'Spam!!'
},
{
sCode: ':thx1:',
sSrc: 'http://www.myforum.com/Smileys/default/thanks.gif',
sDescription: 'Thanks!'
}
]
],
popup: [
[
{
sCode: ':censored:',
sSrc: 'http://www.myforum.com/Smileys/default/CENSORED.gif',
sDescription: 'Censored'
},
{
sCode: ':PartY1:',
sSrc: 'http://www.myforum.com/Smileys/default/party0019.gif',
sDescription: 'Wavey party'
},
{
sCode: ':myforum:',
sSrc: 'http://www.myforum.com/Smileys/default/477310001234474785[1].gif',
sDescription: 'myforum Rocks'
},
{
sCode: ':ThanksAlot:',
sSrc: 'http://www.myforum.com/Smileys/default/490124001234474887[1].gif',
sDescription: 'Thanks Alot'
},
{
sCode: ':banned2:',
sSrc: 'http://www.myforum.com/Smileys/default/banned2.gif',
sDescription: 'Your Banned!!!'
}
]
]
},
sSmileyBoxTemplate: '\n\t\t\t\t\t\t%smileyRows% %moreSmileys%\n\t\t\t\t\t',
sSmileyRowTemplate: '\n\t\t\t\t\t\t<div>%smileyRow%<' + '/div>\n\t\t\t\t\t',
sSmileyTemplate: '\n\t\t\t\t\t\t<img src="%smileySource%" align="bottom" alt="%smileyDescri' +'ption%" title="%smileyDescri' +'ption%" id="%smileyId%" />\n\t\t\t\t\t',
sMoreSmileysTemplate: '\n\t\t\t\t\t\t<a hr' + 'ef="#" id="%moreSmileysId%">[more]<' + '/a>\n\t\t\t\t\t',
sMoreSmileysLinkId: 'moreSmileys_bbc_content',
sMoreSmileysPopupTemplate: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\t\t\t\t\t\t<html>\n\t\t\t\t\t\t\t<head>\n\t\t\t\t\t\t\t\t<title>Additional smileys<' + '/title>\n\t\t\t\t\t\t\t\t<link rel="stylesheet" type="text/css" href="http://www.myforum.com/Themes/myforum/css/index.css?rc3" />\n\t\t\t\t\t\t\t<' + '/head>\n\t\t\t\t\t\t\t<body id="help_popup">\n\t\t\t\t\t\t\t\t<div class="padding windowbg">\n\t\t\t\t\t\t\t\t\t<h3 class="catbg"><span class="left"><' + '/span>\n\t\t\t\t\t\t\t\t\t\tPick a smiley\n\t\t\t\t\t\t\t\t\t<' + '/h3>\n\t\t\t\t\t\t\t\t\t<div class="padding">\n\t\t\t\t\t\t\t\t\t\t%smileyRows%\n\t\t\t\t\t\t\t\t\t<' + '/div>\n\t\t\t\t\t\t\t\t\t<div class="smalltext centertext">\n\t\t\t\t\t\t\t\t\t\t<a hr' + 'ef="#" id="%moreSmileysCloseLinkId%">Close Window<' + '/a>\n\t\t\t\t\t\t\t\t\t<' + '/div>\n\t\t\t\t\t\t\t\t<' + '/div>\n\t\t\t\t\t\t\t<' + '/body>\n\t\t\t\t\t\t<' + '/html>'
});
var oEditorHandle_bbc_content = new smc_Editor({
sSessionId: '92136b8470018fbff22da6219cd3cb9f',
sSessionVar: 'eb815f3',
sFormId: 'sp_block',
sUniqueId: 'bbc_content',
bWysiwyg: false,
sText: '',
sEditWidth: '95%',
sEditHeight: '200px',
bRichEditOff: false,
oSmileyBox: oSmileyBox_bbc_content,
oBBCBox: null
});
smf_editorArray[smf_editorArray.length] = oEditorHandle_bbc_content;
// ]]></script>
</div>
<div id="sp_rich_smileys">
<div>
<div>
<textarea class="editor" name="bbc_content" id="bbc_content" rows="12" cols="60" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" tabindex="2" style="width: 95%; height: 200px;">

{Custom BBC again}

</textarea>
</div>
<div id="bbc_content_resizer" style="display: none; width: 95%; padding: 0pt 2px;" class="richedit_resize"></div>
</div>
<input name="bbc_content_mode" id="bbc_content_mode" value="0" type="hidden">
<script type="text/javascript"><!-- // --><![CDATA[
var oSmileyBox_bbc_content = new smc_SmileyBox({
sUniqueId: 'smileyBox_bbc_content',
sContainerDiv: 'smileys',
sClickHandler: 'oEditorHandle_bbc_content.insertSmiley',
oSmileyLocations: {
postform: [
[
{
sCode: ':)',
sSrc: 'http://www.myforum.com/Smileys/default/smiley.gif',
sDescription: 'Smiley'
},
{
sCode: ';)',
sSrc: 'http://www.myforum.com/Smileys/default/wink.gif',
sDescription: 'Wink'
},
{
sCode: ':D',
sSrc: 'http://www.myforum.com/Smileys/default/cheesy.gif',
sDescription: 'Cheesy'
},
{
sCode: ';D',
sSrc: 'http://www.myforum.com/Smileys/default/grin.gif',
sDescription: 'Grin'
},
{
sCode: '>:(',
sSrc: 'http://www.myforum.com/Smileys/default/angry.gif',
sDescription: 'Angry'
},
{
sCode: ':(',
sSrc: 'http://www.myforum.com/Smileys/default/sad.gif',
sDescription: 'Sad'
},
{
sCode: ':o',
sSrc: 'http://www.myforum.com/Smileys/default/shocked.gif',
sDescription: 'Shocked'
},
{
sCode: '8)',
sSrc: 'http://www.myforum.com/Smileys/default/cool.gif',
sDescription: 'Cool'
},
{
sCode: '???',
sSrc: 'http://www.myforum.com/Smileys/default/huh.gif',
sDescription: 'Huh?'
},
{
sCode: '8-)',
sSrc: 'http://www.myforum.com/Smileys/default/rolleyes.gif',
sDescription: 'Roll Eyes'
},
{
sCode: ':P',
sSrc: 'http://www.myforum.com/Smileys/default/tongue.gif',
sDescription: 'Tongue'
},
{
sCode: ':-[',
sSrc: 'http://www.myforum.com/Smileys/default/embarrassed.gif',
sDescription: 'Embarrassed'
},
{
sCode: ':-X',
sSrc: 'http://www.myforum.com/Smileys/default/lipsrsealed.gif',
sDescription: 'Lips Sealed'
},
{
sCode: ':-\\',
sSrc: 'http://www.myforum.com/Smileys/default/undecided.gif',
sDescription: 'Undecided'
},
{
sCode: ':-*',
sSrc: 'http://www.myforum.com/Smileys/default/kiss.gif',
sDescription: 'Kiss'
},
{
sCode: ':\'(',
sSrc: 'http://www.myforum.com/Smileys/default/cry.gif',
sDescription: 'Cry'
},
{
sCode: '>:D',
sSrc: 'http://www.myforum.com/Smileys/default/evil.gif',
sDescription: 'Evil'
},
{
sCode: ':GIYF:',
sSrc: 'http://www.myforum.com/Smileys/default/GoogleFriend.gif',
sDescription: 'Google is you friend'
},
{
sCode: ':muaha:',
sSrc: 'http://www.myforum.com/Smileys/default/hahaha.gif',
sDescription: 'Muahahaha'
},
{
sCode: ':LOL:',
sSrc: 'http://www.myforum.com/Smileys/default/LOL_63.gif',
sDescription: 'LOL sign'
},
{
sCode: ':NT:',
sSrc: 'http://www.myforum.com/Smileys/default/NICE_THREAD.gif',
sDescription: 'Nice Thread Sign'
},
{
sCode: ':hahahaha:',
sSrc: 'http://www.myforum.com/Smileys/default/tongue0011.gif',
sDescription: 'Haa Haa ha ha haa'
},
{
sCode: ':Agreed:',
sSrc: 'http://www.myforum.com/Smileys/default/agreed.gif',
sDescription: 'Agreed'
},
{
sCode: ':thumbdown:',
sSrc: 'http://www.myforum.com/Smileys/default/27ycs1y.png',
sDescription: 'Thumbs Down'
},
{
sCode: '"highfive:',
sSrc: 'http://www.myforum.com/Smileys/default/2lrsxv.gif',
sDescription: 'High Five'
},
{
sCode: ':welcome:',
sSrc: 'http://www.myforum.com/Smileys/default/2zzrled.gif',
sDescription: 'Welcome!'
},
{
sCode: ':getout:',
sSrc: 'http://www.myforum.com/Smileys/default/34zzjp1.gif',
sDescription: 'Get Out!'
},
{
sCode: ':clap1:',
sSrc: 'http://www.myforum.com/Smileys/default/63bsleb.gif',
sDescription: 'Clapping'
},
{
sCode: ':pinkcheek:',
sSrc: 'http://www.myforum.com/Smileys/default/6fxs9s.png',
sDescription: 'Sleep pink cheeks'
},
{
sCode: ':iws1:',
sSrc: 'http://www.myforum.com/Smileys/default/imwithstupid.gif',
sDescription: 'Im With Stupid'
},
{
sCode: ':oops:',
sSrc: 'http://www.myforum.com/Smileys/default/oops.gif',
sDescription: 'ooops'
},
{
sCode: ':SPAM:',
sSrc: 'http://www.myforum.com/Smileys/default/spam.gif',
sDescription: 'Spam!!'
},
{
sCode: ':thx1:',
sSrc: 'http://www.myforum.com/Smileys/default/thanks.gif',
sDescription: 'Thanks!'
}
]
],
popup: [
[
{
sCode: ':censored:',
sSrc: 'http://www.myforum.com/Smileys/default/CENSORED.gif',
sDescription: 'Censored'
},
{
sCode: ':PartY1:',
sSrc: 'http://www.myforum.com/Smileys/default/party0019.gif',
sDescription: 'Wavey party'
},
{
sCode: ':myforum:',
sSrc: 'http://www.myforum.com/Smileys/default/477310001234474785[1].gif',
sDescription: 'myforum Rocks'
},
{
sCode: ':ThanksAlot:',
sSrc: 'http://www.myforum.com/Smileys/default/490124001234474887[1].gif',
sDescription: 'Thanks Alot'
},
{
sCode: ':banned2:',
sSrc: 'http://www.myforum.com/Smileys/default/banned2.gif',
sDescription: 'Your Banned!!!'
}
]
]
},
sSmileyBoxTemplate: '\n\t\t\t\t\t\t%smileyRows% %moreSmileys%\n\t\t\t\t\t',
sSmileyRowTemplate: '\n\t\t\t\t\t\t<div>%smileyRow%<' + '/div>\n\t\t\t\t\t',
sSmileyTemplate: '\n\t\t\t\t\t\t<img src="%smileySource%" align="bottom" alt="%smileyDescri' +'ption%" title="%smileyDescri' +'ption%" id="%smileyId%" />\n\t\t\t\t\t',
sMoreSmileysTemplate: '\n\t\t\t\t\t\t<a hr' + 'ef="#" id="%moreSmileysId%">[more]<' + '/a>\n\t\t\t\t\t',
sMoreSmileysLinkId: 'moreSmileys_bbc_content',
sMoreSmileysPopupTemplate: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\t\t\t\t\t\t<html>\n\t\t\t\t\t\t\t<head>\n\t\t\t\t\t\t\t\t<title>Additional smileys<' + '/title>\n\t\t\t\t\t\t\t\t<link rel="stylesheet" type="text/css" href="http://www.myforum.com/Themes/myforum/css/index.css?rc3" />\n\t\t\t\t\t\t\t<' + '/head>\n\t\t\t\t\t\t\t<body id="help_popup">\n\t\t\t\t\t\t\t\t<div class="padding windowbg">\n\t\t\t\t\t\t\t\t\t<h3 class="catbg"><span class="left"><' + '/span>\n\t\t\t\t\t\t\t\t\t\tPick a smiley\n\t\t\t\t\t\t\t\t\t<' + '/h3>\n\t\t\t\t\t\t\t\t\t<div class="padding">\n\t\t\t\t\t\t\t\t\t\t%smileyRows%\n\t\t\t\t\t\t\t\t\t<' + '/div>\n\t\t\t\t\t\t\t\t\t<div class="smalltext centertext">\n\t\t\t\t\t\t\t\t\t\t<a hr' + 'ef="#" id="%moreSmileysCloseLinkId%">Close Window<' + '/a>\n\t\t\t\t\t\t\t\t\t<' + '/div>\n\t\t\t\t\t\t\t\t<' + '/div>\n\t\t\t\t\t\t\t<' + '/body>\n\t\t\t\t\t\t<' + '/html>'
});
var oEditorHandle_bbc_content = new smc_Editor({
sSessionId: '92136b8470018fbff22da6219cd3cb9f',
sSessionVar: 'eb815f3',
sFormId: 'sp_block',
sUniqueId: 'bbc_content',
bWysiwyg: false,
sText: '',
sEditWidth: '95%',
sEditHeight: '200px',
bRichEditOff: false,
oSmileyBox: oSmileyBox_bbc_content,
oBBCBox: null
});
smf_editorArray[smf_editorArray.length] = oEditorHandle_bbc_content;
// ]]></script>
</div>
<div>
<div>
<textarea class="editor" name="bbc_content" id="bbc_content" rows="12" cols="60" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" tabindex="3" style="width: 95%; height: 200px;">

{custom bbc again}
Some more code below, the same as before then the rest of the page
 
I had to deleted most of the bottom since it exceded 20,000 characters
Thats the entire page, Their is some custom coding at the end, its for some adbrite ads, note these were placed here after the 3 block issue.

Also, I can see the rich editor been called in the Source, the page remains looking like I posted in the 1st post here.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 3 editors, for 1 record...
« Reply #8 on: August 24, 2010, 05:46:24 PM »
Can you save the entire HTML to a file and attach that file?
 
It may be time to do some brute-force debugging to figure out where the problem happens.
 
It could take a while....
« Last Edit: August 24, 2010, 05:49:13 PM by AngelinaBelle »
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline johncccccc

  • Jr. Member
  • **
  • Posts: 92
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 3 editors, for 1 record...
« Reply #9 on: August 24, 2010, 05:51:30 PM »
I have a little hunch here, while I wait to create that HTML file..

It appears to be trying to load the rich editor but failing,

Which file is the " create_control_richedit " function in?

I can take a look :)

Thanks.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 3 editors, for 1 record...
« Reply #10 on: August 25, 2010, 09:26:24 AM »
Here's how I found it, on a PC.
 
(cd to the $sourcedir)
 
find /i /n "function create_control_richedit" *.php | more
 
 
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline johncccccc

  • Jr. Member
  • **
  • Posts: 92
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 3 editors, for 1 record...
« Reply #11 on: August 25, 2010, 10:19:39 AM »
Here's how I found it, on a PC.
 
(cd to the $sourcedir)
 
find /i /n "function create_control_richedit" *.php | more

I will just use search in files to find function "create_control_richedit" lol
I have the search within files on my PHP editor, no need for command :)

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 3 editors, for 1 record...
« Reply #12 on: August 25, 2010, 11:13:50 AM »
Well -- there you go.
Which php editor do you use?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline johncccccc

  • Jr. Member
  • **
  • Posts: 92
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 3 editors, for 1 record...
« Reply #13 on: August 28, 2010, 07:51:54 PM »
Well -- there you go.
Which php editor do you use?

Nusphere PhpED, pretty nice editor, works very well, I like it because it detects parse errors while editing, so before you even save the file, you'll know if your edits will cause a parse error.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 3 editors, for 1 record...
« Reply #14 on: September 15, 2010, 09:39:24 AM »
Are you still having this problem?
It just seems so strange...
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 3 editors, for 1 record...
« Reply #15 on: October 12, 2010, 07:34:49 PM »
Another user is reporting the same problem.  Can you list all mods?
 
http://simpleportal.net/index.php?topic=6597.msg38017#msg38017
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?