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 |
#172
|
||||
|
||||
i got a member spamming her journal would it be possible to limit the number of entries per hour to 1?
|
#173
|
||||
|
||||
This looks like a great hack. I would like to install it but here is why I can not. I am hoping that there is a way around this.
I would like it so that the owner of the journal and one other (being whom ever the owner chooses) can also add or edit the journals. The reason being. I run a site for Appalachian Trail hikers and the way journals are written is as follows. The owner (whom is hiking the Trail) sends a jouranl entry to there friend in land based mail, whom then in turn submits it on the site. At this time the friend can not post the entry for the person unless they log into the site as the person hiking the Trail. Is there a way we can have it so that the owner and one other of choice can add or edit the journal? |
#174
|
|||
|
|||
I'm wondering if theres anyway to get this to show up on forumhome, meaning like there are (x) new public journal enteries!
Then you can click on that and see the latest additions? Similar to the way posts work. Any ideas? |
#175
|
|||
|
|||
anyone know how to add extra field such as mood into the journal? thx
|
#176
|
||||
|
||||
[high]* Oblivion Knight clicks install.
[/high] Installed and from first impressions, it appears to be running well. Any bugs or new features that I discover, I will post about in here.. Thanks Ryan, Oblivion Knight. |
#177
|
|||
|
|||
I love this hack addiction - But I would like anybody to give me heads up on how I can do two things...
1 - New post in journals and or comments show up in $newposts (will help journal traffic) 2 - having all comments under the entries shown or so you can view all comments without having to dig in Any help would be great Cheers, midnightz |
#178
|
||||
|
||||
I've had a request about my journal.php (which allows admins to edit/delete stuff and also keeps guests/banned people out) so I'm going to attach it. My previous journal.php didn't keep anyone out. I'm pretty much using Ryangel's own code. I just added it to a few places. I really like this setup myself, and this is the very version I've used for ages, just this minute taken from my own server, so I expect no problems.
|
#179
|
|||
|
|||
Thanks Zelda-King!
Jbear6 |
#180
|
||||
|
||||
Zelda-King
Is there a way for admins to delete the whole Journal or keeps selected people and guest out? I downloaded your journal.php and tried it and it did not have any of those options. Or is that something that is not complete yet? |
#181
|
||||
|
||||
Does anyone know of a database query I could use to increase my entry count by 1?
When deleting the default admin message, it lowers my entry count to -1. I'd have a go myself, but knowing very little about MySQL databases I don't really want to play around with things I shouldn't. [EDIT] I manually went in to the database structure for the journal table and increased my entry count by 1 with no problems at all.. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|