Template: Basic Blog

Posted by fmon 
Template: Basic Blog
August 10, 2007 10:08PM
This is the Phorum blog template updated to run with Phorum 5.2. It looks the same. Only the minimum changes necessary to run with 5.2 have been made. Enhancements will come when the blog collection is updated.



Edited 1 time(s). Last edit at 08/10/2007 10:18PM by fmon.
Attachments:
open | download - basic_blog.zip (11.9 KB)
open | download - basic blog screenshot.jpg (28.5 KB)
Re: Template: Basic Blog
December 16, 2007 10:48PM
One needs to add the stdblock.tpl if used in combination with the online users mod. Also, the changes called out in [www.phorum.org] need to be applied. It works great, I use it for static content, and just link to specific entries.
Re: Template: Basic Blog
December 17, 2007 03:21PM
I plan on doing a complete rewrite soon. The cu rent version was put together by modifying the blog for phorum 5.1 I have Phorum 5.2RC1 running and will probably start from scratch using the lightweight temp as a starting point.

Wow, didn't think anyone used this!
Re: Template: Basic Blog
August 19, 2008 05:06AM
I have the newest Phorum version (5.2.8) running in my private server and I have ran into problem. The messages->body command just doesn't work. I suspect that the problem is that the command is in list.php which might not have access to that particular info?

So, what could I do?
Re: Template: Basic Blog
August 19, 2008 11:27AM
See settings.tpl. There is a variable in there to make bodies available in the list page.

Brian - Personal Blog
Re: Template: Basic Blog
August 19, 2008 12:11PM
Thanks a lot, it works.
Re: Template: Basic Blog
August 20, 2008 06:49PM
Hi, I'm trying to use this template and have run into a problem with the header file. I'm using 5.2.8.

If I change anything, and I mean anything, I get this error:

Quote

Warning: Cannot modify header information - headers already sent by (output started at /tmp/tpl-blog-header-438d7265a8ae2cc42bec9a53d4ff07df.php-stage2:5) in /tmp/tpl-blog-header-438d7265a8ae2cc42bec9a53d4ff07df.php-stage2 on line 5

I can't even change a single character. From past experience on other systems, this would result from extra white spaces in <php> tags or something like that. But I literally cannot change a single character.

Any ideas?
Re: Template: Basic Blog
August 21, 2008 01:11AM
What do the first five lines of /tmp/tpl-blog-header-438d7265a8ae2cc42bec9a53d4ff07df.php-stage2 look like? Did you look at that file? According to the error message, that one is where the errors are coming from.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Template: Basic Blog
August 21, 2008 07:55AM
I cannot find that file. Can you tell me where it is located? I don't even have a tmp directory on this site.
Re: Template: Basic Blog
August 21, 2008 07:59AM
Yes you do, but it might be that you have an FTP account that is restricted to your document root. In that case you cannot reach the /tmp directory.

You can make the "cache" directory in the Phorum directory writable for the webserver (normally using chmod 777, rwxrwxrwx or whatever your FTP client calls it). After that, you can go to the admin cache settings and change the cache directory to "./cache" (mind the dot at the start!) From then on, the cache files should appear in the cache directory and you can access them.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Sorry, only registered users may post in this forum.

Click here to login