1
oko0k
links modification permission
  • 2005/1/27 7:45

  • oko0k

  • Just popping in

  • Posts: 7

  • Since: 2005/1/27


Hi
I know it might be a simple question but I have looked for the answer every where but couldn't find it.
I wish to let regular visitors to my site to be able to modify links
The question is
how can I do that?


2
irmtfan
Re: links modification permission
  • 2005/1/27 8:05

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


what links you mean?

3
oko0k
Re: links modification permission
  • 2005/1/27 8:15

  • oko0k

  • Just popping in

  • Posts: 7

  • Since: 2005/1/27


I meant Weblinks module
I also have the latest XOOPS version installed.

4
irmtfan
Re: links modification permission
  • 2005/1/27 8:42

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


users can edit all links by click on "modify" below every link.
so in your site ROOT/mdoules/mylinks/modlink.php?lid=xx doesnt work for users?

5
oko0k
Re: links modification permission
  • 2005/1/27 8:46

  • oko0k

  • Just popping in

  • Posts: 7

  • Since: 2005/1/27


yes and the users I am referencing are the anonymous users

6
irmtfan
Re: links modification permission
  • 2005/1/27 8:59

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


yes in this version of mylinks module anon users have not permission to "edit" links its just for registered users.

7
oko0k
Re: links modification permission
  • 2005/1/27 9:45

  • oko0k

  • Just popping in

  • Posts: 7

  • Since: 2005/1/27


Thank you irmtfan for you help
is there a work around or a hack to resolve this


8
irmtfan
Re: links modification permission
  • 2005/1/27 10:12

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


you can remove/notice lines that check if registerd user exist or not
in mylinks/modlink.php around line 73:
change this:
if (empty($xoopsUser)) {
    
redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST);
     exit();
     }

with this:
// if (empty($xoopsUser)) {
    //    redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST);
    //    exit();
    // }

it should work

9
oko0k
Re: links modification permission
  • 2005/1/27 10:37

  • oko0k

  • Just popping in

  • Posts: 7

  • Since: 2005/1/27


Greet it works
Thank you a million and one

Login

Who's Online

242 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 242


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