Recent Topics

1 Nov 04, 2007 02:37    

My b2evolution Version: 1.10.x

I am moving my pMachine blog to the brand new 2.0.2 b2evo blog engine. I am strongly impressed by the features and scalability of the engine.
Now I want to show an random quote on the index page that changes everytime you hit the reload button of the browser, like on the original page of my blog at http://futurs.org.

2 Nov 04, 2007 03:26

Hi Pierre,

Have a look at the code of your blog that generates the main page. There you find some (probably) php code that you can easily re-use in B2evo. Depending on the skin you want to use you place the snippet in ,,/blogs/skins/*yourskin*/index.main.php or _sidebar.inc.php.
If you want more information. I'd be glad to help but I have no knowledge about pMachine. Furthermore there are other scripts available. But re-using your script has the advantage that you dont need to type the quotes again.

Good luck

3 May 20, 2008 10:47

I would like to use such a plugin as well.

Could someone provide some guidenlines about developing such a plugin? I am not a PHP programmer, but I could give it a try.

4 May 20, 2008 11:44

how bout just creating another blog for quotes and placing a 'post list' widget.. it has the ability show at random.. this is a perfect solution i guess.. type in the author of the quote as title, and the quote in content then it will show in the sidebar like

someone [post title]
"this is a quote" [content]

Moreover, there is a nice plugin [url=http://forums.b2evolution.net//viewtopic.php?t=14913] _quote_cats.plugin by Afwas[/url]
more info about the technique in his page: [url=http://www.blog.hemminga.net/index.php/tutorials/?title=manipulating-the-title-with-a-plugin&more=1&c=1&tb=1&pb=1]Manipulating the title with a plugin[/url]

This is a custom plugin which Afwas made just for me (thanks once more), it can be easily used for quote engines, if you d like to use it
it takes the "main cat" then inserts "said:" (or whatever text u like) about these things "tags"
then it turns out to be: lets say "Albert Einstein said sth about : physics science" etc..

hope this will do good for you.. cheers

6 May 26, 2008 12:26

Hmmm...

tilqicom, this sounds good, but I am looking for a solution for 1.10.x.

The drawback is that I will have to create a user in b2evo for each quote, and I think that is redundant.


Form is loading...