![]() |
Request: Journal
The site I run has a rather creative user base. They love to express themselves in signatures that are often 50+ lines.
Obviously this isnt' necessary, but I also don't want to deprive them of this means of communication. So, my thought is that if it was possible to have a "Journal" which users could put those 50-100 lines in, then I could tighten the signatures down to a respectable 4-10 lines. What would the journal be? Well, probably it's own PHP file, realistically, which would probably look a whole lot like a single post (in terms of layout). You wouldn't be able to reply to it or anything, but you would have links to pm, profile, homepage, etc, much like a single post. Am I making half sense here? |
Hmm, the journal can only be Seen in the userprofile, or do you want to have all journals on one site?
|
The Journal would be a link I would put on every person's post so they could see each other's journals. It's like a way of sharing your creativity (writing, wanderings, whatever) with your community mates :)
|
So, I guess as far as editing your journal, you would probably do it in the same place as our signature because it's really an extension of that.
When viewing someone else's you would simply click their link on the side of their post or in their profile... I really hope I'm making sense :) |
Its not so hard to make, but you have to edit a few files...
first you should add a field to your user-table called journal, same options than signature. then edit the file member.php find PHP Code:
PHP Code:
PHP Code:
PHP Code:
find Code:
<tr> Code:
<tr> content: see some posts below. Add a Link wher you want to show the journal like this (postbit version): <a href="journal.php?userid=$post[userid]">Journal</a> Its not optimated code, but it should work :) |
That's great. Only quesiton is how do I do this? "first you should add a field to your user-table called journal, same options than signature. "
|
i'd say you should use phpmyadmin ;)
|
Yeah, if RackShack hadn't messed it up I might. One of the reasons I'm moving to a new server :)
Ah well, I guess I'll leave this here until then :( |
you can install phpmyadmin on your own, just download make the right options and upload ^^
|
Hmm, install another copy in another area, eh? Why not, I'll do that tomorrow :)
|
Okay, got phpmyadmin reinstalled, now the question is what is the SQL for "first you should add a field to your user-table called journal, same options than signature" ?
|
Okay, I assumed that to mean, add 3 fields to the user table called journal, options, signature:
ALTER TABLE `ringquest_com`.`user` ADD `journal` TEXT NOT NULL, ADD `options` TEXT NOT NULL, ADD `signature` TEXT NOT NULL However there is already an options field... |
no, i meant, ALTER TABLE 'user' ADD 'journal' TEXT NOT NULL
just the same options like the signature field: Mediumtext Not Null... |
1 Attachment(s)
here is the journal.php.
i have made some greate optimizations, but think of it, it is not perfect. Right now, it doesn't use the headers, and other things from your board. I think you can make it yourself from here, if not, say a word and i'll try to optimize it more.... |
Here is the link: http://www.ringquest.com/forums/journal.php?userid=1019
It isn't live yet, but just to show you how it looks and everything. I'm very new to vb and to php so importing the styles, locations, replacement vars, etc is a bit beyond me right now. |
ok, i can see :)
i have uploaded a ne journal.php so please download again. then make a new template called "journal" and put in it: Code:
{htmldoctype} |
Awesome, that fixed that issue! The only other one was the fact that apparently Journal entries from Edit Profile aren't being saved.
When I hit submit and go back the field is still blank, and it is equally blank in the journal.php (which functions gorgeously, thanx!) :) |
hmm, i see, but i can't find an error in my codes.
do you have integratet everything right? if yes, perhaps there is s.o. else, who could help, cause i don't see the fault... :( |
This is quite interesting. If I follow this thread correctly, does this mean the journal is some sort of a blog? Would other members be able to view it?
|
yes, every member could see the journal from other members.
|
xenon release the hack to public = ]
|
Yes...
It is an Interesting Hack! Hey Vertex... Satan |
*ggg*
ok, will do so in a few days, just have to install it on my local board and test it a bit more ;) |
Yes, release it... It still isn't working on RingQuest though. Users can still not input data, that area of member.php or whatever isn't doing anything at all (no errors, no data in the database).
When it is my users will be very happy because they are eagerly awaiting this! |
Can't this hack can also be done with slight modifications to vBpad? All you'd have to do is make it visible to other users, right? Or am I missing something?
|
We're also using vbpad though...
|
unknown: don't know, i don't use vbpad
jeremy: hmm, i don't know why it doesn't work on your forum, there shouldn't be a problem. i have made a smiliar enter script for the database and all works perfect... but stay cool, i'll test it a bit more in a few days :) |
Dno't worry, I'm not upset or anything I'd just love to get this workign for my users :)
I appreciate all your work and helpfulness, you've been top notch :D |
Well, I fixed some database issues and now it is working :)
www.ringquest.com/forums to see it in action (inside all postbits is a link to the journal) :) |
database issues from my advises or issues from your DB?
when you changed something i have written, please post it, so i can include it when i'll release it ;) |
I just fixed some spelling and stuff. Anyways, only comment my users have (besides loving it) is: avatars aren't showing up... How do I fix this on journal.php?
|
Hey, just wondering if you've released this officially yet :) If not, how would I add a user's avatar to the "postbit" (equivalent) in the Journal?
|
really?
i thought, the avatar works perfect as i see in the file (my last version) it is included, so if you have it also in the template, it should work... but i don't know all modifications you made ;) |
This is an interesting thread and I have been following it for awhile to see where it leads to since apparently the Chocojournal will probably never be released.
I installed this on a test site and it looks okay. Thought like above the Avatar didn't work, even with a differant postbit file inserted into the new journal template. Must be something in the php page (still searching to find out why). I will mess around with a bit to keep this idea going for those interested and also post any changes or modifications that I do. Cheers Mike |
Yeah, no worries, I'd love to have it working. Maybe if this was simply released officially it would be better for everyone (including Xenon who's been so great!) :)
|
feel free to do so :)
you can also release your working version officially, just a small mention would be nice ;) good luck in working on it |
are comments (aka replies) enabled on each journal entry? it would be nice, if not. also if comments are enabled, they should be linked on the original journal entry, as to not take away from the original journal entry.
|
this is awesome but is there a way to modify it so that it is more like a real journal as in allowing people to make distinctive posts per day? (eg like livejournal)
|
All times are GMT. The time now is 05:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|