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 |
#82
|
||||
|
||||
Some ideas you might want to think about adding in:
|
#83
|
|||
|
|||
just a suggestion, maybe there is a way to add a page where it shows a list of all the members with a journal
or better yet maybe add a column on the member page (members.php) with a link of all the members with a journal |
#84
|
|||
|
|||
Top hack. Getting hammered by my users.
There doesn't seem to be a word-wrap though. My pages are scrolling badly. Any hints? |
#85
|
|||
|
|||
Its OK, got it sorted. In case anyone else is having same grief:
Just remove the 'nowrap' markup from the 'journal_entrybits' template. |
#86
|
|||
|
|||
Quote:
I did mention its a lite version so all the points have been taken down when I'm back to add into the full journal. No doubt maybe, there'll be a better Journal released when I'm back. Then no worries. I'll just download the new Hack, and see if i can make other hacks If not i'll continue with the journal where i left off. This may be my last time here for awhile so till we meet again! Great community here. I would have 'dumped' my vb forums a long time ago if it wasnt for this site. [high]* Ryangel thinks of all the wonderful hacks waiting for me when i get back to vbulletin.org *grins*[/high] |
#87
|
||||
|
||||
Have fun at Trainiing! Would you mind if we poked around with your code and added mit's to the Journal and if so would you mind anyone posting what they have done here?
|
#88
|
|||
|
|||
Quote:
|
#89
|
||||
|
||||
Man, this is AWESOME. Perfect for what i was doing, you've saved me tons of time.
Nice install, everything went well... great job. |
#90
|
||||
|
||||
Good idea, Ghostsuit. I hope that people will release mods for this hack on this thread so that we can keep updated.
Kaelon |
#91
|
||||
|
||||
Yeah things I would like to see are Mood hack and and Now playing hacks built in might have a look at them both my self but since I've never created a hack it might take me some time
|
#92
|
|||
|
|||
How hard would it be to activate VBCode within the journal system.
Obviously moods and 'now playing' features are nice but having the vbcode basics.. or at least smilies would help brighten up the place Hack installed tho and I must say it's a big hit! |
#93
|
|||
|
|||
Question: I thought the members would be able to edit any comments made to their own journals, but I received an email from one of my members that cant do this. Was I mistaken?
|
#94
|
||||
|
||||
how do i get it on the online.php to have
"Viewing Journals" instead of Unknown Location: /journal.php? anyone know ? |
#95
|
||||
|
||||
Quote:
|
#96
|
||||
|
||||
Quote:
|
#97
|
|||
|
|||
Has anyone figured a way to break up the journals in multiple pages? My members are really going to town with their journals and they will be ridiculously long soon!
|
#98
|
||||
|
||||
A good suggestion is to allow users only 1 entry per day (make sense, right?). If anyone wants this addon, I can show you how.
|
#99
|
||||
|
||||
Quote:
-Arunan |
#100
|
||||
|
||||
Please, afterlab Any chance that you might be able to tackle the other issues? Thanks!
Something else also just occurred to me -- is there a way to create a listing of all journals? Maybe a link that refers to a separate template to list all users with active journals? Kaelon |
#101
|
||||
|
||||
Sweet!
Great job, I've installed it today and everything is working smooth I think many users at my forum will love this feature. Thanks! |
#102
|
||||
|
||||
Before I install this I have afew questions (and please forgive me if they were asked before, it's early and I'm incoherant) - can Admins limit the amount of entries a person can have at any one time, and can admins/mods edit/delete the entries?
|
#103
|
||||
|
||||
Quote:
|
#104
|
||||
|
||||
I had the same questions. Anyone know what changes I would need to make to be able to limit the journal entries? I don't want for their entries to stay there forever and eat up all my space :-p Thanks to whomever can help
|
#105
|
|||
|
|||
Anyone ever figure out how to split the journals up into pages? Say 25 entries per page, etc?
|
#106
|
|||
|
|||
and also anyone could give a code on how to show journal link on User profiles if a user have a journal?
|
#107
|
|||
|
|||
Ok I installed it and ran it and when I go to get journal I get the error page, but it created the journal if I refreshed the page it came up,
What do i do to solve this? and also I created a test acct and made a journal for the test acct, how to I get rid of it. I see no edit or remove commands for a admin to remove journals or even a user can't delete their own posts to a journal. I'm going to try to remove the test acct to see if it removes the test acct journal. while I'm waiting for a answer to my ??s Thanks Willard www.reecefamilies.com |
#108
|
|||
|
|||
Also
Who wants a journal where the admin of a site can read your private thoughts. gota be a way to make the private----- private!!!! |
#109
|
|||
|
|||
erm....IE cannot post....???
i tried using Opera browser and it requires me to "repost" the data...however, by using IE to post, it cannot be posted. it always goes back to the main journal page without the entry being added...how do i solve this ? |
#110
|
|||
|
|||
does this work with 2.2.8?
Also, how does this affect disk space? I have a lot of members (9000+), and while I don't expect everyone to use the journal, I wouldn't be surprised if a couple thousand did... Any thoughts? |
#111
|
|||
|
|||
what's ur server's specs ?
|
#112
|
||||
|
||||
Quote:
|
#113
|
|||
|
|||
I seriously need help....i just downloaded the file...and i installed it.
However, everytime i post a reply...it just redirects me back to the main journal page. its empty. however, i can add using the Opera Browser, by reposting. Otherwise, i cannot add at all...it doesn't repost...and instead of http://www.mysite.com/journal.php i get this instead: http://www.mysite.com/journal.php?jo...ction=addentry |
#114
|
|||
|
|||
Quote:
You can't see the passwords ,, but yes you can see the email addresses and if someone wants to keep it like a dairy them an admin could read it and post your thoughts all over h!! and back. Thats what I am saying. But basicly my only prob with it is I wish a admin could delete post made in any journal or what ever. I didn't see that as a option. and also the error page. |
#115
|
|||
|
|||
can someone help me ?
|
#116
|
|||
|
|||
Have you done the function edit that it says to do.
I see that by your url that you have removed it so I can't see it. but you need to follow the install to the end. |
#117
|
|||
|
|||
yes, in admin/functions.php i added:
// vBJournal Hack by Ryangel if($post[journal]==1){ $journal = '<a href="journal.php?s=&journalid='.$post[userid].'&action=view"><img src="{imagesfolder}/journal.gif" alt="View '.$post[username].'\'s Journal" border="0"/></a>'; } else { $journal = ''; } $datecut = time() - $cookietimeout; if ($counter%2==0) { $post[backcolor]="{firstaltcolor}"; $post[bgclass] = "alt1"; } else { $post[backcolor]="{secondaltcolor}"; $post[bgclass] = "alt2"; } is that right ? |
#118
|
||||
|
||||
Quote:
Quote:
[sql]DELETE FROM journal WHERE journalid=X ANDuserid=X[/sql] |
#119
|
|||
|
|||
can u help me with my problem ?
|
#120
|
|||
|
|||
ohgenki
looks like you put it in the right spot. |
#121
|
|||
|
|||
yeah i did...but no idea why it just doesn't display new entries...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|