Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1 Add-ons:
Please help - using ubbthreads

 

 


ahmedwissam
Novice

Nov 7, 2002, 3:05 PM

Post #1 of 16 (21726 views)
Shortcut
Please help - using ubbthreads Can't Post

Hi Guys,

I have really tried hard to get the discussion link working with ubbthreads. My news site and my forum site are hosted on different servers, does this not work?



I am getting the debug error:



Content-type: text/html Error parsing story thread URL. Unable to redirect. at goforum.cgi line 385.



The link to my forum seems ok as I get a sort of non-graphical version of it, but a new thread does not get created. What am I doing wrong?


ken_itools
Staff


Nov 7, 2002, 4:00 PM

Post #2 of 16 (21723 views)
Shortcut
Re: [ahmedwissam] Please help - using ubbthreads [In reply to] Can't Post

Hi ahmedwassam,

Set goforum.cgi to debug mode by setting $g{'debug'} = 1; This will show you the responses which goforum.cgi is receiving when attemptiong to post that first message. You may find something useful in there.
----------
Ken Clarke - YAPG (Yet Another Perl Guy :)

interactivetools.com, inc. 
Tel: (604)689-3347 - Fax: (604)689-3342 - Toll Free: 1(800)752-0455 


ahmedwissam
Novice

Nov 8, 2002, 2:36 AM

Post #3 of 16 (21714 views)
Shortcut
Re: [ken] Please help - using ubbthreads [In reply to] Can't Post

Thanks Ken,

I already set the debug to 1 this is what i get

Server response to login request
--------------------------------------------------------------------------------

HTTP/1.1 200 OK Date: Fri, 08 Nov 2002 10:31:35 GMT Server: Apache/1.3.26 (Unix) mod_bwprotect/0.2 mod_bwlimited/1.0 PHP/4.2.3 mod_log_bytes/0.3 FrontPage/5.0.2.2510 mod_ssl/2.8.10 OpenSSL/0.9.6b X-Powered-By: PHP/4.2.3 Set-Cookie: w3t_myid=2; expires=Wed, 20-Nov-02 10:31:35 GMT; path=/ Set-Cookie: w3t_key=9cce4ec8e6f7d68cd8ab8e4bc26e7ad0; expires=Wed, 20-Nov-02 10:31:35 GMT; path=/ Set-Cookie: w3t_mysess=4c9d05e62e91554c5348f78f8f2cd45b; path=/ Set-Cookie: w3t_language=english; expires=Wed, 20-Nov-02 10:31:35 GMT; path=/ Set-Cookie: ubbt_pass=deleted; expires=Thu, 08-Nov-01 10:31:34 GMT; path=/ Set-Cookie: ubbt_dob=deleted; expires=Thu, 08-Nov-01 10:31:34 GMT; path=/ Connection: close Content-Type: text/html

then i get this lower down

Server response to new thread request
--------------------------------------------------------------------------------

HTTP/1.1 200 OK Date: Fri, 08 Nov 2002 10:31:35 GMT Server: Apache/1.3.26 (Unix) mod_bwprotect/0.2 mod_bwlimited/1.0 PHP/4.2.3 mod_log_bytes/0.3 FrontPage/5.0.2.2510 mod_ssl/2.8.10 OpenSSL/0.9.6b X-Powered-By: PHP/4.2.3 Connection: close Content-Type: text/html

then I get this at the bottom

Content-type: text/html Error parsing story thread URL. Unable to redirect. at goforum.cgi line 385.

I have no idea what all this means... do you?


trackpads
User

Dec 26, 2002, 4:59 PM

Post #4 of 16 (21649 views)
Shortcut
Re: [ahmedwissam] Please help - using ubbthreads [In reply to] Can't Post

any luck on this yet? I am getting the same error.



Thanks!



-Jason


trackpads
User

Dec 26, 2002, 5:44 PM

Post #5 of 16 (21647 views)
Shortcut
Re: [armyocs] Please help - using ubbthreads [In reply to] Can't Post

This is the error that UBBTHreads replies with- "The host you are trying to send the input from is not a valid host."


trackpads
User

Dec 26, 2002, 5:50 PM

Post #6 of 16 (21646 views)
Shortcut
Re: [armyocs] Please help - using ubbthreads [In reply to] Can't Post

HA!!! Figured it out!!! Make sure in the UBBTHreads Config you disable the "Check Referer" or it will fail.



Once I disabled it everything went kosher!



Thanks again!!



-Jason


ahmedwissam
Novice

Dec 27, 2002, 8:50 AM

Post #7 of 16 (21638 views)
Shortcut
Re: [armyocs] Please help - using ubbthreads [In reply to] Can't Post

I tried that, but I still get the same error message. I don't know what else to try


trackpads
User

Dec 27, 2002, 11:31 AM

Post #8 of 16 (21634 views)
Shortcut
Re: [ahmedwissam] Please help - using ubbthreads [In reply to] Can't Post

Just a note too, I had them on seperate domains but it would not work, once I did the disabling and moved it onto the same domain it worked.

I think your problem is having it on seperate domains, UBBT must not like that much. Go to www.threadsdev.com and ask them if they know why, they are the UBBT experts.

-Jason


canvey
User

Dec 27, 2002, 2:52 PM

