Posted: Wed Jun 01, 2005 12:55 pm Post subject: Re: [RELEASE] Creating new album upon user registration
Has anyone tackled this with mambo CMS yet?
I am thinking about migrating away from phpNuke as mambo seems much better. More features, looks cleaner, and many other reasons, however I still love Gallery and don't want to move to mambo w/o a way for my users to be able to have their own album and be able to administer it.
Please advise.
Posted: Tue Jul 26, 2005 11:36 pm Post subject: Re: [RELEASE] Creating new album upon user registration
Any way to get a modified modules/Your_Account/index.php file? I don't know if I keep missing a step or what but I managed to cause the newuser signup and the "your account" module to go blank.
I replaced it with the original... but would like to just ftp a new file up that's already modified if possible.
Posted: Tue Aug 16, 2005 11:53 am Post subject: Re: [RELEASE] Creating new album upon user registration
Okays.. firstly, huge fan of your work. Love the site, and it has helped me very much in the past. So, I fianlly come across this piece of art here. I make it through the first two table insertions, and come to the code manipulation, my favorite! Imagine my suprise when NOTHING can be found in modules/Your_Account/index.php. And then I remember that I'm running PHP-Nuke 7.6 Platinum. Anyone have ANY ideas on how to convert the code manipulations over?
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
Posted: Tue Aug 16, 2005 12:48 pm Post subject: Re: [RELEASE] Creating new album upon user registration
basically, you want the edits to be made in whatever module controls the user account creation. i don't know the internals of the platinum distributions of phpnuke, so i can't offer much guidance there.
Posted: Tue Aug 16, 2005 12:54 pm Post subject: Re: [RELEASE] Creating new album upon user registration
Damnation. Let me grab a plain version of 7.7 and see if it's more like platinum or not. I've always had alot of trouble with the creators of Platinum (contacting and the like, as their website is so slow, I nearly suffer brain damage and think I am on 56k. If they do not match up, I will just have to try to get in touch with TechGFX and give him your code to see what we can do with. Then perhaps you can place it up here for Platinum users. Also.. would you mind posting how to create a signature such as the one you have? I'v always been interested in those.
$result = $db->sql_query("SELECT p.topic_id, p.poster_id, t.topic_title, u.username FROM nukedgallery_bbposts p, nukedgallery_bbtopics t, nukedgallery_users u WHERE p.topic_id = t.topic_id AND p.poster_id = u.user_id ORDER BY p.post_time DESC LIMIT 0,1");
$row = $db->sql_fetchrow($result) or die(mysql_error());
Posted: Tue Aug 16, 2005 1:28 pm Post subject: Re: [RELEASE] Creating new album upon user registration
I have posted a query on the PHP-Nuke Platinum forums. If you wish to go over it real quick and see if there's anything you think should be added, please:
Posted: Sat Jan 13, 2007 12:06 am Post subject: Re: [RELEASE] Creating new album upon user registration
K, I think I will just write an insert statement that happens upon validation link click, and also write php lines to make an album at the same time. Permissions for the album are specified in the database also correct?
I have gallery and phpnuke installed in the same database.
G2 would have been better, but I couldn't find any blocks that showed the latest, most popular of featured photos. If you know of any of those for G2 I could just use that.
I had this all working on another site, but that was about 3 years ago and can't remember all the places I edited.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum