Recent Topics

1 Oct 24, 2006 17:08    

I want to hack the link blog.

What i wanna really do is my the linkblog display links like this :

Name of the category
- [url=http://blogs.xagone.com/X?title=super_gozilla_brothers&more=1&c=1&tb=1&pb=1]Link1[/url]
- [url=http://blogs.xagone.com/X?title=ne_jamais_se_fier_a_une_blonde&more=1&c=1&tb=1&pb=1]Link2[/url]
- [url=http://blogs.xagone.com/liens?title=webcomics&more=1&c=1&tb=1&pb=1]Link3[/url]
- [url=http://www.yoh.ca/]Link4[/url]

Name of the category2
- [url=http://blogs.xagone.com/X?title=a_human_touch_la_touche_humaine&more=1&c=1&tb=1&pb=1]Link1[/url]
- [url=http://blogs.xagone.com/X?title=william_shatner_is_roasted&more=1&c=1&tb=1&pb=1]Link2[/url]

With link opening in another windows. Without comments or summary... just plain old LINK page.

i understand the last thing would be to do a special theme for it. but how do i get to display them ALL and display by categories ?

2 Oct 24, 2006 18:34

Ok, here to check if i'm right on what i'm trying

i'll trie to do a new function called like "TrueLinkPage"

it will do something like this :

function TrueLinkPage(# of blog to list) {
-check connection to DB
-do a search for "select * from evo_categories where cat_blog_ID = # of blog"
- take rows into var "$Catz"
- for each (mysql_fetch_array($Catz)) {
- search for "select * from post_cats, Post WHERE $Catz['cat_id'] = post_cat_id AND post_cats.post_blog_id = post.post_blog_id"
}
}

i think this is what i need to do... but i'll have to check how b2evo handle DB connection / query / responses...

3 Oct 24, 2006 23:58

Isn't the order you describe 'stock' for a linkblog? The easiest way to get rid of the 'commentary' part is to not have content in your linkblog posts. I don't know how to cause linkblog links to open in a new window, but 2 out of 3 is a good head start eh?


Form is loading...