Adk Blog (A blog system for each user)

Started by lucas-ruroken, August 30, 2010, 05:12:44 PM

Previous topic - Next topic

Mano2

Don't know if this is the right topic to ask but i'll try.
Been searching  for the option to let  users themself manage who is allowed to read and comment their blog's.
Is that option there? don't think beacuase i can't find it but maybe i look wrong.
kind regards

S Mac

This is a great mod..but I have a problem. I've added my first blog and everything's fine apart from the fact that the HTML code is showing on the line breaks, which makes it a bit confusing for people trying to read it. Is this a glitch?
Thanks

rlh2006

Hello. I posted here off and on last year quite a bit. Suki worked with me several times to make quality changes to the blog so my idea of how the blogs should look and feel could be accomplished on my forum. I finally have it to where there is a display that suits my tastes. So many edits and changes. Maybe the Mod Team might take a look at the way we have it displayed and consider that type of display as an option in a later build: http://www.1upclan.info/forum/index.php?action=blogs
(Note: in order to allow users to create a title for their blog, we had a field made in the user profile where they input the title they want, or by default it uses their name). I am going to stop working on this for now and focus on some other changes I want to make on the forum.
368 Urban Terror avatars for your site or forum.
The avatars pack is 11.6 mbs. Direct free download for the avatars pack is right here: urt_avatars.zip This avatar pack is 1up Clan's way of contributing to both the Urban Terror gaming community and the Simple Machines community. Due to the size of the pack, SMF has not approved it.

David111567

How do I move the "Blogs" menu button?  I really don't like it sitting on the tail end of the menu after "Logout". I would like it together with the other menu options.

It's not in the subs.php file like all the others...so it's inserted elsewhere. I can't find it. Anyone?

CapadY

It is in the database, I think in the settings table.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Kindred

CapadY... Database?


I would assume that the blog line item was inserted into the menu array through the use of hooks (?) in which case, the hook would be in one of the adk files.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

David111567

Quote from: rlh2006 on March 16, 2013, 09:41:15 AM
Suki worked with me several times to make quality changes to the blog so my idea of how the blogs should look and feel could be accomplished on my forum. I finally have it to where there is a display that suits my tastes. So many edits and changes.

Dude....this is INCREDIBLE!  Went to the site and saw it first-hand!  I wish I could get you to share the code with me.  I would LOVE this feature on my site. I know my members would as well.

Any chance you might be willing to let me take a peek at the code?

phpshiva

is there a way to get it like category and then in that one other categories ?
I have nearly 1700 members and if they all start the blog it will be huge lol

NekoJonez

I can't seem to like posts and editing gives me all HTML stuff.

Are those bugs?
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

efas

Quote from: JonezJeA on May 20, 2013, 10:49:43 AM
I can't seem to like posts and editing gives me all HTML stuff.

Are those bugs?

any progress on this one yet?
as i'm getting the same problem too,
i have tried the permissions tip from an earlier post here, but it did not change anything,
not too worried about the editing giving the html stuff, but would like to get the like problem sorted out if possible.

NekoJonez

The editing is indeed a bug in the mod itself. They are going to fix it in the next release.

But they don't answer about the liking issue.
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Apllicmz




TheBliveon

Hello,

I want to embed my ADK blog into a custom action. Is this possible?
If it is possible could somebody please tell me how to do it?
The url of the blog is now index.php?blog=1
I want it to be something like index.php?action=blog1
Redirecting doesnt work.

King Regards.

So it basically can't be the index.php?blog=1 link, cause otherwise my menu gets ******ed up. :|

Kindred

no... changing that would involve changing ALOT of the code in the mod...

Why can't your menu handle the blog=#?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

Because SMF's menu code can't handle that without rewriting it. It can only handle cases of action=identifier where the identifier is the menu id, or it has a specific exclusion like search2, login2, register2 etc. all have just below the menu definition.
Holder of controversial views, all of which my own.


Kindred

ah.... I didn't undertsnad what he meant by screwing up the menu.
He means that the menu won't display the "blogs" as a selected item in the menu because it doesn't recognize the blgo versus action

hmmmm.... but it does seem to work correctly for me on 40konline.com
When I go to the My Blog menu item, (index.php?blog=1833) the "Blog" menu item is highlighted, the same as if I went to the action=blog item.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

