web-able
Forum Replies Created
-
Forum: Plugins
In reply to: [BetPress] How to make new players registerI’ve just saw your latest post (it seems like we posted in the same minute)
For that specific change, go to
/views/widgets/betslip.php, locate line 15 and change the word “points” to whatever you need.Forum: Plugins
In reply to: [BetPress] How to make new players registerWell, the word “points” is used on so many places… I can guide you what would I do if I were you:
1. Open the BetPress.po file with a translation editor (fe Poedit), or just a text editor with a search feature
2. Search for the word “points” (without the quotations)
3. On each occurrence, copy the whole sentence
4. Open Notepad++ or some other editor that can search in multiple files
5. Search in the betpress directory for the sentence you copied from 3.
6. Replace “points” with the word of your choiceHope that helps.
Forum: Plugins
In reply to: [BetPress] How to make new players registerIt seems like I missleaded you regards to the English translation. I’ve also just try it out and it seems like if the language is set to English then WordPress is ignoring the translations files. That’s new to me, too. Sorry for the misslead.
In this case, the only option left is to directly edit the BetPress’s files. Open /controllers/add-bet-option.php, locate line 23
$bet_option_errors [] = __('Please login or register.', 'BetPress');
Change it to:
$bet_option_errors [] = sprintf(__('Please <a href="%s">login</a> or <a href="%s">register</a>.', 'BetPress'), 'http://your-domain.com/wp-login.php', 'http://your-domain.com/register-url');or if you don’t care about translations you can change it to:
$bet_option_errors [] = 'Please <a href="http://your-domain.com/wp-login.php">login</a> or <a href="http://your-domain.com/register-url">register</a>.';Hope it helps.
Forum: Plugins
In reply to: [BetPress] How to make new players registerTo make “login” and “register” links, again edit the translation files directly by adding
<a href="http://your-domain.com/wp-login.php">login</a>and same for register. As I already mentioned, your other option is to directly edit the plugin’s files but is not recommended. Please note this solution is valid for any other text you want to change.Regards to the translation not working: did you followed strictly the instructions in the documentation? Most probably you didn’t follow the naming convention and that’s why it is not working.
The “Points log page” and the “Import/Export page” are both available in the full version only.
Forum: Plugins
In reply to: [BetPress] How to make new players registerShould not really matter but let them sit just in case.
Forum: Plugins
In reply to: [BetPress] Edit Options after results – not auto?This can be automated only if the bettings provider gives me both odds before the game and result after the game. There were no such service offered for reasonable price when the plugin was developed. So I automated only inserting the bettings thanks to the BetClic’s free odds provider.
Forum: Plugins
In reply to: [BetPress] How to make new players registerTo show the points in the slip just check the “Show points?” checkbox in the widget (admin dashboard -> appearance -> widgets -> betpress slip widget)
The recommend way of changing text is via the translations files. Just simulate that you are translating to English if that’s your main language. Details on how to translate can be found in the documentation. Otherwise, you have to edit the code which is not recommended.
Forum: Plugins
In reply to: [BetPress] How to place bets?@dlsfans I’ve just replied in your own thread. However, this thread here may also be in your help.
Forum: Plugins
In reply to: [BetPress] How to make new players registerThe bet is accepted only if the user is logged in. The default WordPress login is accessible on your-domain.com/wp-login.php
Forum: Plugins
In reply to: [BetPress] Order players in leaderboard by points ?Not without modifying the code. There are few things that has to be changed and then it has to be tested so I can’t provide you a “quick-fix” to the problem if that’s what you are asking.
By default WordPress runs on MySQL. I am not aware if they support MariaDB but BetPress does not support it at this stage. Will try to change that in the next release but don’t see it coming soon.
Forum: Plugins
In reply to: [BetPress] Order players in leaderboard by points ?Then how you know that you are not using MariaDB? They don’t differ much from each other.
How to check depends on your server. If you are on shared hosting using cPanel, then search for “Server Information” link and click it.
Forum: Plugins
In reply to: [BetPress] Order players in leaderboard by points ?Hmm strange, they should always be ordered by points.
What is your exact MySQL version? Also, give me your PHP version, WordPress version and BetPress version. I will set up the same environment and hopefully experience the same problem.
Forum: Plugins
In reply to: [BetPress] Order players in leaderboard by points ?They should by ordered by points but BetPress supports only MySQL. Most probably you use another database such as MariaDB and that’s why it is bugged.
Forum: Plugins
In reply to: [BetPress] Synchronize match resultsShort answer: Yes but with much costs. You need to pay to 3rd party services which provide both betting odds and results afterwards. Then you would need to pay a developer to switch the provider in BetPress (currently it uses BetClic because it is free but it provides only the odds)
Ps If you are using the full version of the plugin please use the support contact form. This forum is meant to provide support to the Lite version only (WordPress restriction)
Forum: Plugins
In reply to: [BetPress] How to place bets?That’s correct. But by default you already have log in system implemented by WordPress.
And this plugin is a betting game where your users compete against each other, I don’t see how such thing can be achieved without having users 🙂