1
GG-Xtreme
[CBB] Remove Checkboxes In Post/Reply/Edit
  • 2007/12/12 1:33

  • GG-Xtreme

  • Just popping in

  • Posts: 22

  • Since: 2007/11/12


Edit: I figured out my other issue.

The new issue is removing the HTML and CSS checkboxes from the Koivi editor, as well as removing the 'Enable HTML tags' checkbox from the Options section. I can't find them in the templates, and editing the PHP files did nothing, even after updating the modules. I tried commenting out and deleting the HTML and CSS checkboxes/skin section from class/xoopseditor/koivi/formwysiwygtextarea.php, but it made no difference, the HTML and CSS options both still functioned properly. I'd also like to remove the 'Enable HTML tags' from the options section, because it is obsolete on my forum.

2
iHackCode
Re: [CBB] Remove Checkboxes In Post/Reply/Edit

the form is in newbb/include/form.post.php (CBB4) or newbb/include/forumform.inc.php
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

3
GG-Xtreme
Re: [CBB] Remove Checkboxes In Post/Reply/Edit
  • 2007/12/13 1:45

  • GG-Xtreme

  • Just popping in

  • Posts: 22

  • Since: 2007/11/12


Thanks a lot! What about the Koivi editor? Changes to 'class/xoopseditor/koivi/formwysiwygtextarea.php' did not make any difference to the editor.

4
iHackCode
Re: [CBB] Remove Checkboxes In Post/Reply/Edit

'class/xoopseditor/koivi/formwysiwygtextarea.php' is the correct file.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

5
GG-Xtreme
Re: [CBB] Remove Checkboxes In Post/Reply/Edit
  • 2007/12/13 22:59

  • GG-Xtreme

  • Just popping in

  • Posts: 22

  • Since: 2007/11/12


Do you have any idea why it isn't working then? I am using custom templates (though I didn't make any changes to it yet) and of course I cleared my cache and all the obvious stuff, but the checkboxes for the Koivi editor are still there and function properly.

6
iHackCode
Re: [CBB] Remove Checkboxes In Post/Reply/Edit

how are you modifying that file. did you set $themeCss and $toggleMode to false

$themeCss = false;
..
$toggleMode = false;
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

7
GG-Xtreme
Re: [CBB] Remove Checkboxes In Post/Reply/Edit
  • 2007/12/15 1:15

  • GG-Xtreme

  • Just popping in

  • Posts: 22

  • Since: 2007/11/12


They are already false, and I commented out the following lines:
//        $form .= '<div class="' . $this->getSkin() . 'htmlBar">';
//        if ($toggleMode)$form .= '<div class="' . $this->getSkin() . 'htmlBar"><input type="checkbox" alt="' . _XK_TOGLE_MODE . '" title="' . _XK_TOGLE_MODE . '"  onclick="XK_doToggleView('' . $this->getName() . '')" />HTML</div>';
//        if ($themeCss)$form .= '<div class="' . $this->getSkin() . 'htmlBar"><input type="checkbox" alt="' . _XK_ENABLECSS_MODE . '" title="' . _XK_ENABLECSS_MODE . '" id="cssEnabled' . $this->getName() . '" onclick="XK_appendXoopsCss('' . $this->getName() . '','' . $this->getThemeCSS() . '')" />CSS &nbsp;</div>';
//        $form .= '</div>';
//        $form .= '</div>';


No change at all, even after clicking update on all modules. I cleared my cache of course, but the checkboxes are there and they still function like they always did.

8
GG-Xtreme
Re: [CBB] Remove Checkboxes In Post/Reply/Edit
  • 2007/12/15 7:00

  • GG-Xtreme

  • Just popping in

  • Posts: 22

  • Since: 2007/11/12


Never mind, the changes showed up when I reinstalled CBB.

Login

Who's Online

216 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 216


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits