1
markesh
MyLinks 3.11 missing file entry.php
  • 2011/11/13 19:28

  • markesh

  • Just popping in

  • Posts: 79

  • Since: 2007/7/14


Hi,

as mentioned in the subject, the file

mylinks/entry.php

is missing in http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsModules/mylinks/branches/Mamba/mylinks/

This file is used when the block Random Link (/blocks/mylinks_rand.php) is active and the user clicks on the randomly shown link on top of this block (not an the "see more"-link at the bottom of this block).

The missing file entry.php is invoked at line 51 of mylinks_rand.php:

$block['content'] .= "<div style="padding4px 0 0 0color#456;"><h5 style="margin: 0;"><a href="".XOOPS_URL."/modules/{$mylinksDir}/entry.php?lid={$lid}">{$link}</a></h5><div>{$description}</div>";



kind regards
markesh aka karim
First German XOOPS book: XOOPS-Buch.de

2
Roby73
Re: MyLinks 3.11 missing file entry.php
  • 2011/11/14 2:00

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


I think can you change entry.php?lid={$lid} with visit.php?cid={$cid}&lid={$lid} or singlelink.php?cid={$cid}&lid={$lid}



3
markesh
Re: MyLinks 3.11 missing file entry.php
  • 2011/11/14 4:32

  • markesh

  • Just popping in

  • Posts: 79

  • Since: 2007/7/14


Thanks for your advice

In fact, I've already changed the "entry.php" by "singlefile.php" as a workaround. Nevertheless, if there won't be an entry.php, the mylinks_rand.php should be adapted accordingly by the developer team (ZySpec, Mamba).

kind regards
markesh/karim
First German XOOPS book: XOOPS-Buch.de

4
zyspec
Re: MyLinks 3.11 missing file entry.php
  • 2011/11/14 15:39

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Thanks for the report markesh... I'll make sure this gets fixed in the SVN (source code repository). The correct fix is to replace 'entry.php' in the line above with 'singlelink.php'.

I'm making some additional minor modifications right now and then I'll test the changes before I commit them to SVN. This fix will be included.

5
zyspec
Re: MyLinks 3.11 missing file entry.php
  • 2011/11/14 16:32

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


ok, I have updated the SVN (revision 8286) with the following changes. These changes should fix the problem you reported and a few other minor bugs.

Changes:
- fixed sorting bug
- added 'Most Recent' block
- added full support (menu, page display) for 'Recent' links
- fixed camelcase xoopsTextSantizer ($myts) htmlSpecialChars method call
- correct calculation of total # of links
- fixed html link from 'entry' to 'singlelink' in random block
- added 'SMNAME4' define to modinfo.php language files so PHP won't throw notice

6
markesh
Re: MyLinks 3.11 missing file entry.php
  • 2011/11/14 21:19

  • markesh

  • Just popping in

  • Posts: 79

  • Since: 2007/7/14


Hi,

thanks for the changes

There seems to be a bug, maybe in the /class/category.php

The module always shows the sourceforge-contents.

The xoops_version.php seems to have the unpropriate content.

I tried to change one file after another. The problem occurred only when I had the new category.php in my system.

hth & kind regards
markesh
First German XOOPS book: XOOPS-Buch.de

7
zyspec
Re: MyLinks 3.11 missing file entry.php
  • 2011/11/14 22:04

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I'm sorry, I don't understand
Quote:
The module always shows the sourceforge-contents.
.

{EDIT}
I downloaded again from sourceforge and re-installed and I don't see any obvious errors. Can you tell me what you did to produce the error so I can try to find any issues?

8
Roby73
Re: MyLinks 3.11 missing file entry.php
  • 2011/11/14 22:30

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


I have other problem in random link.
In some theme the layout is wrong.

I add a close tag </div> at line 53 in mylinks_rand.php

9
zyspec
Re: MyLinks 3.11 missing file entry.php
  • 2011/11/14 22:50

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Thanks Roby73. I've fixed it in my local copy and will submit the change once we figure out the issue(s) that markesh is having. The best way to fix this is to replace line 51.

Change from:
$block['content'] .= "<div style="padding4px 0 0 0color#456;"><h5 style="margin: 0;"><a href="".XOOPS_URL."/modules/{$mylinksDir}/singlelink.php?lid={$lid}">{$link}</a></h5><div>{$description}</div>";

to:
$block['content'] .= "<div style="padding4px 0 0 0color#456;"><h5 style="margin: 0;"><a href="".XOOPS_URL."/modules/{$mylinksDir}/singlelink.php?lid={$lid}">{$link}</a></h5></div><div>{$description}</div>";


10
Roby73
Re: MyLinks 3.11 missing file entry.php
  • 2011/11/14 23:09

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Thank you!!!

Sorry, i have noted an incorrect print string:
es:
Sites currently sorted by: date DESC
correct should be:
Sites currently sorted by: Date (New Links Listed First)

In my site i modified layout social network ecc.
http://www.ciask.it/sito/modules/mylinks/

Login

Who's Online

161 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 161


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