In the fast-paced world of decentralized finance and meme coins, staying ahead means constantly innovating. A significant development has recently rocked the Solana ecosystem: the Pump.fun acquisition of Kolscan, a prominent Solana-based wallet tracking service. This strategic move, announced just days before Pump.fun’s anticipated Initial Coin Offering (ICO), signals a powerful new direction for memecoin creation and trading. While financial details remain undisclosed, the implications for traders, creators, and the broader Solana blockchain are immense. Let’s dive deep into what this means for the future of onchain activity. Understanding the Power Duo: Pump.fun and Kolscan To truly grasp the significance of the Pump.fun acquisition , it’s essential to understand the individual strengths of both entities involved. What is Pump.fun? Pump.fun has rapidly emerged as a revolutionary memecoin launch platform . It distinguishes itself by simplifying the complex process of creating and launching new cryptocurrencies, particularly meme coins. Unlike traditional launchpads that often require extensive technical knowledge or significant capital, Pump.fun allows anyone to create a token with minimal effort and cost. Its unique mechanism ensures that every token launched on the platform has immediate liquidity, as it is automatically backed by a bonding curve. This democratized approach has led to an explosion of new meme coins, making Pump.fun a central hub for grassroots crypto innovation. What is Kolscan? On the other side of this strategic partnership is Kolscan, a specialized Solana wallet tracker . In the transparent world of blockchain, every transaction and wallet activity is recorded. Kolscan excels at sifting through this vast amount of data, focusing specifically on identifying and tracking the movements of leading onchain traders – often referred to as ‘whales’ or ‘smart money’. By monitoring these influential wallets, Kolscan provides invaluable insights into market trends, potential pumps, and dumps, and overall sentiment. For many traders, Kolscan has been a crucial tool for making informed decisions and potentially front-running market movements. Why This Strategic Move Matters for Memecoin Launches The synergy between Pump.fun and Kolscan is undeniable. This integration holds the potential to redefine how new meme coins are launched, discovered, and traded. Here’s why this acquisition is a game-changer for the memecoin launch platform : Enhanced Market Intelligence: By integrating Kolscan’s tracking capabilities, Pump.fun can offer its users unprecedented insights into real-time market dynamics. Imagine a creator launching a token with direct access to data on which wallets are accumulating similar assets, or which smart money traders are active in specific niches. Improved User Experience for Traders: For those looking to invest in new meme coins, the combined platform could provide powerful tools to identify promising projects early. Traders might be able to see which newly launched tokens are attracting significant attention from influential wallets, helping them make more informed investment decisions. Potential for Reduced Scams and Rug Pulls: While not a guaranteed solution, better onchain visibility could deter malicious actors. If whale activity and liquidity movements are more transparently tracked and potentially flagged within the platform, it might become harder for bad actors to execute quick pump-and-dump schemes without detection. Data-Driven Innovation: Pump.fun itself can leverage Kolscan’s data to identify emerging trends, popular narratives, and successful trading strategies. This internal intelligence could inform future platform features, making the memecoin launch platform even more robust and user-centric. The Timing: A Pre-ICO Catalyst? The timing of this acquisition is particularly noteworthy. Announcing such a significant deal just days before Pump.fun’s Initial Coin Offering (ICO) is a calculated move. It sends a strong signal to potential investors about the platform’s commitment to growth, innovation, and enhancing its value proposition. An ICO is a critical juncture for any project, and demonstrating a clear path to increased utility and market dominance can significantly boost investor confidence and the success of the token launch. This strategic move positions Pump.fun not just as a launchpad, but as an evolving ecosystem designed for smarter, more informed participation in the memecoin market. Navigating the Onchain Trader Activity Landscape: Benefits and Challenges While the integration of Kolscan’s onchain trader activity tracking offers immense benefits, it also brings forth important considerations regarding data privacy and potential market dynamics. Benefits of Advanced Onchain Tracking: Early Trend Identification: Users can spot emerging narratives or tokens by observing where smart money is flowing. Risk Mitigation: Tracking large outflows from key wallets could signal potential dumps, allowing users to react quickly. Educational Tool: Observing the strategies of successful traders can be a valuable learning experience for newcomers. Challenges and Ethical Considerations: Privacy Concerns: While blockchain data is public, the aggregation and easy accessibility of specific wallet activities raise questions about the privacy of individuals, even if they are ‘whales’. Potential for Front-Running: The very nature of tracking smart money means some users might attempt to front-run their trades, potentially leading to increased volatility or less efficient markets. Misinterpretation of Data: Not all large trades are indicative of future price movements. Misinterpreting complex onchain trader activity could lead to poor investment decisions if users rely solely on tracking without broader market analysis. Pump.fun will need to carefully consider how it presents and integrates this data to ensure it empowers users without inadvertently creating new risks or ethical dilemmas. What’s Next for the Solana Wallet Tracker and Ecosystem? The acquisition of Kolscan by Pump.fun is a testament to the growing maturity and sophistication of the Solana ecosystem. Solana, known for its high throughput and low transaction fees, has become a fertile ground for meme coins and innovative DeFi projects. A robust Solana wallet tracker like Kolscan becoming part of a leading launch platform indicates a push towards more data-driven decision-making within the network. This integration could lead to: More Sophisticated Launch Tools: Future features on Pump.fun might include AI-powered insights based on Kolscan’s data, helping creators fine-tune their launch strategies. Increased Investor Confidence in Solana: As platforms within Solana offer more transparency and analytical tools, it could attract a wider range of investors and developers to the ecosystem. Competitive Advantage: This move sets Pump.fun apart from other memecoin launchpads, potentially establishing it as the premier destination for both creators and traders on Solana. Conclusion: A New Era for Memecoin Innovation The memecoin launch platform with an advanced Solana wallet tracker that excels at monitoring onchain trader activity , Pump.fun is poised to offer an unparalleled suite of tools for both creators and investors. This strategic move, especially ahead of its ICO, underscores a commitment to fostering a more intelligent, transparent, and potentially safer environment for memecoin enthusiasts. While challenges related to data interpretation and privacy remain, the overall trajectory points towards a future where data-driven insights are central to navigating the exciting, yet volatile, world of decentralized finance. This could truly empower the next wave of innovation in the memecoin space. To learn more about the latest crypto market trends, explore our article on key developments shaping the Solana ecosystem and its impact on institutional adoption.
Malta has sought to lead the way in EU crypto regulation, though early leadership has not come without its challenges.
Major cryptocurrencies like Ethereum and XRP lead the market with significant growth. Critical support levels will determine the sustainability of current trends. Continue Reading: Cryptocurrencies Soar: Ethereum, XRP, and Others Lead the Way The post Cryptocurrencies Soar: Ethereum, XRP, and Others Lead the Way appeared first on COINTURK NEWS .
Trader Aguila Trades currently maintains a substantial long position of 3,000 BTC, reflecting a strategic bullish stance in the cryptocurrency market. This position has generated a notable floating profit of
As the adoption of Bitcoin and altcoins continues to grow at a rapid pace, Türkiye cannot remain indifferent to this development. At this point, the final move came from Koç Holding. Koç Holding, which has attracted attention with its technology investments in recent years, has now turned its attention to the cryptocurrency sector. Yapı Kredi, a Koç Holding subsidiary, announced plans to establish a cryptocurrency trading platform. Yapı Kredi announced in its notification to the Public Disclosure Platform (KAP) that it will increase capital to establish a new crypto asset platform. In a statement made to the Public Disclosure Platform (KAP), it was reported that the cryptocurrency trading platform is planned to be established within Yapı Kredi Financial Technologies Inc. after obtaining the necessary permits, and that a total capital increase of up to 1 billion 185 million TL will be made. The statement included the following statements: The Bank's Board of Directors plans to establish a company, under the ownership of Yapı Kredi Finansal Teknolojiler A.Ş. (which is fully owned by our Bank), to operate a crypto asset trading platform, subject to obtaining the necessary permits. In order to meet the capital needs of this envisioned company, it has been decided that our Bank will participate in capital increases of Yapı Kredi Finansal Teknolojiler A.Ş. up to a total of TL 1,185,000,000, to be made by March 26, 2026, and that the General Directorate will be authorized to carry out all necessary applications and transactions. Important developments regarding the process will be shared with our investors. *This is not investment advice. Continue Reading: Turkish Banks Can't Remain Indifferent to Cryptocurrencies! Yapı Kredi Makes Major Cryptocurrency Move!
A recent wave of on-chain Bitcoin messages claiming control over legacy wallets has ignited widespread discussion about the security of early Bitcoin addresses. These messages, transmitted via OP_RETURN data on
Tasmania has become the latest Australian state to intensify efforts against crypto ATM scams after police revealed that the top 15 crypto ATM users in the region lost a combined AUD 2.5 million (around USD 1.6 million) to fraudsters. Key Takeaways: Tasmania cracks down on crypto ATM scams after top users lost AUD 2.5 million to fraudsters. Scammers pressure victims to use crypto ATMs once banks flag suspicious transactions. Australia’s crypto ATM network has surged to nearly 1,900 machines, making it the third-largest globally. Nearly a quarter of that amount, approximately AUD 592,000, was deposited directly into cryptocurrency ATMs, according to Tasmania Police Cyber Investigations . The move follows a national enforcement initiative led by the Australian Federal Police and the financial intelligence agency AUSTRAC, aimed at curbing criminal exploitation of crypto ATMs across the country. Scammers Push Victims to Use Crypto ATMs in Tasmania Detectives report that scammers often pressure victims into using crypto ATMs after traditional financial institutions flag suspicious transactions. “Victims are being manipulated, intimidated, and pressured into investing in fake investment and romance scams,” said Detective Sergeant Paul Turner. He warned that many of these scams involve large sums and can have devastating long-term effects on victims, including financial ruin and dependence on government support. “If you are asked to deposit cash into a cryptocurrency ATM by someone you’ve never met in person, or the offer comes with a high-pressure deadline or urgent tone, then it is likely a scam,” Turner said. AUSTRAC has recently introduced new rules and transaction limits for crypto ATM operators, effective June 3, to better fight scams. Crypto also remains a top priority for the agency heading into 2025. Tasmania’s crypto ATM network has grown rapidly, from just one machine in 2021 to over 20 today. Coin ATM Radar data confirms 24 machines in the state. Where in the world is #Bitcoin most accessible? Here are the top countries with the most Bitcoin ATMs: USA – 30,780 Canada – 3,062 Australia – 1,389 Spain – 276 Poland – 219 Slovenia – 80 #Crypto adoption is on the rise! pic.twitter.com/sleyKOqkc5 — Biconomy.com (@BiconomyCom) June 16, 2025 Nationwide, Australia ranks third globally for Bitcoin and crypto ATMs, trailing only the US and Canada, with nearly 1,900 units, up sharply from 67 a year ago. Major operators include Localcoin, Coinflip, and Bitcoin Depot. More Countries Clamp Down on Crypto ATMs Internationally, authorities are also cracking down on crypto ATM misuse. Last week, New Zealand banned crypto ATMs and restricted international cash transfers to combat money laundering. In Australia, AUSTRAC recently introduced stricter rules for crypto ATM operators, including tighter cash limits and monitoring. Last month, the regulator refused to renew the registration of a local crypto ATM operator , Harro’s Empires. The agency placed operating conditions, including transaction limits, on them. In the US, Spokane, Washington, has banned crypto ATMs entirely , citing their use in scams targeting vulnerable residents. Lawmakers in the US Senate are also attempting to tighten laws on a state and local level, with one attempt led by Illinois Senator Dick Durbin. He has introduced the Crypto ATM Fraud Prevention Act, which would bring in legislative measures designed to protect the public — while attempting to limit inconvenience for law-abiding users. New users would be prevented from spending more than $2,000 a day at one of these machines, rising to $10,000 in a 14-day period. The post Australia’s Tasmania Joins Nationwide Crackdown on Crypto ATMs as Scam Losses Hit $1.6 Million appeared first on Cryptonews .
Bet on the 2025 MotoGP German Grand Prix at Sachsenring with Bitcoin! Discover the top 15 sites for fast crypto payouts, big bonuses, and secure betting. Updated July 11th, 2025. MotoGP Bitcoin Betting 2025: The Ultimate Guide to the German Grand Prix With unmatched expertise in cryptocurrency products and services, Bitcoin.com is the trusted authority
The exchange has been a coder, a promoter and an early adopter for World Liberty Financial’s stablecoin, people familiar with the matter say. Critics say the relationship poses a conflict of interest for President Trump.
The post India’s FIU Probes Binance and WazirX Over Suspicious Crypto Transactions appeared first on Coinpedia Fintech News WazirX and Binance are in trouble as India’s FIU looks into crypto transfers from Pakistan. Authorities are now tracking wallet transactions that may be linked to illegal or terror-related activities. BREAKING: Just hours after I filed a 72-page affidavit in Singapore Court,also citing #WazirX wallets being used in terror funding The Financial Intelligence Unit (FIU) confirms WazirX+ #Binance are under probe for terror-linked crypto flows from Pakistan to Jammu & Kashmir pic.twitter.com/bIryL7Rgc4 — TOOFAAN (@TOOFAANARMY) July 11, 2025 India Probes Binance, WazirX Over Crypto Transfers Linked to Pakistan As reported by Money Control , officials stated that FIU is collecting data from Binance to identify accounts that may be receiving cryptocurrency in private wallets from Pakistan. These wallets are not tied to any exchange, which is making it harder to trace them. Authorities are concerned that such transfers may be linked to illegal activities or even terror financing in India. Both Binance and WazirX are being investigated, as they are often used for cross-border crypto transfers. Officials have noticed a rise in crypto transactions between Jammu & Kashmir and Pakistan border areas, and they suspect that some of these may be linked to terror funding. Ironically, this comes after WazirX issued a PR piece defending why its parent firm, Zettai, does not need FIU-IND registration. Now, that very regulator is investigating them for serious cross-border risks. All eyes are on the July 15 Singapore court hearing, as the outcome could decide the future of WazirX and the fate of user-held crypto. Recently, Romy Johnson filed a 72-page affidavit in the Singapore High Court that could decide whether WazirX users legally own their crypto. The filing claims WazirX wallets were linked to ISIS-related activity through TRX token transfers to a Syria-based entity. Users Demand Transparency WazirX users are now demanding clear answers from founder Nischal Shetty amid growing concerns over the failed restructuring and asset transparency. They have raised six key questions that remain unanswered. WE WAZIRX USERS DEMAND ANSWERS, WHY IS NISCHAL SHETTY HIDING ?? In light of ongoing legal scrutiny and high public interest surrounding the WazirX restructuring process, we are seeking your formal responses to the following key questions. These concern issues of asset… pic.twitter.com/1EEKYdd9ya — Justice for WazirX Users (@WazirXUsers) July 10, 2025 The issues include the true ownership of user-held crypto, the absence of a Proof of Reserves, undisclosed multisig wallet signatories, ₹364 crore in related-party transfers to entities linked to Shetty, and ₹920 crore in unaccounted revenue. Users are calling for clear, verifiable responses. WazirX Faces Legal Heat Previously, WazirX suffered a major blow as Singapore’s high court rejected the restructuring plan of its parent company, Zettai, after the $235 million hack. The court cited Zettai’s failure to disclose the creation of a Panama-based subsidiary and its decision not to get the required licenses from Sinagore and India. WazirX is also facing a legal battle for freezing users’ unhacked crypto and fiat funds. A key affidavit by Romy Johnson claims that Zettai wrongly grouped user-owned assets with hacked ones to push a flawed restructuring plan and violated trust laws. With a court hearing nearing, this case could shape how crypto platforms treat customer funds in the future. .article_register_shortcode { padding: 18px 24px; border-radius: 8px; display: flex; align-items: center; margin: 6px 0 22px; border: 1px solid #0052CC4D; background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 82, 204, 0.1) 100%); } .article_register_shortcode .media-body h5 { color: #000000; font-weight: 600; font-size: 20px; line-height: 22px; text-align:left; } .article_register_shortcode .media-body h5 span { color: #0052CC; } .article_register_shortcode .media-body p { font-weight: 400; font-size: 14px; line-height: 22px; color: #171717B2; margin-top: 4px; text-align:left; } .article_register_shortcode .media-body{ padding-right: 14px; } .article_register_shortcode .media-button a { float: right; } .article_register_shortcode .primary-button img{ vertical-align: middle; width: 20px; margin: 0; display: inline-block; } @media (min-width: 581px) and (max-width: 991px) { .article_register_shortcode .media-body p { margin-bottom: 0; } } @media (max-width: 580px) { .article_register_shortcode { display: block; padding: 20px; } .article_register_shortcode img { max-width: 50px; } .article_register_shortcode .media-body h5 { font-size: 16px; } .article_register_shortcode .media-body { margin-left: 0px; } .article_register_shortcode .media-body p { font-size: 13px; line-height: 20px; margin-top: 6px; margin-bottom: 14px; } .article_register_shortcode .media-button a { float: unset; } .article_register_shortcode .secondary-button { margin-bottom: 0; } } Never Miss a Beat in the Crypto World! Stay ahead with breaking news, expert analysis, and real-time updates on the latest trends in Bitcoin, altcoins, DeFi, NFTs, and more. .subscription-options li { display: none; } .research-report-subscribe{ background-color: #0052CC; padding: 12px 20px; border-radius: 8px; color: #fff; font-weight: 500; font-size: 14px; width: 96%; } .research-report-subscribe img{ vertical-align: sub; margin-right: 2px; } Subscribe to News var templateIds = "6"; var listOfSubscribed = []; function subscribed_popupmodal(template_id) { var templateId = '6'; getAllSubscriberCategoryList([templateId]); var subcribemodal = window.parent.document.getElementById('subscribe-modal-design'); if (subcribemodal) { var modalContent = ` Never Miss a Beat in the Crypto World! Stay informed and gain the edge you need to navigate the crypto world. Select your subscription now Daily Get real-time crypto news, market insights, and blockchain updates. Weekly Stay updated with major trends, funding news, and price analysis. Monthly Receive a detailed report with market analysis and expert predictions. Subscribe Now `; subcribemodal.innerHTML = modalContent; } subscribe_unsubscribe_status(template_id); //getAllSubscriberCategoryList(template_id); } function toggleSubscription(subscription, template_id) { var subscriptionCheckbox = document.getElementById(subscription + '_' + template_id); var li = document.getElementById(subscription + 'Selected_' + template_id); if (subscriptionCheckbox.checked) { li.classList.add('active'); } else { li.classList.remove('active'); } } function getAllSubscriberCategoryList(getcategoryId) { jQuery.ajax({ url: 'https://coinpedia.org/wp-admin/admin-ajax.php', type: 'GET', data: { action: 'subscribe_api_ajax_request', apiurl: '/app/email_newsletter/list', }, success: function(response) { var result = JSON.parse(response.message); if (result.status === true) { var idstosubscribed = [] // Populate listOfSubscribed with subscribed category IDs result.message.forEach(listofcategory => { if (listofcategory.subscribe_status === 1) { if (!listOfSubscribed.includes(listofcategory._id)) { listOfSubscribed.push(listofcategory._id); } if (!idstosubscribed.includes(listofcategory.news_cp_category_row_id)) { idstosubscribed.push(listofcategory.news_cp_category_row_id); } } }); idstosubscribed.forEach(id => { var subscribeButton = document.getElementById('subscribe_' + id); var unsubscribeButton = document.getElementById('unsubscribe_' + id); if (subscribeButton && unsubscribeButton) { subscribeButton.style.display = 'none'; unsubscribeButton.style.display = 'block'; var showDownloadReport = document.getElementById('download_report'); if (showDownloadReport) { showDownloadReport.style.display = 'block'; } } }); } }, error: function(xhr, status, error) { console.error('Error:', error); } }); } function subscribe_unsubscribe_status(getcategoryId) { var elementTounsubscribe = parent.document.getElementById('unsubscribe_' + getcategoryId); var elementTosubscribe = parent.document.getElementById('subscribe_' + getcategoryId); jQuery.ajax({ url: 'https://coinpedia.org/wp-admin/admin-ajax.php', type: 'POST', data: { action: 'subscribe_api_ajax_request', apiurl: '/app/email_newsletter/list?category_row_id=' + getcategoryId, }, success: function(response) { var result = JSON.parse(response.message); if (result.status === true) { parent.jQuery('.skeliton-loader-block').hide(); var hasSubscribeStatusOne = false; result.message.forEach(subscribeStatus => { if (listOfSubscribed.includes(subscribeStatus._id) && subscribeStatus.subscribe_status === 1) { hasSubscribeStatusOne = true; } if (subscribeStatus.notification_type === 3) { parent.document.getElementById('monthlySelected_' + getcategoryId).style.display = 'block'; parent.document.getElementById('monthly_' + getcategoryId).setAttribute('data-id', subscribeStatus._id); if (subscribeStatus.subscribe_status === 1) { parent.document.getElementById('monthly_' + getcategoryId).checked = true; } } else if (subscribeStatus.notification_type === 2) { parent.document.getElementById('weeklySelected_' + getcategoryId).style.display = 'block'; parent.document.getElementById('weekly_' + getcategoryId).setAttribute('data-id', subscribeStatus._id); if (subscribeStatus.subscribe_status === 1) { parent.document.getElementById('weekly_' + getcategoryId).checked = true; } } else if (subscribeStatus.notification_type === 1) { parent.document.getElementById('dailySelected_' + getcategoryId).style.display = 'block'; parent.document.getElementById('daily_' + getcategoryId).setAttribute('data-id', subscribeStatus._id); if (subscribeStatus.subscribe_status === 1) { parent.document.getElementById('daily_' + getcategoryId).checked = true; } } if (subscribeStatus.subscribe_status === 1) { listOfSubscribed.push(subscribeStatus._id); } }); if (hasSubscribeStatusOne) { elementTosubscribe.style.display = 'none'; elementTounsubscribe.style.display = 'block'; } else { elementTosubscribe.style.display = 'block'; elementTounsubscribe.style.display = 'none'; } } }, error: function(xhr, status, error) { console.error('Error:', error); } }); } function logSelectedSubscriptions(categoryid) { var unsubscribemodal = document.querySelector('.unsubscribed-popup-modal .modal'); var subscribedmodal = document.querySelector('.subscribed-popup-modal .modal'); unsubscribemodal.innerHTML=''; subscribedmodal.innerHTML=''; var selectedSubscriptions = []; var storeCheckedId = []; var checkboxes = document.querySelectorAll('#subscription-options-' + categoryid + ' input[type="checkbox"]'); var errorMessage = document.getElementById('error-message-select'); // Use a Set to handle unique data-ids var uniqueSubscribedIds = new Set(listOfSubscribed); checkboxes.forEach(function(checkbox) { var dataId = parseInt(checkbox.getAttribute('data-id')); if (checkbox.checked) { selectedSubscriptions.push(checkbox.id); storeCheckedId.push(dataId); } else { uniqueSubscribedIds.delete(dataId); // Remove unchecked data-id } }); // Update listOfSubscribed with unique values listOfSubscribed = Array.from(uniqueSubscribedIds); var selectedSubscriptionsString = selectedSubscriptions.join(', '); var concatinateSubscribeId = [...new Set(storeCheckedId.concat(listOfSubscribed))]; var categoryData = { 'subscribed_categories': concatinateSubscribeId }; var requestSubscriberData = { action: 'handle_dynamic_api_request_with_headers', security: '62ac0d041d', endpoint: '/app/email_newsletter/update_categories', token: '', data: categoryData }; jQuery.ajax({ url: 'https://coinpedia.org/wp-admin/admin-ajax.php', type: 'POST', data: requestSubscriberData, beforeSend: function(xhr) { xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); }, success: function(response) { try { response = response.data; if (storeCheckedId.length === 0) { var unsubcribedPopUpmodal = ` You’ve Unsubscribed Successfully We're sorry to see you go! Your subscription has been canceled. If you change your mind, you can re-subscribe anytime. Thank you for being part of our community! `; unsubscribemodal.innerHTML = unsubcribedPopUpmodal; document.querySelector('#subscribe-modal-design .modal').style.display = 'none'; unsubscribemodal.style.display = 'block'; unsubscribemodal.classList.remove('hide'); unsubscribemodal.classList.add('show'); document.getElementById('subscribe_' + categoryid).style.display = 'block'; document.getElementById('unsubscribe_' + categoryid).style.display = 'none'; var showDownloadReport = document.getElementById('download_report'); if (showDownloadReport) { showDownloadReport.style.display = 'none'; } } else { var subscribedPopupModal = ` Thank you for subscribing! Thank you for subscribing to our crypto and blockchain newsletter! You’ll now receive the latest news, insights, and updates straight to your inbox. Welcome to our community! `; let selectedSubscriptionsArray = selectedSubscriptionsString.split(','); let subscribedCategories = selectedSubscriptionsArray.map(subscription => subscription.split('_')[0]); let subscribedCategoriesString = subscribedCategories.join(', '); subscribedmodal.innerHTML = subscribedPopupModal; if (document.getElementById('selectidname')) { document.getElementById('selectidname').textContent = subscribedCategoriesString; } document.querySelector('#subscribe-modal-design .modal').style.display = 'none'; subscribedmodal.style.display = 'block'; subscribedmodal.classList.remove('hide'); subscribedmodal.classList.add('show'); document.getElementById('subscribe_' + categoryid).style.display = 'none'; document.getElementById('unsubscribe_' + categoryid).style.display = 'block'; var showDownloadReport = document.getElementById('download_report'); if (showDownloadReport) { showDownloadReport.style.display = 'block'; } } } catch (e) { console.error('Error parsing response:', e); } }, }); } function closeModal(template_id) { var modalId = template_id; var modal = document.querySelector('#' + modalId); // Using querySelector to find the modal if (modal) { modal.classList.add('hide'); modal.classList.remove('show'); setTimeout(function() { modal.style.display = 'none'; }, 500); } else { console.warn('Modal not found:', modalId); } } function closeunsubscribemodal() { var unsubscribemodal = document.querySelector('.unsubscribed-popup-modal .modal'); if (unsubscribemodal) { unsubscribemodal.classList.add('hide'); unsubscribemodal.classList.remove('show'); } setTimeout(function() { unsubscribemodal.style.display = 'none'; }, 500); } function closesubscribemodal() { var subscribedmodal = document.querySelector('.subscribed-popup-modal .modal'); setTimeout(function() { subscribedmodal.style.display = 'none'; }, 500); if (subscribedmodal) { subscribedmodal.classList.add('hide'); subscribedmodal.classList.remove('show'); } } function withoutLoginClicked(withoutlogin_id) { localStorage.setItem('subscribe_without_Login', 'true'); localStorage.setItem('subscribe_clicked_id', withoutlogin_id); } document.addEventListener('DOMContentLoaded', function() { const subscribewithoutData = localStorage.getItem('subscribe_without_Login'); const subscribe_clicked_cat_id = localStorage.getItem('subscribe_clicked_id'); // Function to get cookies function getCookie(name) { let value = "; " + document.cookie; let parts = value.split("; " + name + "="); if (parts.length == 2) return parts.pop().split(";").shift(); } // Get user token from cookies const userToken = getCookie('user_token'); if (subscribewithoutData === 'true' && userToken) { // Call the modal function with the category ID subscribed_popupmodal(subscribe_clicked_cat_id); // Remove the flag and category ID from localStorage localStorage.removeItem('subscribe_without_Login'); localStorage.removeItem('subscribe_clicked_id'); } }); /************************** update susbcriber content **************************** */ function initializeSubscriptionButton() { var initialListItems = document.querySelectorAll('.subscription-options input[type="checkbox"]'); initialListItems.forEach(function(item) { console.log(item.checked, 'Initial Checkbox checked status'); }); var listItems = document.querySelectorAll('.subscription-options li'); if (listItems.length === 0) return; var anyActive = false; listItems.forEach(function(item) { var checkbox = item.querySelector('input[type="checkbox"]'); if (checkbox) { if (checkbox.checked) { item.classList.add('active'); anyActive = true; // Set anyActive to true } else { item.classList.remove('active'); // Remove 'active' class if checkbox is unchecked } } }); } function updateButtonText(anyActive) { var subscribeButtonSpan = document.querySelector('.subscribe-submit .changeBtnText'); if (subscribeButtonSpan) { if (anyActive) { subscribeButtonSpan.textContent = 'Subscribe Now'; } else { subscribeButtonSpan.textContent = 'Unsubscribe'; } } } function updateSubscriptionButton() { var listItems = document.querySelectorAll('.subscription-options li'); if (listItems.length === 0) return; var anyActive = false; listItems.forEach(function(item) { var checkbox = item.querySelector('input[type="checkbox"]'); if (checkbox) { if (checkbox.checked) { item.classList.add('active'); anyActive = true; // Set anyActive to true } else { item.classList.remove('active'); // Remove 'active' class if checkbox is unchecked } } }); // Update the button text based on whether any list item has the 'active' class updateButtonText(anyActive); } document.addEventListener('click', function(event) { var clickedItem = event.target.closest('.subscription-options li'); if (clickedItem) { var checkbox = clickedItem.querySelector('input[type="checkbox"]'); if (checkbox) { checkbox.checked = !checkbox.checked; updateSubscriptionButton(); } } });