121
deka87
how do I avoid similar terms to appear in the term list - lexikon module
  • 2011/11/18 7:47

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


hi guys,

i use this module called lexikon and it has a page like this to make a ist of terms submitted with some initial letter. however some of the terms are similar ( look there are double "duh" in the list). the code it like this:

while (list( $entryID$categoryID$term$init$definition$ref$url$uid$submit$datesub$counter$html$smiley$xcodes$breaks$block$offline$notifypub$request$comments ) = $xoopsDB->fetchRow($resultB))
        {
        
        
$eachentry = array();
        
$xoopsModule XoopsModule::getByDirname("lexikon");
        
$eachentry['dir'] = $xoopsModule->dirname();


        
$eachentry['id'] = intval($entryID);
        
$eachentry['term'] = ucfirst($myts -> makeTboxData4Show$term ));
        
$eachentry['init'] = $init;
...
}


how do I show only unique
$eachentry['term']
in a list?
Mind anchors



122
deka87
Re: Preloaders and things like Google Analytics
  • 2011/11/16 8:39

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


thanks wishcraft. that is better then editing theme.html
Mind anchors



123
deka87
Re: Ultimate Online Tools Collection for Web Development
  • 2011/11/8 18:34

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


sorry but half of the links link to limeexchange.com which has been purchased by freelancer.com thus none of the links work.
Mind anchors



124
deka87
Re: xTRANSAM
  • 2011/11/8 7:19

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


i've read that Google translate API is not free anymore and you need to pay get access to it. Prooflink:http://code.google.com/apis/language/translate/overview.html
Mind anchors



125
deka87
Re: Integrating a module into a theme
  • 2011/10/31 20:08

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


there are dozens of free php scripts that will run a contact form for you. why not to put them in a php block or even display via an iframe in your block or theme?
Mind anchors



126
deka87
Re: Adsense revenue sharing module
  • 2011/10/30 7:01

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


now you need to ask xoops gurus how to fetch this adsense_id field value in your article module thats nothing complicated but im not a programmer and i can't help you with that
Mind anchors



127
deka87
Re: Public Search engine for users ?
  • 2011/10/28 14:59

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


profile/search.php

but you would want to replace it with this one cos it is bugs free
Mind anchors



128
deka87
Re: How many times have you guys upgraded your Xoops sites?
  • 2011/10/22 19:11

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


xoops 2.2 > 2.4.4 > 2.5.3 Final
Mind anchors



129
deka87
Re: Adsense revenue sharing module
  • 2011/10/22 14:50

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


no you don't need to create any tables in your database. all you need to do is to create a custom field in your profile module (text area).
Mind anchors



130
deka87
Re: Profile module search ain't working
  • 2011/10/18 19:39

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


works just fine thanks! links look like www.mysite.com/modules/profile/search.php?coutry[]=Spain&op=results that is awesome. one more question. i want to replace the email column in the search results with another custom field column ($about_me). I try to replace

$userarray["output"][] = ( $users[$k]->getVar('user_viewemail') == || (is_object($GLOBALS['xoopsUser']) && $GLOBALS['xoopsUser']->isAdmin()) ) ? $users[$k]->getVar('email') : "";


with

$userarray["output"][] = $users[$k]->getVar('about_me');


but it doesn't work for custom fields like my $about_me. how do I correct it? thanks in advance!
Mind anchors




TopTop
« 1 ... 10 11 12 (13) 14 15 16 ... 96 »



Login

Who's Online

239 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 239


more...

Donat-O-Meter

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

Latest GitHub Commits