21
deka87
Re: XOOPS 2.6.0 Alpha 1 Testing
  • 2012/8/18 13:33

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


The help tips are are also not closed on mouse click. Guess something with ajax libs.

Quote:

Can somebody else confirm the issues, and specify the platform they are using?


please, see MACTEP's post above.
Mind anchors



22
deka87
Re: XOOPS 2.6.0 Alpha 1 Testing
  • 2012/8/18 8:08

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


PHP 5.3.3 on Denwer

Installation is OK.

I can confirm that blocks are not draggable.
Mind anchors



23
deka87
Re: XOOPS 2.6.0 Alpha 1 Testing
  • 2012/8/17 15:24

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


Where is the download link
Mind anchors



24
deka87
Re: Estimate profile completeness
  • 2012/8/17 14:04

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


jimmyx,

below is the full code :

// ===================== Profile completeness hack =============================== //
$uid $thisUser->getVar('uid');
$query_c "SELECT * FROM " $xoopsDB -> prefix"profile_profile" ) . " WHERE profile_id = '$uid'";
$result_c $xoopsDB -> query ($query_c );

$all_rows $xoopsDB -> fetchArray$result_c );
$num_rows count$all_rows );

$full_rows array_diff($all_rows,array(NULL));
$num_full_rows count (  $full_rows );

$perc floor($num_full_rows*100/$num_rows);
$xoopsTpl->assign('compl'$perc);
// Colors
if ( $perc 25 ) {
    
$class 'warning';
} elseif ( 
$perc >= 25 && $perc 50 ) {
    
$class 'danger';
} elseif ( 
$perc >= 50 && $perc 75 ) {
    
$class 'info';
} else {
    
$class 'success';
}
$xoopsTpl->assign('class'$class);
// ==================== End of profile completeness hack ===================================== //


where warning, info, success, and danger are my css classes for the progress bar. You must put this code in userinfo.php before the
include dirname(__FILE__) . DIRECTORY_SEPARATOR 'footer.php';
?>


Deka



25
deka87
Re: Roadmap 2.6.0 Discussion
  • 2012/8/17 8:13

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


That's true. AFAIK Xoops sticks with its header and footer and there is nothing we can do about it. I faced this when I tried to put an avatar edit page in a modal window so that users won't need to open a new page to edit their avatar. But having a full page in a modal window is a pretty weird idea.



26
deka87
Re: Estimate profile completeness
  • 2012/8/17 8:00

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


Looks pretty nice, IMO

Resized Image



27
deka87
Re: Estimate profile completeness
  • 2012/8/17 7:10

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


So I came up with this code :

// ===================== Profile completeness hack =============================== //
$query_c "SELECT * FROM " $xoopsDB -> prefix"profile_profile" ) . " WHERE profile_id = '$uid'";
$result_c $xoopsDB -> query ($query_c );
$all_rows $xoopsDB -> fetchArray$result_c );
$num_rows count$all_rows );
$full_rows array_diff($all_rows,array(NULL));
$num_full_rows count (  $full_rows );
$perc floor($num_full_rows*100/$num_rows). '%';
$xoopsTpl->assign('compl'$perc);
// ==================== End of profile completeness hack ===================================== //


May be useful for somebody...



28
deka87
Re: Newbb 4.3
  • 2012/8/16 18:31

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


irtmfan,

yeah, cleaning the empty lines in those files didn't help.



29
deka87
Estimate profile completeness
  • 2012/8/16 10:07

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


Hi guys,

I am looking for some elegant way to estimate user profile completeness. Has anybody already tried to implement this? Any ideas?

Deka



30
deka87
Re: Any smarty plugin to display pm counter in a template?
  • 2012/8/16 5:50

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


Thanks guys, <{xoInboxCount assign=pmcount}> is really what I was looking for. Th only problem it doesn't update at once when a new message has been read. But that seems okay anyways.




TopTop
« 1 2 (3) 4 5 6 ... 96 »



Login

Who's Online

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


Members: 0


Guests: 154


more...

Donat-O-Meter

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

Latest GitHub Commits