Joined: Aug 2000
Posts: 1,290
Addict
Addict
Joined: Aug 2000
Posts: 1,290
I can't get them to play together, after a clean install of threads (which works fine) I try to install photopost. Updating config is fine, then the second part (External registation) I enter all the values, click submit and I get... MySQL error reported! Script: install Query: SELECT groupid, groupname, cpaccess, uploads, comments, diskspace, uploadsize, editpho, editposts, modaccess, useralbums, reqmod, canassign FROM pp_usergroups Result: Table 'domainname.pp_usergroups' doesn't exist Database handle: Resource id #5 Any ideas? The PP board suggested a separate db for photopost. But I've run them together in the past. could this be a Threads issue (new release etc..)? BTW I substituted domainname for the actual domainname above.
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Joined: Aug 2000
Posts: 1,290
Okay got it to work. I manually added this via phpmyadmin CREATE TABLE pp_usergroups (groupid int(5) NOT NULL auto_increment, groupname varchar(50) NOT NULL default '', cpaccess smallint(3) NOT NULL default '0', modaccess smallint(3) NOT NULL default '0', uploads smallint(3) NOT NULL default '1', comments smallint(3) NOT NULL default '1', diskspace int(10) default NULL, uploadsize int(10) default NULL, editpho int(3) NOT NULL default '0', editposts int(3) NOT NULL default '0', useralbums int(3) NOT NULL default '0',reqmod INT(3) DEFAULT '0' NOT NULL, canassign INT(3) DEFAULT '0' NOT NULL, PRIMARY KEY (groupid)) TYPE=MyISAM; INSERT INTO pp_usergroups VALUES (5,'Administrator',1,1,1,1,'','',1,1,1,0,0); INSERT INTO pp_usergroups VALUES (1,'Banned','','','','','','',0,0,0,0,0); INSERT INTO pp_usergroups VALUES (3,'Unregistered','','','','','','',0,0,0,0,0); INSERT INTO pp_usergroups VALUES (4,'Registered','','',1,1,'','',1,1,1,0,0); INSERT INTO pp_usergroups VALUES (2,'COPPA','','','','','','',0,0,0,0,0); Now it says I'm not an admin when I try to enter the admin section of pp. But the main page of pp shows me as an administrator. ???
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
am I the only one who had no problems doing this
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Joined: Aug 2000
Posts: 1,290
Must be... Only problem now is it is not reading me as an admin in pp.
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
okay well this is what I did but I don't use head tags so it's not an issue for me..
Attachments
Last edited by scroungr; 07/03/2004 6:41 PM .
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
let me take a look at my instructions
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Joined: Aug 2000
Posts: 1,290
Dunno if it makes a difference, but I'm using external registration, when pp was installed.
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
okay I updated the file attachment above try that one. I just double checked it..
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
I use threads users database it doesn't even hit the photoposrt one
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
some may ask why make those two files hack.inc.php and configextras.php but I feel it makes the most sense seeing as I always upgrade and this allows more freedom. You can easily skip those and set them in the config.inc.php and to the main.inc.php but I like it this way
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
also there are some steps I am sure you can leave out like the insertion I do into the who's online table but I rather be safe than sorry.
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Joined: Aug 2000
Posts: 1,290
tried and running... Omegatron also answered on the PP board, about the login. so working wth both your help. Dang this used to be 123... I must be tired..
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Joined: Aug 2000
Posts: 1,290
Done... *phew* what a pain...
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
I didn't think so
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Joined: Aug 2000
Posts: 1,290
Not no your mod, just the install etc. A client of mine wanted threads, photopost, and photoclassifieds. With all the tweaks etc, and the usergroup not being created.. prolly me
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
ouch yeah kinda hard sometimes like that.
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Joined: Aug 2000
Posts: 1,290
FYI, your mod (as far as header etc) works for ppclassifieds also, seeing as it uses similar architechture..
The problem will be who's online. Seeing as file names are similar, there might be some confusion...
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
yeah we really need to start renaming things away from index.php and login.php and into things like photopostindex.php and reviewpostlogin.php
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Joined: Dec 2000
Posts: 1,471
You can identify them by using not only the scriptname, but also the directory.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Posts:
5,833
Joined: January 2000
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166Sep 15th, 2019
Currently Online
Topics Created
Posts Made
Users Online
Birthdays