PDA

View Full Version : Show latest journal entries on forum home


Renmiri
05-19-2007, 10:00 PM
This hack is to be used by those who installed vBjournal (https://vborg.vbsupport.ru/showthread.php?t=96462). 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 (https://vborg.vbsupport.ru/showthread.php?t=96462)
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:

<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
<!-- end what's going on box -->

ADD BELOW

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 (https://vborg.vbsupport.ru/showthread.php?t=96462) 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
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
Reverting to the old version should fix it.

Yes this I did thx.

Renmiri
05-22-2007, 11:49 PM
Yes this I did thx.

Glad to know your forum is OK. Sorry, 3.6 obviously is not compatible with this. :(