| Author |
Message |
PJR
Joined: 17 Oct 2005 Posts: 161 Location: Czech republic |
|
|
|
Thank you! You saved hours for me! 
|
|
| Mon Feb 26, 2007 10:17 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
flyboy17
Joined: 21 Feb 2007 Posts: 47
|
|
|
| Sat Apr 07, 2007 5:46 pm |
|
 |
RAMMSTEIN12

Joined: 06 May 2007 Posts: 29 Location: Greece |
|
It would be nice. |
|
It would be nice.
e.x. if you have a news titel about Nero bourning rom 7.
The script will take the first word (nero) and will show you related articels about nero.
I am not good with php code dose someone here know php.
Note for php coder:
Fore more help you will find at datalife enginere script how they show the related, the top news and random news.
_________________ MAKE CUTENEWS BETTER
my cutenews site: www.Down66.com |
|
| Mon May 07, 2007 12:37 pm |
|
 |
marten
Joined: 10 Sep 2007 Posts: 23
|
|
|
|
please I need some help do I have to activate Xfields if so may I ask you to tell me what I have to do after activation.
Thanks in advance
|
|
| Thu Sep 20, 2007 3:57 pm |
|
 |
JK
Joined: 08 Jun 2007 Posts: 22
|
|
|
|
yes, as RAMMSTEIN12 asked, how could you reused the related posts hack as a 'related tags' hack? Could these tags be generated automatically when you create the article?
thanks!
|
|
| Fri Sep 21, 2007 10:49 am |
|
 |
marten
Joined: 10 Sep 2007 Posts: 23
|
|
|
|
I did as FI-DD said
 |  |
[related]
Related posts:<br />
{related:|related_date|: <a target="_blank" href="|related_url|">|related_title|</a><br />}
[/related]
|
then I added the url of the related posts when I added the news but I found this result when I browse the news full story
Related posts:
01.01.1970:
Wrong date and no title
Please advise
|
|
| Fri Sep 21, 2007 1:13 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
 |  | then I added the url of the related posts when I added the news |
You must add the id of the related post not the url.
|
|
| Fri Sep 28, 2007 3:05 pm |
|
 |
alfred_rade
Joined: 01 Dec 2007 Posts: 24 Location: Buenos Aires |
|
|
|
One more, How can I redirect the |related_title| to my secondary link (index2.php) instead the original link (index.php)? Where I have to put "{link=../index2/post}" or something else?
EXAMPLE LINK: http://www.diariolaposta.com.ar/index2.php/10-12-2007/lleg-el-gran-d-a.html
Below the article, NOTICIAS RELACIONADAS... the link is .../index.php/... but it must be .../index2.php/...
Please help me. Thanks!!!
|
|
| Tue Dec 11, 2007 5:32 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
In plugins/related_posts.php change this:
 |  | cute_get_link($news) |
to this:
 |  | cute_get_link($news, 'post', '../index2') |
(Not tested.)
|
|
| Fri Dec 14, 2007 3:53 pm |
|
 |
alfred_rade
Joined: 01 Dec 2007 Posts: 24 Location: Buenos Aires |
|
|
| Fri Dec 14, 2007 4:11 pm |
|
 |
Goberg
Joined: 18 Jan 2007 Posts: 43
|
|
|
|
Is it possible to also have avatar, author, category and short story in the related news?
I want the related news to look like the news on this page: http://www.psavisen.com/index.php
|
|
| Thu Jun 12, 2008 4:08 am |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
Change this:
 |  | $link .= str_replace(array('|related_url|', '|related_title|', '|related_date|'), array(cute_get_link($news), $news['title'], date("d.m.Y", $news['date'])), $match[1]); |
to this:
 |  | $link .= str_replace(array('|related_url|', '|related_title|', '|related_date|', '|related_avatar|'), array(cute_get_link($news), $news['title'], date("d.m.Y", $news['date']), $news['avatar']), $match[1]); |
Add the other things in the same way.
|
|
| Tue Jun 17, 2008 5:50 pm |
|
 |
webbber
Joined: 15 May 2008 Posts: 61
|
|
|
|
I just cant get it working. I can active this plugin but dunno which code im gonna use.
I tried:
 |  | [related]
Related posts:<br />
{related:|related_date|: <a target="_blank" href="|related_url|">|related_title|</a><br />}
[/related] |
but nothing shows.
something wrong?
|
|
| Sat Jun 21, 2008 9:37 pm |
|
 |
snatch518
Joined: 07 Jun 2008 Posts: 8
|
|
Script |
|
Webber, I have the same problem. This script is complicated as hell and has so many errors. Nothing works like it's suppose to.
|
|
| Mon Jun 23, 2008 5:43 pm |
|
 |
webbber
Joined: 15 May 2008 Posts: 61
|
|
|
|
any idea, FI-DD?
|
|
| Mon Jun 23, 2008 6:12 pm |
|
 |
|