![]() |
vB Journal | vba CMPS module: latest entries
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 ----------------------------------------- PHP Code:
then create template 'adv_portal_latestjournalentry' ----------------------------------------- Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> 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 https://vborg.vbsupport.ru/images/sm.../installed.gif :-) 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 |
Thanks Bolas
Once I install the journal system, I'll be installing this :p 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? |
yes it is! :-)
Also --------------------------------- PHP Code:
|
Quote:
|
/me clicks install!
|
Excellent instructions, thank-you!
I also thought I should mention that the SQL has a small problem on line 2 - Code:
journal s.journalist_id Code:
journals.journalist_id |
Thank you! I edited the thread.
|
After I add the mod, I got a white blank page.
|
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? |
thanks will install ;)
|
All times are GMT. The time now is 09:24 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|