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)

Dan 05-30-2006 02:44 PM

Yes this hack should still be working with the latest versions of vBulletin, best way to find out is to install it and find out.

Tulsa 05-30-2006 05:02 PM

Quote:

Originally Posted by gibhut
ok quick explain ,
Parse error: syntax error, unexpected T_PRIVATE, expecting ']' in /home/mysite/public_html/forums/journal.php(564) : eval()'d code on line 188

means line 564 of journal.php is calling a template.. on line 188 of that template is where the error is..

so tulsa look on line 564 of journal and tell me the template it is calling

and same goes for your Craigex

Line 564 of the journal.php does not look like it's calling for a template to me.

Code:

Line 564: 'sort' => TYPE_NOHTML
However I was able to find what was that error on line 188 of the journal template. Removing one of the </if>'s caused it to save just fine. Not sure if it's going to work but vbulletin seemed to like it better. This was the line in the journal template.

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>

So I'm down to that last error and it's located in the journal_journalpage template. It's line 48 and I can't find what's wrong with this one.

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>

moonclamp 05-31-2006 11:31 AM

Has anyone else here upgraded to internet explorer 7 beta?

I did this and all the journal entries now get underlined when a mouse is hovered over them ... kinda weird.

gibhut 05-31-2006 12:53 PM

Change $journalinfo[private] to $journalinfo['private'] and $bbuserinfo[private] to $bbuserinfo['private'] That should fix it

Quote:

Originally Posted by Tulsa
Line 564 of the journal.php does not look like it's calling for a template to me.

Code:

Line 564: 'sort' => TYPE_NOHTML
However I was able to find what was that error on line 188 of the journal template. Removing one of the </if>'s caused it to save just fine. Not sure if it's going to work but vbulletin seemed to like it better. This was the line in the journal template.

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>

So I'm down to that last error and it's located in the journal_journalpage template. It's line 48 and I can't find what's wrong with this one.

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>


Tulsa 05-31-2006 04:42 PM

Quote:

Originally Posted by gibhut
Change $journalinfo[private] to $journalinfo['private'] and $bbuserinfo[private] to $bbuserinfo['private'] That should fix it


Unfortunately that change did not fix it. :confused:

Morrighan256 05-31-2006 10:19 PM

Uninstalling. The white screen won't go away, and by the ninth test post, it gets frustrating. :tired:

Tulsa 06-01-2006 08:05 AM

Quote:

Originally Posted by Tulsa
Line 564 of the journal.php does not look like it's calling for a template to me.

Code:

Line 564: 'sort' => TYPE_NOHTML
However I was able to find what was that error on line 188 of the journal template. Removing one of the </if>'s caused it to save just fine. Not sure if it's going to work but vbulletin seemed to like it better. This was the line in the journal template.

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>

So I'm down to that last error and it's located in the journal_journalpage template. It's line 48 and I can't find what's wrong with this one.

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>


I think I have it?? If you remove the " " from $bbuserinfo[private]==1 (journal.php) and from $journalinfo[private]==1 (journal_journalpage) they save in vbulletin. Now I've not run them through tests yet but they did pass the vbulletin check on them and seem to be working on my site. Under php5.

Neo_Angelo 06-01-2006 11:10 AM

when i post a journel entry it shows up but my message is gone, when i click edit there is no message even though i typed on in.

iamnofear 06-01-2006 01:32 PM

Quote:

Parse error: parse error, unexpected T_PRIVATE, expecting ']' in /home/thucnghi/public_html/forum/journal.php(564) : eval()'d code on line 188
How can i fix it ?

Tulsa 06-01-2006 11:15 PM

You can do what I did. It's not a fix, it's a band-aid for making this work with php5 at least for my site.


All times are GMT. The time now is 05:29 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
  • Page Generation 0.02904 seconds
  • Memory Usage 1,755KB
  • 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
  • (9)bbcode_code_printable
  • (5)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