Page 1 of 2

Post orders and only registered users

Posted: 18 Aug 2015, 17:07
by borja
Hello
I`´m migrating my platform form joomla 1.5 to joomla 3.4. i´ve got the last update of phocaguestbook(version 3.0.4). i´m trying to publish an di cannot publish anything. it says me that only registered users can do that.

i want also order the posts by date desc and it doesn´t work. I want to see the new post first and i see the old post first.


what's wrong?

Re: Post orders and only registered users

Posted: 18 Aug 2015, 21:32
by Benno
Hi,
did you also migrate Phoca Guestbook from the 1.5 version, via j2.5 version, to the current j3.x version?
And if yes, did you use this guides for the migration?
https://www.phoca.cz/documents/50-phoca/ ... -joomla-25
https://www.phoca.cz/documents/50-phoca/ ... o-joomla-3

Kind regards,
Benno

Re: Post orders and only registered users

Posted: 18 Aug 2015, 22:29
by borja
now the order properly. the problem was the last step.

how can i now publish a post. only registered users can publish.

Re: Post orders and only registered users

Posted: 19 Aug 2015, 10:10
by Benno
Hi,
backend --> Components --> Phoca Guestbook --> Guestbooks --> Your Guestbook --> Category Manager: Edit Category --> Permissions --> Public -->
Post items= Allowed
Save & Close
See: https://www.phoca.cz/documents/3-phoca-g ... blic-users

But beware, you will receive a lot of spam, if you allow to post for all visitors... :idea:
See: https://www.phoca.cz/documents/3-phoca-g ... -from-spam

Kind regards,
Benno

Re: Post orders and only registered users

Posted: 19 Aug 2015, 13:37
by borja
Than you. That is. I know i prevent the spam

Re: Post orders and only registered users

Posted: 19 Aug 2015, 14:44
by silviomoser
[SOLVED]
I have almost the same prob, but the user is already logger IN and phoca GB says "Only registered users may add new posts, please login".

Re: Post orders and only registered users

Posted: 20 Aug 2015, 23:07
by Benno
@silviomoser
Sorry, I dont understand. Is it solved, or not?
[SOLVED]
I have almost the same prob, but the user is already logger IN and phoca GB says "Only registered users may add new posts, please login".
:idea:

Kind regards,
Benno

Re: Post orders and only registered users

Posted: 14 Oct 2015, 10:17
by borja
Hello

I migrate a book a few days ago from joomla 1.5 to joomla 3.2. I run theses queries as the last:

INSERT `jos_phocaguestbook_items` (id, catid, parent_id, lft, level, username, userid, email, homesite, ip, title, content, date, published, checked_out, checked_out_time) SELECT id+1 AS id, 10013 AS catid, 1 AS parent_id, ordering AS lft, 1 AS level, username, userid, email, homesite, ip, title, content, date, published, checked_out, checked_out_time FROM `jos_temp_phocaguestbook_items`


But the problem is that new entries have been posted and the lft and rgt value are small values insted of being height numbers. The last item imported has the values of: lft=89 and rgt:90. and the new entry has the values of lft :2 and rgt: 3. what should i do to have another values in lft and rgt? why i don´t have the correct numbers? I think this value should be lft:90 and rgt: 91 and so on. I don´t know what is the aim of theses values.

why does it do?


Best regards,



Borja

Re: Post orders and only registered users

Posted: 15 Oct 2015, 19:08
by Jan
Hi, did you follow this guide:
https://www.phoca.cz/documents/50-phoca/ ... o-joomla-3 (Phoca Guestbook Migration)

Did you migrate from 1.5 to 2.5 and then from 2.5 to 3

Jan

Re: Post orders and only registered users

Posted: 16 Oct 2015, 09:19
by borja
i did these steps in one step from 1.5 to 3.

i don´t know if the values of lft and rgt are correct. in my databse i´'ve got:

lft rgt
1 4
5 6
7 8
---


and i don´t know why lft:3 rgt: 4 is missing and why i´ve got lft:1 rgt:4.