1
FlySwatter
xdirectory - how to prevent "modify this lsiting"?
  • 2004/8/12 12:49

  • FlySwatter

  • Just popping in

  • Posts: 71

  • Since: 2004/6/2 1


I've looked everywhere but can't find how to prevent a user from accessing this option.

Even tho it requires admin approval to accept the modification, I'm feeling the option should only be available to the poster.

2
DobePhat
Re: xdirectory - how to prevent "modify this lsiting"?
  • 2004/8/12 15:49

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


Do you want to remove it all together?

3
FlySwatter
Re: xdirectory - how to prevent "modify this lsiting"?
  • 2004/8/12 22:49

  • FlySwatter

  • Just popping in

  • Posts: 71

  • Since: 2004/6/2 1


Only if I can't do the following:

Make it so that if anyone OTHER than the user who submitted the listing, tries to modify the listing, they receive an "You are not authorized" type of message.

If that's not possible, then yes, I guess I'd like to remove it.

4
nuance9
Re: xdirectory - how to prevent "modify this lsiting"?
  • 2004/9/7 17:18

  • nuance9

  • Just popping in

  • Posts: 19

  • Since: 2004/8/13


Did you find a solution? I would like the same functionality: only allowing the listing owner to request changes.

5
FlySwatter
Re: xdirectory - how to prevent "modify this lsiting"?
  • 2004/9/7 17:40

  • FlySwatter

  • Just popping in

  • Posts: 71

  • Since: 2004/6/2 1


I seached the files on my local HD and found it here:

\xdirectory\language\english\main.php

Line 45 - define("_MD_MODIFY","Modify this Listing");

And just removed Modify this Listing but left the quotes.

Leaves two "||" where the option should be but it doesn't look all that bad.

Login

Who's Online

208 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 208


more...

Donat-O-Meter

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

Latest GitHub Commits