1
jondixon
xDirectory Rating?
  • 2004/5/21 23:55

  • jondixon

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/12


Is it possible to take away the rating feature from xDirectory if I wanted to?

2
gruessle
Re: xDirectory Rating?
  • 2004/5/22 6:43

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


Just edit the template files

3
jondixon
Re: xDirectory Rating?
  • 2004/5/22 11:58

  • jondixon

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/12


Thanks, that's helpful... except I have no idea how to do that. I would like to learn though.

4
jlm69
Re: xDirectory Rating?
  • 2004/5/22 13:00

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


You need to go to templates/xdir_link.html and remove the line after

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

-----------------end here--------------



Then you should look through the other template files for the same line and delete it.
not sure off the top of my head which other files but I know there are some.

Then

To remove from the main menu, go to xoops_version.php and remove these lines

$modversion['sub'][2]['name'] = _MI_XDIR_SMNAME2;
$modversion['sub'][2]['url'] = "topten.php?hit=1";
$modversion['sub'][3]['name'] = _MI_XDIR_SMNAME3;
$modversion['sub'][3]['url'] = "topten.php?rate=1";

or just the bottom two lines

under
//Menu
has main

that should work

5
fraste
Re: xDirectory Rating?
  • 2004/6/10 2:55

  • fraste

  • Just popping in

  • Posts: 3

  • Since: 2004/2/4 2


I tried changing the files you suggested, but the rating and comment links still show up in my business listings.

Can you please offer more assistance?

Thanks.

6
gruessle
Re: xDirectory Rating?
  • 2004/6/10 3:16

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


The files are still in your cache.
There are a few ways you can fix that one is you can go to the Template Set Manager in the admin area and [Clone] all your Templates. You have to give a name to the clone to do that.
See "New template set name"
You will see what I am talking about when you are on that page. Then go to the Preferences page (Preferences Main »» General Settings) and select your new clone as "Default template set"

Your done

Login

Who's Online

305 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 305


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