armed-smoking
 
Exclusive eBooks, Software Solutions, Quality Guaranteed
 
Web NukeBiz
Welcome to NukeBiz · Members
Amazon
show cart or checkout0 items
Cart Value: 0.00

Forums » General » General » nukebiz news block
nukebiz news block
General discussion about issues not relating to specific projects.
Post new topic    Reply to topic    Printer Friendly Page     Forum Index »  General

View previous topic :: View next topic  
Author Message
run00
Nice Poster
Nice Poster

Offline Offline
Joined: Mar 05, 2005
Posts: 11

PostPosted: Wed Apr 13, 2005 10:55 am
Post subject: nukebiz news block

I am trying to make a block similar to the news block here, is there any chance you could share the code? or point me in the right direction...i'm starting with the last 5 posts block but can't get some things to add to it...did you do it a different way? thanks! Smile


run00 please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 18, 2004
Posts: 1457
Location: Netizen
PostPosted: Wed Apr 13, 2005 12:48 pm
Post subject: Re: nukebiz news block

It's not much of a block and I haven't reviewed it for a long time.
nukebiz.com/Downloads/...id=45.html

_________________
DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
run00
Nice Poster
Nice Poster

Offline Offline
Joined: Mar 05, 2005
Posts: 11

PostPosted: Wed Apr 13, 2005 12:51 pm
Post subject: Re: nukebiz news block

thanks! Smile

works great, how can I add the username who posted the article?


run00 please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 18, 2004
Posts: 1457
Location: Netizen
PostPosted: Thu Apr 14, 2005 12:09 am
Post subject: Re: nukebiz news block

Change line 36 to sdomething like thiks
PHP:
    $content .= "<div class=\"legend2\"><a href=\"".getlink("News&amp;catid=".$row['catid'])."\"><font class=\"storycat\">".$row['cattitle']."</font></a>: <a href=\"".getlink("News&amp;file=article&amp;sid=".$row['sid'])."\">".$row['title']."</a></div><div align=\"justify\"><span><b>$datetime : </b></span>$hometxt</div><b>Posted by $row[informant]</b><br /><br />";

_________________
DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
run00
Nice Poster
Nice Poster

Offline Offline
Joined: Mar 05, 2005
Posts: 11

PostPosted: Thu Apr 14, 2005 2:40 am
Post subject: Re: nukebiz news block

cool thanks!


run00 please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index »  General
Page 1 of 1
All times are GMT + 9.5 Hours



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 cannot download files in this forum