[RC] cBB Blog

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!
Anti-Spam Guide
User avatar
canidev
Registered User
Posts: 208
Joined: Sun Jun 26, 2011 5:40 pm
Location: Spain

Re: [RC] cBB Blog

Post by canidev »

Hi,

A similar problem appears with russian characters.
See this topic: http://www.canidev.com/viewtopic.php?f=22&t=362#p1387
koziolek
Registered User
Posts: 5
Joined: Tue Oct 04, 2011 11:28 am

Re: [RC] cBB Blog

Post by koziolek »

Thanks. Now it's ok :)
elsa23
Registered User
Posts: 180
Joined: Sun Jul 25, 2010 3:36 am

Re: [RC] cBB Blog

Post by elsa23 »

Hi,

I want try this MOd but in instructions:

Code: Select all

Open: includes/db/dbal.php

Find
<link href="' . $phpbb_root_path . 'adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />

Replace with
<link href="' . generate_board_url() . '/adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />
i have this (changed by phpBB SEO Ultimate SEO URL v0.7.0 )

Code: Select all

<link href="' . $phpbb_seo->seo_path['phpbb_url'] . 'adm/style/admin_new.css" rel="stylesheet" type="text/css" media="screen" />
what must i do to install MOD correctly?

Thanks
sorry for my bad english
User avatar
canidev
Registered User
Posts: 208
Joined: Sun Jun 26, 2011 5:40 pm
Location: Spain

Re: [RC] cBB Blog

Post by canidev »

Hi,

You can skip this change. The mod should work fine with the change already made by the SEO mod
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [RC] cBB Blog

Post by Jessica »

EDIT: SORRY! Never mind.
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
livlogik
Registered User
Posts: 11
Joined: Mon Jan 06, 2014 2:08 am

Re: [RC] cBB Blog

Post by livlogik »

Is there a way to get i image to show up in the preview?

for example --->


this is what they see for the preview of the post ---> http://deviantdevs.com/blog/

this is what they see when they click on the blog post ---> http://deviantdevs.com/blog/view.php?c=2&p=3


i want them to be able to see the whole post including the picture without them having to click on it ... is this possible?

Thanks in advance,

Zach
Steve E.
Registered User
Posts: 17
Joined: Thu Feb 20, 2014 10:19 pm

Re: [RC] cBB Blog

Post by Steve E. »

Dear CaniDev,

I am trying out your cBB Blog. I have encountered a problem I can't fix. Perhaps because I had previously tried out a different blog mod (Blog/Knowledgebase Mod 1.0.0), the "blog" link in the header of my site always points wrong: it looks for http://www.mysite.com/blog.php instead of http://www.mysite.com/blog/. How can I fix the link? I can't even figure out where it is calling such a link.

I am running this in 3.0.12. I know you are only guaranteeing it for 3.0.11 but I thought I'd try it anyway.
Thank you.

Steve
User avatar
canidev
Registered User
Posts: 208
Joined: Sun Jun 26, 2011 5:40 pm
Location: Spain

Re: [RC] cBB Blog

Post by canidev »

Steve E. wrote:Dear CaniDev,

I am trying out your cBB Blog. I have encountered a problem I can't fix. Perhaps because I had previously tried out a different blog mod (Blog/Knowledgebase Mod 1.0.0), the "blog" link in the header of my site always points wrong: it looks for http://www.mysite.com/blog.php instead of http://www.mysite.com/blog/. How can I fix the link? I can't even figure out where it is calling such a link.

I am running this in 3.0.12. I know you are only guaranteeing it for 3.0.11 but I thought I'd try it anyway.
Thank you.

Steve
Hi,

Possibly you have not completely removed the previous mod.
You must look for the variable "U_BLOG" (probably in includes/functions.php) and delete it.
User avatar
Mathieu M.
Registered User
Posts: 181
Joined: Tue Nov 02, 2010 11:42 am
Location: France 🇫🇷
Name: Mathieu

Re: [RC] cBB Blog

Post by Mathieu M. »

Hello,

I try to move all the phpbb/blog/ folder to my domain root.

At this moment, it looks like :

mydomain/
--- mydomain/blog/ (with all root/blog/ files contained in the MOD package)
--- mydomain.com/phpbb/

I have edited all files inside blog/ folder to modify PHPBB_ROOT_PATH. I have also modify this : var $pathname = 'blog/'; to var $pathname = '../blog/'; in phpbb/includes/hooks/hook_blog.php but when I go to mydomain/blog/install/ the installer says :
There was an error during installation that forces to cancel.
This error may be due to changes made to the files incorrectly on the forum or has corrupted files.
What's the problem ?


Thanks.
πŸ˜„πŸ˜„πŸ˜πŸ˜„πŸ˜„
User avatar
canidev
Registered User
Posts: 208
Joined: Sun Jun 26, 2011 5:40 pm
Location: Spain

Re: [RC] cBB Blog

Post by canidev »

Hi

I never test the blog in another directory, so, I don't warranty that it will be runs well if you change the work path.

I think that your error in the install is because you need to edit all the filenames in /install/index.php". Like this:

Code: Select all

	'constants'			=> $phpbb_root_path . 'blog/includes/constants.' . $phpEx,
In your case it should be:

Code: Select all

	'constants'			=> $phpbb_root_path . '../blog/includes/constants.' . $phpEx,
User avatar
Mathieu M.
Registered User
Posts: 181
Joined: Tue Nov 02, 2010 11:42 am
Location: France 🇫🇷
Name: Mathieu

Re: [RC] cBB Blog

Post by Mathieu M. »

OK, now the installer seems to start but it shows me these errors :
Need Requirements
[*]MOD Main Class.
[*]Writable folder "/blog/files/"
Well, blog/images/ folder is set to CHMOD 777 so it should be good... And I don't know what is "MOD Main Class".

What can I do ?


Thanks.
πŸ˜„πŸ˜„πŸ˜πŸ˜„πŸ˜„
User avatar
canidev
Registered User
Posts: 208
Joined: Sun Jun 26, 2011 5:40 pm
Location: Spain

Re: [RC] cBB Blog

Post by canidev »

You must change the paths in /install/install_install.php

Code: Select all

if(file_exists($phpbb_root_path . "blog/includes/constants.$phpEx"))

Code: Select all

if(phpbb_is_writable($phpbb_root_path . "blog/files/"))
User avatar
Mathieu M.
Registered User
Posts: 181
Joined: Tue Nov 02, 2010 11:42 am
Location: France 🇫🇷
Name: Mathieu

Re: [RC] cBB Blog

Post by Mathieu M. »

Great.

Installation seems to be completed. I will do some tests in the next days ;)
πŸ˜„πŸ˜„πŸ˜πŸ˜„πŸ˜„
User avatar
Mathieu M.
Registered User
Posts: 181
Joined: Tue Nov 02, 2010 11:42 am
Location: France 🇫🇷
Name: Mathieu

Re: [RC] cBB Blog

Post by Mathieu M. »

First 2 bugs found :

1- when i click on viewtopic button "Post topic in the blog" and then "View submitted entry", the URL is broken (/phpbb/.blog/view.php?p=2 instead of /blog/view.php?p=2).

2- when I enable Friendly URLs, I get 404 errors.

What's the problem ?


Thanks.
πŸ˜„πŸ˜„πŸ˜πŸ˜„πŸ˜„
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [RC] cBB Blog

Post by Jessica »

EDIT: Ignore. Removed the mod as the style doesn't seem to be compatible with it :/

EDIT #2: ---removed---

Solved.
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

Return to β€œ[3.0.x] MODs in Development”