2004/11/22 20:47
Mestophales
Just popping in
Posts: 32
Since: 2004/11/19
//This is from the main.php of the xoopmembers module define("_MM_EXTENSION","Extension"); //***************************************************************************************************** //This is in the index.php of the xoopmembers module //Line 85 $Extension = new XoopsFormText(_MM_EXTENSION, "Extension", 10, 5); //Line 289-291 if ( !empty($HTTP_POST_VARS['Extension']) ) { $criteria->add(new Criteria('user_extension', '%'.$myts->addSlashes(trim($HTTP_POST_VARS['Extension'])).'%', 'LIKE')); } //Line 312-315 $criteria->add(new Criteria('level', 0, '>')); $validsort = array("uname", "email", "last_login", "Extension", "posts"); $sort = (!in_array($HTTP_POST_VARS['user_sort'], $validsort)) ? "uname" : $HTTP_POST_VARS['user_sort']; $order = "ASC"; //Line 338 $xoopsTpl->assign('lang_Extension', _MM_EXTENSION); //Line 373 $userdata['Extension'] = "Ext. " .$foundusers[$j]->getVar("user_extension"); //******************************************************************************************************* //This is from the db%Axoopsmembers_searchresults.htm located in the xoopshtmtemplates_c directory //Line 15 echo $this->_tpl_vars['lang_Extension']; ?> //Line 56 echo $this->_tpl_vars['users'][$this->_sections['i']['index']]['extension']; ?> 2 Re: Adding a custom column to the XOOPS Memebers Mod 2004/11/22 22:09 brash Friend of XOOPS Posts: 2206 Since: 2003/4/10 I won't be able to help you with your code, but one thing that often trips me up is that I don't clear my template files. Login Username Password Remember me Reset Search Advanced Search Recent Posts XOOPS MyMenus 1.54.0 Beta 10 11/18 11:08 Mamba Re: XOOPS MyMenus 1.54.0 Beta 7 11/18 11:06 Mamba Re: XOOPS MyMenus 1.54.0 Beta 7 11/16 12:32 liomj Re: XOOPS MyMenus 1.54.0 Beta 7 11/15 18:06 Mamba Re: XOOPS MyMenus 1.54.0 Beta 7 11/15 5:33 liomj Re: XOOPS MyMenus 1.54.0 Beta 7 11/15 5:29 liomj Re: XOOPS MyMenus 1.54.0 Beta 7 11/15 4:39 Mamba Re: XOOPS MyMenus 1.54.0 Beta 7 11/15 3:50 liomj Re: XOOPS MyMenus 1.54.0 Beta 7 11/15 3:31 Mamba Re: XOOPS MyMenus 1.54.0 Beta 7 11/15 1:48 Mamba Who's Online 248 user(s) are online (182 user(s) are browsing Support Forums) Members: 0 Guests: 248 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 Latest GitHub Commits {{ record.sha.slice(0, 7) }} - {{ record.commit.message | truncate }} {{ record.commit.author.name }} {{ record.commit.author.date | formatDate }}
2004/11/22 22:09
brash
Friend of XOOPS
Posts: 2206
Since: 2003/4/10
Advanced Search
248 user(s) are online (182 user(s) are browsing Support Forums)
Members: 0
Guests: 248