You are not logged in. Login or Register to participate and more giveaway every night by admin

Warning: Any suspicious activity will result in an immediate ban and removal from our forum. Follow the rules and respect the community.

Reminder: New users cannot post links until they have at least 1000 posts. Please engage in discussions before sharing links.
by Shedi at 01-09-2025, 02:05 AM
Here's an HTML code snippet for implementing a dark mode toggle with an icon:

Code:
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Dark Mode Toggle</title>
  <style>
    :root {
      --bg-color: #ffffff;
      --text-color: #000000;
    }

    body {
      background-color: var(--bg-color);
      color: var(--text-color);
      margin: 0;
      font-family: Arial, sans-serif;
      transition: background-color 0.3s, color 0.3s;
    }

    .dark-mode {
      --bg-color: #121212;
      --text-color: #ffffff;
    }

    .toggle-icon {
      position: fixed;
      top: 20px;
      right: 20px;
      cursor: pointer;
      font-size: 24px;
      background: var(--bg-color);
      border: 2px solid var(--text-color);
      border-radius: 50%;
      padding: 10px;
      transition: background 0.3s, border-color 0.3s;
    }

    .toggle-icon:hover {
      background: var(--text-color);
      color: var(--bg-color);
    }
  </style>
</head>
<body>
  <div class="toggle-icon" id="darkModeToggle" title="Toggle Dark Mode">?</div>

  <script>
    const toggleIcon = document.getElementById('darkModeToggle');
    toggleIcon.addEventListener('click', () => {
      document.body.classList.toggle('dark-mode');
      // Change the icon based on mode
      toggleIcon.textContent = document.body.classList.contains('dark-mode') ? '☀️' : '?';
    });
  </script>
</body>
</html>

Features:
Light & Dark Mode: The background and text colors switch between light and dark modes.
Toggle Icon: Displays a moon ? icon for dark mode and a sun ☀️ icon for light mode.
CSS Variables: Used for easy theme management.
Smooth Transition: Animations for a seamless mode switch.
How to Use:
  • Copy and paste the code into an index.html file.
  • Open it in a browser, and you'll see a clickable icon at the top right to toggle dark mode.
by Shedi at 01-09-2025, 02:00 AM
If your MyBB forum is not sending activation emails, the problem could be due to misconfiguration or server-related issues. Here’s a step-by-step guide to troubleshoot and resolve the issue:

Step 1: Check Email Settings in MyBB
  • Log in to your Admin Control Panel (ACP).
  • Navigate to Configuration > Mail Settings.
  • Review these key settings:
  • Mail Handler: Select either PHP Mail or SMTP depending on your server setup.
  • If using PHP Mail, ensure your server supports the mail() function.
  • If using SMTP, fill in the SMTP details correctly (e.g., host, port, username, and password).
Example SMTP Settings:

Quote:Setting = Value
SMTP Host = smtp.yourmailserver.com
SMTP Port = 587 (for TLS) or 465 (for SSL)
SMTP Username = Your email address
SMTP Password = Your email password
Encryption Method = TLS or SSL

Step 2: Verify Email Templates
Go to Configuration > Languages > Your Language Pack > Edit Templates.
Open the messages.lang.php file or search for "email_activateaccount" to ensure the activation email template is correct.
Step 3: Check Spam/Junk Folder
Ask users to check their spam or junk mail folders, as activation emails might be flagged as spam.

Step 4: Test Email Functionality
Use the "Send Test Email" feature in Tools & Maintenance > System Mail Log.
If sending fails, the error logs will provide more information about the issue.
Step 5: Check Server Configuration
PHP Mail Issue: Ensure the mail() function is enabled.
SMTP Configuration: Verify credentials and confirm that your mail server allows external SMTP connections.
Step 6: Review Error Logs
If MyBB logs errors under Tools & Maintenance > System Mail Log, these logs can provide insight into specific problems.

