Dave
Forum Replies Created
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] TablePress + relational tables?Yes, the wpdb class is an option. I’ll probably end up using a PHP app generator and running the results on a sub-folder or sub-domain.
Thanks.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] TablePress + relational tables?Thanks, Tobias.
You are correct. Join queries to avoid incredibly wide “flat” files.
I can solve my problem….just not in WordPress.
Regardless, TablePress is a very impressive plugin.
Congrats Tobias.
d.Forum: Plugins
In reply to: [Contact Form 7] Unable to edit contact forms since 5.5 updateI have the same problem upon updating to ver. 5.5
Forum: Plugins
In reply to: [List category posts] Output tagsDoes this feature still carry the “coming soon” label?
Forum: Plugins
In reply to: [List category posts] list post and pagesTHAT PAGE SEEMS TO HAVE BEEN HI-JACKED. BE CAREFUL.
Thank you!
I saw something in another post where it suggested that account.php should be copied to the child theme but in a folder:
ultimate-member/templates/account.phpMy guess is that if you put the page-account.php in the root of your child theme, that was POSSIBLY (don’t know for sure) a potential problem.
Thanks again.
Dear @nadiaam67,
It would be VERY helpful if you could post exactly what you did to solve the problem.TIA!
Please consider using the native WordPress capabilities and control mechanisms before inventing something.
What you should consider is ROLES within WordPress. If that isn’t sufficient, then think about doing what you’re asking about.
WordPress ROLES are very powerful and easily expanded.
HTH.
DavePeter/John:
With regard to the primary key (ID, name) and the assumption that you want “name” to be unique, why not simply declare a UNIQUE INDEX on name?Just my $0.02! (USD)
DavePeter,
The explicit table.fieldname (c_songtitles.hymnary_org_url) does NOT work;
HOWEVER, the ALIAS works PERFECTLY!What a dream come true!
I’ve been fooling with “custom fields” and FAILING.I think the appropriate expression (perhaps outdated) is: YOU da bomb, Peter!
THANKS!
d.OK!
Hard-coded URL works but the concat() string MUST have a “comma” at the end of the line.I’m guessing now that what you’re working on MIGHT provide the ability to replace the hard-coded URL with the actual data in a selected field?
I’m “all in” for something like that! And can wait until the “coronavirus” comes around and then I have to run because I’m 15 years past the youngest members of the high-risk group!
THANKS, Peter!
d.I don’t recognize what should be substituted in that concat string, except that “target” will likely be “_blank”.
Does label = the field name and url/your-url = the data?
Sorry to be so “dense between the ears”!
d.It is becoming CLEARER, Peter!
But WHERE does the JSON get added to the column?
Thanks.
DaveHi Peter,
Here is the core of my view.
Fields that I would like to have as active hyperlinks are:
c_songtitles.hymnary_org_url
and
c_mtracks.url
– – –
select
c_songtitles
.st_id
ASst_id
,
c_songtitles
.st_title
ASst_title
,
c_songtitles
.st_genre
ASst_genre
,
c_songtitles
.music_key
ASmusic_key
,
c_songtitles
.hymnary_org_url
AShymnary_org_url
,
c_song_genres
.id
ASid
,
c_song_genres
.genre
ASgenre
,
midi_sequencers
.ms_id
ASms_id
,
midi_sequencers
.ms_name
ASms_name
,
c_mtracks
.mst_id
ASmst_id
,
c_mtracks
.sequencer_id
ASsequencer_id
,
c_mtracks
.url
ASurl
,
midi_voicing
.mv_id
ASmv_id
,
midi_instrumentation
.mi_id
ASmi_id
,
midi_voicing
.mv_desc
ASmv_desc
,
midi_instrumentation
.mi_desc
ASmi_desc
from (((((c_songtitles
joinc_song_genres
)
joinmidi_sequencers
)
joinc_mtracks
)
joinmidi_voicing
)
joinmidi_instrumentation
)
where
(
(c_mtracks
.mst_id
=c_songtitles
.st_id
) and
(c_mtracks
.sequencer_id
=midi_sequencers
.ms_id
) and
(c_song_genres
.id
=c_songtitles
.st_genre
) and
(c_mtracks
.voicing
=midi_voicing
.mv_id
) and
(c_mtracks
.instrumentation
=midi_instrumentation
.mi_id
)
)
order by
c_songtitles
.st_title
– – – – –
TIA.
Dave- This reply was modified 5 years ago by Dave.
I’ve been following this thread with great interest!
Mike,
Does BlueHost NOT allow you to create your unique database administration users and then allow you to assign one or more to each database?I run on DreamHost and their cPanel gives me total control over which users have access to databases, whether the access is via WordPress, phpMyAdmin or any other PHP code. (i.e., I have some apps that were created with SQL Maestro’s “PHP Generator).
Just curious!
Dave- This reply was modified 5 years ago by Dave.