|
|
Conversion of phpHoo2 to work with phpweblog
- Development Posted by Twyst (Sunday September 24 2000 @ 11:10PM EDT) views: 417 |
Well, I've finally gotten phpHoo2 to work with phpweblog, templates and all. phpHoo2 is a Yahoo-style links system, that uses mySQL. It does need some tweaking (mostly to add more features and integration with phpweblog), but it is functional right now.
It's currently running here.
The source is: index.phps mysql.phps myheadfoot.phps smtp.phps
|
|
By A. Eriksson (Monday September 25 2000 @ 12:55PM EDT)
|
Well, how about sharing the fruit of your efforts with rest of us?
Regards,
|
[ reply | parent ]
|
By jason (Monday September 25 2000 @ 01:49PM EDT)
|
i'd like some fruit.
|
[ reply | parent ]
|
By Twyst (Monday September 25 2000 @ 07:06PM EDT)
|
Grr. Silly news posting thing.
I did put the links and such in - but it seems to have deleted most of the story!
Anyways.. It's running at my site.
The sources are in that directory: index.phps, mysql.phps, myheadfoot.phps, and smtp.phps
Sorry about that!
|
[ reply | parent ]
|
By A. Eriksson (Tuesday September 26 2000 @ 02:22AM EDT)
|
Thanks man!
Well, I guess it uses the normal phpoo sql schema?
---------------
create database phpHoo\p\g
use phpHoo\p\g
create table MyCategories (
CatID bigint(21) NOT NULL auto_increment,
CatName varchar(32) NOT NULL,
CatParent bigint(21),
PRIMARY KEY (CatID),
UNIQUE (CatName)
)\p\g
create table MyLinks (
LinkID bigint(21) NOT NULL auto_increment,
CatID bigint(21) NOT NULL,
Url varchar(255) NOT NULL,
LinkName varchar(64) NOT NULL,
Description varchar(255) NOT NULL,
Approved tinyint(8) DEFAULT '0',
SubmitName varchar(64) NOT NULL,
SubmitEmail varchar(64) NOT NULL,
SubmitDate bigint(21) NOT NULL,
PRIMARY KEY (LinkID),
UNIQUE (Url)
)\p\g
show columns from MyCategories\p\g
show columns from MyLinks\p\g
|
[ reply | parent ]
|
By Twyst (Wednesday September 27 2000 @ 12:21AM EDT)
|
Yep. Haven't changed that stuff...
Now... All I need to do is grab the RDF dump of the ODP project, delete the stuff I don't need, and parse it into the db. =D
|
[ reply | parent ]
|
By A. Eriksson (Saturday September 30 2000 @ 04:59PM EDT)
|
Btw, how did you fix admin mode on/off? It seems like you are always comming to admin mode...
|
[ reply | parent ]
|
By A. Eriksson (Saturday September 30 2000 @ 05:09PM EDT)
|
Stupid question. Found out by myself. Sorry.
|
[ reply | parent ]
|
By Twyst (Monday October 02 2000 @ 12:07AM EDT)
|
Actually, I didn't fix it. Apart from fixing it to work with the templates, I didn't do a damn thing. (grin)
I'd like to set up a mass import function for it as well - like from the RDF files. But that is definately something to work on.
It'd also be a plan to add the link confirm/deny/whatever to the phpweblog admin, instead of the phpHoo script. Better integration, and security.
|
[ reply | parent ]
|
|
|
|