 | |  | |
July 13th, 2006, 04:16 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 191
| 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.  )
|
| |
July 14th, 2006, 12:05 AM
|
#2 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,407
|
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?
|
| |
July 14th, 2006, 12:09 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 191
|
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.
|
| |
July 14th, 2006, 12:12 AM
|
#4 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,407
| 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? |
| |
July 14th, 2006, 01:48 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 191
|
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. |
| |
July 14th, 2006, 08:09 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 191
|
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?
|
| |
July 14th, 2006, 08:19 PM
|
#7 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,407
| 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?
|
| |
July 14th, 2006, 08:24 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 191
|
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).
|
| |
July 14th, 2006, 10:27 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 191
|
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. |
| |
July 17th, 2006, 03:17 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 191
|
Okay, still happening after Upgrade to 1.0.2 (found the credit card...fell behind PC desk  ).
Please help.
|
| |
July 17th, 2006, 09:42 AM
|
#11 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,407
| 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?
|
| |
July 18th, 2006, 02:44 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 191
|
Kevin mate.. you are good!
Disabling the zoints Product fixed it!!
Here's the offending Plugin: Code: Content visible to verified customers only.
|
| |
July 18th, 2006, 02:54 AM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 191
|
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?
| |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | mods to postbit | hbalagh | Installs and Upgrade - vBulletin 3.0.X | 6 | September 28th, 2005 04:04 PM | | Icons missing from postbit | anarchystar | Installs and Upgrade - vBulletin 3.0.X | 4 | June 5th, 2005 01:33 AM | All times are GMT -5. The time now is 11:23 AM. | |