Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Wednesday, May 22 2013 @ 03:07 AM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 Adding Geeklog content to an external webpage
First | Previous | 1 2 | Next | Last
   
Chaos Creator
 02/10/08 09:50PM (Read 3669 times)  
++---
Junior

Status: offline


Registered: 02/10/08
Posts: 24
Okay, I'm pretty new to php and geeklog, so please bear with me.

I'm setting up my website so that each subdomain runs a seperate install of Geeklog. There is a main index page that I would like to display the latest posts from each subdomain on. Would I do this with an RSS feed from each subdomain? Or is there a plug-in I need?

Any help would be greatly appreciated.

 
Profile Email Website
 Quote
jmucchiello
 02/11/08 12:16AM  
+++++
Full Member

Status: offline


Registered: 08/29/05
Posts: 985
Why do they need to be separate installs of Geeklog? With GL permissions you can easily have one set of users who never see anything the other set of users sees. You can nearly have two "Administrators" who can only see half the website.

 
Profile Email
 Quote
Anonymous: Chaos Creator
 02/13/08 09:04PM  



Yeah, I've reconfigured my whole heirarchy, and I am now running just one install.

One problem. When I try to edit the config.php file, and upload it, my geeklog spits a bunch of crappy output. Does config.php have to be a specific size or anything? I've made some simple changes, and it still does it.

 
 Quote
Chaos Creator
 02/13/08 09:55PM  
++---
Junior

Status: offline


Registered: 02/10/08
Posts: 24
I have 6 different sections to my website. I want to be able to display the latest posted content from each section on the index page. Not being able to do this and the fact that every time I edit the installed conig.php file a tiny bit, it freaks out have really kind of put me off the whole CMS thing...

 
Profile Email Website
 Quote
jmucchiello
 02/13/08 09:58PM  
+++++
Full Member

Status: offline


Registered: 08/29/05
Posts: 985
Quote by: Chaos Creator

Yeah, I've reconfigured my whole heirarchy, and I am now running just one install.

One problem. When I try to edit the config.php file, and upload it, my geeklog spits a bunch of crappy output. Does config.php have to be a specific size or anything? I've made some simple changes, and it still does it.

Make sure there are no extra spaces after the ?> at the end of your config.php (Or before the <?php).

 
Profile Email
 Quote
1000ideen
 02/14/08 03:54PM  
+++++
Full Member

Status: offline


Registered: 08/04/03
Posts: 1273
What editor are you using? What are the changes you do to the config.php?

What is the "latest posted content" is that the last story? Did you try to switch it to "show on front page"?


 
Profile Email Website
 Quote
Chaos Creator
 02/14/08 04:53PM  
++---
Junior

Status: offline


Registered: 02/10/08
Posts: 24
Quote by: 1000ideen

What editor are you using? What are the changes you do to the config.php?

What is the "latest posted content" is that the last story? Did you try to switch it to "show on front page"?



I changed the site slogan, the number of stories per page, made it to where users had to login to view content, and one or two other minor changes. Nothing that should cause it to do what it does. I checked all the tags, and everything looks good. There's no extra white space anywhere or anything.

Next question: Is there any way to use one style sheet on one section and another style sheet on a different section? Without editing the template pages, I mean. Editing those usually cause some kind of crazy output as well.

And I use Taco Edit on my Mac 10.3 to edit all my html, css, php, etc.

The content is the latest story posted in the section. I want a page with just my logo, copyright info, the latest content arranged in 6 different blocks by 2 rows of 3, and my links to different sections.

 
Profile Email Website
 Quote
Chaos Creator
 02/14/08 05:56PM  
++---
Junior

Status: offline


Registered: 02/10/08
Posts: 24
Okay, I've done a little more reading and found that I can do what I need to do with the centerblocks thing. But now, the problem is that I can't edit the groups that I need to. When I try to go through my admin panel to the groups section, it says there's a SQL error. And I know everything is installed correctly.
I know I can do it through the config.php file, too, but with the problems I had with it last time, I'm afraid to edit the config file at all.

 
Profile Email Website
 Quote
1000ideen
 02/14/08 06:14PM  
+++++
Full Member

Status: offline


