[RC] cBB Blog

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
User avatar
canidev
Registered User
Posts: 208
Joined: Sun Jun 26, 2011 5:40 pm
Location: Spain
Contact:

Re: [BETA] cBB Blog

Post by canidev »

Error appears in some cases with a register member post a new entry (User no exists).
The solution here: http://www.canidev.com/viewtopic.php?f=24&t=186&lang=en
Last edited by canidev on Sun Mar 17, 2013 6:13 pm, edited 1 time in total.
plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: [BETA] cBB Blog

Post by plasmino »

i have testing, very nice..

but for add or edit category have error

Code: Select all

SQL ERROR [ mysql4 ]

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 'parent_id = '0' AND cat_name = 'test' AND cat_description = 'test category' AND ' at line 1 [1064]

SQL

INSERT INTO phpbb_blog_categories parent_id = '0' AND cat_name = 'test' AND cat_description = 'test category' AND cat_enabled = '1' AND cat_groups = 'all'

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()

FILE: [ROOT]/includes/acp/acp_blog.php
LINE: 411
CALL: dbal_mysql->sql_query()

FILE: [ROOT]/includes/functions_module.php
LINE: 507
CALL: acp_blog->main()

FILE: [ROOT]/adm/index.php
LINE: 74
CALL: p_master->load_active()
User avatar
canidev
Registered User
Posts: 208
Joined: Sun Jun 26, 2011 5:40 pm
Location: Spain
Contact:

Re: [BETA] cBB Blog

Post by canidev »

plasmino wrote:i have testing, very nice..

but for add or edit category have error

Code: Select all

SQL ERROR [ mysql4 ]

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 'parent_id = '0' AND cat_name = 'test' AND cat_description = 'test category' AND ' at line 1 [1064]

SQL

INSERT INTO phpbb_blog_categories parent_id = '0' AND cat_name = 'test' AND cat_description = 'test category' AND cat_enabled = '1' AND cat_groups = 'all'

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()

FILE: [ROOT]/includes/acp/acp_blog.php
LINE: 411
CALL: dbal_mysql->sql_query()

FILE: [ROOT]/includes/functions_module.php
LINE: 507
CALL: acp_blog->main()

FILE: [ROOT]/adm/index.php
LINE: 74
CALL: p_master->load_active()
Open /includes/acp/acp_blog.php
Find:

Code: Select all

$sql = 'INSERT INTO ' . BLOG_CATS_TABLE . ' ' . $db->sql_build_array('SELECT', $this->new_config);
Replace with:

Code: Select all

$sql = 'INSERT INTO ' . BLOG_CATS_TABLE . ' ' . $db->sql_build_array('INSERT', $this->new_config);
plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: [BETA] cBB Blog

Post by plasmino »

Excellent

thanks for fix

edit: now problem with generate link for category ^_^

page not found... need edit .htaccess?


---------------

Solved, my error ^_^
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [BETA] cBB Blog

Post by Jessica »

Are you not supposed to be able to move around the categories? I can't drag and drop them. The drag and drop for the widgets work though.
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
canidev
Registered User
Posts: 208
Joined: Sun Jun 26, 2011 5:40 pm
Location: Spain
Contact:

Re: [BETA] cBB Blog

Post by canidev »

Jessica wrote:Are you not supposed to be able to move around the categories? I can't drag and drop them. The drag and drop for the widgets work though.
The categories can not be dragged. It automatically sorted alphabetically.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [BETA] cBB Blog

Post by Jessica »

Okay, thanks for clearing that up :)
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18282
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [BETA] cBB Blog

Post by DavidIQ »

canidev wrote:
Citromon wrote:Ok,

but when you, CaniDev, fix your main MODs - blockgets & follower, quickmod - why you wasting your energy so irrational?
I am a irrational man ;)

Really i thing that my mods never will be MODDB because some thinks that not compatible with the phpbb validation system, for example, the new installer of my mods cBB blockgets and cBB Blog.

I will be released new versions of my mods as soon as possible but i like start and develop new projects.

regards
Then this topic is against the rules. Therefore I have no choice but to lock this and move to the abandoned MODs forum. PM me if you change your mind and actually plan on releasing this into the MODDB.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18282
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [BETA] cBB Blog

Post by DavidIQ »

Moved back after some chatting over PM. Carry on! :geek:
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
dimon-sl
Registered User
Posts: 7
Joined: Fri Jan 13, 2012 1:44 pm

Re: [BETA] cBB Blog

Post by dimon-sl »

Hi!
Excellent MOD.
However, after installation is not available "Moderator Control Panel".
What is the possible reason?

http://farm9.staticflickr.com/8397/8698 ... 16f8_b.jpg
phpbb 3.0.11
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11072
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [BETA] cBB Blog

Post by Raul [ThE KuKa] »

You have edited the permissions groups?
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


dimon-sl
Registered User
Posts: 7
Joined: Fri Jan 13, 2012 1:44 pm

Re: [BETA] cBB Blog

Post by dimon-sl »

Of course.
Everywhere set to "Yes".
phpbb 3.0.11
User avatar
canidev
Registered User
Posts: 208
Joined: Sun Jun 26, 2011 5:40 pm
Location: Spain
Contact:

Re: [BETA] cBB Blog

Post by canidev »

When you try to open the panel appears some error?
dimon-sl
Registered User
Posts: 7
Joined: Fri Jan 13, 2012 1:44 pm

Re: [BETA] cBB Blog

Post by dimon-sl »

No. There is no button to open the "Moderator Control Panel".
phpbb 3.0.11
User avatar
canidev
Registered User
Posts: 208
Joined: Sun Jun 26, 2011 5:40 pm
Location: Spain
Contact:

Re: [BETA] cBB Blog

Post by canidev »

dimon-sl wrote:No. There is no button to open the "Moderator Control Panel".
The button appears is you have moderator permissions to delete entries, approve entries or delete comments.
this permissions can be set in acp >> permissions >> groups permissions >> {your group} >> global moderator permissions >> advanced permissions >> blog
Locked

Return to “[3.0.x] MODs in Development”