------------------------------------------------------- | NukeC - Version 3.7.3 | June 2009 | ------------------------------------------------------- CHANGES: ======== - Added City, State, and Country options - Use user ID when send email to ads owner instead of real email - User Ads Box modified so it looks better - Random Ads Block, and Random Ads Center Block now included - Waiting Ads status added in "Waiting Content" block - Converted $dbi to $db. - Added nukeWYSIWYG editor function. - Fixed known sql injection vulnerabilities. - Fixed image upload feature. - Code clean up. - Tested XHTML 1.0 Transitional Compliant. - Fixed bugs with comments and removed some stuff that did not work and was not important. This version was modified and released by trickedoutnews.com for use with RavenNuke(tm) 2.30.xx INSTALLATION: ============ 1. Upload all the folders to your RavenNuke server root directory 2. Open the language file in admin/language folder, and add these lines: define('_NUKEC','NukeC 30
Administration'); 3. Change the chmod of imageads, imagecatg folders to 777 4. Installing NukeC Tables & sample data. - Install NukeC Tables (required) Import NukeC373.sql file 5. Now open the "mainfile.php", and look for the function adminblock() 6. Right above this code: themesidebox($title, $content); Add this code for the waiting ads status in "Waiting Content" block: // NukeC Waiting Content Start $num = $db->sql_numrows($db->sql_query("SELECT * FROM nukec30_ads_ads WHERE active='0'")); $content .= "· "._CLASSIFIEDS.": $num
"; // NukeC Waiting Content End 7. Now open the main language file and add this line: define('_CLASSIFIEDS','Waiting Ads'); 8. Open "includes/javascript.php" and find the closing ?> tag at the bottom of the page. 9. Above the closing ?> tag, add: // Start NukeC javascript function getThumbName($ximageads) { $ImgName = explode(".",$ximageads); return $ImgName[0]."_thumb.".$ImgName[1]; } echo "\n"; echo "\n"; // End NukeC javascript 10. Go to the RavenNuke(tm) Admin panel, click Modules, and activate NukeC. 11. That's it! Your new Classifieds system is ready. Final Notes: ========= As a administrator you'll able to : - Upload category images - Add/Edit/Delete Ads Category - Administrating Waiting ads - Setting NukeC Preferences - Administrate Posted Ads/Comments - Add/Edit/Delete Currencies in the NukeC module. - Add/Edit/Delete Disclaimer. Enjoy! Known Issues: ========= 1. Custom content does not work. (If you want development to continue, consider a donation to trickedoutnews.com to help cover the costs of operating this website.)