Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-11-2008, 09:15 AM   #1
teenfeetcash
Confirmed User
 
Join Date: Jun 2007
Posts: 527
Site Depth Guru's Please Could I have 1 Min?

Hey

We are playing around with Site Depth as the CMS for our sites and for some reason if we embed:

<?php
$show = 'news';
require_once 'xxxxxxxxxxxx/websites/2.php';
require_once 'xxxxxxxxxxxx/members_area.php';
?>

and

<?php
$show = 'recent_gal_updates';
require_once 'xxxxxxxxxxxx/websites/2.php';
require_once 'xxxxxxxxxxxx/members_area.php';
?>

In 2 separate tables on the same page, only content from 1 of the categories is displayed, and the other table is just blank.

If I have 1 category populated by SD on any table it works, but more than 1 php call it only shows content from 1 category.

I would assume it's ok to call <?php . . . many times on a page?

Any help would be appreciated.
__________________
Got Foot Traffic?

http://www.teenfeetcash.com
teenfeetcash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-11-2008, 10:18 AM   #2
The Heron
Confirmed User
 
Industry Role:
Join Date: Apr 2001
Location: Michigan
Posts: 4,487
instead of "require_once" just use "require" think that'll work
The Heron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-11-2008, 10:19 AM   #3
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Quote:
Originally Posted by teenfeetcash View Post
Hey

We are playing around with Site Depth as the CMS for our sites and for some reason if we embed:

<?php
$show = 'news';
require_once 'xxxxxxxxxxxx/websites/2.php';
require_once 'xxxxxxxxxxxx/members_area.php';
?>

and

<?php
$show = 'recent_gal_updates';
require_once 'xxxxxxxxxxxx/websites/2.php';
require_once 'xxxxxxxxxxxx/members_area.php';
?>

In 2 separate tables on the same page, only content from 1 of the categories is displayed, and the other table is just blank.

If I have 1 category populated by SD on any table it works, but more than 1 php call it only shows content from 1 category.

I would assume it's ok to call <?php . . . many times on a page?

Any help would be appreciated.
Last time I asked about this I was told only one instance per page would work. You might try an iframe for the second, but I think it didn't work for me when I tried that.
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-11-2008, 10:27 AM   #4
teenfeetcash
Confirmed User
 
Join Date: Jun 2007
Posts: 527
The Heron - You are a star, many thanks it works a treat

Also thanks for your reply stickyfingerz
__________________
Got Foot Traffic?

http://www.teenfeetcash.com
teenfeetcash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-11-2008, 10:30 AM   #5
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Quote:
Originally Posted by teenfeetcash View Post
The Heron - You are a star, many thanks it works a treat

Also thanks for your reply stickyfingerz
Ok wish I would of been given that answer when I asked lol. Ill also try this out. It wasn't critical what I was doing at the time so I didn't put a ton of effort into a solution.
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-11-2008, 10:31 AM   #6
The Heron
Confirmed User
 
Industry Role:
Join Date: Apr 2001
Location: Michigan
Posts: 4,487
Not sure how I came up with that, they might have told me or I might have stumbled on it. Either way, might not be secure or something could be why they didn't mention it...
The Heron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-11-2008, 10:46 AM   #7
teenfeetcash
Confirmed User
 
Join Date: Jun 2007
Posts: 527
Just been on ICQ with Omar and require is secure - thanks guy's I was working on this all day!
__________________
Got Foot Traffic?

http://www.teenfeetcash.com
teenfeetcash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-11-2008, 11:05 AM   #8
The Heron
Confirmed User
 
Industry Role:
Join Date: Apr 2001
Location: Michigan
Posts: 4,487
Glad to help, sitedepth is topnotch
The Heron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.