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)
-   -   Show latest journal entries on forum home (https://vborg.vbsupport.ru/showthread.php?t=147664)

Renmiri 05-19-2007 10:00 PM

Show latest journal entries on forum home
 
This hack is to be used by those who installed vBjournal. My users were complaining that every time they posted an entry they had to post "updated my journal come see it" on a forum thread so I did this little plugin to show new entries

WARNING: As of right now we have reason to believe this mod is not compatible with 3.6 vBulletin or higher. vBjournal itself has had some compatibilities with 3.6 so don't try this if you have version 3.6.x


Instructions:


0) Backup your database and all your templates.

1) Install vBjournal
and get it to work

2) Download and install the showjournal.xml plugin

3) Add a new template journal_showlatest with the code below as content:

Code:

<td><a href="journal.php?do=showentry&amp;e=$latest1[lastentry_id]">$latest1date - $latest1[entrytext]</a>  -  $latest1desc by <a href="member.php?u=$latest1[journalist_id]">$latest1[journalist]</a><br/></td>
4) Modify the FORUMHOME template:

4.1) Make a copy of your current FORUMHOME template and save it to "Save history"

4.2) Find
Quote:

<!-- end what's going on box -->
ADD BELOW

Code:

Last Journal Entries<br/><table>$latest1bits</table>
This last bit of code can be added to any template where you want to see the last journals

Uninstalling this plugin:

1) Deactivate or delete the plugin get latest journals that is found on PARSE_TEMPLATES

2) Restore the FORUMHOME template to the backup copy you made at installation time.

Uninstalling vBjournal
See the vBjournal thread.

bela-meaad 05-20-2007 02:51 AM

wonderful

Thanks ;)

rjmjr69 05-20-2007 03:06 AM

Can't make anything out in that screen shot But nice idea thanks

Renmiri 05-20-2007 02:01 PM

It has the last journals listed on the bottom of Forum home...

Muellmann 05-20-2007 07:01 PM

It doesn't work. I got a blank page on my forumhome.

Renmiri 05-21-2007 03:56 PM

err.. Which version are you in ?

Can you post your FORUMHOME template as a text file here ? I'll be able to see what's wrong then.

PS: A link to your forum works too but a copy of the template is better

Muellmann 05-21-2007 07:16 PM

vb 3.6
However the forum stays completely blank, even as I uninstalled the plugin.

Renmiri 05-21-2007 09:44 PM

Quote:

Originally Posted by Muellmann (Post 1252268)
vb 3.6
However the forum stays completely blank, even as I uninstalled the plugin.

Uninstalling the plugin won't undo the changes you did to the FORUMHOME template. That is what is making it blank. Did you save a version of the old FORUMHOME ? Reverting to the old version should fix it.

You need to give me a link to your forum ASAP so that I can help you with the template.

Snake 05-22-2007 09:15 AM

Thanks, this is quite useful. :)

Muellmann 05-22-2007 05:11 PM

Quote:

Reverting to the old version should fix it.
Yes this I did thx.


All times are GMT. The time now is 02:10 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.01125 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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