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?

Link to the profile

Asked Modified Viewed 1,411 times
D
dJ-nTs
D
dJ-nTs 10
smile
  • Member, joined since
  • Contributed 52 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
asked
Member

that might be just a spelling mistake or something but his code don't work...

Code:

echo "<td class='capmain2'>Paraš&#279;: <a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$info['user_name']."</a> 

<br>".showdate("%y/%m/%d", $info      ['news_date'])."</td>\n";


It should link to the authors profile... I'm bad as system itself.. :D don't worry about that word after capmain2 it ok :)

so basically i need a helpfor this code, which suppose to link to authors profile (in news)
0 replies

4 posts

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Username:

<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a>


Datestamp:

".showdate("shortdate", $data['news_datestamp'])."
0 replies
D
dJ-nTs
D
dJ-nTs 10
smile
  • Member, joined since
  • Contributed 52 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Member

I changed as you showed me Fangree_Craig and news poster name gone....

Update:

And time is fine, I setted it up like that, that's format how date is shown in my country :)
Edited by dJ-nTs on 30-06-2010 19:12,
0 replies
B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
answered
Veteran Member

We need the whole code please if it is a custom code or the name of the file & the number of the line if you modified a existing core file.
Edited by Basti on 30-06-2010 19:13,
0 replies
D
dJ-nTs
D
dJ-nTs 10
smile
  • Member, joined since
  • Contributed 52 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Member

do you mean all - function render_news ? if yes here you go :)

}
function render_news($subject, $news, $info) {

   echo "<table cellpadding='0' align='center'    cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain-left'></td>\n";
   echo "<td class='capmain'>$subject</td>\n";
   echo "<td class='capmain2'>Paraš&#279;:<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$info

['user_name']."</a> <br>".showdate("%y/%m/%d", $info['news_date'])."</td>\n";
   echo "<td class='capmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='100%' cellpadding='0'    cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<div class='main-body floatfix'>".$news."</div>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer middle-border'>\n";
echo newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
   echo "</td>\n";
   echo "</tr><tr>\n";
   echo "<td class='bg'></td>\n";
   echo "</tr>\n</table>\n";

}
0 replies

Category Forum

General Discussion

Labels

None yet

Statistics

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

3 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
B
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
D
D
dJ-nTs 10
smile
  • Member, joined since
  • Contributed 52 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet