Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Simple News Scroller Side Panel

Asked Modified Viewed 5,914 times
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
  • Started this discussions
asked
Veteran Member

[mp]20[/mp]
0 replies

3 posts

J
jikaka
J
jikaka 10
www.rusfusion.ru - russian nss
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 82 threads in the forums
answered
Veteran Member

nice panel
0 replies
P
PHPar
P
PHPar 10
  • Member, joined since
  • Contributed 118 posts on the community forums.
  • Started 7 threads in the forums
answered
Member

good

but you must added to locale

in
By

$locale['ns02'] = "in";
$locale['ns03'] = "By";

and change it in simple_news_scroller_side_panel.php in line 42

like this :


[syntaxhighlighter brush=plain,first-line=1,highlight=0,collapse=false,html-script=false] echo "<a href='".BASEDIR."news.php?readmore=".$data['news_id']."'><b>".trimlink(strip_tags(stripslashes($data['news_subject'])), 100)."</b><br />".strftime('%d.%m.%Y', $data['news_datestamp']+($settings['timeoffset']*3600))."</a><br /><i>".$locale['ns02']." <a href='".BASEDIR."news_cats.php?cat_id=".$data['news_cat']."'>".$data['news_cat_name']."</a>, ".$locale['ns03']." <a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></i><br /><br />";
[/syntaxhighlighter]

and i think you must moved </a> before
[syntaxhighlighter brush=plain,first-line=1,highlight=0,collapse=false,html-script=false]".strftime('%d.%m.%Y', $data['news_datestamp']+($settings['timeoffset']*3600))."[/syntaxhighlighter]

not after it
Edited by PHPar on 06-11-2010 07:11,
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
  • Started this discussions
answered
Veteran Member

Oh ! :o

Ya I Agree with you for the point of adding Locale to in and by words. B)

But, the thing you said to move </a> before that datestamp will not affect that much according to me. Its just also linking the Topic Title with Date also, nothing else !!! :(

Anyways, Thanks for your suggestions !!! :)
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 3 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet