Jump to content


Issue information

  • #035569

  • Fixed

  • 3.2.3

  • 3.3.0 Beta 1

  • 1 - Low


Issue Confirmations

  • Yes (0)No (0)
Photo

Glitchy "Manage Blogs" link

Posted by Ryan H. on 26 January 2012 - 09:53 AM

I've noticed this here and on our own site... some days the "Manage Blogs" link appears on the user dropdown, some days it doesn't. I can't find any apparent rhyme or reason to this. I don't have a blog created at either place, if that's relevant.

This site, right now:
Posted Image

This is hardcoded into skin_global

								   	 <if test="bloglink:|:$this->memberData['has_blog'] AND IPSLib::appIsInstalled('blog')">
											<li id='user_blog'><a href="{parse url="app=blog&amp;module=manage" base="public" template="manageblog" seotitle="false"}">{$this->lang->words['manage_blogs']}</a></li>
										</if>

Perhaps has_blog is getting reset at some points?  Ryan's is currently empty looking at his row in ibf_members from the SQL toolbox, which is why the link wouldn't show up for him.

Perhaps an easy way to fix this would be to simply show the link as long as blog is installed, and if a user who doesn't have a blog setup clicks it, redirect them to the create blog page.


This pops up now and then, sometimes when blogs are recached the user gets a 'recache' flag in that field and the link disappears until the user visits the blog. There's a FFFV report about changing how it works


Yes, but that's separate I would think (his is completely empty)


changed status to: Confirmed - Skin Issue

I have made the link show if the blog is installed since that page is accessible to everyone. When they are on that page they'll be able to create a blog if they have perms to do so.


As for the issue of "has_blog" being completely empty I can't reproduce and that should never be the case even when blog resets the data since it puts a "recache" in there, if there are any steps on how to reproduce it I'll gladly look into it again.


moved issue from IP.Blog
changed status to: Fixed
changed version to: 3.2.3
changed fixed-in version to: 3.3.0 Beta 1

It's worth noting that the issue has just recurred for me on this site. I don't see any 'Manage Blogs' link at the moment. Assuming the fix was rolled in and is in place on this site, it doesn't seem to actually work.

I can't imagine why that might be, but so it is.


Our template was out of date - updated that specific code.






0 user(s) are reading this issue

0 members, 0 guests, 0 anonymous users