Holder of controversial views, all of which my own.


TheBliveon

#697
I didn't modify anything on the menu, I want to add a blog button to the menu, but when i did it, it wasn't highlighted when i clicked on it, so i removed it again.

This is the code of the theme menu (I have to edit it in the theme the maker told me.

echo '
<ul id="topnav">';
echo '
<li ' , $current_action=='home' ? ' class="chosen"' : '' , '><a href="', $scripturl, '">' , $txt['home'] , '<span>Homepage</span></a></li>';

echo '
<li' , $current_action=='forum' ? ' class="chosen"' : '' , '><a href="', $scripturl, '?action=forum">Community<span>Support Forum</span></a>';

echo '
<ul class="pngbg">
<li><a href="', $scripturl, '?action=help">' , $txt['help'] , '</a></li>';
if ($context['allow_search'])
echo '
<li><a href="', $scripturl, '?action=search">' , $txt['search'] , '</a></li>';
if ($context['allow_calendar'])
echo '
<li><a href="', $scripturl, '?action=calendar">' , $txt['calendar'] , '</a></li>';
if ($context['allow_moderation_center'])
echo '
<li><a href="', $scripturl, '?action=moderate">' , $txt['moderate'] , '</a></li>';
if ($context['allow_admin'])
echo '
<li><a href="', $scripturl, '?action=admin">' , $txt['admin'] , '</a></li>';
if ($context['allow_edit_profile'])
echo '
<li><a href="', $scripturl, '?action=profile">' , $txt['profile'] , '</a></li>';

if ($context['user']['is_logged'] && $context['allow_pm'])
echo '
<li><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a></li>';

if ($context['allow_memberlist'])
echo '
<li><a href="', $scripturl, '?action=mlist">' , $txt['members'] , '</a></li>';
echo '
</ul>
</li>';

echo '
<li><a href="http://localhost/website/index.php?blog=1">News<span>News and Blog</span></a>
<ul class="pngbg">
<li><a href="#">Submenu 1</a></li>
<li><a class="subchild pngbg" href="#">Submenu 2</a>
<ul class="pngbg">
<li><a href="#">Submenu 1</a></li>
<li><a href="#">Submenu 2</a></li>
<li><a href="#">Submenu 3</a></li>
<li><a href="#">Submenu 4</a></li>
</ul>
</li>
<li><a href="#">Submenu 3</a></li>
<li><a href="#">Submenu 4</a></li>
</ul>
</li>';

echo '
<li><a href="#">Menu Item 2<span>Description</span></a>
<ul class="pngbg">
<li><a href="#">Submenu 1</a></li>
<li><a href="#">Submenu 2</a></li>
<li><a href="#">Submenu 3</a></li>
</ul>
</li>';

if ($context['user']['is_logged'])
echo '
<li><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt['logout'] , '<br /><span>Member Logout</span></a></li>';

if ($context['user']['is_guest'])
{
echo '
<li' , $current_action=='login' ? ' class="chosen"' : '' , '><a href="', $scripturl, '?action=login">' , $txt['login'] , '<br /><span>Member Login</span></a>';

echo '
<ul class="pngbg">
<li' , $current_action=='register' ? ' class="chosen"' : '' , '><a href="', $scripturl, '?action=register">' , $txt['register'] , '</a></li>
</ul>
</li>';
}

echo '
</ul>';

}

Kindred

IIRC, this mod adds a button via the hooks...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

SoftwareSamurai

Is it possible to set up a membergroup (call it "bloggers", inherit from Regular Members), enable only "bloggers" to be allowed to blog, and then add members you want to allow to have a blog to the "bloggers" membergroup?

I ask because I've been trying this exact setup, and it's giving me mixed results.

I've selected only the "bloggers" membergroup in Configuration->Manage Blogs->Settings->Groups permitted to have their own blog. In my testing, my regular member "Joe" is in both "bloggers" and "registered" membergroups. (I made a "registered" membergroup inherited from Regular Members just to be able to put him into two membergroups at the same time.) I also put my Administrator account into the "bloggers" and "registered" membergroups. "Joe" can blog, but my Administrator can't.

Perhaps Adk Blog only looks at the "first" or "last" membergroup in the list when checking for enabling blogging when someone is in multiple membergroups?

Advertisement: