vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - vBulletin Diary (https://vborg.vbsupport.ru/showthread.php?t=223880)

Coroner 09-23-2009 10:00 PM

vBulletin Diary
 
1 Attachment(s)
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

1 Attachment(s)
*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

Quote:

Originally Posted by Hasann (Post 1890052)
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

Quote:

Originally Posted by derandechser (Post 1890520)
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
Code:

if ($new_dateline > TIMENOW) $new_dateline = TIMENOW;
and change into:
Code:

// 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:
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:
PHP Code:

<td class="vbmenu_control"><a rel="help" href="faq.php$session[sessionurl_q]accesskey="5">$vbphrase[faq]</a></td

add below it
PHP Code:

<td id="DIARY" class="vbmenu_control"><a href="$show[nojs_link]#DIARY">Diary</a> <script type="text/javascript"vbmenu_register("DIARY"); </script></td

Find
PHP Code:

</div>
    <!-- / 
community link menu -->
    </if> 

add below
PHP Code:

    <!-- 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?


All times are GMT. The time now is 06:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01169 seconds
  • Memory Usage 1,801KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete