1
TheCleric
Re: CBB 3.07: How can I add file types to the one that are allowed for attachments...?
  • 2007/2/8 21:03

  • TheCleric

  • Just popping in

  • Posts: 22

  • Since: 2006/12/26


It is in the administration menu for the forum.

Choose a forum and edit it and it will let you list the file types you allow upload of.



2
TheCleric
Re: Problem with line-wrapping.....
  • 2007/1/30 23:26

  • TheCleric

  • Just popping in

  • Posts: 22

  • Since: 2006/12/26


The regex is only preferable to the wordwrap function in that you can specify more directly what types of strings NOT to wrap, and the behavior can be more closely changed. You could potentially change the font size, wrap a spoiler block around it, erase the long line and leave a pleasant message behind, etc.

Wordwrap is ideal if all you want is a strict limit on the length of a line.



3
TheCleric
Re: Clone CBB 3.08 Recent Topics Block
  • 2007/1/25 21:55

  • TheCleric

  • Just popping in

  • Posts: 22

  • Since: 2006/12/26


You can follow the instructions in the clone block example. Just copy and paste the block that you want and don't worry about its number as they are auto-magically numbered. whatever order you paste it in, that is the order it will show up in the list. Then don't forget to update the module.



4
TheCleric
Re: Forum Wrapping Issues
  • 2007/1/23 18:15

  • TheCleric

  • Just popping in

  • Posts: 22

  • Since: 2006/12/26


Oh, sorry, I don't think cbb 2.3 uses frameworks.

I guess I don't know where you would add it. if you have a textsanitizer file somewhere, you might be able to find the xoopscodeDecode function and add the lines still.


If you are just starting your site, you will probably be happier using XOOPS 2.0.x rather than 2.2 which you have now. The 2.0 version supports more modules and is generally going to be what you want.

Then, you should get cbb 3.08 from dev.xoops.org to replace the older version you have now.

Those two things should help you get the best system.



If you did that:

You should have a directory xoops/frameworks/textsanitizer

There is a file module.textsanitizer.php

In that file there is the lines "function xoopscodeDecode"

right under those lines, which I listed in full above, you can add the top code segment that I posted.



5
TheCleric
Re: Left column expands too far to the right
  • 2007/1/23 5:01

  • TheCleric

  • Just popping in

  • Posts: 22

  • Since: 2006/12/26


If it only happens in some modules, perhaps some of the modules have their own css file that they include, after the normal ones, which are overriding some of your settings.

I don't know if there is a convention for where a module would store such a css file though.



6
TheCleric
Re: Forum Wrapping Issues
  • 2007/1/22 17:16

  • TheCleric

  • Just popping in

  • Posts: 22

  • Since: 2006/12/26


under the frameworks>textsanitizer there is a module.textsanitizer file.

You could add something like

$patterns[] = "/(w{50})/sU";
$replacements[] = '\1 ';


under the lines
function &xoopsCodeDecode(&$text$allowimage 1)
    {
        
$patterns = array();
        
$replacements = array();

That will insert a space in the display whenever there are 50 characters in a row. Essentially, the longest word possible will be 50 characters.

It won't break up words with punctuation, so it shouldn't break long URLs.



7
TheCleric
Re: How to format text in text areas
  • 2007/1/21 0:08

  • TheCleric

  • Just popping in

  • Posts: 22

  • Since: 2006/12/26


my guess is that you need to deactivate options like "enable html" or "enable XOOPS code"

could you post what module you are using?



8
TheCleric
Re: Newbb problem
  • 2007/1/21 0:07

  • TheCleric

  • Just popping in

  • Posts: 22

  • Since: 2006/12/26


I don't seem to be able to choose the view requirement option on that forum.



9
TheCleric
Re: CBB 232 Questions
  • 2007/1/19 21:03

  • TheCleric

  • Just popping in

  • Posts: 22

  • Since: 2006/12/26


So, with the new addition, the page shows up correct but with all unread icons, and no links on the folder icons?

Don't worry, I'm still working on this.

Did anybody else try this and have the same issue?



10
TheCleric
Re: Forum Wrapping Issues
  • 2007/1/19 20:22

  • TheCleric

  • Just popping in

  • Posts: 22

  • Since: 2006/12/26


First, there is a later version of cbb available at dev.xoops.org ( I don't know why it isn't in the repository)

I think that long, unbroken lines of text will mess up the layout. If there are no spaces, I don't think it does any wrapping on the line, which does mess up the templates.

Is this the issue that you are having?




TopTop
(1) 2 3 »



Login

Who's Online

212 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 212


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