Registered: 08/04/03
Posts: 1273
I think it would be good to find out what causes the problems with config.php. Do a step by step change untill the problems arise.
I don`t know about the editor nor ftp or unpack programmes within Mac but there could be problems anywhere.
No you cannot edit groups in the config.php.

Yes you can have a separate CSS with every topic if you build a php switch in the header.

PHP Formatted Code
<link rel="stylesheet" type="text/css" href=
<?php
global $_CONF, $topic;
if ($topic == 'TopicA'){print $_CONF['layout_url'] . '/topicA.css';}
 else {print $_CONF['layout_url'] . '/style.css';}?>
  title="{theme}">


You can have the last posting of each topic on the front page, it is a problem to make 2 rows but I`m sure it can be solved somehow.

 
Profile Email Website
 Quote
Chaos Creator
 02/14/08 06:19PM  
++---
Junior

Status: offline


Registered: 02/10/08
Posts: 24
w00t! I edited my config.php file with no errors! I'd still like to be able to use two style sheets somehow. I'm working on the centerblock now.

 
Profile Email Website
 Quote
Chaos Creator
 02/14/08 06:22PM  
++---
Junior

Status: offline


Registered: 02/10/08
Posts: 24
Excellent. Thanks for the tip. Things are looking up, now. I'll surely have more questions.

 
Profile Email Website
 Quote
Chaos Creator
 02/14/08 06:43PM  
++---
Junior

Status: offline


Registered: 02/10/08
Posts: 24
Well, it didn't take long, but I have another question. How can I edit groups without use of the admin cp? My Groups section just keeps giving the SQL error.

 
Profile Email Website
 Quote
1000ideen
 02/14/08 06:46PM  
+++++
Full Member

Status: offline


Registered: 08/04/03
Posts: 1273
debug the error, use $_CONF['rootdebug'] = true; in config.php and look at error.log

 
Profile Email Website
 Quote
Chaos Creator
 02/14/08 07:22PM  
++---
Junior

Status: offline


Registered: 02/10/08
Posts: 24
"Fri 15 Feb 2008 02:21:02 EET - 1054: Unknown column 'grp_gl_core' in 'where clause'. SQL in question: SELECT * FROM ge_groups WHERE (grp_gl_core = 0 OR grp_id in (2,13)) "

So something's wrong in the database? Or is it a bad query?

Also, I tried to set a centerblock before the PHP was enabled, and now I can't see anything in the center section. None of my admin options show up either...

 
Profile Email Website
 Quote
jmucchiello
 02/14/08 09:23PM  
+++++
Full Member

Status: offline


Registered: 08/29/05
Posts: 985
Is this an upgrade from an older version of Geeklog? A new install should not have any problems with that field.

 
Profile Email
 Quote
Chaos Creator
 02/15/08 01:10PM  
++---
Junior

Status: offline


Registered: 02/10/08
Posts: 24
It's an install provided by my web host. I think it's 1.4.1. Should I try to get an install and do it myself?

 
Profile Email Website
 Quote
jmucchiello
 02/15/08 05:29PM  
+++++
Full Member

Status: offline


Registered: 08/29/05
Posts: 985
Yes. Always install software yourself, not just Geeklog. You never know what a webhost has done if they install it and they aren't going to support you if you have problems.

 
Profile Email
 Quote
Chaos Creator
 02/15/08 07:57PM  
++---
Junior

Status: offline


Registered: 02/10/08
Posts: 24
I can't SSH into the host to install it. Great.

 
Profile Email Website
 Quote
Chaos Creator
 02/15/08 10:35PM  
++---
Junior

Status: offline


Registered: 02/10/08
Posts: 24
Great. I can't manage my plugins, either.

 
Profile Email Website
 Quote
Dirk
 02/16/08 04:06AM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
As Joe said, that error shouldn't happen on a fresh install. We have no control over what those autoinstallers include in their packages - it's possible that their package is faulty.

And you don't need ssh access to install Geeklog (although it can be more convenient that way). ftp will do just fine - you only need to remember to edit config.php and lib-common.php before you upload them.

bye, Dirk

 
Profile Email Website
 Quote
First | Previous | 1 2 | Next | Last
Content generated in: 1.55 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content