Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Related posts
Goto page Previous  1, 2, 3, 4  Next
 
Reply to topic    Forum Index » Additional Downloads View previous topic
View next topic
Related posts
Author Message
PJR



Joined: 17 Oct 2005
Posts: 161
Location: Czech republic

Post Reply with quote
Thank you! You saved hours for me! Smile
Mon Feb 26, 2007 10:17 pm View user's profile Send private message
Guest








Please login to hide the ads.

flyboy17



Joined: 21 Feb 2007
Posts: 47

Post Reply with quote
Great plugin!

Thanks! Wink
Sat Apr 07, 2007 5:46 pm View user's profile Send private message
RAMMSTEIN12



Joined: 06 May 2007
Posts: 29
Location: Greece

Post It would be nice. Reply with quote
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 View user's profile Send private message Visit poster's website
marten



Joined: 10 Sep 2007
Posts: 23

Post Reply with quote
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 View user's profile Send private message
JK



Joined: 08 Jun 2007
Posts: 22

Post Reply with quote
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 View user's profile Send private message
marten



Joined: 10 Sep 2007
Posts: 23

Post Reply with quote
I did as FI-DD said
Code:

[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 View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2736
Location: Germany

Post Reply with quote
marten wrote:
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 View user's profile Send private message
alfred_rade



Joined: 01 Dec 2007
Posts: 24
Location: Buenos Aires

Post Reply with quote
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 View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2736
Location: Germany

Post Reply with quote
In plugins/related_posts.php change this:
Code:
cute_get_link($news)


to this:
Code:
cute_get_link($news, 'post', '../index2')


(Not tested.)
Fri Dec 14, 2007 3:53 pm View user's profile Send private message
alfred_rade



Joined: 01 Dec 2007
Posts: 24
Location: Buenos Aires

Post Reply with quote
TESTED! And it works fine!!!!


GRACIAS GRACIAS GRACIAS!!!


EXAMPLE:
http://www.diariolaposta.com.ar/index2.php/12-12-2007/empiezan-a-llegar-correos-de-lectores.html

(NOTICIAS RELACIONADAS)
Fri Dec 14, 2007 4:11 pm View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Goberg



Joined: 18 Jan 2007
Posts: 43

Post Reply with quote
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 View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2736
Location: Germany

Post Reply with quote
Change this:
Code:
$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:
Quote:
$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 View user's profile Send private message
webbber



Joined: 15 May 2008
Posts: 61

Post Reply with quote
I just cant get it working. I can active this plugin but dunno which code im gonna use.
I tried:

Code:
[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 View user's profile Send private message
snatch518



Joined: 07 Jun 2008
Posts: 8

Post Script Reply with quote
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 View user's profile Send private message
webbber



Joined: 15 May 2008
Posts: 61

Post Reply with quote
any idea, FI-DD?
Mon Jun 23, 2008 6:12 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Additional Downloads All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.