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)
-   -   vBJournal for vBulletin 3.5 (https://vborg.vbsupport.ru/showthread.php?t=96462)

bc3tech 10-10-2007 09:13 PM

just installed on vB 3.6.8

Code:

Parse error: syntax error, unexpected T_PRIVATE, expecting ']' in /home/.satai/bc3tech/eatoninside.com/journal.php(978) : eval()'d code on line 48
marking as uninstalled.

fishhub 10-11-2007 01:28 PM

How do we attach pics? The attach image function dont seem to be working?

bc3tech 10-14-2007 03:32 AM

You all may be happy to know I've got this working for vb 3.6.8
To do so, perform the following additional template edits:

in JOURNAL:
find
Code:

<div class="smallfont">$vbphrase[your_current_journal_status_is]: <if condition="$bbuserinfo[private]=='1'"><b><font color="red">$vbphrase[private]</font></b><else /><if condition="$bbuserinfo[private]==''"><b><font color="orange">$vbphrase[non_existent]</font></b><else /><b><font color="green">$vbphrase[public]</font></b></if></if></div></td>
change to
Code:

<div class="smallfont">$vbphrase[your_current_journal_status_is]: <if condition="$bbuserinfo['private']=='1'"><b><font color="red">$vbphrase[private]</font></b><else /><if condition="$bbuserinfo['private']==''"><b><font color="orange">$vbphrase[non_existent]</font></b><else /><b><font color="green">$vbphrase[public]</font></b></if></if></div></td>
note the addition of the ' in the bbuserinfo calls

in journal_edit_entryinfo:
find:
Code:

<input type="checkbox" name="epriv" value="1" <if condition="$entryinfo[private]">checked="checked" </if>/>$vbphrase[make_this_entry_private]
change to:
Code:

<input type="checkbox" name="epriv" value="1" <if condition="$entryinfo['private']">checked="checked" </if>/>$vbphrase[make_this_entry_private]
again notice the same

in journalpage
find:
Code:

  <b>$vbphrase[status]</b>: <if condition="$journalinfo[private]=='1'"><b><font color="red">$vbphrase[private]</font></b><else /><b><font color="green">$vbphrase[public]</font></b></if>
change to:
Code:

<b>$vbphrase[status]</b>: <if condition="$journalinfo['private']=='1'"><b><font color="red">$vbphrase[private]</font></b><else /><b><font color="green">$vbphrase[public]</font></b></if>
in journal_edit_journalinfo
find:
Code:

<input type="checkbox" name="jpriv" value="1" <if condition="$journalinfo[private]">checked="checked" </if>/>$vbphrase[make_this_journal_private]
change to:
Code:

<input type="checkbox" name="jpriv" value="1" <if condition="$journalinfo['private']">checked="checked" </if>/>$vbphrase[make_this_journal_private]
these are all the ones i've found necessary thus far. hope this helps everybody

Abomonation 11-05-2007 02:41 PM

Hello,

I've installed this correctly but when attempting to read a users blog or add my own i get the following error:


Code:

Parse error: syntax error, unexpected T_PRIVATE, expecting ']' in /home/danmil/public_html/profiles/journal.php(978) : eval()'d code on line 48

The only thing contained on this line is

Code:

        'journal_deletion_journal_confirmation',
Can you assist me in resolving this please?

Thanks,
Dan

Reeve of shinra 11-05-2007 09:42 PM

Sounds like an issue with the template.
You probably have a ' or " around a template variable.

ie: it should be something like $var[whatever] and not $var['whatever']

Chadi 12-06-2007 03:05 AM

Can someone please update this to work with PHP 5x?

zetetic 12-06-2007 09:10 AM

Abomonation & chadi: Use the template changes bc3tech suggests here and it should work.

Chadi 12-07-2007 05:33 AM

I enabled xcache hack here
https://vborg.vbsupport.ru/showthread.php?t=141005

now I get this when I go to "my journal" area

Warning: unserialize() expects parameter 1 to be string, array given in /journal.php on line 115

Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/includes/class_core.php:3118) in /includes/functions.php on line 2801


If I go to journal index I get this

Warning: unserialize() expects parameter 1 to be string, array given in /journal.php on line 115


Anyone know how to fix this error?

kiwivc 12-30-2007 10:02 PM

Installed on 3.6 and it works fine. I didn't do any template edits at all after finding that some of those edits referred to codes which don't exist on my board. Marked as installed.

Pamela 02-22-2008 09:43 PM

Will a fresh install of this for 3.7.0 (Beta 5) work...or does this need to be rewritten for 3.7?

Thanks! :)


All times are GMT. The time now is 03:01 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.03592 seconds
  • Memory Usage 1,746KB
  • 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
  • (11)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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