vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Adoptables hack (https://vborg.vbsupport.ru/showthread.php?t=117376)

dt~ 06-03-2006 05:11 AM

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.

antialiasis 06-03-2006 02:13 PM

Both of those should be fairly easy to add - I think I'd make them options in the Admin CP.

Shelly 06-03-2006 05:41 PM

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?

antialiasis 06-03-2006 06:09 PM

Oh, right, looks like I forgot to include IF NOT EXISTS. Try the product in the new zip file.

Shelly 06-03-2006 07:03 PM

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

antialiasis 06-04-2006 12:46 AM

Try again now...

dt~ 06-04-2006 04:53 AM

Quote:

Originally Posted by antialiasis
Both of those should be fairly easy to add - I think I'd make them options in the Admin CP.

Waited for 3 days. Are you thinking or making? :confused:

antialiasis 06-04-2006 01:02 PM

Have a bit of patience... You're not paying me for this, after all, so I can work in my time.

Shelly 06-04-2006 07:55 PM

that cleared my problem, thanks

dt~ 06-05-2006 03:49 AM

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
  • Page Generation 0.01048 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete