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 Re: sbadmin5 - Bootstrap 5 Theme 9/27 8:00 goffy Re: sbadmin5 - Bootstrap 5 Theme 9/26 0:57 Mamba sbadmin5 - Bootstrap 5 Theme 9/25 18:15 goffy Re: XoopsFaq for 2.5.10 9/18 18:21 Mamba XoopsFaq for 2.5.10 9/16 16:22 Skype-Fr Re: activate block by default 9/3 16:09 goffy Re: wgFilemanager released for testing and contribution 8/30 7:29 goffy Re: wgFilemanager released for testing and contribution 8/27 0:03 liomj Re: activate block by default 8/26 23:56 liomj activate block by default 8/24 9:52 goffy Who's Online 505 user(s) are online (63 user(s) are browsing Support Forums) Members: 0 Guests: 505 more... Donat-O-Meter Stats Goal: $100.00 Due Date: Sep 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
505 user(s) are online (63 user(s) are browsing Support Forums)
Members: 0
Guests: 505