Step 7: Consider External SMTP Services (Optional)
If issues persist, use a third-party SMTP service (like Gmail, SendGrid, or Mailgun) for reliable email delivery.

Example Gmail SMTP Settings:

Quote:Setting - Value
SMTP Host - smtp.gmail.com
SMTP Port - 587
SMTP Username - Your Gmail address
SMTP Password - App-specific password
Encryption Method - TLS
by Shedi at 01-09-2025, 01:12 AM
PHP Code:
.htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase 
/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteRule 
. /index.php [L]
</
IfModule>

# END WordPress 

here is the default .htaccess file for WordPress is used to manage permalink settings and URL redirection. Here’s the standard version:

Explanation
  • RewriteEngine On: Activates the rewrite engine.
  • RewriteBase /: Sets the base URL for the rewrite rules.
  • RewriteRule ^index.php$ - [L]: Prevents direct access to index.php.
  • RewriteCond %{REQUEST_FILENAME} !-f: Skips rules if the file exists.
  • RewriteCond %{REQUEST_FILENAME} !-d: Skips rules if the directory exists.
  • RewriteRule . /index.php [L]: Redirects all requests to index.php to be handled by WordPress.

Usage
Place this .htaccess file in the root directory of your WordPress installation.
Ensure the file has appropriate permissions (typically 644).
This file will automatically update when you change WordPress permalink settings. Avoid manual edits unless necessary for custom rules or security enhancements.
by Shedi at 01-09-2025, 12:43 AM
How to Edit the Sidebar in a MyBB Theme

  1. Locate the Template File 
    The sidebar content is usually part of the template files in MyBB. Follow these steps to find and edit it:

    1. Access the Admin Control Panel 
      Log in to your MyBB Admin Control Panel (ACP).
    2. Navigate to the Template Section 
      Go to Templates & Style > Templates
      Select the template set for your active theme.
    3. Find the Sidebar Template 
      Look for a template named something like index, header, or footer. Sometimes, custom sidebars are placed in the index or a custom sidebar template if defined by your theme.

  2. Modify the Sidebar HTML 
    In the appropriate template:

    Code:
    <div class="sidebar">
      <h3>Latest Threads</h3>
      {$latestthreads} <!-- Example of dynamic content -->
      <ul>
        <li><a href="forumdisplay.php?fid=2">Forum 1</a></li>
        <li><a href="forumdisplay.php?fid=3">Forum 2</a></li>
      </ul>
    </div>

  3. Adding Plugins or Widgets 
    For dynamic sidebars, use plugins or custom PHP hooks to display content like latest posts or user statistics.

    Example Plugins: 
    - Advanced Sidebox: Offers more sidebar management options. 
    - Recent Threads or Popular Posts Widgets for dynamic content.

  4. Style the Sidebar 
    To change its appearance, go to Templates & Style > Themes and edit the CSS in global.css or a custom CSS file.

    Code:
    .sidebar {
      background-color: #f4f4f4;
      padding: 15px;
      border: 1px solid #ddd;
    }

  5. Save and Refresh 
    After making your changes, save the template and CSS files. Clear the MyBB cache or refresh the page to see your updates.
by Shedi at 01-09-2025, 12:37 AM
To set a meta theme color for your MyBB forum so it matches your desired design aesthetics, follow these steps:

Step 1: Add Meta Theme Color to Your Header
The meta theme-color tag is placed inside the <head> section of your MyBB templates.
  • Log in to your MyBB Admin Control Panel.
  • Navigate to Templates & Style > Templates.
  • Select your active theme’s template set.
  • Open the headerinclude template.

Step 2: Insert the Meta Theme Color Tag
Add the following code before the closing </head> tag:

PHP Code:
<meta name="theme-color" content="#061061"

