massa974
Forum Replies Created
-
Forum: Hacks
In reply to: Connect to an external databaseJust to follow up on this :
it worked !
Thanks for helping me keeping my job ??
Forum: Hacks
In reply to: Connect to an external databaseThanks for pointing me to this resource.
There’s all I need indeed, but I’m wondering :
About that code :
$my_wpdb = new WPDB( 'remote_user', 'remote_password', 'remote_db', 'remote_server');
I just add it at the end of functions.php right ?
I shall also replace remote_user with username ? Same goes for remote_password and remote_db I guess.
But what about remote_server : what should I replace this with ? The IP of the server ?Plus, where exactly do I need to need to paste the code to display the content of external database ? (I need the data displayed on a specific WP page)
Thanks again
EDIT : pasting the given code in functions.php won’t replace the database of the current install ?
Forum: Hacks
In reply to: Connect to an external databaseThank you VERY much for your answer.
Actually I read somewhere that this was the way to go, but where do I paste this code?
And sorry for asking, but when I paste that code where it need be, how exactly do I get to display the data from the external database? (Informations about various training offers)
Sorry if this sounds like stupid questions and thanks again.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] No outside, but inside borders ?You rock man, I promise I’ll donate when I can.
Thanks a lot for doing all this !
Cheers.
Forum: Plugins
In reply to: [BadgeOS] 3 problems with this awesome problemsnevermind, I found another option that is more suitable for my needs. Thanks anyway
Hi Tobias,
thank you very much for the fast reply and the given answers.
Everything works like a charm except for -1-.
I tried writing only the wanted text in the cell, and tried this css /
.tablepress-id-10 thead th, .tablepress-id-10 tfoot th { background-color: #0C2044 !important; color: #ffffff; border: 1px solid !important; margin-top: 200px !important; text-align: center !important; }
text color doesn’t apply, same as margin. Did I do something wrong ?
Thanks
Thanks for your speedy answer Hector.
Well, I was afraid you were going to answer that :).
Do you do custom mods, and are you available for hire ? If you do, please send me your contact details and we’ll see if this can be arranged.
Forum: Fixing WordPress
In reply to: Custom fields display problem (used to work, but doesn't anymore)Sorry to flood the topic, but I got another problem actually.
I indicated one external url for each article, with the following plugin :
https://www.ads-software.com/extend/plugins/open-external-links-in-a-new-window/For some reason, it doesn’t work anymore. Articles on homepage and category pages link to their own permalink on my website. This is not how it’s supposed to be.
This is nightmare, I really need your help guys.
I use cloudlare it this helps.
Forum: Fixing WordPress
In reply to: Custom fields display problem (used to work, but doesn't anymore)EDIT : the source is the word or few words beneath the article link.
Example, in homepage, every articles show Problogger as the source, which is wrong, because each article has its own source.
Thanks again for your great support.
Actually, I found that the “problem” I had was due to the fact I did not click register after SFC enters username and email. So if I’m on the login or register page, it works just fine, I just have to click register.
btw, where can I change the text “Register for this site” that appears after the user clicked the “connect with facebook” nutton ?
Well, I don’t really know what to say ??
Maybe the problem comes from the fact that I want this to work through the login page, instead the register page(if this page exists)? I mean, the facebook connect button is in the form, in the login page : https://www.website.com/wp-login.php.
And on this page, when a user click the button, the facebook pop up opens, asking for creditentials. Then, in the same pop up, facebook asks the user if he’s ok with my website being able to send him emails. And after he confirms, the login page reloads as stated above.
Do you somegthing wrong in all that?
Thanks for your fast reply.
So I must have misconfigured something. The “anyone can register” box is ticked, both SFC login and register plugins are activated. But each time a user registers, the browser reloads the login page with the following message added : “A password will be e-mailed to you.”
I have tried this with my facebook account and my brother’s, same results.
Do you have any thoughts please?
Hi Otto,
If I get things right, there is no way to connect with the “connect with facebook” button to have instant access to the dashboard, without entering the password sent via email when registering, right?