11
fishspon
Re: Large problem with wf-Sections...
  • 2003/11/29 17:44

  • fishspon

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/11/23


i just pm'd him... is it at all possible for a wf-Section person to take a look at these topics?

https://xoops.org/modules/newbb/viewtopic.php?topic_id=14279&forum=4
https://xoops.org/modules/newbb/viewtopic.php?topic_id=14277&forum=4

Thanks in advance to anyone who can help

12
Catzwolf
Re: Large problem with wf-Sections...
  • 2004/1/4 11:36

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Ok you all had me fooled on this one, until today that is (I must have been awake lol).

The problem is not the ID, this does show correctly and is the correct ID but the wrong path.

A quick fix for this:

Open article.php and look for this line around 163:
Quote:

and change it to this one instead:

Quote:

The problem is that it has index.php instead of article.php

Let me know if that helps?


13
fishspon
Re: Large problem with wf-Sections...
  • 2004/1/7 23:35

  • fishspon

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/11/23


Thank you, but i'm not sure what it's fixed i'm afraid. The original problem i had was that the email contained a link that was indeed valid, but the articleid was wrong. If i submitted article number 6, for example, i'd get an email with a link to article number 1. It sends a link to article number 1 regardless of the actual number.

I might have lost the plot here, but i'm afraid i have no idea what you change has fixed...

14
JackJ
Re: Large problem with wf-Sections...
  • 2004/1/8 1:13

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


If Catswolf's fix is perhaps addressing something else, I have a version for download at my site with the "Stuck at ID 1" to webmaster email fix, and some others applied from around the forums etc

15
Catzwolf
Re: Large problem with wf-Sections...
  • 2004/1/8 2:37

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


LOL

Well, since I thought that this was a different problem to what you where actually talking about, regard the fix as another fix for another problem that I found. Make sense? Hopefully lol

I have decided that I will work on a bugfix version over the next few days and release it for everyone. Hopefully that should keep everyone going until I can release the next version of WF-Sections

16
fishspon
Re: Large problem with wf-Sections...
  • 2004/1/15 22:11

  • fishspon

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/11/23


have you had any luck with this yet?? no worries if not...

17
fishspon
Re: Large problem with wf-Sections...
  • 2004/1/25 21:20

  • fishspon

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/11/23


any luck??

(sorry for bumping thread...)

18
domineaux
Re: Large problem with wf-Sections...
  • 2004/1/25 21:25

  • domineaux

  • Quite a regular

  • Posts: 389

  • Since: 2002/9/29



19
JackJ
Re: Large problem with wf-Sections...
  • 2004/1/25 22:58

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


I have a version for download at http://www.macambridge.com that has no passing url links problems on submission. Files can be overwritten, no database changes. I would rename your exising wfsections folder anyway to keep a backup, if you choose to upload the version I have.

I have also done a little hack for the waiting contents block for wfsections

See Here

20
Catzwolf
Re: Large problem with wf-Sections...
  • 2004/1/29 23:44

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Quote:

fishspon wrote:
sorry for bumping the post again, but i'm really, truly stuck... i hope somebody can help

the emails i get always link to articleid=1, instead of the correct number. Here's an example:

SubjectREVIEW for my site

Hey
You got a new submission for your site.

TitleTechnics SL-PG490
Posted by
fishsponge
Date
2003/11/24 1:55

http
://hififorum.co.uk/modules/wfsection/admin/index.php?op=edit&articleid=1


As you can see, articleid 1 is not the Technics SL-PG490 article... any ideas on this problem?

Thanks in advance
Hobbs.


Fix for this problem:

In admin/index.php around line 138, replace that block of code with this one:

if ( !empty($isnew) && $article->notifypub() && $article->uid() != 0 ) {
$poster = new XoopsUser($article->uid());
$subject = _AM_ARTPUBLISHED;
$message = sprintf(_AM_HELLO,$poster->uname());
$message .= "\n\n"._AM_YOURARTPUB."\n\n";
$message .= _AM_TITLEC.$article->title()."\n"._AM_URLC.XOOPS_URL."/modules/".$xoopsModule->dirname()."/article.php?articleryid=".$article->articleid()."\n"._AM_PUBLISHEDC.formatTimestamp($article->published(),"$wfsConfig['timestamp']",0)."\n\n";
$message .= $xoopsConfig['sitename']."\n".XOOPS_URL."";
$xoopsMailer =& getMailer();
$xoopsMailer->useMail();
$xoopsMailer->setToEmails($poster->getVar("email"));
$xoopsMailer->setFromEmail($xoopsConfig['adminmail']);
$xoopsMailer->setFromName($xoopsConfig['sitename']);
$xoopsMailer->setSubject($subject);
$xoopsMailer->setBody($message);
$xoopsMailer->send();
}

that should fix this problem

Login

Who's Online

913 user(s) are online (65 user(s) are browsing Support Forums)


Members: 0


Guests: 913


more...

Donat-O-Meter

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

Latest GitHub Commits