View Full Version : Template Issues?
May 22nd, 2013, 10:51 PM
I just upgraded from 7x and pushed vB from 4.1.x to 4.2.1. My gallery seems to be missing things as seen here: Turbo Mopar Forum's Gallery - Turbo Mopar Photo Gallery (http://www.turbo-mopar.com/forums/photopost/index.php).
May 23rd, 2013, 07:41 AM
Yes you missed part of the upgrade instructions in the documentation. We changed alot of things in the 8 series and all the documentation reflects these changes.
IMPORTANT - FOR VBULLETIN 4 ONLY. New plugins included in download.
In the install directory set permissions on the file product_pppro.xml, source-vb4.xml and source-vb42.xml files to 777
2. Go to your photopost admin panel ( http://www.yoursite.com/gallery/adm-index.php )and hit the option to generate vbulletin plugin xml. That file will download to your computer.
3. Go into your vbulletin admin panel and under plugins & products select the option to manage products. You can then use the add/import product option
and upload the xml file you downloaded to your computer called product_pppro.xml file. Once that is done your forum will show gallery content.
4. Thats it your done!!
May 23rd, 2013, 07:48 AM
So now we get into the fun stuff.
When I upgraded, the generate xml was not there at all. So I searched and saw that other people have had this issue prior. I was adventurous and tried the adm-plugin.php script, but it had an error in the box (something about each() not being an array or something). Of course things were broken so I manually installed the vb42 xml file and it appeared to fix everything but this.
May 23rd, 2013, 08:24 AM
The generate an xml link is ONLY going to show in your admin panel of the gallery if these two things are true.
1. You have the vb integration on.
2. You do not have the plugin installed already which means uninstall any old plugins. We check your vb for a plugin with the id of pppro.
if ( $User['adminedit'] == 1 && ( ( VB40 == "on" && VB_PROFILE == "off" ) || XF_INTEGRATION == "on" ) )
See how we check to see if your using vb4 and do not have the plugins already installed.
You do not have the correct plugins installed because if you did your navigation system would exist as well as the stylesheet both of which your missing. Even if your disabling a photopost pro plugin in your forum admin it is still installed.
You must uninstall any photopost pro plugin in vb and follow the instructions above.
As long as permissions are 777 on the xml files and that install directory exists and you run the adm-plugin.php script it will generate a plugin to install into vbulletin.
May 23rd, 2013, 08:47 AM
So I understand that the correct plugins are probably not installed as you have indicated.
However. How could I have a previous plugin if I cam from 7.x photopost? I thought that came with 8.x? There was nothing listed. The first thing I did when I could not find the link was to search for problems. I saw where you commented to people. I double checked that my vBulletin Enhanced features was turned on. It was. The permissions were 777 on just the xml files in the install directory.
This lead me to go to Manage Products and provide the path to ./photopost/install/xmlfile
So from here I would imagine that I will try to place the install directory back on the server, turn off the style sheets, remove the product, and try again.
If it does not work, can I check a table in mysql to see if that id is there?
May 23rd, 2013, 10:28 AM
No the plugins came with PP 7 also just different versions and the plugin script determines which one to load say pre 4.2 and 4.2 and above when you generate an xml to use with vb.
What I am saying is simply the documentation needs to be followed. The upgrade instructions in the documentation folder clearly define the steps you need to do and yes you do not delete the install folder until such time as you are finished with the upgrade. The problems posted on this site are because no one read the documentation that comes with the product on how to upgrade.
Here is a summary:
You must delete any old photopost pro plugin in vb.
You must make sure the photopost install directory is present and the xml files are 7777
You must go to your admin and hit generate the xml file link.
That takes you to the adm-plugin.php script and you must submit and save the xml file and that downloaded file is what you upload to your vb product manager.
You do not type a path to your photopost install xml file as that will break your vbulletin. You must only upload the generated xml which has all the proper variables in it.
If you do this your site will look fine with the proper style and navigation links etc.
May 23rd, 2013, 10:47 AM
I will try this again tonight. The instructions were followed explicitly. I deviated after I was not able to make this work as I was hoping to brute force it because it was late at night. The reason for the deviation is that there was no plugin in my vb to remove. I have been using Photopost since I believe version 5 and vb3. I am used to the need for explicitly following instructions.
May 23rd, 2013, 12:52 PM
I will gladly look at your site if you want to send us ftp info and admin login url.
I can assure you I use vb4 forum on my personal site and am the one who wrote the original plugins before they became part of the program so I am responding based on what I see.
May 23rd, 2013, 07:45 PM
So I repeated the steps about 4 times. I think I found the problem. All of the XML files require 777, not just the three indicated in the procedures. Or at least that is what I am thinking because the link finally showed up.
Once installed the product, I see the following errors.
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in [path]/global.php(29) : eval()'d code on line 182
Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in [path]/global.php(29) : eval()'d code on line 186
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in [path]/global.php(29) : eval()'d code on line 214
May 23rd, 2013, 08:28 PM
In your case the only two xml files used are source-vb42.xml and product-pppro.xml. There are only 3 possible xml files for vbulletin all of which are discussed in the instructions. The other two xml files are for xenforo.
Your mysql errors seem to indicate an issue with your photopost prefix being incorrect.
You need to check that both the table prefix is entered correctly in the photopost admin panel under edit integration and also that it is entered correctly in the global variables plugin under the photopost pro plugins in your plugin manager.
May 24th, 2013, 10:59 AM
Thanks. I tried it again, verifying my integration/config was proper and it still would not insert. So I was able to do the global variables plugin.
Thanks for your patience and time.
May 24th, 2013, 11:35 AM
Not a problem glad you got it.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.