Previous Thread
Next Thread
Print Thread
Hop To
#37249 05/07/2003 6:49 PM
Anonymous
Unregistered
Anonymous
Unregistered
I just thought I'd check with the Threads Guru's before I did it.

I need to create a testing area for my forums on the same server. Does anyone have problems, say, running a differnetly named db and when finished testing then just upload the changed files to the existing forum?

I could easily run one for testing on another server but would like to make certain it was running on EXACTLY the same configuration as the 'live' one.

Cheers

#37250 05/07/2003 6:57 PM
Anonymous
Unregistered
Anonymous
Unregistered
Yeah, that's no problem. The actual threads scripts are not databas specific. So play with and customize your files in a test directory, then move them to your live site.

The only files you shouldn't udpdate are config.inc.php and main.inc.php as those contain the settings of Paths, URLs and database access info. <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Josh
www.joshuapettit.com
ThreadsDev.com Administrator | InfoPop Community Moderator
Register to see my How To/Site Help Library Forum at ThreadsDev.com.
My threads 'tweaking' abilities are for hire for upgrades, tweaks and modifications.

#37251 05/08/2003 7:41 AM
Anonymous
Unregistered
Anonymous
Unregistered
Thanks Josh - just as I thought. I just wanted to double check as I remember some VERY old version problems on this. . .

It will be good to test updates and hacks prior to making them live . . eh Rick! <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

#37252 05/08/2003 12:09 AM
Anonymous
Unregistered
Anonymous
Unregistered
The issue, which I think was corrected is the cookie prefix.

All the cookies will be prefixed with w3t_
So running 2 boards on teh same server, your cookies can get confused - when you setup your test site... set the cookie prefix to something else (like 'test_') then the cookies will be different from one install to another. <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Josh
www.joshuapettit.com
ThreadsDev.com Administrator | InfoPop Community Moderator
Register to see my How To/Site Help Library Forum at ThreadsDev.com.
My threads 'tweaking' abilities are for hire for upgrades, tweaks and modifications.

#37253 05/08/2003 1:03 AM
Anonymous
Unregistered
Anonymous
Unregistered
Good call Josh. . . well remembered.

I have enough problems with cookies. . . don't want to make it worse!

Its set in the config is it not? However, I am also getting ready photopost to add to the forum. I wanted to run the cookies with this too. Have you any tips on getting them to run on both easily?

I'd also like to extend their life too. . . I think they are set at 30 days as default? I'd like to make them much longer.

Interesting though. . . thanks for the input.

#37254 05/08/2003 2:56 AM
Anonymous
Unregistered
Anonymous
Unregistered
Earlier versions of photopost didn't recognize the cookies if you were using a custom prefix. I think the latest version does.

Usually any quirks that users might have being recognized going between photopost and threads can be fixed by them re-logging in and checking the "remember me" box.

You can configure the expiration time of cookies (in seconds) in the config file. Cookie prefix is there too. <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Josh
www.joshuapettit.com
ThreadsDev.com Administrator | InfoPop Community Moderator
Register to see my How To/Site Help Library Forum at ThreadsDev.com.
My threads 'tweaking' abilities are for hire for upgrades, tweaks and modifications.

#37255 05/08/2003 4:59 PM
Anonymous
Unregistered
Anonymous
Unregistered
Sweet! Nice one Josh. . . It will be interesting to see how the photopost install goes! <img border="0" title="" alt="[Wink]" src="images/icons/wink.gif" />

Am creating a test area for that too so I can debug and improve that too offline.

Looks like a busy week or so coming up. . . <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Having issues going from 7.5.5. to 8X
by Mors - 10/22/2026 5:32 PM
Slow Queries - Any Ideas?
by BellaOnline - 10/16/2026 8:34 PM
Selling a Forum?
by ECNet - 10/10/2026 2:54 PM
Who's Online Now
0 members (), 1,130 guests, and 107 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261016)