Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
1 registered (1 invisible), 19 Guests and 21 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 08/11/06
Posts: 14
Top Posters (30 Days)
Ruben Rocha 103
Rick 81
Mark S 72
Thelockman 56
Gizmo 50
driv 35
ntdoc 32
Sirdude 30
packlite 24
AllenAyres 22
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Page 3 of 9 < 1 2 3 4 5 6 7 8 9 >
Topic Options
Rate This Topic
#3274 - 09/14/06 05:36 PM Re: PHPBB Importer Impressions [Re: Gizmo]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
Seems we're both active! lol
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#3275 - 09/14/06 05:36 PM Re: PHPBB Importer Impressions [Re: Gizmo]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7993
Loc: Aberdeen, WA
I'm faster than you!
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#3276 - 09/14/06 05:45 PM Re: PHPBB Importer Impressions [Re: Gizmo]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
Well the index and viewforum redirectors work beautiful, but the viewtopic one is busted...

This:
http://www.livebridgesucks.com/forum/viewtopic.php?p=5732&highlight=#5732

Sends me to:
http://www.acsdebate.com/bbs/ubbthreads.php/ubb/cfrm#5732

Which is my index?
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#3277 - 09/14/06 05:45 PM Re: PHPBB Importer Impressions [Re: Gizmo]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
You're a monkey :x
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#3278 - 09/14/06 05:46 PM Re: PHPBB Importer Impressions [Re: Gizmo]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
haha this is fun, look at all the markup in this post (its what the above redirect should send you to):
http://www.livebridgesucks.com/bbs/ubbthreads.php?ubb=showflat&Number=5659&Main=452#Post5659

_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#3279 - 09/14/06 05:48 PM Re: PHPBB Importer Impressions [Re: Gizmo]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7993
Loc: Aberdeen, WA
It's always tough to import from a product you don't know much about. From the little I monkeyed with it, it looked like all the links were to ?t= for a topic, but that looks like it's linking to an individual post in a topic correct? If so, I'll give you some code to fix that shortly.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#3280 - 09/14/06 05:51 PM Re: PHPBB Importer Impressions [Re: Rick]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
I think p= goes to the topic, then # goes to the post... THINK mind you lol

This is using the "old" url:
http://www.livebridgesucks.com/forum/viewtopic.old.php?p=5732&highlight=#5732

I'll look for a thread with more content...
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#3281 - 09/14/06 05:53 PM Re: PHPBB Importer Impressions [Re: Gizmo]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
wow phpbb is odd... Heres a post with more bulk, BUT it uses t=
http://www.livebridgesucks.com/forum/viewtopic.old.php?t=414

It'd seem viewtopic uses them both? lol...

But an oddity...

When directed to the new location of that post IG et a bug...:
http://www.livebridgesucks.com/forum/viewtopic.old.php?t=414

Quote:
We cannot proceed.
BUG: do_placeholder_query was called without the replacement array. Caller: /home/lbrs/public_html/bbs/scripts/showflat.inc.php:193

Please use your back button to return to the previous page.
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#3282 - 09/14/06 05:54 PM Re: PHPBB Importer Impressions [Re: Gizmo]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7993
Loc: Aberdeen, WA
Ok, look for:

$old = $_GET['old'];

delete that and everything after it and replace it with this:

Code:
$topic = $_GET['t'];
$post = $_GET['p'];

if ($topic || $post) {
	
	if (!$topic) $topic = 0;
	if (!$post) $post = 0;
	
	if ($redirect == 301) {
		header("HTTP/1.1 301 Moved Permanently");
	} else {
		header("HTTP/1.1 302 Moved Temporarily");
	}
	header("Location: {$URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}topic{$var_eq}$topic{$var_sep}Number{$var_eq}$post{$var_sep}site_id{$var_eq}$site_id#import");
	exit;
} else {
	if ($redirect == 301) {
		header("HTTP/1.1 301 Moved Permanently");
	} else {
		header("HTTP/1.1 302 Moved Temporarily");
	}
	header("Location: {$URL}/ubbthreads.php{$var_start}ubb{$var_eq}cfrm");
	exit;
}	
?>
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#3283 - 09/14/06 06:00 PM Re: PHPBB Importer Impressions [Re: Rick]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
I have no $old = $_GET['old']; I have an $old = $_GET['t'];
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
Page 3 of 9 < 1 2 3 4 5 6 7 8 9 >


Shout Box

Today's Birthdays
GOTMYSELFA...., smilinjack
Recent Topics
New members don't get access and are not displayed in the config panel
by Yomar
Today at 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
Yesterday at 10:00 PM
Chaging the "max online" number and date
by wanted
Yesterday at 02:22 PM
7.4.1. In Threaded Mode - "Mark All Read" Doesn't Work
by packlite
Yesterday at 10:26 AM
Custom island with sql connection
by Robje01
Yesterday at 09:13 AM
Forum Stats
4296 Members
33 Forums
30687 Topics
156016 Posts

Max Online: 978 @ 06/24/07 08:19 PM