Recent Topics

1 Jul 05, 2006 15:52    

Hi there,

I have just downloaded b2evolution and found it amazing with so many plugins, hacks etc. Now, my project is to upgrade my old editing and publishing news system and switch to b2evolution. Before the switch I have some questions:

1- In my current system, you can add an icon per category: http://www.fireworkszone.com. I assume you can do exactly the same with b2evolution but could tell me how. I am running the latest version 0.9.2 with Custom skin.

2- Is b2evolution using a cache system. If 'yes' do we have to empty it regularly ?

3- I would like to modify 'leave a comment' by something shorter: 'Comment'. How I do that ?

4- When I will eventually switch to b2evolution I will lose the data contained in the other system. Do you have a system to get my old data in the database ?

5- Could you tell in two words what the 'trackback' system is for.

6- How do we add smileys to the posts ?

I am sorry there are so many question.
=>

2 Jul 05, 2006 18:02

1. I tried something similar to that in [url=http://forums.b2evolution.net//viewtopic.php?t=4153]this thread[/url]. I'm sure we'll see plugins that do this soon.

2. No, but again, a plugin is already written for the new fersion.

3. You need to edit the line in /skins/custom/_main.php that says:

<?php feedback_link(); ?>


[url=http://doc.b2evolution.net/v-0-9/evocore/Item.html#methodfeedback_link]This page[/url] tells about it. You basically want it to be like this:

<?php feedback_link( 'feedbacks', '', '', 'Comment' ); ?>

. . .

3 Jul 05, 2006 18:06

4. There are methods for importing from MovableType, so if you can get your posts in that format, you can use the MT importer in the Tools tab. I can give you an exaple file if it helps. Then you'll just need to make a template that displays all your posts and comments in that format. Otherwise you can try to manuall edit your database to match the layout of b2e (advanced).

5. [url=http://en.wikipedia.org/wiki/Trackback]This link[/url].

6. Make sure the smilies checkbox is checked under "Renderers" in the lower right of the post tab. Then just put the :) or whatever in your post. I think there's a toolbar you can turn on, but I've never used it. Look in the plugins folder.

4 Jul 05, 2006 18:09

I modified 'leave a comment' as instructed and it works like a charm :lol:

For the smilies, how do you turn the smilies on in the plugins? I can read opt-out concerning the smilies how do you opt-in ? The Renderers checkbox is checked

5 Jul 06, 2006 08:53

Have a look (edit) of the _smilies.renderer.php file in the /plugins/renderers folder. You can switch the $apply_when variable from "opt-out' to "opt-in". ;)

Hope this helps.

6 Jul 06, 2006 08:57

1. I did this a year ago, if you can wait a month, you will this in a plugin. If you can't i can post the appropriate code needed to do this. But i recomend waiting the month.

The other questions are answered well.

7 Jul 06, 2006 10:34

Regarding the option to show in the post title an icon per category, I definitely adopted this easy-to-use and simple code from Funky M which I combined with the post title. Now your title will look like this:


<h3 class="bTitle"><img src="http://www.fireworkszone.com/pictures/cat/<?php the_category_ID() ?>.gif" width="16" height="16" alt="<?php the_category ?>" /><?php $Item->title(); ?></h3>

The second step is to create a cat folder and upload your images and name them to match the category IDs (1.gif, 2.gif, etc.). To see your category IDs go to 'Categories' in your admin and you mouse over your categories you can read the ID at the end of the URL. For example:

http://www.fireworkszone.com/news/admin/b2categories.php?action=Edit&cat_ID=11

You can see the result on my website: http://www.fireworkszone.com/news/

Thanks for your help

8 Jul 06, 2006 11:02

If you change this :-

<h3 class="bTitle"><img src="http://www.fireworkszone.com/pictures/cat/<?php the_category_ID() ?>.gif" width="16" height="16" alt="<?php the_category ?>" /><?php $Item->title(); ?></h3>


to this :-

<h3 class="bTitle cat<?php the_category_ID() ?>" ><?php $Item->title(); ?></h3>


Then you'll be able to control the images with your style sheet instead of hardwiring them into your skin

¥

9 Jul 11, 2006 09:25

Thanks Yabba it's a awful nice solution :p :p :p


Form is loading...