View Full Version : Add-On Releases - vBulletin Diary
Coroner
09-23-2009, 10:00 PM
What is it ?
It's a simple diary for your vBulletin. It looks like a blog, but isn't.
Users can write their entries into the diary. If they like, they can crypt the entries (base64) [prepared for mcrypt (but isn't implemented].
There are NO comments for diary entries !!! A diary is personal.
vB Diary uses it's own calendar. Each user has his own diary. All entries can only viewed by the user itself (there is NO right for any other - also administrator(s), moderator(s), ...). Each diary page is a whole day, but a day can contain more than one entry.
Each user also have a friendship book, were other users can write in (13 personal questions about f.e. "favorite drink", "favorite color" ...). User can only edit their friendship entries - the diary user can delete it.
If you like, you can allow guests to have a diary, too.
But remember:
Each guest write into the same diary and guest can't have a friendship book or write into it.
I haven't tested guest enough ... but I think, lots of SPAM-Bots will write into it.
Installation:
Quick & easy (there is NO documentation). Upload all files (in the "upload" folder) onto your server. Go into your AdminCP and import the product. Go into Usergroups and set the Permission for EACH usergroup.
Create a link into your Navbar -> diary.php
Remember:
There is no AdminCP and no Options (Settings) for the diary.
Demo:
http://www.php-unlimited.com/diary.php
See images for more info.
Coroner
09-24-2009, 02:04 PM
*reserved for images*
Coroner
09-24-2009, 02:04 PM
*reserved for ...*
ishare
09-24-2009, 02:42 PM
It looks great... I'll test it..
Thank you Coroner :)
Brandon Sheley
09-24-2009, 02:56 PM
interesting concept
keep up the good work
itsheinz
09-24-2009, 03:08 PM
seems cool indeed..imma give a shot on this..:)
Kolbi
09-24-2009, 03:50 PM
I think it´s like the vb Blog?
Coroner
09-24-2009, 04:11 PM
See my 1st post. Design is like vB Blog - but it's a diary.
A Blog can have a comment or comments. My diary doesn't have comments.
I think, that I don't have to explain what a diary is - or ? :)
Hasann
09-24-2009, 05:08 PM
wow gr8 product stefan nice done.
ProFifaLeagues
09-24-2009, 05:51 PM
thanks great mod!
Coroner
09-24-2009, 06:02 PM
wow gr8 product stefan nice done.
Thanks Hasann my friend. How r u ?
dengbej
09-24-2009, 06:57 PM
very useful thanks.
derandechser
09-25-2009, 05:05 PM
Hey, once again a great mod! One Question: Is it possible, to choose date in future for diary entries? I know, it seems a litte bit strange for a diary, but i like to use this modification in another way. Would it be possible to set dates in future?
Thanxs and greetings,
Peter
Azhrialilu
09-25-2009, 06:08 PM
This is very nice!
Coroner
09-26-2009, 06:35 AM
Hey, once again a great mod! One Question: Is it possible, to choose date in future for diary entries? I know, it seems a litte bit strange for a diary, but i like to use this modification in another way. Would it be possible to set dates in future?
Thanxs and greetings,
Peter
Yes, it's a little bit strange. But ...
in diary_newentry.php
search
if ($new_dateline > TIMENOW) $new_dateline = TIMENOW;
and change into:
// if ($new_dateline > TIMENOW) $new_dateline = TIMENOW;
Martyn1983
09-28-2009, 05:14 AM
Hey, liking this mod :)
Is there any way on calander view to reduce the size of the previous/next month? It's outwith the main width of my forum and needs some tweaking!
Cheers,
Martyn
Coroner
09-28-2009, 12:52 PM
Not really to reduce.
In the Template "diary_calendar_main" you will found the following code:
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" style="width:100%" class="tborder">
$prev_month
</table>
<br />
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" style="width:100%" class="tborder">
$this_month
</table>
<br />
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" style="width:100%" class="tborder">
$next_month
</table>
<br />
This is the whole "left" site of the calendar
TheLastSuperman
09-28-2009, 06:48 PM
O.o it seems S-MAN missed this one on the 24th :D
Nice job and tagged, might implement on my new site so thanks!!!
ExplosiveGFX
09-28-2009, 11:23 PM
Add a Navbar dropdown for this!
Find: <td class="vbmenu_control"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
add below it <td id="DIARY" class="vbmenu_control"><a href="$show[nojs_link]#DIARY">Diary</a> <script type="text/javascript"> vbmenu_register("DIARY"); </script></td>
Find </div>
<!-- / community link menu -->
</if>
add below <!-- DIARY menu -->
<div class="vbmenu_popup" id="DIARY_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Diary</td></tr>
<tr><td class="vbmenu_option"><a href="http://explosivegfx.com/forum/diary.php?do=new">New Diary Entry</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://explosivegfx.com/forum/diary.php?do=settings">Diary Settings</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://explosivegfx.com/forum/diary.php?do=calendar">Diary Calendar</a></td></tr>
<tr><td class="vbmenu_control"><a href="http://explosivegfx.com/forum/diary.php">Your Diary</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://explosivegfx.com/forum/diary.php?do=edit">Diary Title</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://explosivegfx.com/forum/diary.php?do=friend">Diary Friends</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://explosivegfx.com/forum/diary.php?do=search">Search Diaries</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://explosivegfx.com/forum/diary.php?d=1">All Diaries</a></td></tr>
</table>
</div>
<!-- / DIARY menu -->
@Coroner, if you wanna put that in the first post with phrases, I don't mind.
grey_goose
12-02-2009, 02:27 AM
I suddenly started getting a MySQL error when trying to select the calendar:
Database error in vBulletin 3.8.3:
Invalid SQL:
SELECT
*
FROM diary_entry
WHERE userid=1
AND dateline BETWEEN 1257048000 AND
ORDER BY dateline ASC;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY dateline ASC' at line 6
Error Number : 1064
xyzmary2001
12-14-2009, 03:36 PM
The same problem with the error when trying to access the calendar
anyone can help?
napy8gen
12-15-2009, 07:30 AM
same database error. help please
CILGINKRAL_
12-15-2009, 04:22 PM
vBseo Url Format ?
The perfect thing, Thank you :)
hbalagh1
12-17-2009, 02:39 PM
db error here too
Coroner
12-23-2009, 05:41 AM
If upgraded the files. Please change all the PHP files. Hope that will fix it.
segwayon
12-23-2009, 11:33 AM
Alas, our customized theme doesn't work well with this mod, as the calendar is squished over to the right and the editor box is leaving the page on the right side, too. The standard theme looks well, though. Is there a way of repairing the placement of these items for our customized theme?
rob01
12-29-2010, 06:42 AM
you will update it to vb4??
thanks
pulsionpleinair
01-25-2011, 10:11 PM
I need help to Create a link into my "Navbar -> diary.php" help me please. some one have the code?
I am a new user. Vbulletin 4.1.1
Thanks
coolmoss77
04-10-2014, 04:24 PM
Does this mod work with vB 5.X?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.