Robert G.
Forum Replies Created
-
Forum: Plugins
In reply to: [KP Agent Ready] Markdown Negotiation is not workingyup, all good now, apreciate it 😉
Forum: Plugins
In reply to: [KP Agent Ready] Markdown Negotiation is not workingYeah, I wanted to say that LLMs is gone for now. I’ll wait for updates — looks promising.
Forum: Plugins
In reply to: [KP Agent Ready] Markdown Negotiation is not workingAwesome, also great plugin, love it.
Forum: Plugins
In reply to: [Restrict Admin Login by Country - GRC] prevent uninstalling pluginI have tested with WordPress 6.8.3 and have no issue after to install any wordpress plugin. Can you disable all plugins and leave only Restrict Admin Login by Country – GRC active and tell me if you still have the problem, because it looks like a plugin conflict.
Forum: Plugins
In reply to: [Restrict Admin Login by Country - GRC] prevent uninstalling pluginCan you provide what wordpress version you have?
Forum: Everything else WordPress
In reply to: How to check hpos_sync_enabled is enabled?Thanks fot the advice, i will contact them.
- This reply was modified 2 years, 6 months ago by Robert G..
Forum: Plugins
In reply to: [Contact Form 7] Select field placeholder languageFrom what i have seen it takes $locale ‘en_US’ and not the locale of the website hence the problem with translation.
- This reply was modified 3 years, 5 months ago by Robert G..
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] How to add team to a Group?Edit: replace with this code, this is good:
<?php /** * The template for displaying the homepage. * * Template Name: Grupe * * @package Rookie */ get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php $table_name = $wpdb->prefix . "term_taxonomy"; $sql = "SELECT term_id FROM " . $table_name . " where parent!='0'"; $pageposts = $wpdb->get_results($sql); foreach ( $pageposts as $pagepost) { $table_name = $wpdb->prefix . "terms"; $sql = "SELECT name FROM " . $table_name . " where term_id='".$pagepost->term_id."'"; $ageposts = $wpdb->get_results($sql); foreach ( $ageposts as $agepost) { echo '<h4 class="sp-table-caption">'.$agepost->name.'</h4>'; } echo '<table class="sp-data-table">'; $table_name = $wpdb->prefix . "term_relationships"; $sql = "SELECT object_id FROM " . $table_name . " where term_taxonomy_id='".$pagepost->term_id."'"; $echipe = $wpdb->get_results($sql); foreach ( $echipe as $echipa) { $table_name = $wpdb->prefix . "posts"; $sql = "SELECT post_title, guid FROM " . $table_name . " where post_type='sp_team' AND id='".$echipa->object_id."'"; $nechipe = $wpdb->get_results($sql); foreach ( $nechipe as $nechipa) { echo '<tr><td>'.$nechipa->post_title.'</td></tr>'; //echo '<tr><td><a>guid.'">'.$nechipa->post_title.'</a></td></tr>'; } } echo '</table>'; } ?> </main><!-- #main --> </div><!-- #primary --> <?php get_sidebar(); ?> <?php get_footer(); ?>Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] How to add team to a Group?yes, thx
Example for others:
Add a Primary League and after that add sub parent to it like
Group A, Group Bhere is my code to display on a template page all Group teams like
Group A
team name 1
team name 2 etc.<?php /** * The template for displaying the Groupe Teams. * * Template Name: Grupe * * @package Rookie */ get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php $table_name = $wpdb->prefix . "term_taxonomy"; $sql = "SELECT term_id FROM " . $table_name . " where parent!='0'"; $pageposts = $wpdb->get_results($sql); foreach ( $pageposts as $pagepost) { $table_name = $wpdb->prefix . "terms"; $sql = "SELECT name FROM " . $table_name . " where term_id='".$pagepost->term_id."'"; $ageposts = $wpdb->get_results($sql); foreach ( $ageposts as $agepost) { echo '<h4 class="sp-table-caption">'.$agepost->name.'</h4>'; } echo '<table class="sp-data-table">'; $table_name = $wpdb->prefix . "term_relationships"; $sql = "SELECT object_id FROM " . $table_name . " where term_taxonomy_id='".$pagepost->term_id."'"; $echipe = $wpdb->get_results($sql); foreach ( $echipe as $echipa) { $table_name = $wpdb->prefix . "posts"; $sql = "SELECT post_title FROM " . $table_name . " where id='".$echipa->object_id."'"; $nechipe = $wpdb->get_results($sql); foreach ( $nechipe as $nechipa) { echo '<tr><td>'.$nechipa->post_title.'</td></tr>'; } } echo '</table>'; } ?> </main><!-- #main --> </div><!-- #primary --> <?php get_sidebar(); ?> <?php get_footer(); ?>Forum: Plugins
In reply to: [PHPLeague] Fixture Results not showingThxxx it worked!
Forum: Plugins
In reply to: [Facebook Album Sync] Exclude albumreplace code from albums.php with this:
http://sprunge.us/UAOXenjoy!!!
THX @gecko