gregboutin2
Forum Replies Created
-
Forum: Plugins
In reply to: [Disqus Comment System] Disqus Logo missing on login screenyes same issue here. Since I have missing url notifier i am notified by email every time i try to access the login screen
Forum: Fixing WordPress
In reply to: WP destroys header’s global vars?actually if you specifically declare them as global they work across other pages. just tested and it works. it’s weird i though that the global function was to let outside variable into a require or function, not the other way around.
Forum: Fixing WordPress
In reply to: WP destroys header’s global vars?Completely agree with you, Blutarsky. It doesn’t make sense that one cannot define variable in the header file for all subsequent template pages to use.
I had to take time to figure out why it wouldn’t work. And then repeat each variable calculation in each template as a result.
Help anyone? I’m still hoping for a solution.
As a note to the developer: congrats on creating this incredible plugin. I looked into the code as I am trying to tweak it and it’s great work.
My tweak would be to exclude the children of excluded categories along with them.Forum: Plugins
In reply to: Unclear MySQL troublesOk I got it to work. Now it shows comments per category only.
Not sure what was wrong in the other code but I’m happy to share the new code if anyone’s interested. Basically i used the first code set and injected the mysql code from the 2nd code set, with some tweaks of course.
One important thing is I had to use INNER JOIN instead of LEFT OUTER JOINs for the last 2.Forum: Plugins
In reply to: Unclear MySQL troublesOk apparently I had to use a pastebin for my code, sorry for not knowing.
Here is the link to both code sets:
https://wordpress.pastebin.ca/2053837Forum: Plugins
In reply to: Unclear MySQL troublesA follow-up question, which I think is somewhat unrelated, but better be safe than sorry:
do you need to prepend the table names with the “prepend expression” that was requested by mysql upon DB creation?
More concretely: my comment table is named greg_comments, but I noticed that calling it by using just the name “comments” is fine, as the first code set above shows.I changed my second code set to add “greg_” before every table name but it still returns empty sets…