Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB Journal | vba CMPS module: latest entries Details »
vB Journal | vba CMPS module: latest entries
Mod Version: 1.00, by Bolas (Member) Bolas is offline
Developer Last Online: Jul 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 40
Released: 25 Sep 2004 Last Update: Never Downloads: 7
Not Supported  

This hack is for [vB 3.0.3] - vB Journal for vBulletin 3.0.3(v1.0.0) and [vB 3.0.3]

Hi,
this is the Brahm's vbindex conversion for vba CMPS: this module will show latest journal entries in a box in your CMPS system.

demo:
http://www.wellage.net



Here we go:

touch /path_to_your_forum_dir/modules/journalentries.php
-----------------------------------------

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



then create template 'adv_portal_latestjournalentry'
-----------------------------------------

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Now add 2 GLOBAL phrases:
$vbphrase[adv_latest_journalentries] = "Latest Journal Entries"
$vbphrase[adv_no_entries] = "No Journal Entries"



Then create a new module:
Module Title: Journal Latest Entries
File to include: journalentries.php
Active: yes... -.-'
Column: right|left
Templates Used: adv_portal_latestjournalentry, journal_latestentrybits


Have fun and don't forget to :-)





UPDATE (10/17/2004):
- added 2 modified version of 'journal_latestentrybits' for right|left or center block (thanx to Billbensen for center version) - see attachments [ billbensen__centered_block.txt]
- Valentino Rossi Wins! :devious:

UPDATE (10/20/2004):
- patched template collapse id, please change your old template with new version. (thx to memobug for debugging)




thx to
AN-net for his Journal hack
Brahm for the vBindex version of this module.
Billbensen for modified version of journal_latestentrybits template

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	cmpsJournalConversion.png
Views:	467
Size:	4.1 KB
ID:	20848  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBadvanced CMPS module: Random Journal Milad vBulletin 3.5 Add-ons 33 03 Dec 2007 15:17
Show latest journal entries on forum home Renmiri vBulletin 3.5 Add-ons 10 23 May 2007 00:49

Comments
  #2  
Old 25 Sep 2004, 15:00
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Wink

Thanks Bolas

Once I install the journal system, I'll be installing this

BTW, I just want to verify

this line

LIMIT 5

in journalentries.php

If I want to only show the last one or two I just change it here, right?
Reply With Quote
  #3  
Old 25 Sep 2004, 15:06
Bolas's Avatar
Bolas Bolas is offline
 
Join Date: Jan 2003
yes it is! :-)

Also
---------------------------------

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

...changing 20 (for the title) and 150 (for the text) you can choose the number of chars you want to display before the system cut it with "..."

Last edited by Bolas; 25 Sep 2004 at 15:13.
Reply With Quote
  #4  
Old 25 Sep 2004, 15:21
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Originally Posted by Bolas
yes it is! :-)

Also
---------------------------------

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

...changing 20 (for the title) and 150 (for the text) you can choose the number of chars you want to display before the system cut it with "..."
Excellent info, Thank you for converting this
Reply With Quote
  #5  
Old 25 Sep 2004, 15:36
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Real name: Sean
/me clicks install!
Reply With Quote
  #6  
Old 25 Sep 2004, 17:18
Randall Rath Randall Rath is offline
 
Join Date: Dec 2002
Excellent instructions, thank-you!
I also thought I should mention that the SQL has a small problem on line 2 -

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Should be,

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Probably just a format problem when it was pasted in, but it might catch some unaware.
Reply With Quote
  #7  
Old 25 Sep 2004, 17:46
Bolas's Avatar
Bolas Bolas is offline
 
Join Date: Jan 2003
Thank you! I edited the thread.
Reply With Quote
  #8  
Old 26 Sep 2004, 09:39
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
After I add the mod, I got a white blank page.
Reply With Quote
  #9  
Old 26 Sep 2004, 14:48
Bolas's Avatar
Bolas Bolas is offline
 
Join Date: Jan 2003
try removing this mod totally (phrases, template and php).
Is all right now?
Ok.. re-install it following this new instruction (Randall found a format problem in SQL).

Now?
Reply With Quote
  #10  
Old 27 Sep 2004, 23:03
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
thanks will install
__________________
God180 <--------------------- My Modified vBulletin
Reply With Quote
  #11  
Old 28 Sep 2004, 03:19
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Hi Bolas,

Thanks for this hack. There is something that I don't understand. This module causes a blank page when I tried to open my main page with Firefox. It works fine when I open it with IE
Reply With Quote
  #12  
Old 28 Sep 2004, 09:10
Bolas's Avatar
Bolas Bolas is offline
 
Join Date: Jan 2003
d'oh! I'm under Debian (unstable) and I use to browse ONLY with mozilla-firefox (now 0.9.x) ...
Also Epiphany, IE ( lol... ), Konqueror, lynx... and I don't have blank pages...
Try opening my vbulletin: http://www.wellage.net: te module is loaded on the bottom-right of the home page and works fine.
The module is just a chunk of php code and some html.. just a blank page? vBulletin in case of minor error (like a error in a module) doesn't stop his execution ( = blank page).

A) Does the needed template exists in the style you are using?

B) does your account have privis to receive that page? ( I mean... Are you logged with the same account of IE - check cookies - in Firefox? )

Without error messages I can't imagine what happens, but don't worry: we will find a solution!




...


C) just to be sure... when you set unactive my module all works fine?

Last edited by Bolas; 28 Sep 2004 at 09:14.
Reply With Quote
  #13  
Old 04 Oct 2004, 16:08
Wordplay Wordplay is offline
 
Join Date: Nov 2001
sorry but i'm really slow with hacking. what are you supposed to place as the variables name when creating the phrases?

is it:
VARIABLES NAME: adv_latest_journalentries
TEXT: Latest Journal Entries
__________________
nothing left to say
Reply With Quote
  #14  
Old 04 Oct 2004, 16:42
Bolas's Avatar
Bolas Bolas is offline
 
Join Date: Jan 2003
in /admincp, in the menu on the left:

Languages & Phrases
open section

Phrase Manager
click

on the right frame click Add New Phrase

in the new page (Add New Phrase)

Phrase Type: choose 'GLOBAL'
Varname: insert 'adv_latest_journalentries'
text: insert 'Latest Journal Entries' (and if you got another language installed fill it with right translation

SAVE



Say me if you need screenshot to follow step by step the single action!

bye!
Reply With Quote
  #15  
Old 09 Oct 2004, 03:26
Wordplay Wordplay is offline
 
Join Date: Nov 2001
i have a little problem with this, the module shows up and it even includes the correct subjects of the latest journal entries, but the link is wrong for some reason. how can it pick out the right info but the wrong link?

the link will just be www.xxx.com/journal.php instead of www.xxx.com/forum/journal.php, how can i fix this?
__________________
nothing left to say
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:00.

Layout Options | Width: Wide Color: