Announcement

  •  » Extensions
  •  » Evil_Blog - small blog at your main page.

#1 2012-05-19 16:50:30

EvilKant
Member
Russia
1970-01-01
98

Evil_Blog - small blog at your main page.

Evil_Blog - small blog at your main page.

At last I finished the first working version of the plugin.

You can create or delete posts with html-tags. You can't edit posts yet :( . Working with all standart templates.
Latest version: 0.3.1 beta
Released: 2012.05.19
Tested on piwigo 2.3.4

download:
Just need unpack and "activate" in admin panel. Plugin create new table in DB and work with it.

plugin's page: http://piwigo.org/ext/extension_view.php?eid=611

Problems that I do not know how to solve:
1. How include new words for translate. Not for all piwigo, only for plugin.
2. How include "FCK Editor" plugin with form in admin panel.

Last edited by EvilKant (2012-06-24 19:45:57)

Offline

 

#2 2012-05-19 18:15:03

EvilKant
Member
Russia
1970-01-01
98

Re: Evil_Blog - small blog at your main page.

Small mistake with directories in archiv was fixed.

Offline

 

#3 2012-05-28 20:47:57

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Evil_Blog - small blog at your main page.

EvilKant wrote:

1. How include new words for translate. Not for all piwigo, only for plugin.

create folder

language
  en_UK
      file -> description.txt    ((with EN decription plugin)
      file -> plugin.lang.php  ((with news keys)

  ru_RU
      file -> description.txt    ((with RU decription plugin)
      file -> plugin.lang.php  ((with RU keys)

---------------

in your file admin.php add

      load_language('plugin.lang', Evil_Blog_PATH);


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#4 2012-05-28 21:51:48

EvilKant
Member
Russia
1970-01-01
98

Re: Evil_Blog - small blog at your main page.

Was fixed bug when you see error if you have no posts in blog. Thx, ddtddt :)

Offline

 

#5 2012-05-28 22:20:30

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Evil_Blog - small blog at your main page.

EvilKant wrote:

2. How include "FCK Editor" plugin with form in admin panel.

for exemple

in your file admin.php before
$template->set_filenames( array('plugin_admin_content' => dirname(__FILE__).'/admin.tpl') );

add

$FCKEA = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'FCKEditor';"));
if($FCKEA['state'] == 'active') set_fckeditor_instance($areas='post_text', $toolbar='Basic', $width='900px', $height='200px');

$areas='post_text'
post_text - > is name your textarea

$toolbar='Basic',
you can remplase by 'Full'


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#6 2012-05-28 22:43:10

EvilKant
Member
Russia
1970-01-01
98

Re: Evil_Blog - small blog at your main page.

Thx, ddtddt! I will try it all in the next few days.

Offline

 

#7 2012-06-24 19:40:50

EvilKant
Member
Russia
1970-01-01
98

Re: Evil_Blog - small blog at your main page.

Released!

http://piwigo.org/ext/extension_view.php?eid=611

1. You can create, delete or edit posts with html-tags.
2. You can change name of blog.
3. You can change number of posts per page.

Offline

 

#8 2012-06-24 19:49:21

EdwinKort
Translation Team
Rhoon, the Netherlands
1970-01-01
95

Re: Evil_Blog - small blog at your main page.

And it works with 2.4 :)


My Gallery
Hosted with: Surpass Hosting since 2004

Offline

 

#9 2012-06-24 19:52:15

EvilKant
Member
Russia
1970-01-01
98

Re: Evil_Blog - small blog at your main page.

EdwinKort wrote:

And it works with 2.4 :)

thx for testing :)

I didn't install the latest version yet.

Offline

 

#10 2012-08-28 14:16:21

notPH
Guest

Re: Evil_Blog - small blog at your main page.

Hi EvilKant,

Thanks for your plugin. Looks nice.

I've have juste one question now, is there a way to display the Wysiwig editor on the "edit" page of an article?

Thanks

 

#11 2012-08-28 14:25:57

notPH
Guest

Re: Evil_Blog - small blog at your main page.

Sorry for the double post, I've only have on account on the french version oh Piwigo.org...

Is there a way to use "additionnal descriptions" with your plugin? Without putting raw html code?

Thanks

 

#12 2012-08-28 21:28:39

EvilKant
Member
Russia
1970-01-01
98

Re: Evil_Blog - small blog at your main page.

notPH wrote:

I've have juste one question now, is there a way to display the Wysiwig editor on the "edit" page of an article?

Yes, install "FCK Editor" plugin.

Offline

 

#13 2012-08-28 21:32:34

EvilKant
Member
Russia
1970-01-01
98

Re: Evil_Blog - small blog at your main page.

notPH wrote:

Is there a way to use "additionnal descriptions" with your plugin? Without putting raw html code?

I don't understand what you mean, but I think the answer is "no". Evil_blog just record html-code in database, interaction is provided only with "FCK Editor".

Offline

 

#14 2012-09-02 21:49:12

EvilKant
Member
Russia
1970-01-01
98

Re: Evil_Blog - small blog at your main page.

Added new version. Plz, test it.

You can post a blog on a separate page.
You can change the appearance. You can choose date format, show or hide number and date of post.
Template has been improved.

Last edited by EvilKant (2012-09-02 21:49:58)

Offline

 

#15 2012-09-03 01:16:04

pewe
Member
2012-03-16
439

Re: Evil_Blog - small blog at your main page.

You can post a blog on a separate page.

How??

If I untick the show on main page it disappears completely.
There is no option to put on different page!

Offline

 
  •  » Extensions
  •  » Evil_Blog - small blog at your main page.

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact