Shinys WCMS-Blog hackfree mod [multi language ready]

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Shinys WCMS-Blog as hackfree mod

Post by juergen »

intermedion wrote:I just installed the mod for version 1.3.5 I get these errors; no entry is displayed on the site.
Any idea what might be the problem?

- Before adding a blog

Warning: Invalid argument supplied for foreach() in C:\wamp\www\phpwcms\include\inc_module\mod_blogs\inc_lib\functions.db.inc.php on line 273

- After listing blog entries:

Hallejulia
Parse error: syntax error, unexpected '}' in C:\wamp\www\phpwcms\include\inc_module\mod_blogs\inc_tmpl\listentries.tmpl.php on line 80
Hey :-) Quite nice error ... took some time to have it for myself...

BUT ! À very simple solution! You forgot to enter the Blogowner (checkbox) :| :mrgreen:
Pappnase

Re: Shinys WCMS-Blog as hackfree mod

Post by Pappnase »

hello

i also setup up your blog :-) but one question in the backend the blog will dispalyed in english.... so how can i change it to german :-)
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Shinys WCMS-Blog as hackfree mod

Post by juergen »

Pappnase wrote:hello

i also setup up your blog :-)
hmm .... not my blog :mrgreen: shinys :idea: But I'll look for that.....

There is a need to implement such a thing, since now there is no clear support for different languages ...lets do it. .. be back with that ..
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Shinys WCMS-Blog as hackfree mod

Post by juergen »

Ok, That'll work

Takes some time to fiddle out all the english entries, translate them and replace with a variable from language file.

I think some monthly listing for Blog entries might be cool ... kind of {BLOG:blogname:01-12}
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Shinys WCMS-Blog as hackfree mod

Post by juergen »

puuuhhh ...

Just some language file works for this papernose man :oops: Some changes in my frontend ... german... Will take a couple of days ...

Jürgen
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Shinys WCMS-Blog as hackfree mod

Post by juergen »

Pappnase wrote:hello

i also setup up your blog :-) but one question in the backend the blog will dispalyed in english.... so how can i change it to german :-)
Hello Oliver ... some Beta :
Image

Hope you meant something like this ;)

Image

Now I need some translation..
DE->EN
DE->BERLIN
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Shinys WCMS-Blog hackfree mod [multi language preparation]

Post by update »

DE->EN
was geht denn hier ab --> what goes up here :mrgreen:

DE->BERLIN
was geht denn hier ab --> icke sach nur: dufte; :mrgreen: :mrgreen:
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
360fusion
Posts: 120
Joined: Wed 30. Aug 2006, 01:15
Location: Yarm, UK
Contact:

Re: Shinys WCMS-Blog hackfree mod [multi language preparation]

Post by 360fusion »

HI I've just installed the blog using Xampp to have a play about with it. I managed to install all the files and add the table to the database with phpmyadmin fine and all is working in the backend.

But i don't know how to show the blog in the front end, i tired adding {BLOG} to an article as a guess but no joy. could you please tell me how to show the blog in the front end? is there a replacement tag or somthing?

Thanks
Ben

P.S. Great work by the way, this is a fantasic addition to PHPWCMS.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Shinys WCMS-Blog hackfree mod [multi language preparation]

Post by flip-flop »

Hi Ben,

-> MODULES -> mod_blogs -> + Add a blog -> Fill in the title name = blog_name
-> E.g. CP html: -> Fill in {BLOG:blog_name}

That´s all

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
360fusion
Posts: 120
Joined: Wed 30. Aug 2006, 01:15
Location: Yarm, UK
Contact:

Re: Shinys WCMS-Blog hackfree mod [multi language preparation]

Post by 360fusion »

Thanks

Easy when you know how :D

Ben
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Shinys WCMS-Blog hackfree mod [multi language ready]

Post by juergen »

we got 2 languages ... DE and EN

Language performs like the language switch in conf.inc.php. That took me some telnet headaches, switching language every minute when testing it...

have fun ;) If someone has more languages ....... come on, let me know.
User avatar
360fusion
Posts: 120
Joined: Wed 30. Aug 2006, 01:15
Location: Yarm, UK
Contact:

Re: Shinys WCMS-Blog hackfree mod [multi language ready]

Post by 360fusion »

Hi,

I've been playing about with this mod again and couldn't work out why the add and view comments section was always open and didn't open and close. I looked throgh the souce code of the page and I found this code:

Code: Select all

        <script src="script/prototype.lite.js" type="text/javascript"></script>
        <script src="script/moo.fx.js" type="text/javascript"></script>
I then moved the folder with the js scripts in to the root and it worked.

should this read?

Code: Select all

        <script src="include/inc_module/mod_blogs/scripts/prototype.lite.js" type="text/javascript"></script>
        <script src="include/inc_module/mod_blogs/scripts/moo.fx.js" type="text/javascript"></script>
Ben
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Shinys WCMS-Blog hackfree mod [multi language ready]

Post by juergen »

hi

depends on where your script is stored..:

Code: Select all

        <script src="script/prototype.lite.js" type="text/javascript"></script>

        <script src="script/moo.fx.js" type="text/javascript"></script>
when: in root in /script ...

Anyway. both examples are working, when path to java is correct.... I will repack the system with the javascript ... :oops: ..foorgotten...:)
User avatar
360fusion
Posts: 120
Joined: Wed 30. Aug 2006, 01:15
Location: Yarm, UK
Contact:

Re: Shinys WCMS-Blog hackfree mod [multi language ready]

Post by 360fusion »

I have found a few more bugs, would you like me to post the here or pm you?

Ben
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Shinys WCMS-Blog hackfree mod [multi language ready]

Post by juergen »

I ' ll sent you mail adress....
Post Reply