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 |
#42
|
|||
|
|||
Quote:
|
#43
|
||||
|
||||
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. Hey I am stuck in step 7, I went to journal.php but dont see any button, is blank |
#44
|
||||
|
||||
Quote:
Mike |
#45
|
|||
|
|||
Quote:
|
#46
|
||||
|
||||
Its fixed now, I forgot to enter the templates.
|
#47
|
|||
|
|||
@Ryangel, hmm how strange, no matter what account I try it on, member account or admin account, it still gives me a 404 error page?
|
#48
|
|||
|
|||
Quote:
|
#49
|
|||
|
|||
hmmm, ok this might be the problem.
I looked at the source of the add entry page and found that your form points to /journal.php?journalid=2&... while mine shows the full url I've used $bburl in this line. maybe it doesnt work for you ? try replacing the /journal.php with http://www.zanarkand.net/metropolis/journal.php ? I'm just taking a wild guess here. |
#50
|
||||
|
||||
This looks great!
Is there any way that you can modify the "View All Entries" display to be multi-paged, for those users that will have hundreds of entries? Thanks! Kaelon |
#51
|
||||
|
||||
Good deal, at least you could give credit to my journal which you very closely modeled it after: http://www.gamingforce.com/forums/journal.php
|
#52
|
||||
|
||||
In full agreement, Gamingforce. I was going to back you up before you commented, but I was unsure if this was unjust to you. Anyways, thanks for the hack, i'll be installing on my forums some time this week.
|
#53
|
|||
|
|||
It worked!!! thank you so very much!
|
#54
|
||||
|
||||
Quote:
|
#55
|
||||
|
||||
Great work! Several issues:
1. I noticed that on the Journal Stats block, only a custom avatar appears and not one of the standard avatars. Is there any way to ensure that the avatar is displayed? 2. Users that have apostrophe's (e.g., "Mari'a") or other special characters are unable to add journals. The specific error: Quote:
Code:
$username = $username_retrieve['username']; Code:
$username = addslashes($username); |
#56
|
||||
|
||||
|
#57
|
|||
|
|||
If I wanted to add this to different styles do I have to do it manually ?/
thanks |
#58
|
||||
|
||||
No...
Just edit install_journal.php, and find : PHP Code:
Satan |
#59
|
|||
|
|||
Quote:
|
#60
|
|||
|
|||
ok I changed the file but it screws up on step 3 and I get this error:
Quote:
|
#61
|
||||
|
||||
I'm having another problem...
When users go to add an entry to their account, they see on the breadcrumb up top a link to my standard account's Journal, not their journal. E.g., instead of it saying Forums > Journal > User's Journal > Add a New Entry It says Forums > Journal > My Standard Account's Journal > Add a New Entry I was able to remove this issue from the template, and when you go to "edit" an entry, the breadcrumb displays properly with links. Apparently, this is a problem happening on all installations and journals, including your demo one. Is there a way to possibly fix this? Thanks! Regards, Kaelon |
#62
|
|||
|
|||
for some reason the script points to
Quote:
Quote:
|
#63
|
||||
|
||||
@Koss - I said to stop after adding the templates
Thats why you get the errors... Satan |
#64
|
|||
|
|||
Koss, are you using a journal system already? that error says that the journal table is already taken up by something. Just delete what you have there and you should be okay
|
#65
|
||||
|
||||
Does this hack block HTML out from journal entries when submitting and modifying them?
|
#66
|
||||
|
||||
afterlab - from what I can tell, yes.
Any thoughts on the above problems I mentioned? Kaelon |
#67
|
|||
|
|||
Quote:
Will add that it the future though. |
#68
|
|||
|
|||
crap I read this too late.....anyhow thanks for your help guys
everything works fine, but I had to add 37x4 templates manually *me tired* :/ |
#69
|
|||
|
|||
Quote:
|
#70
|
|||
|
|||
Quote:
open journal.php find PHP Code:
/* Journal Add Entry Page */ and change the AND to WHERE or just replace the above with this PHP Code:
|
#71
|
||||
|
||||
Nice addon. I'd like to add the link to the personal journal on my VBIndex (which is outside the forums root). How can I do this?
|
#72
|
|||
|
|||
Quote:
Quote:
|
#73
|
|||
|
|||
updated journal.php ver1.1b
|
#74
|
|||
|
|||
Quote:
not familiar with the avatar code. If anyone knows where to look or can help. It'll be much appreciated |
#75
|
|||
|
|||
Quote:
|
#76
|
|||
|
|||
ok i just had a thought how about adding on a buddy list to the journal? so the writer can set their journal to buddy list only...
|
#77
|
|||
|
|||
I am not getting anything when I go to, this page.
http://20ishparents.com/boards/journal.php |
#78
|
|||
|
|||
Ok, I figured out my problems. The install said it installed the templates but didn't. Did it manually at worked great!
|
#79
|
|||
|
|||
Some suggestions. And maybe some of these things are already in there.
Journal Catagories. I run a parenting community and they like different types of journals. Weight loss, pregnancy ect. Only certain usergroups able to create journals. (if anyone knows how to do this, I would be forever greatfull!) ability to view all journals vs the top. I only have one created so now quite sure how this works yet. Also, journal link in their profile. That is about all I can think of right now. |
#80
|
|||
|
|||
Ok, I noticed it also does not increase post counts. It would be nice to increase board counts and member counts.
|
#81
|
||||
|
||||
Thanks for your work, Ryangel. This is great stuff you've done here!
As I see it, the only pressing issues that really remain, in order of priority: 1. Having multiple pages for the "View All Entries" display, so as to make things legible. Unfortunately, I'm not really sure where to start with this one. 2. Getting all avatars, not just custom ones, to work. I have some experience fooling around with avatars in custom scripts, so I'll give this a try and see what I can do - if anything. I'll let you know what I can do. Thanks again for this great hack! Regards, Kaelon |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|