[RC] Blog / Knowledge Base MOD 1.0.0

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!
Ideas Centre
User avatar
modernist
Registered User
Posts: 79
Joined: Mon Mar 15, 2010 9:13 pm
Location: Klopstokia

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by modernist »

I've used

Code: Select all

  	$blog_page_name = $user->lang['BLOG_BLOG'];
just before

Code: Select all

$template->assign_vars(array(
  'S_ACTION'           => $action,
	'U_NEW_ARTICLE'      => ( $auth->acl_get('u_blog_add_articles') || $auth->acl_get('a_') ) ? append_sid("{$phpbb_root_path}blog.{$phpEx}", 'action=add') : '',
	'S_DISABLE_COMMENTS' => ($config['blog_comments_disable']) ? true : false,
	'BLOG_PAGE_NAME'     => $blog_page_name,
));
BLOG_PAGE_NAME is used as headline in the template.
"It ain't a fit night out for man or beast."
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by 4_seven »

thx for the hint.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
eMOTIVe
Registered User
Posts: 56
Joined: Thu Jan 05, 2012 11:55 pm
Name: Josh Buesking

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by eMOTIVe »

modernist wrote:I've used

Code: Select all

  	$blog_page_name = $user->lang['BLOG_BLOG'];
just before

Code: Select all

$template->assign_vars(array(
  'S_ACTION'           => $action,
	'U_NEW_ARTICLE'      => ( $auth->acl_get('u_blog_add_articles') || $auth->acl_get('a_') ) ? append_sid("{$phpbb_root_path}blog.{$phpEx}", 'action=add') : '',
	'S_DISABLE_COMMENTS' => ($config['blog_comments_disable']) ? true : false,
	'BLOG_PAGE_NAME'     => $blog_page_name,
));
BLOG_PAGE_NAME is used as headline in the template.
That's what I added first and id did the same thing as when I removed it.
User avatar
eMOTIVe
Registered User
Posts: 56
Joined: Thu Jan 05, 2012 11:55 pm
Name: Josh Buesking

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by eMOTIVe »

The list bbcode is kinda buggy also. I'll post a fix once I find it.
User avatar
eMOTIVe
Registered User
Posts: 56
Joined: Thu Jan 05, 2012 11:55 pm
Name: Josh Buesking

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by eMOTIVe »

to fix "list" bbcode formatting.

open blog_body.html

Find:

Code: Select all

    <p style="font-size: 1.2em; margin: 0 0 10px;">
      {ARTICLE_TEXT}
    </p>
Replace with:

Code: Select all

    <div class="content" style="font-size: 1.2em; margin: 0 0 10px;">
      {ARTICLE_TEXT}
   </div>
User avatar
Eragon
Registered User
Posts: 218
Joined: Tue Oct 07, 2008 1:57 pm

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by Eragon »

How do I show the number of blog entries (overall_header)

example

blog(1) or new blog entries (1)


thanks
User avatar
victory1
Registered User
Posts: 935
Joined: Sun Oct 10, 2010 6:47 pm
Contact:

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by victory1 »

So FB92 has delayed production of KB Mod. I've been waiting for a working KB Mod for a long time. I want to use this mod as a KB. I don't need or want a Blog. I actually need to use it as a wiki, to add my Troubleshooting Database to. I'm now using a Thread, that I keep having to edit to add new ones. That's why I was looking forward to a real KB. This is my Troubleshooting Database Thread http://www.sonyreaderboards.com/forums/ ... ?f=16&t=52
Like I said, I'm going to try to convert it using this modification. I need to rename it to KB (blog would be confusing since it will be a database). What do I need to change to rename the page from blog to kb? Thanks
User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by Kamahl19 »

victory1 wrote:So FB92 has delayed production of KB Mod. I've been waiting for a working KB Mod for a long time. I want to use this mod as a KB. I don't need or want a Blog. I actually need to use it as a wiki, to add my Troubleshooting Database to. I'm now using a Thread, that I keep having to edit to add new ones. That's why I was looking forward to a real KB. This is my Troubleshooting Database Thread http://www.sonyreaderboards.com/forums/ ... ?f=16&t=52
Like I said, I'm going to try to convert it using this modification. I need to rename it to KB (blog would be confusing since it will be a database). What do I need to change to rename the page from blog to kb? Thanks
Just rewrite language files and it is a KB
Peter77sx
Registered User
Posts: 3260
Joined: Wed Nov 09, 2005 2:51 pm

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by Peter77sx »

Hello. I tested this MOD out and it seems solid. does what is meant to do. It feels as though it can use a bit small features such as tags or RSS for example... or description for categories and sub categories. Use phpbb's own subscribing mechanisms and bookmarks. :)
User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by Kamahl19 »

Peter77sx wrote:Hello. I tested this MOD out and it seems solid. does what is meant to do. It feels as though it can use a bit small features such as tags or RSS for example... or description for categories and sub categories. Use phpbb's own subscribing mechanisms and bookmarks. :)
RSS and Tags are pretty good idea. Description for categories? I dont know, does wordpress have description and subcategories? Bookmarking is also nice idea
Peter77sx
Registered User
Posts: 3260
Joined: Wed Nov 09, 2005 2:51 pm

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by Peter77sx »

Hm well descriptions is used in the admin panel in wordpress. Maybe not a good idea afterall. but yes, it does support hierarchy of categories.
Qene
Registered User
Posts: 73
Joined: Sun Aug 29, 2010 10:57 pm
Location: Turkey

Re: [RC] Blog MOD 1.0.0

Post by Qene »

keith10456 wrote:Attachments would be a huge bonus ;)
Insallah :)
wait me..
rigoberto
Registered User
Posts: 92
Joined: Sat Jan 07, 2012 7:51 pm

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by rigoberto »

Why do you have it here for free and here http://www.phpbb3hacks.com/viewtopic.ph ... fb461c3222 you charge? Is there a difference?
User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by Kamahl19 »

rigoberto wrote:Why do you have it here for free and here http://www.phpbb3hacks.com/viewtopic.ph ... fb461c3222 you charge? Is there a difference?
Look closer, it is different MOD. This is Blog MOD and that one is User blogs MOD
Last edited by camm15h on Mon Apr 09, 2012 11:18 am, edited 1 time in total.
Reason: Split following posts off to avoid confusion for others...
Magastart
Registered User
Posts: 23
Joined: Sun Feb 13, 2011 3:37 pm
Contact:

Re: [RC] Blog / Knowledge Base MOD 1.0.0

Post by Magastart »

We must add the bookmark,rss and social buttons.also articles dont appear on user last topic from search.php.need tags too.
Locked

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