Thread: Major Additions - AWCoding- Donation System
View Single Post
  #267  
Old 06-14-2008, 05:16 PM
AWJunkies AWJunkies is offline
 
Join Date: Jan 2005
Location: San Diego
Posts: 947
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UltraFanatics View Post
How much is pro then mate?

I need the above badly.
You have to go to www.allwheelcoding.com for any PRO related stuff sorry VB rules.

Make sure to fill in the values for XXXXXXXXX, your URL with a leading / and forum name and dateformat. ALSO replace ".TABLE_PREFIX." with your table prefix.

Now here is the SQL for manual add in MYSQL:
PHP Code:
CREATE TABLE IF NOT EXISTS `".TABLE_PREFIX."awc_dsl_settings` (`dsl_copyrightvarchar(255NOT NULL default 'DO NOT REMOVE',`dsl_enabletinyint(1NOT NULL default '1',`dsl_cantusevarchar(100NOT NULL, `dsl_namevarchar(100NOT NULL default 'XXXXXXXX',`dsl_homevarchar(255NOT NULL default 'XXXXXXXXX',`dsl_dateformatvarchar(100NOT NULL default 'XXXXXXXXX',`dsl_currencyvarchar(3NOT NULL default 'USD',`dsl_currency_symbolvarchar(3NOT NULL default '$',`dsl_dropmenutinyint(1NOT NULL default '1',  `dsl_typetinyint(1NOT NULL default '2',`dsl_suggestedvarchar(255NOT NULL default '1.00,5.00,10.00,20.00,50.00,100.00',`dsl_minamountvarchar(20NOT NULL default '1.00',`dsl_benefitstinyint(1NOT NULL default '1', `dsl_pp_testtinyint(1NOT NULL default '0',`dsl_pp_emailvarchar(100NOT NULL default 'xxx@yyy.zzz',`dsl_pp_imagevarchar(100NOT NULL default 'http://',  `dsl_pp_verifytinyint(1NOT NULL default '1',       `dsl_bar_entinyint(1NOT NULL default '1',`dsl_bar_canseevarchar(100NOT NULL default '2,5,6,7',`dsl_bar_inserttinyint(1NOT NULL default '1',  `dsl_bar_locsvarchar(100NOT NULL default 'index,forum',`dsl_bar_floattinyint(1NOT NULL default '0',`dsl_bar_goalint(20NOT NULL default '100',  `dsl_bar_subtinyint(1NOT NULL default '0',`dsl_bar_notetinyint(1NOT NULL default '1',`dsl_bar_thanktinyint(1NOT NULL default '1',  `dsl_bar_linktinyint(1NOT NULL default '1',`dsl_list_entinyint(1NOT NULL default '1',`dsl_list_canseevarchar(100NOT NULL default '2,5,6,7',`dsl_list_dropmenutinyint(1NOT NULL default '1',  `dsl_ugp_entinyint(1NOT NULL default '0',  `dsl_ugpvarchar(100NOT NULL,`dsl_ugp_typetinyint(1NOT NULL default '0',`dsl_ugp_displaytinyint(1NOT NULL default '1',`dsl_ugp_affectedvarchar(100NOT NULL default '2',`dsl_ns_entinyint(1NOT NULL default '1',`dsl_ns_sendervarchar(100NOT NULL default '1',  `dsl_ns_dn_entinyint(1NOT NULL default '1',`dsl_ns_dn_recvarchar(100NOT NULL default '1',  `dsl_ns_dt_entinyint(1NOT NULL default '1')

INSERT INTO `".TABLE_PREFIX."awc_dsl_settings` (dsl_copyrightVALUES ('<br /><div align=\"center\"><a href=\"http://www.allwheelcoding.com\">Donation System</a> ? 2008 by Adam Ellis</div>')"); 
You have to do the INSERT or it will not load all the defaults etc. So make sure to run the CREATE table first then the insert code. Should work. All I did was remove the VB variables that grabbed URL, time format, and one other thing. So you will have to manually fill them out. Make sure to do it RIGHT away or site will error out. I put XXXXXXX where you need to fill out the variable.

If you need more info or help on this let me know
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01115 seconds
  • Memory Usage 1,823KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete