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)
-   -   vBadvanced CMPS module: Random Journal (https://vborg.vbsupport.ru/showthread.php?t=109383)

Milad 03-02-2006 10:00 PM

vBadvanced CMPS module: Random Journal
 
Module version: 1.0.0
vBulletin version: 3.5.x
Assuming you have vB Journal and vBadvanced CMPS 2.1.0 installed.
Tested with: vB Journal 1.0.2 Beta 1 and vBulletin 3.5.4
Copyright: http://www.basharialep.com/

Description: This picks up a random journal (from vB Journal) and displays its title, description, (number of entries, views and comments) and the latest entry title with date and time. (see the attached screen shot).

Installation:
  1. In the file cmps_index.php (or whatever you had renamed it.)
    Find:
    PHP Code:

    require_once('./includes/vba_cmps_include_template.php'); 

    Above Add:
    PHP Code:

    $phrasegroups array_merge($phrasegroups, array('journalhack')); 

  2. Upload the module file randomjournal.module
  3. Click https://vborg.vbsupport.ru/ to receive updates.
  4. Done! Thank you, feel free to suggest.

ChangeLog:
  • Mar, 3rd 2006: (1.0.0)
    • Initial release
  • Mar, 5th 2006: (1.0.0)
    • This post updated.

Notice:
For People how had their forum integrated with vBadvanced CMPS and want to display this module in the integrated sidebar, do the following:
in /forum/global.php Find:
PHP Code:

define('VB_AREA''Forum'); 

Add After:
PHP Code:

$phrasegroups array_merge($phrasegroups, array('journalhack')); 


Milad 03-03-2006 07:26 PM

"Latest X Entries" module and "Journals of Note" module are in their way.

influence 03-03-2006 08:14 PM

what about showing last 5 journal entries in members profile instead of the last entry?

thats what everyone have been asking for. Just check the journal thread and see for yourself

Milad 03-03-2006 08:26 PM

Quote:

Originally Posted by influence
what about showing last 5 journal entries in members profile instead of the last entry?

thats what everyone have been asking for. Just check the journal thread and see for yourself

I'll check it.

sensimilla 03-04-2006 07:25 AM

great hack, I was just in need of this!

Thanks!

shadowdancer36 03-04-2006 03:43 PM

Can someone make this for VBportal?

Vizionz 03-04-2006 05:45 PM

nothing is showing up for me :(

FleaBag 03-04-2006 06:43 PM

A flaw with this unfortunitely is that with the edit to cmps_index.php, it doesn't manage to pull the phrases and the title of the journal from the database on vB pages using the CMPS modules.

www.dragonninja.co.uk/journal.php

Besides, it's very good! :)

Milad 03-04-2006 08:48 PM

Quote:

Originally Posted by Vizionz
nothing is showing up for me :(

Did you do step 1?

Milad 03-04-2006 08:49 PM

Quote:

Originally Posted by influence
what about showing last 5 journal entries in members profile instead of the last entry?

thats what everyone have been asking for. Just check the journal thread and see for yourself

Done and will be released after a while.


All times are GMT. The time now is 08:42 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.01204 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_php_printable
  • (3)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