Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Intergration into site

Quote Reply
Intergration into site
Hi there, I am trying to intergrate this forum into a test site which is in .php Now i can get the forum to show where i want using ""virtual("forum/gforum.cgi");"" the forum is in its own dir. but if you try to click on a forum to view a post you get errors, It seems that its not going to the right url its missing the "forum/" out.
Can anybody help me out here plz
The forum is at http://www.iooi.co.uk/...k9s02t8dy/second.php
Ain't this fun...
Quote Reply
Re: [John R] Intergration into site In reply to
Edit the globals where your forum url is located or edit the templat files.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [AnthroRules] Intergration into site In reply to
Sorry i was not quite clear enough, I can run the forum OK on its own, but when i try to intergrate it into my test site using the "virtural" comand some how it loses the forum/ dir from the url when trying to view any posts. All the urls are OK in the gobal settings.
Ain't this fun...
Quote Reply
Re: [John R] Intergration into site In reply to
Hi,

Not sure, but maybe try:

virtual("/forum/gforum.cgi");

Assuming it's installed at http://yoursite/forum/gforum.cgi.

Also, does that pass the query_string through properly? i.e. if I go to forum.php?foo does it load /forum/gforum.cgi?foo?

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Intergration into site In reply to
If i use virtual("/forum/gforum.cgi"): this is what i get..
Warning: Unable to include '/forum/gforum.cgi' - request execution failed
I have added a link on my page to the forum on its own page just to show the differnce in the two.

Could i intergrate it using the global vars to include the .php files instead of what i am trying to do ?
Ain't this fun...
Quote Reply
Re: [John R] Intergration into site In reply to
OK i have sorted it out, sort of. Had to edit the include_header and footer files in the template/default dir to include the files i needed, but had to change my files from .php to html for it to work. Its a bit dirty but it works.
Next target to intergrate with my main site which uses "thatware"
Ain't this fun...
Quote Reply
Re: [John R] Intergration into site In reply to
Like I originally suggested! Tongue
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [AnthroRules] Intergration into site In reply to
Blush
Yes thank you for your help in pointing me in the right direction.
Smile
Ain't this fun...