1
jlm69
How to remove ratings in xdirectory
  • 2003/10/4 19:55

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I would like to remove the ratings in the xdirectory module.
I have removed the link to "Rate This Business" but when you look at the listing it still says "Rating: 0.00 (0 votes)"
How can I remove that line? Any help would be greatly appreciated. Thanks.

2
builderb
Re: How to remove ratings in xdirectory
  • 2003/10/15 15:37

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


in the file templates/xdir_link.html on line# 20 delete this line: which spans line 20-21

<{$lang_rating}><{$link.rating}> (<{$link.votes}>)




This will delete the display of the ratings.

Did you want to remove the link to "popular" and "Top Rated" in the main menu also?

3
gruessle
Re: How to remove ratings in xdirectory
  • 2003/10/16 20:40

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


I would like to add a link to "popular" and "Top Rated" in the main menu.
How would I do that?

4
builderb
Re: How to remove ratings in xdirectory
  • 2003/10/16 20:51

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


I'm assuming you want to add these links as main links? since they are already there as sublinks.

Or are you thinking of something else?

5
gruessle
Re: How to remove ratings in xdirectory
  • 2003/10/17 3:17

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


No sorry - lets try again
I like to add a link of my own below those links.
I added item 4 to the version file and I can see my link but the desciption where can I change that desription of my link?


Quote:


// Menu

$modversion['hasMain'] = 1;

$modversion['sub'][1]['name'] = _MI_MYADRESSES_SMNAME1;

$modversion['sub'][1]['url'] = "submit.php";

$modversion['sub'][2]['name'] = _MI_MYADRESSES_SMNAME2;

$modversion['sub'][2]['url'] = "topten.php?hit=1";

$modversion['sub'][3]['name'] = _MI_MYADRESSES_SMNAME3;

$modversion['sub'][3]['url'] = "topten.php?rate=1";

$modversion['sub'][4]['name'] = _MI_MYADRESSES_SMNAME4;

$modversion['sub'][4]['url'] = "topdealer.php?rate=1";


6
gruessle
Re: How to remove ratings in xdirectory
  • 2003/10/17 3:20

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


I got it it is in modinfo.php

Login

Who's Online

256 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 256


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
Make donations with PayPal!

Latest GitHub Commits