Hi,

First - sorry for broken English,

I found bug (?) depends on ab navigation block and unregistered users, who don't see archive links tree (i mean list year / month (number of posts)). I fixed it by removing db_rewrite_sql function from advanced_blog.module in line 390.

Why do you used db_rewrite_sql? I'm asking, because i solve problem, but still i don't understand them..

Greetings from Poland

CommentFileSizeAuthor
#2 advanced_blog.zip7.69 KBAnonymous (not verified)

Comments

kubala.webdesign’s picture

Assigned: kubala.webdesign » Unassigned
Status: Needs review » Active
Anonymous’s picture

StatusFileSize
new7.69 KB

I made some changes that fix this issue, fix also the http://drupal.org/node/649080 issue and include the fix of http://drupal.org/node/565352.
So:
Correct the query for the blog navigation
The custom title appear in the block and in the blog page (if there are not other module that override this function)
There is a new function to have the custom title of the blog ... so whe can use it to show the title where we need in the template.

Please, try this and give me some feedback

Tks

escoles’s picture

I'm not sure I understand the original issue -- I think it's fixed by this.

However, on some pages, using this version of the module results in the following SQL error:

user warning: 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 'ORDER By n.created DESC' at line 1 query: SELECT n.nid, n.created FROM node n WHERE n.type = 'blog' AND n.status = 1 AND n.uid = ORDER By n.created DESC in /home/tesssco7/public_html/youreasygarden.com/sites/all/modules/advanced_blog/advanced_blog.module on line 421.

I'm seeing this error on at least these pages:

/user [before and after login]
/user/4 [after login]
/node/add
/node/add/blog
[etc.]

[EDIT: fix my grammar...]

svendecabooter’s picture

Status: Active » Fixed

This issue has been addressed in the latest HEAD version of this module. A new release will be coming out soon.
Please test if that version fixes the reported problems (which it should).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

aarnold’s picture

aarnold’s picture

Version: 6.x-1.0-beta1 » 6.x-1.0-beta2
Status: Closed (fixed) » Active

I still see this in beta2. Any news on a fix?

EDIT: I have to assign the administer node right in order for the archive to show up.

svendecabooter’s picture

Status: Active » Closed (duplicate)

This was caused by a problem fixed in #793876: User error in the blog page alerts