Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Zetaboards Modifications
  • [SC] Recent News on Index
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
  • Pages:
  • 1
  • …
  • 4
  • 5
[SC] Recent News on Index
Tweet Topic Started: Jan 4 2009, 04:21 PM (2,618 Views)
PIWYRCOM Jan 20 2009, 09:51 PM Post #41
Member Avatar
PrideInWhatYouRide

Posts:
368
Group:
Member
Member
#53
Joined:
Jul 17, 2008
Coding language
None
Mr. :holy:
just checking on this by bumping
» TEST FORUM »
FIND IT HERE !
Spoiler: click to toggle

→ Infinite Results (themes)
→ ZBThemeZone (themes)

→ Big Boards (codes/themes)
→ ZBCodes (codes/themes)
→ The Coding Zone (codes/themes)

→ Code Index ('Official')
→ ZetaDoc's ('Official - How To Info')

Posted Image

Offline Profile Goto Top
 
HolySavior Jan 20 2009, 09:53 PM Post #42
Member Avatar
Modifying The World Around You

Posts:
2,488
Group:
Distinguished Coder
Member
#7
Joined:
Jul 2, 2008
Coding language
Everything
nothing yet
Offline Profile Goto Top
 
iBlake Mar 1 2009, 05:50 PM Post #43


Posts:
8
Group:
Member
Member
#559
Joined:
Aug 12, 2008
Coding language
ASP.Net
HolySavior
Jan 4 2009, 04:21 PM
alrighty just like how ZB has 4-5 recent topics listed in their Annoucement forum on the index. so can you with this little code!

Put this at the bottom of your board.
just edit the certain parts

Red: your forum # you want it to look in
Green: # of topics you want displayed

Quote:
 
<script type="text/javascript">
/* Recent News Topics on Index Page
Created by HolySavior of ZBCode and Javascriptin.com */
iurl = main_url+"forum/109018/",

$(".c_forum a:contains('News')").parent().parent().append("<div>Recent News: <span id='recentnews'></span></div>")
$.get(iurl,function(response) {
$(".c_cat-mark ",response).next().children("a").slice(0, 5).each(function(){
var ilinks = $(this).html();
var linkhref = $(this).attr("href");
$("#recentnews").append("[ <a href='"+linkhref +"'>" + ilinks +"</a> ] ");
});

});
</script>
Your green is no longer in the quote. The code won't work for me.
Posted Image
Offline Profile Goto Top
 
HolySavior Mar 1 2009, 05:52 PM Post #44
Member Avatar
Modifying The World Around You

Posts:
2,488
Group:
Distinguished Coder
Member
#7
Joined:
Jul 2, 2008
Coding language
Everything
ok link to your board with the code on it?
Offline Profile Goto Top
 
iBlake Mar 1 2009, 06:30 PM Post #45


Posts:
8
Group:
Member
Member
#559
Joined:
Aug 12, 2008
Coding language
ASP.Net
Holy PM me. Its not open so I don't want to release it.
Posted Image
Offline Profile Goto Top
 
HolySavior Mar 2 2009, 04:44 PM Post #46
Member Avatar
Modifying The World Around You

Posts:
2,488
Group:
Distinguished Coder
Member
#7
Joined:
Jul 2, 2008
Coding language
Everything
or you can PM me with any information i might need to access it.
Offline Profile Goto Top
 
Ayush S92 Jun 16 2010, 05:47 AM Post #47


Posts:
11
Group:
Member
Member
#3,869
Joined:
Jun 16, 2010
I always wanted that code from zb, thanks alot for posting it here.

I put it up on my board already. :P
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Zetaboards Modifications · Next Topic »
Locked Topic
  • Pages:
  • 1
  • …
  • 4
  • 5

Track Topic · E-mail Topic Time: 7:50 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy