vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBJournal for vBulletin 3.5 (https://vborg.vbsupport.ru/showthread.php?t=96462)

OneShot 11-15-2005 08:03 PM

Found a solution to my problem.

open Journal.php with your favourite TextEditor and go to line 836

change
Code:

ORDER BY entrydate DESC
to
Code:

ORDER BY entrydate ASC
and bingo, the posts will now be listed in Linear order, oldest first.

Only thing that kinda bugs me is the fact that the IDs of the posts will list in reverse order. For example if you have 6 entries in your journal the first entry will actually have the ID No. 6 and the last will have No. 1 (after my small modification - if you dont change it then the ID will look correct). I guess changing that would involve just another simple change, but I'm currently to lazy to check up on that. And since its no bug, who cares.

akoj 11-15-2005 08:15 PM

Thanks Andreas. That is what I figured. Guess I was hoping for a miracle :) Great hack and thanks for the update!

trackpads 11-15-2005 08:41 PM

Andreas,

Great hack and thanks to you and OK for the work on it.

2 Questions:

1. Is there a CMPS block yet?
2. Would you be able to add attachments to the next version?

Also, could you add the journal pages to the bottom of the profile page like this hack request?

https://vborg.vbsupport.ru/showthread.php?t=100730

Thanks so much, very apprecaited!!!!!

-Jason

moonclamp 11-15-2005 09:33 PM

is this just me? part of my navbit breadcrumb is missing on the 'post new entry' page

moonclamp 11-15-2005 09:40 PM

Quote:

Originally Posted by moonclamp
is this just me? part of my navbit breadcrumb is missing on the 'post new entry' page

OK fixed it ... in journal.php

$navbits['']= $vbphrase['add_entry'];

should be

$navbits['']= $vbphrase['post_new_entry'];

Flow Fusion 11-15-2005 09:52 PM

Members or I can't seem to view comments. I reverted all templates and idea why?

Andreas 11-15-2005 09:58 PM

Check permissions.

@moonclamp
Please report the navbits thing as a bug, thank you.

Flow Fusion 11-15-2005 10:03 PM

Sorry I see, you need to click the link to see them. Great hack, thanks.

Andreas 11-15-2005 10:04 PM

Quote:

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

1. You are not logged in. Fill in the form at the bottom of this page and try again.
2. You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
3. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
That's what I get :)

Flow Fusion 11-15-2005 10:07 PM

Sorry I fixed it. Thanks for the quick reply.


All times are GMT. The time now is 03:24 AM.

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.02762 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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