1
Shine
Bug in MyDownloads and MyLinks (tell a friend not working properly)
  • 2004/11/22 13:05

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


This subject has been already posted on xoops.org but within the beginners corner...
https://xoops.org/modules/newbb/viewtopic.php?topic_id=27135&forum=27&post_id=118150#forumpost118150

Because I think this bug isn't getting the proper attention it should be I'll repost it within this forumdepartment.

On all XOOPS websites icluding xoops.org the 'tell a friend' of the modules: mydownloads and mylinks doesn't work properly.
The receiver of the mail, who clicks on the received link is transfered to singlelink.php. But all he/she will see is a blank table. Al the data doesn't show up!

I've send myself from several XOOPS websites (including xoops.org) a tell a friend mail. And this bug occurs on every XOOPS website who uses the (basic modules) mylinks and/or the mydownloads module(s).

At the moment this important feature is needles, unless somebody knows how to solve it.

Grtz., Shine

2
ackbarr
Re: Bug in MyDownloads and MyLinks (tell a friend not working properly)

hmm - that's odd. I cannot duplicate this issue here on xoops.org. When I click the "Tell-A-Friend" link a new email opens up in my email application (Microsoft Outlook) I then sent the message to myself. Once I received the message I clicked the link and was taken directly to the link.

Can you elaborate on the conditions:

What is your email client? (version?)
What is your web browser version?

Can you forward me the email that contains a broken link?

3
Shine
Re: Bug in MyDownloads and MyLinks (tell a friend not working properly)
  • 2004/11/22 14:50

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Quote:

1). What is your email client? (version?)
2). What is your web browser version?

3). Can you forward me the email that contains a broken link?


With gladness......

1). Outlook Express version: 6
2). Internet Explorer version: 6

3). In this case I'd send myself a link right from xoops.org
the mail itself is alright but when I click on the received link, as said, the shown tabel is empty.
(To prevend spam I've censored my emailadres)

----- Original Message -----
From: "LvdH (Triangle)"
To:
Sent: Monday, November 22, 2004 3:53 PM
Subject: Interesting Website Link at Official XOOPS Website



Here is an interesting website link I have found at Official XOOPS Website:
https://xoops.org/modules/mylinks/singlelink.php?cid=20&lid=663

================================


I've already found out that when I delete - within/during the browser- the part:
cid=20&
from the received linkaddress the link works fine (no empty tabel). But standard it sends the above url. I havent found out where it takes that part from, so I can solve it.

[edit] The email given link shows here different as within my recieved email. The '& amp ;' code (&) stays within my recieved email. It doesn't get transformed into &.
Think this is the problem causer. If I cut this out from the received email and change it into & the link it works.
How come? Think I don't have a that old browser or mailprogramm.

Grtz., Shine

4
jlm69
Re: Bug in MyDownloads and MyLinks (tell a friend not working properly)
  • 2004/11/22 16:25

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


This was a problem with xdirectory also, but has been known for quite a while, I noticed in 2.0.7.3 the mylinks looks like it was fixed but not the mydownloads.


the mydownloads module look on line 76 of 'singlefile.php' look for this code :

'.XOOPS_URL.'/modules/mydownloads/singlefile.php?cid='.$cid.'&lid='.$lid)));

change it to

'.XOOPS_URL.'/modules/mydownloads/singlefile.php?lid='.$lid)));


If you are using a previous version of mylinks make the same change in that module

Hope that helps.
John

5
Wheeler
wfdownloads 2.04+ (Recommend Fix)
  • 2005/1/24 17:16

  • Wheeler

  • Not too shy to talk

  • Posts: 145

  • Since: 2004/10/29


This fix for wfdownloads (2.04 +) is a little difficult to find.

Open:
modules/wfdownloads/include/downloadinfo.php
Look For:
XOOPS_URL . '/modules/wfdownloads/singlefile.php?cid=' . $down_arr['cid'] . '&lid=' . $down_arr['lid']);
Replace To:
XOOPS_URL . '/modules/wfdownloads/singlefile.php?lid=' . $down_arr['lid']);

This should work!

6
devon
Re: Bug in MyDownloads and MyLinks (tell a friend not working properly)
  • 2005/1/24 18:26

  • devon

  • Just popping in

  • Posts: 1

  • Since: 2005/1/24


I'm having the same problem

I ran a test at the xoops.org weblinks mod, and discovered that the link "https://xoops.org/modules/mylinks/visit.php?cid=11&lid=746" was changed in the email message to "https://xoops.org/modules/mylinks/singlelink.php?cid=11& amp ;lid=746"

The link id "cid=11&lid=746" is changed to "cid=11& amp ;lid=746" with the & (ampersand) being converted to & amp ;.

I don't know if this conversion is XOOPS related, or my email program is changing the link.

I am also using Outlook Express version: 6 and Internet Explorer version: 6.

Thanks for your help,
Devon

Login

Who's Online

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


Members: 0


Guests: 401


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