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)

iamnofear 06-29-2006 06:04 PM

I got this error when I click on editentry button. Any suggestion ?
Parse error: parse error, unexpected T_PRIVATE, expecting ']' in /home/thucnghi/public_html/forum/journal.php(1593) : eval()'d code on line 61

Snake 06-29-2006 06:12 PM

Anyone please tell me how to get this working on PHP5? :(

Brandon Sheley 06-30-2006 07:18 PM

Quote:

Originally Posted by Loco.M
i get errors with 3.6.0 beta 2...

hope this one can be converted without loseing data

:cross-eyed:

Adrian Schneider 06-30-2006 08:09 PM

Quote:

Originally Posted by iamnofear
I got this error when I click on editentry button. Any suggestion ?
Parse error: parse error, unexpected T_PRIVATE, expecting ']' in /home/thucnghi/public_html/forum/journal.php(1593) : eval()'d code on line 61

Find the "journal_edit_journalinfo" template, and on line 61, change
Code:

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

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

UncoderMom 07-01-2006 03:21 AM

Quote:

Originally Posted by Dark Cloud
Anyone please tell me how to get this working on PHP5? :(


Im with you! I need a journal running php 5 and the myspace rewrite calls for this one!

Kyderoy 07-02-2006 01:05 PM

Quote:

Originally Posted by SirAdrian
Post lines 187-189 of the template executed @ line 484 of journal.php


Line 187 -
<div class="smallfont"><phrase 1="$session[sessionurl]" 2="$getlatestj[journal_id]" 3="$getlatestj[journalist]">$vbphrase[welcome_to_our_newest_journalist_x]</phrase></div>


Line188 -
<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>

Line 189

</tr>

Snake 07-02-2006 01:59 PM

Quote:

Originally Posted by UncoderMom
Im with you! I need a journal running php 5 and the myspace rewrite calls for this one!

Pleaaaaaaaaaaaaaaaase? :(

Adrian Schneider 07-02-2006 03:39 PM

Quote:

Originally Posted by Kyderoy
Line 187 -
<div class="smallfont"><phrase 1="$session[sessionurl]" 2="$getlatestj[journal_id]" 3="$getlatestj[journalist]">$vbphrase[welcome_to_our_newest_journalist_x]</phrase></div>


Line188 -
<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>

Line 189

</tr>

Change line 188 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>

Tulsa 07-02-2006 04:14 PM

Thanks SirAdrian. That was the fix for line 188 of the journal template but everyone using php5 will also have to fix line 48 of the journal_journalpage template as well.

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>

Adrian Schneider 07-02-2006 04:24 PM

No problem.

If anybody is having any PHP 5 problems, please go here: https://vborg.vbsupport.ru/showthread.php?t=120134

This thread is nearly impossible to keep track of, especially if it isn't checked often. Hopefully once all the problems are solved, they will put the changes in the package.


All times are GMT. The time now is 12:20 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.02052 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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