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


All times are GMT. The time now is 03:38 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.01202 seconds
  • Memory Usage 1,767KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete