yeah since i was sort of pushed to get this out i didn't go extremely heavy on privacy but in version 2 i do expect to do that
thanks its important on our site to allow privacy because we are all very tight
and everyone knows each and some may not post their private journals if i can see them thats why i'd like it to be their choice and also private entries should be private as it could contain their most private thoughts,
yeah since i was sort of pushed to get this out i didn't go extremely heavy on privacy but in version 2 i do expect to do that
AFAIK I fixed all the privacy issues in the version we run (things such as comments on private entries also being private). I haven't recorded every change I made but you're welcome to a copy of my journals.php and notes if it helps you.
The one in question above is fixed by finding the following in the "insertentry" code;
PHP Code:
$preupdate= $DB_site->query_first("SELECT entry_id FROM ".TABLE_PREFIX."journal_entries
WHERE journal_id='".$j."' AND entrytitle='".addslashes($title)."'
AND entrytext='".addslashes($message)."'
");
$DB_site->query("UPDATE ".TABLE_PREFIX."journals SET lastentry='".addslashes($title)."', lastentry_date='".TIMENOW."',
lastentry_id='".$preupdate['entry_id']."'".($setting['autoapprove_entries']==1 ? ',entrycount=entrycount+1' : '')." WHERE journal_id='".$j."'
");
$url="journal.php?do=showjournal&j=".$_POST['j']."";
eval(print_standard_redirect('redirect_journalentryinserted'));
and replacing it with;
PHP Code:
$preupdate= $DB_site->query_first("SELECT entry_id FROM ".TABLE_PREFIX."journal_entries
WHERE journal_id='".$j."' AND entrytitle='".addslashes($title)."'
AND entrytext='".addslashes($message)."'
");
if ($private == 0)
{
$DB_site->query("UPDATE ".TABLE_PREFIX."journals SET lastentry='".addslashes($title)."', lastentry_date='".TIMENOW."',
lastentry_id='".$preupdate['entry_id']."'".($setting['autoapprove_entries']==1 ? ',entrycount=entrycount+1' : '')." WHERE journal_id='".$j."'
");
}
$url="journal.php?do=showjournal&j=".$_POST['j']."";
eval(print_standard_redirect('redirect_journalentryinserted'));
A couple of things I'd like to see in the next version is a way to sticky entries as well as the suggestion above to make the entries descending. Ascending seems counterintuitive. Just some thoughts!
Am having problems with one of the screens in admincp (please see attached). I'm pretty sure it has to do with a previously installed hack that wasn't uninstalled completely...anyone have any idea how I can fix...? Thanks!
Am having problems with one of the screens in admincp (please see attached). I'm pretty sure it has to do with a previously installed hack that wasn't uninstalled completely...anyone have any idea how I can fix...? Thanks!
How's the importer for the other journal progressing?
I see the question asked and ignored by a number of people...perhaps in 30 pages I have missed it somewhere though.
thanks.
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
Quote:
-An import script for Ryangle's ported Journal will be made so dont install this hack for now if you have the vb3 port of Ryangle's
If we all got together and paid someone to do it, how much do you think it would cost?
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
Ahh well thank you very much. I appreciate the response to my question.
It is ashame.
I don't know, but I would be willing to chip in some to get an importer made.