Hey, can you explain the further? I would really like to change this on my site. Thanks!
well the first query to be run in the showjournal section in journal.php is named $getjournalinfo or something like that, in there you could modify the where clause from
PHP Code:
WHERE journal_id=".$j."
to
PHP Code:
WHERE journal_id=".$j." OR journalist=".addslashes($j)."
this has not been tested but it should work
only most possible problem with doing that is user names with spaces could cause problems
You didn't miss anything about the importer. It's too bad though. This script looks good, but a huge installed base of journalers can't get into it because all the tables were named differently, even though their structure is actually very similar.
It's been almost a year already. Quite a shame, but it's the teaser in the first post
If we all got together and paid someone to do it, how much do you think it would cost?
Matt
actually im working on it right now
um some questions though since i couldn't install the port of ryangle's fully, what the database field 'title' for? is it like User's Journal? or is it like whatever the user wanted to call their journal?
well the first query to be run in the showjournal section in journal.php is named $getjournalinfo or something like that, in there you could modify the where clause from
PHP Code:
WHERE journal_id=".$j."
to
PHP Code:
WHERE journal_id=".$j." OR journalist=".addslashes($j)."
this has not been tested but it should work
only most possible problem with doing that is user names with spaces could cause problems
hmm this isn't working. What is the format of the url with this change? Maybe I'm seeing something wrong.
um some questions though since i couldn't install the port of ryangle's fully, what the database field 'title' for? is it like User's Journal? or is it like whatever the user wanted to call their journal?
Wow, that is some great news!
What is title? It actually depends on which table you mean:
1. journal.title = memobug's Journal
that is the journal name although it wasn't user configurable, it was set to the username's Journal
2. journal_entry.title = Late Night!
that is the title of that entry
3. journal_comments.title = Re: Late Night!
that is the title of the comment - Re: ~~~~~~ was the default
If you have any other questions, please ask. I have hacked the Ryangel port to death (to life?), so I have some familiarity with it.
I really hope the structure of mine is the roughly the same as yours? I have 3 tables:
journal journalid int(11)
title text
description text (unused?)
imagename text (unused?)
entries int(11)
views int(11)
enabled smallint(6)
timestamp int(11)
userid int(11)
journal_entry entryid int(11)
title text
entry text
private smallint(6)
timestamp int(11)
userid int(11)
journalid int(11)
displayorder int(11)
comments int(11)
journal_comments commentid int(11)
title varchar(70)
comment text
timestamp int(11)
entryid int(11)
journalid int(11)
userid int(11)
displayorder int(11) (seems to be always zero - unused?)
i don't know for me, but a journal is read from left to right, from the post from today to the last IF we want to know the past of the member.. we can even search or browse by order, but i like the way it is right now, adding flexibility.
i was wondering how many people are interested in the importer containing an uninstall for Ryangle's Journal, ie. templates,phrases,settings,languages,phrasegroups, and any other additions/changes made in the database?