Ryan Kent
Well-known member
I can't find the membercard properties or things related to it at the moment. Hm... is anyone else seeing what I am on a 100% clean default style?
my member card looks the same as yours Onimua
I can't find the membercard properties or things related to it at the moment. Hm... is anyone else seeing what I am on a 100% clean default style?
I may have accidentally done something like this, but won't know for sure until I'm done.I don't know if it's been suggested or not, but currently you make the "Blogs" link disappear from the navbar if a user doesn't have permission to view blogs. However, I wanted to leave the link there to advertise the feature to potential new users - then force login/registration upon clicking it.
I've done the edit myself, but just wanted to throw it out there for future versions.
<div class="lnblogRecentIndexEntryTitle"><a href="{xen:link entries, $recentEntry}">{xen:helper snippet, $recentEntry.title, 25}</a></div>
It should increase just fine, but it also depends on how many characters your entry titles actually have. I've found that it's not literally 25 characters, but perhaps 25 characters total (it doesn't count spaces), or something like that.Hi Onimua.
I am making a minor modification to the sidebar module which appears on the forums. Currently article titles are trimmed so only 25 chars show. I would like to increase this a bit. It seems clear to me this function is controlled in lnblog_sidebar_recent_entry
Code:<div class="lnblogRecentIndexEntryTitle"><a href="{xen:link entries, $recentEntry}">{xen:helper snippet, $recentEntry.title, 25}</a></div>
I tried replacing the 25 at the end with 35 but was surprised to find my title lengths did not increase after a refresh. Am I missing something?
Also, I was curious to know, if I Follow someone on the forums, will I automatically be following their blogs?
Do the usergroups also allow to see the blog? It checks both the ACP options AND the user group options. They both have to be "true" for it to appear.Recent Entries don't appear to be showing on my sidebar, even though it's enabled in the Admin Options?
I have the XenPorta module running on my homepage, and that shows fine..
Yes, the usergroup permission for viewing blogs is set to Allow.Do the usergroups also allow to see the blog? It checks both the ACP options AND the user group options. They both have to be "true" for it to appear.
The XenPorta version does not check those permissions (although I should probably fix that...).
If the Registered group can see it, it shouldn't be a problem for mods or admins to see it too (it should inherit the permission from Registered if I recall right).Yes, the usergroup permission for viewing blogs is set to Allow.
Guests are set to Disallow, perhaps that has some impact on incorrectly stopping it from showing to other usergroups? I don't have FTP access right now, so I can't take a look at the code at myself unfortunately to investigate.
Hm... I know of an installation that has blogs disabled for guests, but members have no problem seeing it. In fact it works here locally.Registered, Moderating, Administrative and my Custom Group are all set to Allow.
No users can see the Sidebar module.
can you show what the visual issue is? screenshotLNBlog works well with XenForo 1.0.0 stable, except for a minor visual issue with the member card. As it's not an emergency, I recommend disabling it through the ACP until beta 3 is released.
Otherwise, expect no other problems with this add-on.
I do apologise Onimua, I've sourced the problem after getting home and looking at the code.Do you have any other add-ons that have sidebar blocks?
I do apologise Onimua, I've sourced the problem after getting home and looking at the code.
I'd installed this modification which changes the siderbar_online_users template. A template which your code searches a commented line for, to place the block after it. Currently, the linked modification removes this comment.
Yep. It's whoever gets to the hook first, and trying to add it back in within the template creates duplicates, at least when I do it.Yeah, I seem to remember having various issues with vBulletin 3 and those str_replace strings, especially with heavily modified styles. In the end I did as much as possible with "manual" template edits, though I totally get that people now expect everything to be automatic..
Looking forward to Beta 3, and the future after that.
We use essential cookies to make this site work, and optional cookies to enhance your experience.