rh0
Members-
Posts
23 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Events
Blogs
Everything posted by rh0
-
hey its been a while since i've played about with coding and my first time with php nuke. I am having problems trying to set up the database. Basically i am unsure of what to change to make it work. If anyone can point me to what i need to change and suggest what it could be changed to it'd be greatly appreciated :D here's the text document. [hide]<?php ###################################################################### # PHP-NUKE: Advanced Content Management System # ============================================ # # Copyright © 2005 by Francisco Burzi # http://phpnuke.org # # This program is free software. You can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License. ###################################################################### if (stristr(htmlentities($_SERVER['PHP_SELF']), "config.php")) { Header("Location: index.php"); die(); } ###################################################################### # Database & System Config # # dbhost: SQL Database Hostname # dbuname: SQL Username # dbpass: SQL Password # dbname: SQL Database Name # $prefix: Your Database table's prefix # $user_prefix: Your Users' Database table's prefix (To share it) # $dbtype: Your Database Server type. Supported servers are: # MySQL, mysql4, sqlite, postgres, mssql, oracle, # msaccess, db2 and mssql-odbc # Be sure to write it exactly as above, case SeNsItIvE! # $sitekey: Security Key. CHANGE it to whatever you want, as long # as you want. Just don't use quotes. # $gfx_chk: Set the graphic security code on every login screen, # You need to have GD extension installed: # 0: No check # 1: Administrators login only # 2: Users login only # 3: New users registration only # 4: Both, users login and new users registration only # 5: Administrators and users login only # 6: Administrators and new users registration only # 7: Everywhere on all login options (Admins and Users) # NOTE: If you aren't sure set this value to 0 # $subscription_url: If you manage subscriptions on your site, you # must write here the url of the subscription # information/renewal page. This will send by # email if set. # $admin_file: Administration panel filename. "admin" by default for # "admin.php". To improve security please rename the file # "admin.php" and change the $admin_file value to the # new filename (without the extension .php) # $tipath: Path to where the topic images are stored. # $nuke_editor: Turn On/Off the WYSIWYG text editor # 0: Off, textareas in forms will not show any editor # 1: On, all textarea in the forms will show the editor # $display_errors: Debug control to see PHP generated errors. # false: Don't show errors # true: See all errors ( No notices ) ###################################################################### $dbhost = "localhost"; $dbuname = "root"; $dbpass = ""; $dbname = "nuke"; $prefix = "nuke"; $user_prefix = "nuke"; $dbtype = "MySQL"; $sitekey = "SwSDsyrgF23$$5%*ddw3$D-2Df/%(-0394ÃÆââ¬Å¡Ãâ÷$%/"; $gfx_chk = 0; $subscription_url = ""; $admin_file = "admin"; $tipath = "images/topics/"; $nuke_editor = 1; $display_errors = false; /**********************************************************************/ /* You finished to configure the Database. Now you can change all */ /* you want in the Administration Section. To enter just launch */ /* your web browser pointing it to http://xxxxxx.xxx/admin.php */ /* (Change xxxxxx.xxx to your domain name, for example: phpnuke.org) * /* */ /* Remember to go to Preferences section where you can configure your */ /* new site. In that menu you can change all you need to change. */ /* */ /* Congratulations! now you have an automated news portal! */ /* Thanks for choose PHP-Nuke: The Future of the Web */ /**********************************************************************/ // DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE DOING $prefix = empty($user_prefix) ? $prefix : $user_prefix; $reasons = array("As Is","Offtopic","Flamebait","Troll","Redundant","Insighful","Interesting","Informative","Funny","Overrated","Underrated"); $badreasons = 4; $AllowableHTML = array("b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1); $CensorList = array("[bleep]","[bleep]","[bleep]er","[bleep]ing","[kitty]","[rooster]","c0ck","[bleep]","[bleep]","[bleep]","[bleep]","fuk","fuking","[bleep]"); //*************************************************************** // IF YOU WANT TO LEGALY REMOVE ANY COPYRIGHT NOTICES PLAY FAIR AND CHECK: http://phpnuke.org/modules.php?name=Commercial_License // COPYRIGHT NOTICES ARE GPL SECTION 2© COMPLIANT AND CAN'T BE REMOVED WITHOUT PHP-NUKE'S AUTHOR WRITTEN AUTHORIZATION // THE USE OF COMMERCIAL LICENSE MODE FOR PHP-NUKE HAS BEEN APPROVED BY THE FSF (FREE SOFTWARE FOUNDATION) // YOU CAN REQUEST INFORMATION ABOUT THIS TO GNU.ORG REPRESENTATIVE. THE EMAIL THREAD REFERENCE IS #213080 // YOU'RE NOT AUTHORIZED TO CHANGE THE FOLLOWING VARIABLE'S VALUE UNTIL YOU ACQUIRE A COMMERCIAL LICENSE // (http://phpnuke.org/modules.php?name=Commercial_License) //*************************************************************** $commercial_license = 0; ?>[/hide] thanks in advance :)
-
Rate my patheticism... or lack therof =P
rh0 replied to geoffreak's topic in Achievements (Drops, Bank Pictures and Levels)
Nice mage level dude and Gratz on being able to finally catch Sharks! :D -
Hey guys I'm looking for an out of this world banner :D 800x250 Max please Im looking for a darkish banner but with light parts also. A Anime/Manga blended in also. the only text i wish on this would be "Heroes Of The Arcane" Thank you in advance. Oh Ps. the banner i choose, I'll put a personal thanks into my tip.it sig for them :)
-
Worst Clue Reward Ever? Post it here.
rh0 replied to Ard_Choille's topic in Achievements (Drops, Bank Pictures and Levels)
New Worst level 3 clue 5 parts 3 of which were double agents -
Worst Clue Reward Ever? Post it here.
rh0 replied to Ard_Choille's topic in Achievements (Drops, Bank Pictures and Levels)
Worst reward ever! for me that is. Steel dragon gave me this, 1 sara mage to kill 1 zammy mage to kill 3 Double agents 2 riddle clue parts and i get this -
best thing i've found was a level 98 (i think) was range training at greater demons in brimhaven dungeon. She thought she was in a safe spot and a Greater attacked her. think she was afk cause she died and little old me recieved was her robin hood hat :) this was about a year and a half ago tho when they were much cheaper lol
-
aberrent spectors are also good for clue drops. ALSO they give alot of herb drops :)
-
you need to make sure you are doing EXACTLY what the clue asks of you
-
I'd say Nay for Greater demon use. It could really be a waste of cannonballs. I'd say Yay however, if you got one and used it for slayer eg. Dagganoths or Kalphites. Makes a long task end in minutes :)
-
Best Clue Reward Ever? Post it here
rh0 replied to Fat_Slug's topic in Achievements (Drops, Bank Pictures and Levels)
Not my best but the best I've had for a while :D -
An Advantoe Will get you a super Attack(4) :)
-
hmm when i got my mime i had my public chat and my private chat set to off. Some of my friends done the same and it happened. We've came to the theory that if your quiet (like a mime) you'll get the mime random
-
If you could Change your Runescape Name would you?
rh0 replied to blouinator's topic in General Discussion
i like my name too :) so i wouldn't change it. I've yet to bump into another 3 lettered player :) -
Favorite random events so far/most annoying randoms
rh0 replied to gtacrackhead's topic in Help and Advice
Fav - Gravedigger Least Fav - Maze (esp since im always fletching and have a full invent :wall: :wall: ) -
what were you guys doing when you got this?!? Cause i've never had it! :-s
-
Level 86 got my First mime! What Level were you?
rh0 replied to bustedfool's topic in Help and Advice
Im pretty sure i was lvl 86 aswell. I was mass training On fire Giants at the time -
Would You change your Rs Main Username if you could?/\/\/\
rh0 replied to woopidoo2's topic in General Discussion
nope i love mine. 3 letters long (or two lettes and a number if we're getting technical ;))