View Single Post
Old 07-20-2025, 12:55 PM  
mainstreammix
Make GFY Great Again
 
mainstreammix's Avatar
 
Industry Role:
Join Date: May 2022
Location: Louisiana
Posts: 10,823
Quote:
Originally Posted by blackmonsters View Post
But that's "coding" and webdesign, not so much "programming".
Where is the back end?
PHP, SQL etc...



You literally never stop. 10 minutes, please quote me a price for similar.

https://imgur.com/a/zibMOEs

















Slight Update...



�� BLACKMONSTERS SAVAGE ROASTING APP ��
1,000,000 Ways to Tell Your Dog They're Stupid (But Lovingly)

[hr]

�� PROJECT OVERVIEW

Built a completely bonkers web application that takes photos of my stupid, slow dog BlackMonsters and overlays them with brutally honest quotes about their complete lack of intelligence. What started as a simple "add text to image" idea turned into a full-blown social network with user accounts, friends systems, and ranking algorithms. Because why do something simple when you can massively over-engineer it AND roast your dog with 1 million different combinations? ��

�� Core Concept: Upload dog photos → Get roasted with 1 of 1,000,000 unique brutally honest quotes → Share with friends → Compete for top rankings

[hr]

⭐ KEY FEATURES

�� Photo Processing Engine
• Upload images in JPG/PNG/GIF formats (10MB limit)
• Real-time overlay generation using PHP GD library
• Smart text wrapping and semi-transparent backgrounds
• Automatic file management and optimization

�� The Savage Quote Generation System
1,000,000 unique combinations generated from:
- 100 brutal adjectives (stupid, braindead, slow, sluggish, dimwitted...)
- 100 pathetic actions (moves like molasses, stares at walls, loses races to snails...)
- 100 resigned endings (but we're stuck with them, and we question our life choices...)
• Smart rotation ensures all quotes used before repeating
• Database tracking of usage frequency and timestamps
• Brutally honest but lovingly mean roasts for your stupid dog

�� Full Social Network
• User registration with secure password hashing
• Customizable profiles with bios and statistics
• Friends system (add, accept, decline, remove)
• User search functionality
• View any user's photo galleries

�� Rankings & Analytics
• Top photos by day/week/month/year
• Like system with AJAX interactions
• View tracking and engagement metrics
• User statistics dashboard
• Real-time popularity rankings

�� Modern UI/UX
• Responsive design works on desktop + mobile
• CSS gradients and smooth animations
• Modal dialogs for photo viewing
• Hover effects and micro-interactions
• Clean, modern aesthetic

[hr]

��️ PROJECT FILE MAP

Code:
blackmonsters-app/
├── �� index.php              # Main gallery & upload page
├── ⚙️ config.php             # Database classes & utilities  
├── ��️ database_setup.php     # Creates tables + 1M savage quotes
├── �� auth.php               # Login/registration handler
├── �� profile.php            # User profile management
├── �� friends.php            # Friends system & user search
├── �� user_photos.php        # View user photo collections
├── ❤️ like.php               # AJAX like/unlike handler
├── ��️ view.php               # AJAX view counter
├── �� logout.php             # Session termination
├── �� setup.py               # Python setup script
├── �� uploads/               # Original uploaded images
├── �� overlays/              # Generated overlay images
├── ⚡ .htaccess              # Apache configuration
└── �� README.md              # Comprehensive documentation
[hr]

��️ TECHNICAL ARCHITECTURE

Backend Stack:
PHP 7.4+ with object-oriented design
MySQL with optimized indexes and foreign keys
PDO for SQL injection protection
PHP GD for dynamic image processing

Frontend Stack:
HTML5/CSS3 with modern gradients and flexbox
Vanilla JavaScript for AJAX and interactivity
Responsive design with mobile-first approach
Modal dialogs and smooth animations

Database Design:
users - Authentication and profiles
photos - Image metadata and statistics
friendships - Social network relationships
photo_likes - Like tracking system
quote_usage - Smart rotation tracking for 1M quotes

Security Features:
• Prepared statements prevent SQL injection
• Password hashing with bcrypt
• File upload validation and sanitization
• XSS protection on all user inputs
• Session management and CSRF protection

[hr]

�� SAVAGE ROAST EXAMPLES

Quote:
Sample BlackMonsters Roasts (Now With Extra Brutality):

"BlackMonsters is stupid, moves at the speed of molasses, but somehow we still keep them."

"BlackMonsters is braindead, stares at walls for hours, and we question our life choices daily."

"BlackMonsters is glacial, loses races to snails, yet we continue to provide room and board."

"BlackMonsters is dense, can't figure out automatic doors, but they're too dumb to rehome."
[hr]

�� INSTALLATION QUICKSTART

Prerequisites:
Code:
# Ubuntu/Debian
sudo apt install php mysql-server apache2 php-mysql php-gd

# macOS (Homebrew)
brew install php mysql httpd
Setup:
  1. Run python setup.py (has headers + enter-to-exit as requested)
  2. Execute php database_setup.php to create DB + generate 1 million savage quotes
  3. Configure Apache virtual host
  4. Set directory permissions: chmod 755 uploads/ overlays/
  5. Visit site and start getting brutally roasted! ��

[hr]

�� WHY THIS IS AWESOME

Started Simple: "Let's add funny text to dog photos"
Ended Up With: A full social network with 1,000,000 savage roasts, user profiles, friends systems, ranking algorithms, and more brutal honesty than most therapy sessions

Perfect For:
• Learning full-stack PHP development
• Understanding database design and relationships
• Practicing modern web UI/UX design
• Getting brutally honest about your pet's intelligence
• Showcasing technical skills with savage humor

Technologies Demonstrated:
• OOP PHP with proper architecture
• MySQL optimization and indexing
• AJAX interactions and real-time updates
• Image processing and file handling
• Security best practices
• Responsive web design
• Social network mechanics

[hr]

�� BLACKMONSTERS APPROVED! ✨
Because every dog deserves their own ridiculously over-engineered photo roasting empire

[hr]

�� Tech Stack Summary: PHP | MySQL | HTML5/CSS3 | JavaScript | Apache | GD Library
�� UI Framework: Custom responsive design with gradients & animations
�� Compatibility: Desktop + Mobile responsive
�� Security: SQL injection prevention, XSS protection, secure file uploads
mainstreammix is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote