Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 09:40 am EST

Geeklog Forums

I would like to add the following


Status: offline

argofan

Forum User
Newbie
Registered: 05/17/05
Posts: 8
I'm running the latest geeklog with phpbb and simple php gallery.

I love the way they all work togeter.I want to add one more thing to it.

Stats

Its all set up and ready to go, I just need to wrap it some how the same way I did with simple php gallery and phpbb. I thought by showing you what I want to wrap I would get the proper instructions. I found lots of ways of doing this on geeklog but I'm not sure what one to use?
my site is here
Thanks
Mark
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
See here.

bye, Dirk
 Quote

Status: offline

argofan

Forum User
Newbie
Registered: 05/17/05
Posts: 8
Thanks Dirk

From here what and where do I put that code?
Thanks
Mark
 Quote

Status: offline

drshakagee

Forum User
Full Member
Registered: 10/01/03
Posts: 231
You put this code at the top of your php files that you access,
Text Formatted Code

require_once ('../lib-common.php');
$display = COM_siteHeader();
echo $display;

 

And put this code at the bottom of the same files:
Text Formatted Code

$display = '<p>' . COM_siteFooter (true); // The true value enables right hand blocks. Change it to false to hide the right blocks.
 echo $display;

 

it looks like: index.php, headtohead.php, and season.php are the files you need to edit.

This is about all I did to get simplephpgallery to be wrapped in Geeklog in the first place. Speaking of SPG, It's nice to see someone using simplephpgallery. Did you have any issues installing it? BTW you can change the name of the folder to anything you want e.g. PhotoZone (instead of simplephpgallery).
Yes I am mental.
 Quote

Status: offline

argofan

Forum User
Newbie
Registered: 05/17/05
Posts: 8
Thanks for the help I'll try it out then let you know when it's done.
As for the simplephpgallery install that went flawless. The only thing I found is you have to watch the way you word your albums.
It's great for what I use it for.
Thanks again
Mark Big Celebration
 Quote

Status: offline

argofan

Forum User
Newbie
Registered: 05/17/05
Posts: 8
Almost Banging your head
Just got this message on the top
How do I get rid of it?

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /xxxx/xxxxx/argofans.com/htdocs/Stats/index.php:4) in /xxxx/xxxxx/argofans.com/htdocs/Stats/index.php on line 5
 Quote

ArgoFans

Anonymous
Why am I getting this message at the top of this page?
here
 Quote

ArgoFans

Anonymous
Why am I getting this message at the top of this page?
here
 Quote

Status: offline

ScurvyDawg

Forum User
Full Member
Registered: 11/06/02
Posts: 523
Hmmm does removing this line

Text Formatted Code

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

 


from your header.thtml fix it?
 Quote

All times are EST. The time is now 09:40 am.

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