1

주제: Some small questions about Textcube.

Hello. For the beginning, I'd like to apologize you about writting here, but English forum not work hmm
Some time ago I found this engine. I think its very nice and have English translation smile I download it fast and check on my localhost but it not work. Today I downloaded version 1.5-core from dev site and installed this on my localhost. In installation process I saw something simillar to this:

Multi-user :        Discrete blogs via sub-path

Is that means that I can have many blogs? If yes than how? I select this but I have only one http://localhost/tc/grom/ . How can I create new blogs? Next question is about logging. I have blog but if I try to loggin in http://localhost/tc/grom/login?requestURI=http%3A%2F%2Flocalhost%2Ftc%2Fgrom%2Fowner%2Fentry%2Fpost using my email and password this reload page and show me the same page hmm Any suggestions?

Sorry for my poor English hmm

2

답글: Some small questions about Textcube.

WoW~ English! English!.....:D:D

First, Textcube does not works well with "hostname only" but works with hostname+domain. I edited the "Hosts"(http://en.wikipedia.org/wiki/Hosts_file) file for testing on localhost. and edited config.php too.

Grom 작성:

Is that means that I can have many blogs?

Yes. For example, http://notice.textcube.org/en and http://notice.textcube.org/ko

Grom 작성:

How can I create new blogs?

setting->account->Invite a Friend
It makes a new blog and account.

Sorry for my poor english.  sad:(

잡담 전문 인생

3

답글: Some small questions about Textcube.

Thx for answer. It is very helpfull for me.

PS. Your english is good wink

4

답글: Some small questions about Textcube.

...다른 얘기지만 english notice에도 textcube 1.5 release 소식을 써야 하지 않을..런지;;

이렇게 되면 textcube.org도 i18n 들어가야겠군요 orz;

문제의 답은 우리 안에 있다.
내면에 귀를 기울여 보자.

5

답글: Some small questions about Textcube.

Hello again.
So I installed your blogging software and I think its great but...
On single user installation all options work and admin panel have many features but If I installed this blog on multiuser installation list of features severely decreased. I even have Invite a Friend option. Can I activate more options somewhere? Or maybe I must write it myself?

My admin panel looks like this: http://farm2.static.flickr.com/1389/134 … d5f8_o.png
Some texts is translated. I want to make unofficial support for your software for Polish users smile

6

답글: Some small questions about Textcube.

Thanks for answer.

Has the account (whose name is 'grom') a privilege of administrator?

I think so... This is my first account created in installation process.  In prefix_Users I have only entry for this account. And in prefix_UserSettings I dont have any entries.

If you already signed in using the administrator account and same problem is occured, it might be a problem of a session table.
Try to delete all data of 'prefix_Sessions' table of database, and re-login. Then the problem will be solved.

I deleted all entries in Session table but still I dont have "Invite Friend" option in Admin Page.

7

답글: Some small questions about Textcube.

Grom 작성:

Thanks for answer.

Has the account (whose name is 'grom') a privilege of administrator?

I think so... This is my first account created in installation process.  In prefix_Users I have only entry for this account. And in prefix_UserSettings I dont have any entries.

If you already signed in using the administrator account and same problem is occured, it might be a problem of a session table.
Try to delete all data of 'prefix_Sessions' table of database, and re-login. Then the problem will be solved.

I deleted all entries in Session table but still I dont have "Invite Friend" option in Admin Page.

Please check Teamblog field and tell us the value of ACL ~
If you're able to, describe the total structure and value of your TC. It'll be helpful what we should focus on. cool

"Everything looks different on the other side."

-Ian Malcomm, from Michael Crichton's 'The Jurassic Park'

8

답글: Some small questions about Textcube.

My Teamblog table looks like this http://img266.imageshack.us/img266/1095 … nu2jy9.png
My table configuration: http://pastebin.com/m4d199fa6
smile

9

답글: Some small questions about Textcube.

Please change the ACL from 0 to 16, and tell us the result plz smile

"Everything looks different on the other side."

-Ian Malcomm, from Michael Crichton's 'The Jurassic Park'

10

답글: Some small questions about Textcube.

It work's. Thanks so much inureyes and all others smile

11

답글: Some small questions about Textcube.

Hello again.
So some time ago I decided to write Eolin like service. Protocol will be the same like in Eolin so I dont change eolin implementation in blog much.

I want to use Zend_XMLRPC to XMLRPC requests but...
I have for now only sync.create implementation done.
What I need next? I think now server should send response to client, right? But how this should looks?
I found simillar to this

<?xml version="1.0" encoding="utf-8"?>
<methodResponse><params><param><value><struct><member><name>error</name><value><boolean>0</boolean></value></member><member><name>message</name><value><string>Success</string></value></member></struct></value></param></params></methodResponse>

This is response? What I need yet?
My sync.create implementation parse this only

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse><params><param><value><struct><member><name>blogURL</name><value><string>http://127.0.0.1/tc2/grom</string></value></member><member><name>syncURL</name><value><string>http://127.0.0.1/tc2/grom/sync/1</string></value></member><member><name>blogTitle</name><value><string/></value></member><member><name>language</name><value><string>en</string></value></member><member><name>permalink</name><value><string>http://127.0.0.1/tc2/grom/entry/test</string></value></member><member><name>title</name><value><string>test</string></value></member><member><name>content</name><value><string>to jest test hththdfdsfds :)</string></value></member><member><name>author</name><value><string>Grom</string></value></member><member><name>tags</name><value><array><data><value><string>heh</string></value><value><string>new</string></value><value><string>sparta</string></value></data></array></value></member><member><name>location</name><value><string>/</string></value></member><member><name>written</name><value><string>Sat, 15 Sep 2007 11:03:14 +0900</string></value></member></struct></value></param></params></methodResponse>

It should make something more?

Uh I forgot. I send response like this:

        $sock = @fsockopen("http://127.0.0.1/tc2/grom/", 80, $errno, $errstr, 30);

        fwrite($sock, 'POST / HTTP/1.0'."\r\n");
        fwrite($sock, 'Host: '."http://127.0.0.1/"."\r\n");
        fwrite($sock, 'User-Agent: Mozilla/4.0 (compatible; Eolin)'."\r\n");
        fwrite($sock, 'Content-Type: text/xml'."\r\n");
        fwrite($sock, 'Content-Length: '.strlen('<?xml version="1.0" encoding="utf-8"?><methodResponse><params><param><value><struct><member><name>error</name><value><boolean>0</boolean></value></member><member><name>message</name><value><string>Success</string></value></member></struct></value></param></params></methodResponse>')."\r\n");
        fwrite($sock, 'Connection: close'."\r\n");
        fwrite($sock, "\r\n");
        fwrite($sock, '<?xml version="1.0" encoding="utf-8"?><methodResponse><params><param><value><struct><member><name>error</name><value><boolean>0</boolean></value></member><member><name>message</name><value><string>Success</string></value></member></struct></value></param></params></methodResponse>');
        fwrite($sock, "\r\n");
        fclose($sock);

Maybe this is a problem?

Grom (2007-09-22 20:54:25)에 의해 마지막으로 수정

12

답글: Some small questions about Textcube.

Thx Creorix but this xml code is wrong I think. I still cant get good reposne in TextCube. Spotter is always off hmm

13

답글: Some small questions about Textcube.

Thanks. So I written this. Now my function return

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse><params><param><value><struct><member><name>error</name><value><boolean>0</boolean></value></member><member><name>message</name><value><string>Success</string></value></member></struct></value></param></params></methodResponse>

Very thanks Creorix smile
But still TextCube cant change the trigger to on. Its always off. It uses AJAX technology so it should change in realtime but my TextCube dont turn this. Only reload page... I think I forgot about something hmm