51
liomj
Re: xBootstrap XOOPS Theme - Development
  • 2015/2/22 5:49

  • liomj

  • Just popping in

  • Posts: 67

  • Since: 2012/4/10


this is my attempt to creat multilevel bootstrap mymenus skin in xbootstrap

xbootstrapmultilevel
based on this
http://bootsnipp.com/snippets/featured/multi-level-navbar-menu

download here:
http://www.filehostfree.com/?d=54E96CC11

xboostrapmultilevelmenu and bootnavemenu mymenu skins are used with defacer block anywhere

to replace the current menu in xbootstrap (themes/xbootstrap/tpl/nav-menu.html)

the code is usable but not finish yet..hope someone can take a look and fix my code



52
liomj
Re: xBootstrap XOOPS Theme - Development
  • 2015/2/22 3:16

  • liomj

  • Just popping in

  • Posts: 67

  • Since: 2012/4/10


Hi

I have made a bootstrap skin menu for the mymenus to be used with the xbootstrap theme

navbootmenu
it is 2 level and its not perfect and finish but i think usable...im not good with scripts so xoopser help me take a look and improve the code

Hope the xbootstrap can implement this menu instead
http://bootsnipp.com/snippets/featured/multi-level-navbar-menu

still trying if it can be implement in mymenus module

download the skin here : http://www.filehostfree.com/?d=54E947F71




53
liomj
Re: MyMenus Module with Drag & Drop (1.50 Beta 1)
  • 2015/2/22 3:12

  • liomj

  • Just popping in

  • Posts: 67

  • Since: 2012/4/10


Hi

I have made some skin menus

a. Tree Menu
Based on
http://www.dynamicdrive.com/dynamicindex1/navigate1.htm

b. navbootmenu
2-level menu to be used with xbootstrap theme

its not perfect and finish but usable...im not good with scripts so xoopser help me take a look and improve the code

download here: http://www.filehostfree.com/?d=54E947F71

still trying if http://bootsnipp.com/snippets/featured/multi-level-navbar-menu can be implement in mymenus module

mymenus is great module hope it can support bootstrap menu and responsive megamenu someday

something like
http://geedmo.github.io/yamm3/
http://codepen.io/johndelatorre/pen/uGIno



54
liomj
Import XT-Conteudo to Publisher
  • 2014/6/17 11:54

  • liomj

  • Just popping in

  • Posts: 67

  • Since: 2012/4/10


Hye

Does anyone here have script to import XT-Conteudo articles to Publisher


TQ in advance



55
liomj
Re: Create a time function
  • 2013/8/24 8:39

  • liomj

  • Just popping in

  • Posts: 67

  • Since: 2012/4/10


try use this in theme.html

<{php}>

your php code here

remove <?php and ?>


<{/php}>






56
liomj
Re: Help with listing user of group with custom profile fields
  • 2013/8/7 7:35

  • liomj

  • Just popping in

  • Posts: 67

  • Since: 2012/4/10


this is to show all users
$result mysql_query("SELECT uid, name, uname,  user_avatar, last_login,profile_id, Sex  FROM ".$xoopsDB->prefix("profile_profile").",".$xoopsDB->prefix("users")." WHERE profile_id=uid ORDER BY name ASC");


How do i show user from groupid= 4 only ?

this is not working
$result mysql_query("SELECT uid, groupid, name, uname,  user_avatar, last_login,profile_id, Sex  FROM ".$xoopsDB->prefix("groups_users_link").",".$xoopsDB->prefix("profile_profile").",".$xoopsDB->prefix("users")." WHERE groupid=4 AND profile_id=uid ORDER BY name ASC");



57
liomj
Re: Help with listing user of group with custom profile fields
  • 2013/8/7 7:01

  • liomj

  • Just popping in

  • Posts: 67

  • Since: 2012/4/10


never mind.. i just use simple mysql select query

thank you



58
liomj
Help with listing user of group with custom profile fields
  • 2013/8/7 2:17

  • liomj

  • Just popping in

  • Posts: 67

  • Since: 2012/4/10


Hi XOOPSers

Im a php and xoops newbie..

Im currently using XOOPS 2.5.5 and the profile module

I found this code here in the forum and modify it to show the current logged in user real name and custom user field (sex) created using the profile module


global $xoopsUser;  
echo 
$xoopsUser->getVar('name') . '<br />'

$profile_handler =& xoops_getmodulehandler('profile','profile');
$uid intval($_GET['uid']); //get uid from url
if ($uid <= 0) { 
 if (
is_object($xoopsUser))  {//if member
        
$profile $profile_handler->get($xoopsUser->getVar('uid'));} //get uid for the connected member
        
else {
             
header('location: ' XOOPS_URL); //back to homepage - redirect wherever you want
             
exit();
             }
 }
else 
{
//$profile = $profile_handler->get($xoopsUser->getVar('uid'));  
$profile $profile_handler->get($uid);
}
echo 
$profile->getVar('Sex') . '<br />';


the code works but now i would like to show username, real name and sex of all the user in a given group in a table

how do i do this..Thank you



59
liomj
Review my site..
  • 2012/4/17 14:59

  • liomj

  • Just popping in

  • Posts: 67

  • Since: 2012/4/10


Hi XOOPsers

I've been testing and playing with XOOPS in localhost since it early days ..

Some years ago I've been asked to build a website based on XOOPS...

Please have a look. It is recently redesign.

Any feedback is appreciated!! XOOPS is the best

Thank You !!





TopTop
« 1 ... 3 4 5 (6)



Login

Who's Online

65 user(s) are online (38 user(s) are browsing Support Forums)


Members: 0


Guests: 65


more...

Donat-O-Meter

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

Latest GitHub Commits