![]() |
Request for a adoption hack 1.2 :
1. "view all adoptables" section so that users who can not edit adoptables can see all adoptables and who is owning them. 2. In postbit, if users has an adoptable, an icon will be shown and we can click on it to see adoption info and description. I can only request because I don't know how to code. Looking forward for your kind approval. |
Both of those should be fairly easy to add - I think I'd make them options in the Admin CP.
|
im new at this, just helping someone out, and this is the first product that i had any issues with. when i tried to upgrade your code i keep getting a table already created error:
Database error in vBulletin 3.5.4: Invalid SQL: CREATE TABLE adopt ( adoptableid INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHAR(20) NOT NULL, img1url VARCHAR(255) NOT NULL, img2url VARCHAR(255) NOT NULL, img3url VARCHAR(255) NOT NULL, img4url VARCHAR(255) NOT NULL, img5url VARCHAR(255) NOT NULL, generaldesc TEXT, desc1 TEXT, desc2 TEXT, desc3 TEXT, desc4 TEXT, desc5 TEXT, minposts MEDIUMINT UNSIGNED DEFAULT 0, stage2posts SMALLINT UNSIGNED, stage3posts SMALLINT UNSIGNED, stage4posts SMALLINT UNSIGNED, stage5posts SMALLINT UNSIGNED, creatorid INT UNSIGNED NOT NULL, ownerid INT UNSIGNED NOT NULL DEFAULT 0, currentstage TINYINT UNSIGNED NOT NULL DEFAULT 1, startposts INT UNSIGNED, gender ENUM('Male','Female') ); MySQL Error : Table 'adopt' already exists Error Number : 1050 Date : Saturday, June 3rd 2006 @ 06:35:56 PM i had alow overwrite set to yes any ideas? |
Oh, right, looks like I forgot to include IF NOT EXISTS. Try the product in the new zip file.
|
thanks for the quick reply, that fixed it, now there is a new problem:
Database error in vBulletin 3.5.4: Invalid SQL: ALTER TABLE usergroup ADD adoptpermissions INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL, ADD maxadopted INT( 10 ) DEFAULT '5' NOT NULL; MySQL Error : Duplicate column name 'adoptpermissions' Error Number : 1060 Date : Saturday, June 3rd 2006 @ 08:02:23 PM |
Try again now...
|
Quote:
|
Have a bit of patience... You're not paying me for this, after all, so I can work in my time.
|
that cleared my problem, thanks
|
Uninstalled.
|
All times are GMT. The time now is 04:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|