PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old July 13th, 2006, 03:16 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 194
PHP5 - Postbit Variables missing and 'postbit' appears in div

a-la: http://www.nzboards.com/photos/image299?styleid=280

See the 'postbit' at the start?

Code:
Content visible to verified customers only.
And.. the extra variables aren't being pulled.

(Yes, I realise I use vBSEO. It is not the culprit. The culprit is PHP5 upgrade. )
kall is offline   Reply With Quote
Old July 13th, 2006, 11:05 PM   #2 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
Interesting. With your "seoed purple sidebar" style I see the following error but not the "postbit" text...
Code:
Content visible to verified customers only.
What results occur with the default style?
KW802 is offline   Reply With Quote
Old July 13th, 2006, 11:09 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 194
Is that as a guest? I don't get the error, and the postbit is still visible as plain text, just centered.

Actually.. yes, I get the error AND the postbit thing.
kall is offline   Reply With Quote
Old July 13th, 2006, 11:12 PM   #4 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
Quote:
Originally Posted by kall
Is that as a guest? I don't get the error, and the postbit is still visible as plain text, just centered.

Actually.. yes, I get the error AND the postbit thing.
Yes, as a guest. I flipped between the three styles and got the postbit text two of the three and the error with the third.

So with the default style you're getting both the postbit text and the PHP error? Before I start looking around at the code... do you have any hacks or anything installed with the gallery code?
KW802 is offline   Reply With Quote
Old July 14th, 2006, 12:48 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 194
Default style - only getting the postbit text.

I am guessing that the error comes on that style because of the customised navbar.. it isn't really required because of the header and the sidebar. Reverting it (or commenting out the following line) fixes the php error...which occured everywhere (not just the gallery).

Code:
Content visible to verified customers only.
On a default (totally stock) style, the 'postbit' text is definitely still visible.

Not being an expert, I am still guessing that the $ is being stripped from the postbit variable somehow.
kall is offline   Reply With Quote
Old July 14th, 2006, 07:09 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 194
Hmm... after moving the entire site to my new server (running PHP4), the issue still occurs.

Good chance I just never noticed it but.. do custom fields in Postbit 'normally' get displayed by vBGallery?
kall is offline   Reply With Quote
Old July 14th, 2006, 07:19 PM   #7 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
Quote:
Originally Posted by kall
Hmm... after moving the entire site to my new server (running PHP4), the issue still occurs.

Good chance I just never noticed it but.. do custom fields in Postbit 'normally' get displayed by vBGallery?
Wait... by custom field do you mean a Gallery custom field or a vBulletin custom field? Or some other variable?
KW802 is offline   Reply With Quote
Old July 14th, 2006, 07:24 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 194
Ones that are added to vB by hacks.. points, Zoints.. things that don't rhyme with oints..

(Local time and date in profile is another).
kall is offline   Reply With Quote
Old July 14th, 2006, 09:27 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 194
BTW, this is 1.0.1.

My members access has expired, you don't accept anything but CC, and mine has gone walkabout... so I can't renew to check if it still happens with 1.0.2/3.
kall is offline   Reply With Quote
Old July 17th, 2006, 02:17 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 194
Okay, still happening after Upgrade to 1.0.2 (found the credit card...fell behind PC desk ).

Please help.
kall is offline   Reply With Quote
Old July 17th, 2006, 08:42 AM   #11 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
Quote:
Originally Posted by kall
Ones that are added to vB by hacks.. points, Zoints.. things that don't rhyme with oints..

(Local time and date in profile is another).
OK, now we're getting closer.

I'm not familiar with Zoints to know what exactly their installation instructions involve (I submitted one of my sites but never heard back) but since they have some type of variable at the postbit level in the forums then I'll assume that they're either using a plugin at the postbit level or they have a code hack.

vBGallery does not store it's comments in the forums (in the forums DB, yes, but not in the same tables as the forum threads) so the best way to consider it's postbit is as a "vb work-alike" postbit so that it pulls from the same templates, etc. but the actual PHP code behind the scenes is different.

If you don't mind, can you provide a link to what the variables are supposed to look like when they do work and/or a copy of the installation instructions so that we can see how the variables are being populated?
KW802 is offline   Reply With Quote
Old July 17th, 2006, 03:14 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 194
http://www.nzboards.com/forums/7140-1-post/ - what my postbit should look like.

http://dev.zoints.com/ - Zoints Developer API.



I hadn't come to the theory it was caused by Zoints yet...
kall is offline   Reply With Quote
Old July 18th, 2006, 01:44 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 194
Kevin mate.. you are good!

Disabling the zoints Product fixed it!!

Here's the offending Plugin:
Code:
Content visible to verified customers only.
kall is offline   Reply With Quote
Old July 18th, 2006, 01:54 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 194
My post over at Zoints:
Quote:
Hey guys,

Something that has caused me no end of headaches and a hosting change (thinking it was PHP5-related) is the fact that when Zoints' 'parse_templates' hook is enabled, the <div id="posts">$postbit</div> gets its $ stripped, leading to the postbits with the ACTUAL word 'postbit' appearing once at the top of the first post, in an ugly white line.

I am guessing the offender is this piece of code:
Code:
Content visible to verified customers only.
Can you provide a fix for this?
kall is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mods to postbit hbalagh Installs and Upgrade - vBulletin 3.0.X 6 September 28th, 2005 03:04 PM
Icons missing from postbit anarchystar Installs and Upgrade - vBulletin 3.0.X 4 June 5th, 2005 12:33 AM


All times are GMT -5. The time now is 06:47 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0