Post orders and only registered users

Phoca Guestbook - creating guestbooks in Joomla! CMS
borja
Phoca Enthusiast
Phoca Enthusiast
Posts: 69
Joined: 16 Apr 2011, 22:21

Post orders and only registered users

Post 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?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9452
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Post orders and only registered users

Post 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
borja
Phoca Enthusiast
Phoca Enthusiast
Posts: 69
Joined: 16 Apr 2011, 22:21

Re: Post orders and only registered users

Post by borja »

now the order properly. the problem was the last step.

how can i now publish a post. only registered users can publish.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9452
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Post orders and only registered users

Post 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
borja
Phoca Enthusiast
Phoca Enthusiast
Posts: 69
Joined: 16 Apr 2011, 22:21

Re: Post orders and only registered users

Post by borja »

Than you. That is. I know i prevent the spam
silviomoser
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 19 Aug 2015, 14:40

Re: Post orders and only registered users

Post 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".
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9452
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Post orders and only registered users

Post 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
borja
Phoca Enthusiast
Phoca Enthusiast
Posts: 69
Joined: 16 Apr 2011, 22:21

Re: Post orders and only registered users

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Post orders and only registered users

Post 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
If you find Phoca extensions useful, please support the project
borja
Phoca Enthusiast
Phoca Enthusiast
Posts: 69
Joined: 16 Apr 2011, 22:21

Re: Post orders and only registered users

Post 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.
Post Reply