The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBJournal Lite 1.1b Details »» | |||||||||||||||||||||||||
ATM, this hack would work with ALL versions of vB unless they renamed the 'user' table :speechless:
README.txt (can be found in the zip) README.txt New in 1.1b - Edit journal.php (2 lines). New journal.php here, for 1.1a users ================================================== =================================== ================================================== =================================== === vBJournal Lite version 1.1b ============================================= ================================================== =================================== ================================================== =================================== This is an addon to vBulletin and acts as an online journal/diary. Users can add entries, either making them private or public(for all to see). For the public entries, users can comment on them. Thats about it. You should be able to get a better idea viewing a live demo at http://sgstudents.com/forum/journal.php. The GUI was modeled after gamingforces journal at http://www.gamingforce.com/forums/journal.php . ------------------------------------------------------------------------------------- === This being my first hack, i am SURE that there are going to be ======= === some bugs, and problems, so just to warn you first ======= === :: BACKUP YOUR DATABASE ! ======= ------------------------------------------------------------------------------------- Now thats over with lets start... I will list the steps of what needs to be done... NOW : 1) Edit the images to suit your site. 2) Upload the images to the forum's /images folder. 3) Upload install_journal.php to your admin directory. 4) Run install_journal.php and follow instructions... shouldn't be a problem. but i only tested it once . 5) Run this query (using phpmyadmin,or use this hack https://vborg.vbsupport.ru/show...&threadid=26272 , etc) ALTER TABLE user ADD journal SMALLINT NOT NULL [note this will add a column in your 'user' table, but i think that shouldnt be a problem ...] 6) Upload journal.php to your forum's root directory. 7) goto journal.php page and click on the button ... (should say "Get a journal" or "Unlock Journal" Cant rem which ... bad memory. lol) this will enable the admin journal (userid=1) and show the first default welcome msg. 8) Link to journal in postbit. ------------------------------ - open admin/functions.php FIND ///////////////////////////////////////////////////// $datecut = time() - $cookietimeout; if ($counter%2==0) { $post[backcolor]="#13486D"; $post[bgclass] = "alt1"; } else { ///////////////////////////////////////////////////// Add ABOVE THIS ///////////////////////////////////////////////////// // vBJournal Hack by Ryangel if($post[journal]==1){ $journal = '<a href="journal.php?s=&journalid='.$post[userid].'&action=view"><img src="https://vborg.vbsupport.ru/images/journal.gif" alt="View '.$post[username].'\'s Journal" border="0"/></a>'; } else { $journal = ''; } ///////////////////////////////////////////////////// save and upload admin/functions.php. 9) open your postbit template and add $journal to where you want the link to show. You are done ! The journal should be able to work now FEW THINGS TO NOTE ------------------------------------------ - private entries can only be viewed by the owner or admin. - erm... did i say a few? ok thats the main thing to note.... I'll edit this as it comes to my mind. lol :laugh: IN WORKS FOR NEXT VERSION ------------------------------------------ - incooperate moods - better interface ( but that you can do now by editing the templates yourself ) - Admin interface -> from admin cp. - New user option to choose whether buddies/admin can view private entries. - anything else that might come up from discussions. Version Update Log ------------------ 1.1a - Fixed some table color code. - Added template txt for manual install. DEMO: http://sgstudents.com/forum/journal.php Show Your Support
|
Comments |
#182
|
||||
|
||||
Quote:
|
#183
|
||||
|
||||
You can't delete journals. You can delete/edit comments and entries.
This current system doesn't work like that (journal deletions). People can just 'lock' journals. You'd have to delete from the database. For the next version though, journal deletions 'should' be accounted for otherwise there would be database errors if one somehow tries to view the journal of a deleted user. (Has already mentioned this.) You can keep selected usergroups out. In that file usergroups 1, 3 and 4 can't view journals. I'm not sure if I added usergroup 8 there. On my server usergroups 8 and 10 are added to the 'no-permissions' list. I have my code thus; PHP Code:
|
#184
|
||||
|
||||
hey zelda-king.. I know you posted some code above saying how to put a link to a users journal using $journal... j/w did you get that to work yet? I could really use that
|
#185
|
|||
|
|||
installed!
Thanks for this great hack... I used it to add a Captains Fishing log to my forum http://www.fishonhuron.tzo.com/journal/ . Fishermen can keep track of their fishing adventures, and it keeps track of their season catch, etc. Thanks again |
#186
|
|||
|
|||
Has anyone attempted paging yet? We're up to 300 entries per page and they are growing fast.
I've tinkered with the instructions at http://www.devarticles.com/art/1/110 for building a paging class, but I've never touched php code before, and I'm not having any success. Maybe someone with php knowledge would have better luck with it. |
#187
|
||||
|
||||
<<< Nevermind >>>
|
#188
|
||||
|
||||
Ok. Installed and functioning after some manual DB edits. Cool hack!
Now some suggestions for the next version.... Ability to: allow/disallow HTML (in entries and comments) allow/disallow vB Code (in entries and comments) allow/disallow attachments Also would like to see the interface for adding new entries more similar to that used for posting forum threads and replies. (vB code buttons, options, etc. Also this would probably be pretty difficult, but I would like it to work so that if I have someone on my ignore list, they are automatically prevented rom viewing ALL of my journal entries. |
#189
|
||||
|
||||
Oh, and since Journal entries can be pretty loooong, the ability to preview before posting would be great!
|
#190
|
||||
|
||||
Quote:
For the journal code I recommend this in member.php; Above PHP Code:
PHP Code:
|
#191
|
||||
|
||||
the last time the author posted was on 09-26-02 08:59 AM
I would have loved to see like a buddy option or maybe just a "daily reads" option. You can add people to your "daily reads" and it'll show up on the main journal page for quick access. Or form friends so you can link to each other's journal. And *maybe* some customization of a user's journal page as in color and font wise. paging would also be very useful |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|