31
Mamba
Re: Newbb - 4.06 - beta1
  • 2011/10/14 21:28

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Thanks! Fixed in SVN
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

32
timgno
Re: CBB - 4.05 - beta1
  • 2011/10/15 11:27

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Can't set the permissions are not included in the database

wamp 2.1

33
Mamba
Re: CBB - 4.05 - beta1
  • 2011/10/15 12:57

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
Can't set the permissions are not included in the database

Can you give more details? Do you mean that changes made in Permissions are not being saved to the database?
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

34
timgno
Re: CBB - 4.05 - beta1
  • 2011/10/15 13:15

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I resolved, is the module xpayment that creates other users as a group, and does not allow you to save the permissions.
This is what happened to me and I deleted these user groups.

There is a bug on cbb, xpayments or xoops core groups?

tests on xoops 2.5.3

35
DCrussader
Re: CBB - 4.05 - beta1

For 4.06 Beta 1, System 2.11 (jQuery forms modification), Cent OS with PHP 5.2

I'm wondering is it possible (in current 2.5) to use
Line (let say 1)
define('_MD_BY','by');
....
and let say another line
Line 400 define('_MD_BY2','_MD_BY');

if is already defined somewhere in the main file (ah, there is no main file). Ok for the selected file, in case

define('_MD_SOMETHING') is already define in the beginning of each file, while should be repeated thousand times in the same file, instead to use the above example if is possible.

Quote:

Can you give more details? Do you mean that changes made in Permissions are not being saved to the database?


I can't see such problem on 2.5.3 with Cent OS.

But when changing permissions and applying changes, Forum don't use the new jGrowl redirection....

Back to plugins support, since ImageMagick is no longer supported by most hosting providers, on the support screen where says ImageMagic is not detected, should be added TCPDF support (version installed/detected/required) if this TCPDF is a solution for PDF lovers.

On sub section Forums - Resize the Action columns, eg for Edit, Delete, Move, currently text is too close one to another, can't imagine how they will look in Russian or Bulgarian, and why column for each action, instead of drop-down menu

Sub section Order ? - wow, reordering of Forums/Categories should be integrated part of those menus, and I can't see - still the point of making category / forum, while everywhere the main created forum is acting as category for the rest sub forums.

On sub section Topic types, missing field - Tips (it's supposed to make different topics with different icons/colors or what?)

Hmm, on section Group moderation ...
Moderators are selected members of the registered group, or those moderators are for something else, not for the forums ?

Eg. Mamba can be moderator for XOOPS General Forum with it's sub forums, but can't be moderator in XOOPS Themes forum and it's sub forums, where is Trabis as moderator. What will do moderator in area where he/she have 0 years experience or any knowledge of the discussed stuff, except to act as Cerberus.

(And where is the roadmap for each module, core?)
How I can know if the global categories are planned or not, but is pointless to have global comments for every module, but not global categories...

(So far this is for this beta, have to make another clean install of XOOPS without this JQeury stuff, to see if the blank pages between loads of each sub sections comes from the core or not. Since there is jCrawl redirect, why this redirect comes only on WRITE changes ?)
May The Source Be With You!

36
Anonymous
Re: CBB - 4.05 - beta1
  • 2011/10/17 6:46

  • Anonymous

  • Posts: 0

  • Since:


I missed some admin icons first, realized my framework is outdated later. This means the framework must be updated with every new module with new specific icons.

Isn't it possible to make updating new icons part of the module install?

37
Mamba
Re: CBB - 4.05 - beta1
  • 2011/10/17 7:24

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
Isn't it possible to make updating new icons part of the module install?

Yes, in the future, those icons that are not directly included with Core, will be added via the module installation.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

38
timgno
Re: CBB - 4.05 - beta1
  • 2011/10/17 8:49

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


great idea to write code like this:

if(is_dir(XOOPS_ROOT_PATH "/Frameworks/moduleclasses/icons/(16|24|32|48)")){
           
$icondir "/Frameworks/moduleclasses/icons/(16|24|32|48)";
        }else{
           
$icondir "/modules/".$xoopsModule->dirname()."/images/icons/(icon_folder)";
        }


or -> images

if(is_dir(XOOPS_ROOT_PATH "/Frameworks/images/icons/(16|24|32|48)")){
           
$icondir "/Frameworks/images/icons/(16|24|32|48)";
        }else{
           
$icondir "/modules/".$xoopsModule->dirname()."/images/icons/(icon_folder)";
        }

39
timgno
Re: CBB - 4.05 - beta1
  • 2011/10/18 15:09

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Please tell me why this code doesn't work directly in the theme?
<{php}>
                  
$newbb_handler =& xoops_getmodulehandler('bb_posts''newbb');
                  
$criteria = new CriteriaCompo();
                  
$criteria->add(new Criteria('post_id'$postid));
                  
$criteria->setOrder('DESC');
                  
$posts_arr $newbb_handler->getall($criteria);
          foreach(
array_key($posts_arr) as $post) {
            if(
$posts_arr[$post]->getVar('post_id') == $postid){
                       
$GLOBALS['xoopsTpl']->append('topics',
                                          array(
'poster_name' => $posts_arr[$post]->getVar('poster_name'), 
                                                
'post_time' => $posts_arr[$post]->getVar('post_time')));
                    }
                  }
                <{/
php}>
                <{foreach 
item=topic from=$topics}>
                        <
li><span class="left"><{$topic.poster_name}>span><span class="right"><{$topic.post_time}>span>li>
                <{/foreach}>

40
trabis
Re: CBB - 4.05 - beta1
  • 2011/10/18 19:22

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

timgno wrote:
Please tell me why this code doesn't work directly in the theme?


Probably because $postid is not defined!

Try make it global and use $GLOBALS['postid'];
or
use $this->_tpl_vars['postid']; in case it is assigned to smarty (not sure if it will work)

Login

Who's Online

246 user(s) are online (154 user(s) are browsing Support Forums)


Members: 0


Guests: 246


more...

Donat-O-Meter

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

Latest GitHub Commits