Search result for: Low-cost therapies https://simplemedrx.top"
Page 7 / 7
Prev
# | Post Title | Result Info | Date | User | Forum |
RE: Add "Recent Forum Posts" where you want it | 9 Relevance | 6 months ago | Pablo | How-to and Troubleshooting | |
@sofy i know, this was just a soultion to the problem ๐ I updated the output a bit, here is the new version in english. Styling can be done at the beginning of the code via CSS. Make sure you change the 2 URLs to your forum ones:1. 2. <div id="rss-container-wrapper" style="display: none;"> <style> /* General styling for the container design */ #rss-container { display: none; margin-top: 20px; padding: 15px; background: rgba(255, 255, 255, 0.9); border-radius: 10px; color: #333; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); border: 1px solid #ddd; } /* Button styling */ #load-button, .create-topic-button { display: block; margin: 15px auto; padding: 12px 25px; font-size: 18px; cursor: pointer; background: linear-gradient(135deg, #4CAF50, #81C784); color: white; border: none; border-radius: 25px; transition: 0.3s; box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1); text-align: center; text-decoration: none; font-weight: bold; } #load-button:hover, .create-topic-button:hover { background: linear-gradient(135deg, #43A047, #66BB6A); transform: scale(1.05); } /* Styling for posts */ #rss-feed { list-style: none; padding: 0; } #rss-feed li { background: rgba(0, 0, 0, 0.05); padding: 15px; margin-bottom: 12px; border-radius: 8px; transition: 0.3s; border-left: 5px solid #4CAF50; } #rss-feed li:hover { background: rgba(0, 0, 0, 0.1); transform: scale(1.02); } #rss-feed li a { font-size: 18px; font-weight: bold; color: #388E3C; text-decoration: none; transition: 0.3s; } #rss-feed li a:hover { color: #2E7D32; } /* Post description */ .excerpt { font-size: 14px; color: #555; margin-top: 5px; } /* Additional info like author & time */ .meta { font-size: 12px; color: #777; margin-top: 5px; } </style> <button id="load-button">🌿 Show the 10 latest posts</button> <div class="container" id="rss-container"> <a href="https://YOURURL.TLD/community/add-topic/" class="create-topic-button">➕ Create a new topic</a> <ul id="rss-feed"></ul> </div> <script> document.addEventListener("DOMContentLoaded", function () { const isLoggedIn = document.body.classList.contains("logged-in"); if (isLoggedIn) { document.getElementById("rss-container-wrapper").style.display = "block"; document.getElementById("load-button").addEventListener("click", function () { const rssContainer = document.getElementById("rss-container"); if (rssContainer.style.display === "none" || rssContainer.style.display === "") { this.textContent = "🌿 Hide posts"; rssContainer.style.display = "block"; fetchRSS(); } else { this.textContent = "🌿 Show the 10 latest posts"; rssContainer.style.display = "none"; } }); } }); async function fetchRSS() { const url = 'https://YOURURL.TLD/?type=rss2&forum=g&topic=g'; try { const response = await fetch(url); const text = await response.text(); const parser = new DOMParser(); const xml = parser.parseFromString(text, "text/xml"); const items = xml.querySelectorAll("item"); let html = ""; items.forEach((item, index) => { if (index < 10) { const title = item.querySelector("title").textContent; const link = item.querySelector("link").textContent; const date = new Date(item.querySelector("pubDate").textContent); const description = item.querySelector("description")?.textContent || "No preview available."; const author = item.querySelector("creator") ? item.querySelector("creator").textContent : "Unknown"; const now = Date.now(); const diffInSeconds = Math.floor((now - date) / 1000); let timeAgo = ""; if (diffInSeconds < 60) { timeAgo = `${diffInSeconds} sec.`; } else if (diffInSeconds < 3600) { const diffInMinutes = Math.floor(diffInSeconds / 60); timeAgo = `${diffInMinutes} min.`; } else if (diffInSeconds < 86400) { const diffInHours = Math.floor(diffInSeconds / 3600); timeAgo = `${diffInHours} hrs.`; } else { const diffInDays = Math.floor(diffInSeconds / 86400); timeAgo = `${diffInDays} d.`; } html += ` <li> <a href="${link}">${title}</a> <div class="meta">👤 By: <b>${author}</b> posted ${timeAgo} ago</div> <p class="excerpt">${description}</p> </li>`; } }); document.getElementById("rss-feed").innerHTML = html; } catch (error) { console.error("Error loading the RSS feed", error); document.getElementById("rss-feed").innerHTML = "❌ Error loading data."; } } </script> </div> Screenshots: | |||||
Topic description is not at top | 8 Relevance | 6 years ago | Xcalizorz | How-to and Troubleshooting | |
Hi, my QA Layout looks like this: Category -> Main Forum -> Many Sub Forums (~30) Every user can create a topic in the Main Forum and in all Sub Forums, which works fine.The problem is, that the button to add a topic in the main forum is at the bottom. And with approx. 30 sub forums, one would have to scroll a lot to get to the bottom..Is there a way to insert the topic description and the button at the top - as is with all sub forums. Category: Main Forum: | |||||
Forum post right/top anchor links broken with 1.1.2 release - UI or DB glitch? | 8 Relevance | 9 years ago | nando4 | How-to and Troubleshooting | |
Eg: clicking on the post anchor link on the right top at: Sees it choose a URL at for the post which doesn't exist. Is this a broken DB or just a minor glitch with the UI? Can a timely fix be forthcoming? EDIT: the post anchor works correctly for this forum. EDIT #2: new posts after the 1.1.2 upgrade are also using the correct anchor. It's just appears pre-1.1.2 posts are affected. EDIT #3: the anchor has just added the /paged/2/ to the URL when it's a post on the first page. So looks like a UI issue. Rather than being: it should be: | |||||
WPFORO Adding Html Output To JSON Request - WPFORO Conflict With SEOPress | 8 Relevance | 6 years ago | Jimmy George | How-to and Troubleshooting | |
Hi, I would appreciate if the developers can take a look and offer any help. I have my forum at My SEO plugin is SEOPRESS and I am also using elementor PRO. My issue is that, I cannot save the page properly because it gives the following error "Error message: The response is not a valid JSON response." This happens ONLY on the page that has the WPFORO shortcode. I was able to get a developer look at this and he said the following --------------------------------------------------------------------- because their forum is adding an html output to the json request for example, upon update you hit this request: and this is json request: yet response from that JSON request you get isn't in JSON format <div id="wpforo-wrap" class="wpf-default wpf-auth"><div class="wpforo-subtop"><style>.wpf-item-element{display: inline;}</style><div class="wpf-breadcrumb" itemscope="" itemtype="http://schema.org/BreadcrumbList"><div itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem" class="wpf-item-element wpf-root active"><a itemprop="item" href="https://malayali.ca/forums/" title="Forums"><span itemprop="name">Forums</span></a><meta itemprop="position" content="1"></div><a href="#" class="wpf-end"> </a></div><div class="wpf-clear"></div></div><div class="wpforo-main wpft-"><div class="wpforo-content " style="width:100%"></div><div class="wpf-clear"></div></div><!-- forum statistic --><div class="wpf-clear"></div><div id="wpforo-footer"></div> <!-- wpforo-footer --></div><!-- wpforo-wrap -->{"id":5372,"date":.....} you get a bunch of "wpforo" stuff before the actual json response ----------------------------------------------------------------------------------------------------- I was wondering if the devs can give me a solution for this. Jimmy George | |||||
top bar for page load and scroll | 8 Relevance | 7 years ago | jaytom | wpForo Integration | |
See top bar while page loads and scrolls The red page loading bar comes from this plugin: (probably simpler plugin for this feature) then as you scroll down, the brown progress bar is this plugin: Can I get these features in wpforo easily? The problem I am having is that I can't get these bars to work when I put the whole site to feature the forum like on | |||||
How to improve wpforo performance? | 8 Relevance | 3 years ago | ldj72 | How-to and Troubleshooting | |
Hi, I am hosted at Wordpress.com, using Cloudflare and WP rocket. As mentioned, I disabled wp rocket for my forums. I have very good performance result on PageSpeed Insights for my WordPress / Woocomerce site, but for WPforo, the result are LOW. Any advice on improving the performance? For mobile, it isn't very good. Website : WordPress.com+WProcket +Cloudflare Desktop Mobile WPforo : WordPress.com+Cloudflare Desktop Mobile Please advice. Regards | |||||
RE: How to show who's currently online in forum statistics area? | 8 Relevance | 3 years ago | VereK | How-to and Troubleshooting | |
@starman71 IIRC the share to FB functionality is not enabled with WPforo's API implementation, only FB login/registration. Maybe @Chris can clarify. In any event I don't use FB so do not definitively know. If you do not want to use any site protection then you can use Sofy's code here via the Code Snippets plugin. to limit signatures and about me spam. For displaying members online in the forum statistics block you will need this plugin: In the plugin settings you should have code similar to this: Useronline Templates: <a href="%PAGE_URL%"><strong>%USERS%</strong> Online</a> User(s) Browsing Site: (choose whatever separators you prefer - examples โข or |) Members: <strong>%MEMBER_NAMES%%GUESTS_SEPARATOR%%GUESTS%%BOTS_SEPARATOR%%BOTS%</strong> To display this info in your Forum Statistics block you would need to edit this file /wp-content/plugins/wpforo/wpf-themes/classic/footer.php. As noted in my previous post this would have to be done every time the WPforo is version updated. If you are not comfortable with editing PHP files then do not attempt this, this is for advanced site managers only. Make a backup of footer.php in case you mess up. Near the bottom of the file look for <span><i class="fas fa-lock wpfcl-1"></i> <?php wpforo_phrase('Closed') ?></span><p> Directly beneath that edit in the following code and save: <p class=usersonline><div class="wpf-user-online"><div class="wpf-user-online-stat"><i class="userstat fas fa-users"></i><span style="font-size: 14px; font-weight: bold; color: #777777"> Members and visitors online now :</span></div><div><?php if (function_exists ('users_online')): ?> <?php users_online () ; ?><?php endif; ?> <?php if (function_exists ('get_users_browsing_site')): ?> <?php echo get_users_browsing_site () ; ?><?php endif; ?> </p></div> The font weight and colour you should change to suit your board style. And lastly some CSS for final styling of the block: /* Useronline Styling */ #wpforo-stat-body > div.wpforo-stat-table > div.wpf-row.wpf-last-info > div > div.wpf-user-online-stat {border-top: 1px solid #e6e6e6!important; margin-top: 7px!important;padding-top: 5px!important;} The end result should look similar to this: Attachment : members_online.png | |||||
RE: font-weight change, does not work | 8 Relevance | 7 years ago | CrisW | How-to and Troubleshooting | |
Hi @finalcut - I hope this post for you does not disappear again (my previous one disappeared). I checked your website and this is what shows. You might have changed too many things on the Custom CSS Code that it affected your entire forum layout. (The images will be attached at the bottom of this post) . What can be done ? It might be faster to fix if you 1) Go into your wpForo Custom CSS Code, and remove all the codes there (that caused the attached resulting images ) and start again with this. 2) On your Wordpress Forum page, just put the wpforo shortcode, like so, on the HTML tab (not the visual tab): <br><br> 3) I am not certain if you are wanting the group picture at the bottom of the forum page, or at the top of the forum page. 4) But just copy the code below, also on your Wordpress Forum Page, and put it on top of your wpForo shortcode, or below the wpforo shortcode, where ever you want the photo to appear. So your Wordpress Forum Page HTML code would look like this: <br><br><div class="background background-image" style="background-image: url();max-width:100%;height:600px;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://valledeicavalieri.it/wp/wp-content/uploads/2018/11/SfondoFORUM3-e1548672857726.jpg', sizingMethod='scale');-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://valledeicavalieri.it/wp/wp-content/uploads/2018/11/SfondoFORUM3-e1548672857726.jpg', sizingMethod='scale')';" data-imgwidth="100%"></div><div class="fusion-title-sc-wrapper" style=""><div class="fusion-title title fusion-sep-none fusion-title-center fusion-title-size-two" style="margin-top:0px;margin-bottom:0px;"><h2 class="title-heading-center" style="color:#fff;font-size:30px;line-height:36px;">questo รจ il forum ufficiale della Cooperativa Valle dei Cavalieri</h2></div> </div> (Do not translate the code, since it is in English), I think the front end code is in English and can be translated, I am just not certain whether the code itself can be translated, maybe the wpForo Team can clarify that). Hope this helps. You have a nice website and a working Forum will look great on it too! Buona fortuna e Dio benedica te e la tua cooperativa! ๐ Attachment : FinalCutsForumPage_1.jpg | |||||
wpForo Beta-4 is released! | 8 Relevance | 9 years ago | Robert | wpForo Announcements | |
We just released wpForo Beta-4 Please check the new "Enable Output Buffer" option in Forums > Settings > Features Tab. This option should be enabled if you want to put some content before forum or if forum is loaded on top of your website, before template header. Also we hope all problems with HTTPS and WWW websites are fixed in Beta-4. Changelog: Added: Supports WordPress default emoticons Added: Automatic image URL to image conversion in post content (image auto-embed) Added: View HTML source button on TiniMCE post editor Added: Profile Social Network URLs and Skype links Added: Last post link, date, author name for Intro Topics - Extended & QA Layouts Added: Options to set Forum, Topic and Post Content font size Added: Options to add custom CSS code Added: Russian (ru_RU) translation, many thanks to Dmitry Butkevich (WPNICE.RU) Added: Korean (ko_KO) translation, many thanks to Jeehwan Song Added: Czech (cs_CZ) translation, many thanks to Glados (The Witcher) Fixed Bug: Topic and Post layout don't changed after changing forum parent category Fixed Bug: Problem with https and www. websites Fixed Bug: Forums and Topics don't show up on the main page. Fixed Bug: Proble with post quote, HTML content. Fixed Bug: Problem with "Online Members" widget Fixed Bug: Before and after [wpforo-index] content. Fixed Bug: Forum is loaded on top of website, before theme header. We've added an option "Enable Output Buffer". This feature is useful if you're adding content before or after [wpforo-index] shortcode in page content. Also it useful if you see forum is loaded before website template, on top of front-end. New options in Forums > Settings > Styles admin page: |
Page 7 / 7
Prev