Page 2 of 8
Re: Shinys WCMS-Blog as hackfree mod
Posted: Fri 28. Dec 2007, 17:19
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)

Re: Shinys WCMS-Blog as hackfree mod
Posted: Fri 4. Jan 2008, 07:19
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

Re: Shinys WCMS-Blog as hackfree mod
Posted: Fri 4. Jan 2008, 08:49
by juergen
Pappnase wrote:hello
i also setup up your blog
hmm .... not my blog

shinys

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 ..
Re: Shinys WCMS-Blog as hackfree mod
Posted: Fri 4. Jan 2008, 12:26
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}
Re: Shinys WCMS-Blog as hackfree mod
Posted: Fri 4. Jan 2008, 17:56
by juergen
puuuhhh ...
Just some language file works for this papernose man

Some changes in my frontend ... german... Will take a couple of days ...
Jürgen
Re: Shinys WCMS-Blog as hackfree mod
Posted: Sun 6. Jan 2008, 11:16
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 :
Hope you meant something like this
Now I need some translation..
DE->EN
DE->BERLIN
Re: Shinys WCMS-Blog hackfree mod [multi language preparation]
Posted: Sun 6. Jan 2008, 11:25
by update
DE->EN
was geht denn hier ab --> what goes up here
DE->BERLIN
was geht denn hier ab --> icke sach nur: dufte;

Re: Shinys WCMS-Blog hackfree mod [multi language preparation]
Posted: Tue 8. Jan 2008, 13:50
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.
Re: Shinys WCMS-Blog hackfree mod [multi language preparation]
Posted: Tue 8. Jan 2008, 14:14
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
Re: Shinys WCMS-Blog hackfree mod [multi language preparation]
Posted: Tue 8. Jan 2008, 14:31
by 360fusion
Thanks
Easy when you know how
Ben
Re: Shinys WCMS-Blog hackfree mod [multi language ready]
Posted: Sat 12. Jan 2008, 21:48
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.
Re: Shinys WCMS-Blog hackfree mod [multi language ready]
Posted: Sun 13. Jan 2008, 16:06
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
Re: Shinys WCMS-Blog hackfree mod [multi language ready]
Posted: Sun 13. Jan 2008, 17:08
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 ...

..foorgotten...

Re: Shinys WCMS-Blog hackfree mod [multi language ready]
Posted: Sun 13. Jan 2008, 17:17
by 360fusion
I have found a few more bugs, would you like me to post the here or pm you?
Ben
Re: Shinys WCMS-Blog hackfree mod [multi language ready]
Posted: Sun 13. Jan 2008, 17:33
by juergen
I ' ll sent you mail adress....