Replace #061061 with your desired colour (adjust to match your theme).
Step 3: Save the Template
  • Click Save Template and refresh your forum to see the changes.

  • Explanation
  • The theme-colour meta tag changes the colour of the browser’s address bar on mobile devices, giving a more immersive experience.
  • This customization works for most modern browsers, especially Chrome on Android and other WebKit-based browsers.
Example Customization for NetPen Pro
PHP Code:
<meta name="theme-color" content="#ff7614"

This sets the theme colour to #ff7614 (GoNaija's theme). Adjust the colour as needed for your specific brand or design.
by Shedi at 01-09-2025, 12:31 AM
In MyBB themes, the <form> tag responsible for login functionality can typically be found in specific template files within the Admin Control Panel (ACP). Here's how to locate and edit the relevant templates:

Step-by-Step Guide to Locate and Edit the Login Form
  • Step 1: Access the Templates in ACP
Log in to the MyBB Admin Control Panel (ACP).
Go to Templates & Style > Templates.
Select the template set for your active theme (e.g., NetPen Pro).
  • Step 2: Locate the Login Form Template
In the template set, look for the following templates:
PHP Code:
header_welcomeblock_guest 

This template contains the login form displayed to guests.
member_login
This template contains the main login form used for the login page (member.php?action=login).
Open these templates to find and edit the <form> tag.
Example of the Login Form Code
In header_welcomeblock_guest, you may find a structure like this:

PHP Code:
<form method="post" action="member.php">
    <input type="hidden" name="my_post_key" value="{$mybb->post_code}/>
    <label for="username">Username</label>
    <input type="text" name="username" id="username" />
    <label for="password">Password</label>
    <input type="password" name="password" id="password" />
    <input type="submit" value="Login" />
</
form

Common Changes

Ensure the action attribute is correctly pointing to member.php.
Check for any missing or incorrectly formatted <input> fields.
  • Step 3: Save Changes
After making changes, click Save Template and refresh the forum to test if the login issue is resolved.

Additional Template Locations
login template: Handles full login pages.
header_welcomeblock_member: Contains the welcome block for logged-in users (ensure it’s correct for testing).
by Shedrach at 01-08-2025, 09:06 PM
Imagine transforming your smartphone into a noise pollution tracker, your car into a live map generator, or your laptop into a 3D rendering powerhouse—all while earning cryptocurrency effortlessly. Sounds futuristic? Welcome to DePIN—Decentralized Physical Infrastructure Networks—a game-changing concept that’s taking the tech world by storm.

What is DePIN? ?
DePIN leverages blockchain technology to democratize real-world services. Instead of large corporations controlling all infrastructure, everyday people contribute their devices—think spare internet bandwidth, unused computer storage, or even energy data. Contributors are rewarded in cryptocurrency, creating decentralized networks that are cheaper, more accessible, and community-driven. Simply put, it’s like Airbnb for your tech resources.

At Token 2049 in Singapore, the buzz around DePIN was electric. With groundbreaking projects like peaq, Silencio, and Filecoin leading the charge, the sector is proving that Web3 has gone from concept to real-world impact.

Real-World Examples of DePIN in Action ?✨

1. Filecoin: The Storage Giant ?️? 
Filecoin is a decentralized storage network that connects users needing storage with those who have extra capacity. Contributors are rewarded in $FIL tokens, and with a valuation of $4.2 billion, Filecoin is a DePIN heavyweight. It’s not just about storage—it’s a secure, scalable solution attracting industries like AI, which demand cost-efficient data solutions.

2. Silencio: Battling Noise Pollution ?? 
Silencio empowers users to combat noise pollution by recording data via a mobile app. For every minute of recording, users earn Noise Tokens. With 308,000 active users contributing 17.1 billion data points across 180+ countries, Silencio is creating the largest-ever noise-level dataset. Their mantra? “You should earn from your data.”

3. MapMetrics: Drive-to-Earn Navigation ??️ 
Tired of giving your data to big tech for free? MapMetrics offers a crypto-powered alternative to navigation apps, rewarding users for anonymously sharing driving data. As co-founder Brent van der Heiden explains, “MapMetrics makes data value obvious and transparent—a refreshing change from traditional platforms.”