Post #9 of 16 (21628 views)
Shortcut
Re: [armyocs] Please help - using ubbthreads [In reply to] Can't Post


In Reply To
I think your problem is having it on seperate domains, UBBT must not like that much. Go to www.threadsdev.com and ask them if they know why, they are the UBBT experts.

-Jason



LOL - we do our best ;)

If anyone has any UBBT related questions with regards to AM - let me know - I run the two side by side - with them merged in some areas. Poor health has meant that I have not developed this as much as I would have liked - but plan to in the new year.

Fire away with any questions.

Ian
(Moderator on Threadsdev)


trackpads
User

Dec 27, 2002, 3:08 PM

Post #10 of 16 (21626 views)
Shortcut
Re: [canvey] Please help - using ubbthreads [In reply to] Can't Post

Sorry! I hope I didnt offend, I was inferring it was a UBBT problem not the goforum script.

Do you know why it wont work if on seperate domains? I have both domains on the same server even and still no joy.

Also, any idea how to make the script parse to categories based on the AM cats?



Thanks alot!



-Jason


canvey
User

Dec 27, 2002, 3:36 PM

Post #11 of 16 (21623 views)
Shortcut
Re: [armyocs] Please help - using ubbthreads [In reply to] Can't Post


In Reply To
Sorry! I hope I didnt offend, I was inferring it was a UBBT problem not the goforum script.

Do you know why it wont work if on seperate domains? I have both domains on the same server even and still no joy.

Also, any idea how to make the script parse to categories based on the AM cats?



Thanks alot!



-Jason



No not at all - I am not sure oif the referrer issue is a UBBT fault - software firewalls also have a problem with it, but a simple configuration change will make them work with UBBT - I do not use the referrer - so have never had any issues with it - when I did the intitial testing with the guys here, the referrer was turned off, so of course it did not crop up, and therefore did not need to be worked around. I am sure it can be altered in the script, as after all it is being referred from the same server.

I had no problems in getting it to run - I did modify it however (after it was working out of the box), before disabling it, due to it being abused by idiots :(

Which version of UBBT? Do you have any mods installed - or is it a clean copy?

As far as the categories are concerned - I added the following code...


Code
     # remove HTML for record data if requested 
if ($g{'remove_html'}) { foreach (sort keys %rec) { $rec{$_} =~ s/<[^>]*>//gs; }} if ($rec{'cat'} == 14) { $g{'forum_board'} = 'UBB21';}
if ($rec{'cat'} == 14) { $g{'forum_cat'} = '1';}
if ($rec{'cat'} == 27) { $g{'forum_board'} = 'UBB20';}
if ($rec{'cat'} == 27) { $g{'forum_cat'} = '2';}
if ($rec{'cat'} == 26) { $g{'forum_board'} = 'UBB3';}
if ($rec{'cat'} == 26) { $g{'forum_cat'} = '3';}
if ($rec{'cat'} == 29) { $g{'forum_board'} = 'UBB22';}
if ($rec{'cat'} == 28) { $g{'forum_cat'} = '4';}
if ($rec{'cat'} == 28) { $g{'forum_board'} = 'UBB23';}
if ($rec{'cat'} == 29) { $g{'forum_cat'} = '5';}
if ($rec{'cat'} == 30) { $g{'forum_board'} = 'UBB35';}
if ($rec{'cat'} == 30) { $g{'forum_cat'} = '34';}



These categories were left over from the UBB days, so hence their names.

Hope that helps,

Ian
http://www.threadsdev.com


trackpads
User

Dec 27, 2002, 3:48 PM

Post #12 of 16 (21621 views)
Shortcut
Re: [canvey] Please help - using ubbthreads [In reply to] Can't Post

Greeat thanks!!



I use 6.2br2 right now.



So if I use that code, what do I use for the variables at the top?


Code
  $g{'forum_num'}    = 5;                   # forum number to create thread in 
$g{'forum_board'} = 'TGBGENDISC'; # board name, ubbthreads and UBB only
$g{'forum_cat'} = '2'; # category, ubbthreads only


Thanks alot!!!!


canvey
User

Dec 27, 2002, 4:06 PM

Post #13 of 16 (21620 views)
Shortcut
Re: [armyocs] Please help - using ubbthreads [In reply to] Can't Post

Just use the standard news forum, the code above will overwrite it anyway.

Ian


trackpads
User

Dec 27, 2002, 5:13 PM

Post #14 of 16 (21618 views)
Shortcut
Re: [canvey] Please help - using ubbthreads [In reply to] Can't Post

Why does it say remove HTML? You wnat me to replace that section too?

I think I got befuddled (not hard for me really ;-)



-Jason


canvey
User

Dec 27, 2002, 5:19 PM

Post #15 of 16 (21616 views)
Shortcut
Re: [armyocs] Please help - using ubbthreads [In reply to] Can't Post

If you can PM me your email address, I will email you the complete file. However as it is now 01.16, it might not be tonight :)

Ian


trackpads
User

Dec 27, 2002, 5:26 PM

Post #16 of 16 (21615 views)
Shortcut
Re: [armyocs] Please help - using ubbthreads [In reply to] Can't Post

Never mind it works GREAT!!!!!



Thanks alot!!



-Jason