TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 103
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 94
  • Total: 94

Recent Topics from 2 forums?

Started by carver, February 12, 2006, 03:46:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

carver

I have 2 forums running on a site, same database, sharing some tables, like members, themes and some others. Is there a way to call recent topics from both forums into blocks?
one works fine, but when i try to address the second forum, I still pull topics from the first.

The main forum is in the root of the site www.gardenrefuge.com the other is at www.gardenwaters.com/tutorials/

I used the include tutorials/SSI.php when I tried to place the recent topics in the block hoping to get the right forum, but it still pulls posts from the main...

Have I managed to confuse everyone, if not I can explain somemore..  ;D

Thanks for any thoughts.
Curt

IchBin

I'm not sure if this possible or not really. What have you done to try this? Have you created a script to do this? Or just trying to do it in a recent topics block? I would think that it might be possible if you tell the script to call the "other" SSI.php file.

carver

Basicly I have just tried it in a block: I will work at it more in the morning..

I put:
require("/****/*****/Public_html/tutorials/SSI.php
ssi_topTopicsReplies();

And I get topics from the main forum, not the on in the tutorials directory..
Thanks IchBin.. I will play more with it and see what happens..

Curt

This website is proudly hosted on Crocweb Cloud Website Hosting.