4. Combinder: Green Energy Revolution ?⚡ 
Combinder reimagines energy usage with AI-driven energy nano-grids. By connecting household devices like air conditioners to the Combinder network, users earn $BIND tokens for sharing energy data. This isn’t just about saving money—it’s about contributing to a greener planet by reducing energy waste.

5. Render Network: Hollywood at Home ?? 
The Render Network decentralizes 3D rendering by tapping into idle GPUs worldwide. Artists and studios can render projects faster and cheaper, while GPU owners earn RNDR tokens. This innovation democratizes high-end rendering, making Hollywood-quality visuals accessible to all.

Why DePIN Matters ??
DePIN isn’t just a tech trend—it’s a paradigm shift in how we use and benefit from our devices. Here’s why it’s worth your attention:
  • Passive Income Opportunities: Earn crypto from devices sitting idle.
  • Data Ownership: Reclaim control and get paid for the data you generate.
  • Cost Efficiency: Cheaper, decentralized services for storage, navigation, and more.
  • Environmental Impact: Reduced energy waste through efficient resource sharing.
  • Real-World Solutions: From urban planning to sustainable energy, DePIN tackles pressing challenges.

The Road Ahead ??
While the potential is enormous, DePIN faces challenges like privacy concerns, regulatory scrutiny, and fluctuating crypto markets. Yet, as AI adoption grows and industries seek decentralized solutions, DePIN is poised to redefine infrastructure, data ownership, and earning models.

Get Involved! ?
Whether you’re a tech enthusiast, an investor, or just curious, the DePIN ecosystem offers endless opportunities. Turn your idle gadgets into earning machines, contribute to meaningful projects, and be part of this revolutionary movement.

The question isn’t if DePIN will change the world—it’s when. ?✨

Ready to ride the DePIN wave? Surf smart and earn smarter.
by Shedrach at 01-08-2025, 08:49 PM
2024 was an electrifying year for crypto enthusiasts, with a staggering $15 billion distributed through airdrops across DeFi, blockchain, Web3 gaming, liquid staking, and DePIN projects. As we step into 2025, the excitement shows no signs of slowing down. Several game-changing airdrops are lined up to reward early adopters and loyal communities.

Here’s everything you need to know about the top airdrops to watch in January 2025. ?

1. Midas Yielder Airdrop ✨
Midas Yielder, a Telegram mini-app, is making waves with its innovative rewards system. Participants earn GM Points by completing simple and engaging tasks like playing games, referring friends, and staying active. These points may grant access to exclusive platform features in the future.

How It Works: 
  • Connect the app to your Telegram account. 
  • Play the addictive rock-tapping mini-game. ? 
  • Complete daily tasks and invite friends to amplify your points. 

? Pro Tip: Referrals are the secret weapon for maximizing your rewards. Keep playing and stay active!
by Shedrach at 01-08-2025, 04:31 PM
Telegram app
PAWS is an app similar to DOGS. You can get free points for the age of your Telegram account, as well as for activity in other apps (Notcoin, DOGS, Hamster Kombat).

1. Follow the link and launch the app. After a short loading, your account will be analyzed and you will get your points:
If the app doesn't launch the first time, try again later.

2. Find your referral link in the Friends tab and invite your friends. Referrals are one of the main sources of points in apps like this:
3. Complete simple tasks in the Earn tab:
  •  Previous
  • 1
  • 4
  • 5
  • 6
  • 7
  • 8(current)
Welcome, Guest
You have to register before you can post on our site.
Username/Email:

Password


Login
Search Forums

Forum Statistics
Members: 12
Latest member: buyPOE2Currency
Forum threads: 78
Forum posts: 79
Online Users
There are currently 12 online users.
0 Member(s) | 12 Guest(s)