Page 4 of 8

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

Posted: Sat 8. Mar 2008, 10:04
by balbi21
Hallo,

bei der Janina-Seite gab es das Modul noch nicht, da habe ich das über einen Hack eingebunden,...

bei der Spielplatz-Seite habe ich das Modul versucht,... nachdem das aber nicht so toll geklappt hat, habe ich den frontend-renderer durch den Code aus dem Hack ausgetauscht, so dass die Einbindung zwar über das Modul läuft, aber eigentlich der alte Code zum rendern ausgeführt wird (mit Ausnahme der captcha-Funktion, die bei der Janina-seite funktioniert, aber bei der Spielplatz nicht,...)

Der effektive Code ist ein Mischmasch aus dem Shiny-Blog (Ursprungscode), Pepes Div-Modifizierungen für das Layout und ein paar Fixes von Pepe und ein paar von mir (Datenbank mit Prefix / Zeitanzeige / Rewrite / Permalink / Vor-/Zurück-Funktion, etc.)...

MfG,
Björn

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

Posted: Sat 8. Mar 2008, 10:26
by update
balbi21 wrote:Zeitanzeige / Rewrite / Permalink / Vor-/Zurück-Funktion
Dieser Teil würde mich sehr interessieren :wink:

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

Posted: Sat 8. Mar 2008, 10:41
by balbi21
Du hast pn,...

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

Posted: Sat 8. Mar 2008, 10:50
by update
:!: Danke :D

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

Posted: Wed 28. May 2008, 15:22
by logo78
Habe da mal nen frage wie genau installiert man diesen hack?
Ich finde nirgends was wo man eine install hat! (oder bin ich nur blind)

Danke

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

Posted: Wed 28. May 2008, 15:25
by juergen
Weils so einfach ist ;)

In include/inc_module legst du einen Ordner an und nennst den mod_blogs, das war die Installation. (Die Dateien des Moduls alle da rein, vetl sql noch ausführen um die zusätzlichen Tabellen zu erstellen)

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

Posted: Wed 28. May 2008, 15:43
by logo78
Habe das dorthin copy wo es hin musste und dann folgenden code in die datenbank eingefügt:

Code: Select all

CREATE TABLE `phpwcms_blogs` (
  `id` int(11) NOT NULL auto_increment,
  `title` varchar(255)  NOT NULL,
  `description` varchar(255)  NOT NULL,
  `prefs` text  NOT NULL,
  PRIMARY KEY  (`id`,`title`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 
COLLATE=latin1_german1_ci AUTO_INCREMENT=1 ;


CREATE TABLE `phpwcms_blogowners` (
  `id` int(11) NOT NULL auto_increment,
  `u_id` varchar(255) collate latin1_german1_ci 
      NOT NULL default '',
  `b_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 
 COLLATE=latin1_german1_ci AUTO_INCREMENT=1 ;

-- 
-- Tabellenstruktur für Tabelle `phpwcms_blogentries`
-- 

CREATE TABLE `phpwcms_blogentries` (
  `id` int(11) NOT NULL auto_increment,
  `b_id` int(11) NOT NULL default '0',
  `title` varchar(255)  NOT NULL,
  `subtitle` varchar(255)  NOT NULL,
  `content` text  NOT NULL,
  `time` int(11) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 
   COLLATE=latin1_german1_ci AUTO_INCREMENT=1 ;


-- 
-- Tabellenstruktur für Tabelle `phpwcms_blogcomments`
-- 

CREATE TABLE `phpwcms_blogcomments` (
  `id` int(11) NOT NULL auto_increment,
  `author` varchar(255) collate latin1_german1_ci
    NOT NULL default '',
  `time` int(11) NOT NULL default '0',
  `e_id` int(11) NOT NULL default '0',
  `e-mail` varchar(255) collate latin1_german1_ci 
      NOT NULL default '',
  `url` varchar(255) collate latin1_german1_ci 
     NOT NULL default '',
  `ip` varchar(255) collate latin1_german1_ci NOT NULL default '',
  `comment` text character set utf8 NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 
   COLLATE=latin1_german1_ci AUTO_INCREMENT=1 ;
als Fehlermeldung kommt im CMS jetz folgendes:

Code: Select all

Error:
There is a problem with the Blogs Module Database. 
Please ensure that you have installed this module correctly and have all the correct permissions on your PhpWcms database. 
HAbe alles so gemacht wie beschrieben (ich nutze 1.3.5) daher die frage nach ner anleitung!
In der Datenbank sind die tabellen drin.

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

Posted: Wed 28. May 2008, 16:01
by juergen
Was immer du da hast ... von dem Modul hier kommt das gaaaaaaaaaaaaanz sicher nicht .. :?

http://jgbm.de/WCMSBLOG.phtml

//EDIT :

Code: Select all

- 
-- Tabellenstruktur für Tabelle `phpwcms_blogs`
-- 

CREATE TABLE `phpwcms_blogs` (
  `id` int(11) NOT NULL auto_increment,
  `title` varchar(255)  NOT NULL,
  `description` varchar(255)  NOT NULL,
  `prefs` text  NOT NULL,
  PRIMARY KEY  (`id`,`title`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 
COLLATE=latin1_german1_ci AUTO_INCREMENT=1 ;


CREATE TABLE `phpwcms_blogowners` (
  `id` int(11) NOT NULL auto_increment,
  `u_id` varchar(255) collate latin1_german1_ci 
      NOT NULL default '',
  `b_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 
 COLLATE=latin1_german1_ci AUTO_INCREMENT=1 ;

-- 
-- Tabellenstruktur für Tabelle `phpwcms_blogentries`
-- 

CREATE TABLE `phpwcms_blogentries` (
  `id` int(11) NOT NULL auto_increment,
  `b_id` int(11) NOT NULL default '0',
  `title` varchar(255)  NOT NULL,
  `subtitle` varchar(255)  NOT NULL,
  `content` text  NOT NULL,
  `time` int(11) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 
   COLLATE=latin1_german1_ci AUTO_INCREMENT=1 ;


-- 
-- Tabellenstruktur für Tabelle `phpwcms_blogcomments`
-- 

CREATE TABLE `phpwcms_blogcomments` (
  `id` int(11) NOT NULL auto_increment,
  `author` varchar(255) collate latin1_german1_ci
    NOT NULL default '',
  `time` int(11) NOT NULL default '0',
  `e_id` int(11) NOT NULL default '0',
  `e-mail` varchar(255) collate latin1_german1_ci 
      NOT NULL default '',
  `url` varchar(255) collate latin1_german1_ci 
     NOT NULL default '',
  `ip` varchar(255) collate latin1_german1_ci NOT NULL default '',
  `comment` text character set utf8 NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 
   COLLATE=latin1_german1_ci AUTO_INCREMENT=1 ;
die collations musst mal nachsehen ...

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

Posted: Wed 28. May 2008, 16:06
by logo78
den code von da habe ich mal eingefügt!
es gab keine fehlermeldung aus :(

Habe es mal wegegemacht und neu reingemacht kommt folgendes:

Code: Select all

  -  CREATE TABLE `phpwcms_blogs` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`title` varchar( 255 ) NOT NULL ,
`description` varchar( 255 ) NOT NULL ,
`prefs` text NOT NULL ,
PRIMARY KEY ( `id` , `title` )
)ENGINE = MYISAM DEFAULT CHARSET = latin1 COLLATE = latin1_german1_ci AUTO_INCREMENT =1

MySQL meldet:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-
CREATE TABLE `phpwcms_blogs` (
  `id` int(11) NOT NULL auto_increment,
  `t' at line 1 
wenn ich es ohne automatische kompression erkennung einfüge dann kommt kein fehler!
trotzdem geht dann dieses Plugin nicht!

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

Posted: Wed 28. May 2008, 16:53
by juergen
logo78 wrote: wenn ich es ohne automatische kompression erkennung einfüge dann kommt kein fehler!
trotzdem geht dann dieses Plugin nicht!
Autsch, das wäre wenn du es als File schickst und es überdies noch gezippt wäre. Für solchen Kleinkrams hast du ein SQL Fenster !

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

Posted: Wed 28. May 2008, 17:12
by logo78
deswegen habe ich es per copy and paste an besagter stelle (SQL Fenster) eincopiert und ohne kompression eingefügt!
Das ganze in den besagten ordner copy .... .
leider geht das Plugin ja trotzdem nicht und deswegen scheibe ich ja hier.
Erfrage daher ja auch warum das bei mir version 1.3.5 nicht geht. bzw warum die Fehlermeldung kommt. :wink:

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

Posted: Thu 29. May 2008, 15:25
by juergen
Problem erledigt, er hatte einen Prepend, cms__ und das will der BLOG dann auch ..

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

Posted: Tue 17. Jun 2008, 13:08
by Artist
Hallo allerseits, ich bins wieder :D

ich hab mal den blog mod installiert und es funktionert auch FAST, wenn ich jetzt die seite aufrufe, dann ist ADD COMMENT schon offen, es sollte sich doch erst auf click öffnen, wie kann ich dies beheben?

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

Posted: Tue 17. Jun 2008, 13:56
by juergen
Doc Typ checken und nachsehen dass alles Java script eingepackt ist ..

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

Posted: Tue 17. Jun 2008, 14:10
by Artist
Doc Typ? wo und wie kann ich das checken?