PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > vBGallery Support > vBGallery Installation & Upgrades > Installs and Upgrade - vBulletin 3.6x

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 18th, 2008, 09:31 PM   #21 (permalink)
Member
 
Join Date: Sep 2004
Posts: 38
when you get to image display page, "previous" and "next" links above the image do not work. It only happens when you jump to image from the category's "latest image" link (not the parent category of the image, but one level above). See it?
matusman is offline   Reply With Quote
Old November 18th, 2008, 09:36 PM   #22 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
I would have to do some serious testing so I will respond when I can.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 18th, 2008, 09:37 PM   #23 (permalink)
Member
 
Join Date: Sep 2004
Posts: 38
Sounds good. Thanks.
matusman is offline   Reply With Quote
Old December 1st, 2008, 04:58 PM   #24 (permalink)
Member
 
Join Date: Sep 2004
Posts: 38
Two weeks passed. I know you are busy with support, but is there any progress?
matusman is offline   Reply With Quote
Old December 1st, 2008, 06:06 PM   #25 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Well we would definately need more info on your install as this is a clean install of the current vbgallery download and it appears to work.

try reinstalling templates etc as maybe you have an old template

201-o-9 - PhotoPost vBGallery
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 1st, 2008, 11:55 PM   #26 (permalink)
Member
 
Join Date: Sep 2004
Posts: 38
I tested it several ways:

1. I reinstalled all vbgallery files and templates. Problem is still there.

2. I reinstalled all vbulletin and vbgallery files, then reinstalled all forum and gallery templates. Problem is still there.

3. I installed fresh copies of vbulletin and vbgallery on a local machine (running XAMPP Version 1.6.8). Created categories in vbgallery, uploaded several pictures. Problem is still there.


For some reason it won't show image id and show different category id when you go to the image display page from gallery home page or upper level categories and click on "next" or "previous" links.


e.g. It gives this URL before clicking on "next" or "previous" links:

[mysite]/gallery/showimage.php?i=328&c=1

when it should be:

[mysite]/gallery/showimage.php?i=328&c=35

(no error warning yet)

When I click on "next" or "previous" from:
[mysite]/gallery/showimage.php?i=328&c=1

I get this:

[mysite]/gallery/showimage.php?i=&c=1 with error warning.

It's gotta be a bug. May be it has to do with UTF-8 encoding? But why would it?

Try testing it locally. When creating database, select utf8_unicode_ci collation. Snapshot is attached.
Upload forum and gallery files. Edit language in admincp (set to UTF-8). Upload several pictures and test it.

I know you know all the steps, I just want you to be able to reproduce the bug.

Update: I just tested it locally with latin1 (latin1_swedish_ci), same results. So, it has nothing to do with encoding. At least now I know for sure UTF-8 is not a suspect.
Attached Images
File Type: jpg db_creation.jpg (23.4 KB, 4 views)

Last edited by matusman; December 2nd, 2008 at 02:26 AM.
matusman is offline   Reply With Quote
Old December 2nd, 2008, 02:31 AM   #27 (permalink)
Moderator
Verified Customer
 
Join Date: Aug 2005
Posts: 1,231
@matusman
do you have a reason to use utf8_unicode_ci?
I use UTF-8 also.. using utf8_general_ci
I do not have any problems with it, even with russian and chinese.
But you are right it has nothing to do with the problem...

Your problem comes from a gallery problem AND a configuration problem..

I will try to explain:

Your configuration:

Home page - First level category (not acting as category) - Second level category - Third level category -Images

the second level category is the problem.. it adds the the category id of the second level category to the image instead of the third level category to the image.

actually it should show NO LAST UPLOAD!!!

I think Michael, who is working on a new beta will have this fixed, but it requires lots of changes.


Until then, there are 2 ways to workaround the problem:

1. Set the 2.level category to: not acting as category

OR

2. Upload at least one image to the second level category.. and the problem will be gone... But the gallery wont behave as expected..
After u uploaded the image to 2.level -> works as expected
If you upload an image to 3. level.. it will be displayed as last image..
the previous / next links will display images of 2.level cat.. (which is NOT correct.. but it gives NO ERROR as the images exist)


Anyway imho, i dont like this configuration, because if it should work as expected.. suppose someone uploads images in 3rd level, you will have identical last uploads for 2.level and 3.level, which personally I think is not nice..

Luc

Last edited by Luciano; December 2nd, 2008 at 03:27 AM.
Luciano is offline   Reply With Quote
Old December 2nd, 2008, 03:30 AM   #28 (permalink)
Member
 
Join Date: Sep 2004
Posts: 38
Luciano, thank you for your reply.

I followed your second advice on a local machine (Gallery home page - Main album category - Test category).
When I uploaded image to the Main album category, it solved problem of displaying "next" and "previous" images in the Test category when clicking "Last upload" from the Gallery home page.

On my site, however, I found a new glitch. All categories are acting as categories (I checked each one of them). "Select category" option on the upload page won't show all first level categories (Main album is missing, only "Member's Categories" category is displayed). Then not all second level categories are displayed in the hierarchial order as they should. Most of them are displayed as third level categories.

I wonder why even give to admins the option of creating subcategories (infinitely?) without solving this huge conflict among "chained" categories? I spent hours trying to fix it, only to find out nothing really can be done. There should be at least a warning on the vbgallery admin page about it.

I am ready to give up on VBGallery at this point. Does PhotoPost Pro have same issues? If not I am ready to switch and try.


Quote:
do you have a reason to use utf8_unicode_ci?
I use UTF-8 also.. using utf8_general_ci
I do not have any problems with it, even with russian and chinese.
To me, utf_general_ci is an half-ass way because it won't display some less used characters correctly. It does not live up to what is expected from UNICODE. Sacrificing quality for speed is not what I am after.

Here is a good explanation:
Quote:
utf8_general_ci does not support expansions/ligatures, it sorts
all these letters as single characters, and sometimes in a wrong order.

utf8_general_ci is fine only for Russian and Bulgarian subset of Cyrillic.
Extra letters used in Belarusian, Macedonian, Serbian, and Ukrainian
are sorted not well.
MySQL :: Re: utf8_unicode_ci vs utf8_general_ci
As a footnote, I hope vbulletin will finally one day come in utf as a default. They are just perpetuating a dumb mistake of narrow envisioning of the computer use. The only reason vbulletin uses latin1_swedish_ci is because MySQL was originally developed in Sweden and came initially utilizing this collation, right? It's like keeping on using a hand saw because a grandpa used to use it and never believed in electricity, when everyone else is using tabletop power miter saws with adjustable angle cutting. You see what I mean?
Besides, major internet players like Yahoo, Google, MSN, YouTube use UNICODE.

Last edited by matusman; December 2nd, 2008 at 07:43 AM.
matusman is offline   Reply With Quote
Old December 2nd, 2008, 06:20 AM   #29 (permalink)
Moderator
Verified Customer
 
Join Date: Aug 2005
Posts: 1,231
Quote:
Originally Posted by matusman View Post
Luciano, thank you for your reply.

I followed your second advice on a local machine (Gallery home page - Main album category - Test category).
When I uploaded image to the Main album category, it solved problem of displaying "next" and "previous" images in the Test category when clicking "Last upload" from the Gallery home page.
good to hear! but ill will not act as expected.. though it will work without errors.

Quote:
Originally Posted by matusman View Post
On my site, however, I found a new glitch. All categories are acting as categories (I checked each one of them). "Select category" option on the upload page won't show all first level categories (Main album is missing, only "Member's Categories" category is displayed). Then not all second level categories are displayed in the hierarchial order as they should. Most of them are displayed as third level categories.
My problem is I cannot reproduce your problem.. i set even main category to accept images.. and act as category.. and the members cat as toplevel cat. a screenshot of the category chooser as attachment..

I think (if i remember) there was a problem with creating subcategories IN MEMBER CATEGORIES.. that cannot be done from acp, because member categories are created by members and if they are password protected and/or user has no rights to upload.. they will not show up..
SO dont create subcategories for member cats in ACP!!! you can create them in front end left dropdown-menu: mystuff.. -> catadmin
Reminder: Member cats are not real cats, see them as "virtual" categories
Try to set your "Members Categories as TOP-Level category" with no subcats (subcats will be autogenerated with name=username when a user uploads) - But I am not very good at that, because I have personally never used the member cats. I only seen people having problems with them when not having them 1.st level and using member cats more than once..

make sure all cats are set to act as cat AND accept images..

Other problem that can be related.. (allthough its a vbulletin problem)

if u use UTF-8 there is a template problem.. if a template contains a special character, the template is truncated after that character!!! I was unable to fix the bug.. but found a workaround.
It affects gallery in 1 or 2 templates (where there are bullits - i think its &bullit; or something like that..)... anyway... the workaround is before install.
open the installfile vbgallery_install.php in your favorite editor. and save as with the encoding set to UTF-8.. do the same with the xml file product-ppvbgallery.xml
Both files should be in your admincp directory..
Saving those 2 files in UTF-8 will allow vbulletin to install ALL templates correctly... - this problem does Not occur if you are not in UTF-8
(I'm NOt saying its the cause of your problems, but it will eliminate other problems)

Quote:
Originally Posted by matusman View Post
Here is a good explanation:
Yes this explanation is good.. i use general_ci because it seems to be working well with chinese chars.. and NOT messing up the russians..

Luc
Attached Images
File Type: gif catchooser.gif (10.2 KB, 2 views)

Last edited by Luciano; December 2nd, 2008 at 06:34 AM.
Luciano is offline   Reply With Quote
Old December 2nd, 2008, 03:01 PM   #30 (permalink)
Member
 
Join Date: Sep 2004
Posts: 38
Quote:
Originally Posted by Luciano View Post
good to hear! but ill will not act as expected.. though it will work without errors.
Basicly it's a major flaw. The only thing we could do is wait for a new version of VBGallery (6-12 month from now?) or try another software.

I am ready to try PhotoPost Pro. My question is: Does PhotoPost Pro have same issues with categories? Could you or Chuck tell me, please?

Quote:
Originally Posted by Luciano View Post
if u use UTF-8 there is a template problem.. if a template contains a special character, the template is truncated after that character!!! I was unable to fix the bug.. but found a workaround.
Luc, thank you again for a good advice. I'll definately try those steps, but first I wanna try some other softwares (PhotoPost Pro or PhotoPlog Pro)


Quote:
Originally Posted by Luciano View Post
...i use general_ci because it seems to be working well with chinese chars.. and NOT messing up the russians..
It makes sense. But what if you decide in the future to add some other language forum, say Spanish, Serbian or Kyrgyz. What will be a workaround?
I rather use something truely universal like utf_unicode_ci. No headaches in the future.
matusman is offline   Reply With Quote
Old December 2nd, 2008, 03:44 PM   #31 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Photopost Pro has not issues.

To respond to anything else I need to do some testing but really does not seem like it would be all too complicated a fix.

The only way the issue happens if your hitting the last upload link in the index right?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 2nd, 2008, 04:02 PM   #32 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
actually the fix I think would be quite simple.

In the adv_gallery_categorybit_level1 and adv_gallery_categorybit_level2 templates remove the code in bold

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 2nd, 2008, 04:55 PM   #33 (permalink)
Moderator
Verified Customer
 
Join Date: Aug 2005
Posts: 1,231
thumbs up-- seems to work
Luc
Luciano is offline   Reply With Quote
Old December 2nd, 2008, 08:31 PM   #34 (permalink)
Member
 
Join Date: Sep 2004
Posts: 38
Cool.. I just reuploaded all vbgallery files. It now works the way it should. Thank you, Chuck!

I see category ID in URLs gets trancated only when using Last upload link.

Quote:
open the installfile vbgallery_install.php in your favorite editor. and save as with the encoding set to UTF-8.. do the same with the xml file product-ppvbgallery.xml
I saved files in unicode. Luc, do I need to changing encoding in the product-ppvbgallery.xml itself to utf-8 as well?

I got a MySQL error today. Not related to the above as I did changes after getting the error message.

Quote:
Database error in vBulletin 3.7.4:

Invalid SQL:

SELECT languageid,
phrasegroup_global AS phrasegroup_global,
phrasegroup_holiday AS phrasegroup_holiday,
phrasegroup_prefix AS phrasegroup_prefix,
phrasegroup_projecttools AS phrasegroup_projecttools,
phrasegroup_adv_gallery_int AS phrasegroup_adv_gallery_int,
options AS lang_options,
languagecode AS lang_code,
charset AS lang_charset,
locale AS lang_locale,
imagesoverride AS lang_imagesoverride,
dateoverride AS lang_dateoverride,
timeoverride AS lang_timeoverride,
registereddateoverride AS lang_registereddateoverride,
calformat1override AS lang_calformat1override,
calformat2override AS lang_calformat2override,
logdateoverride AS lang_logdateoverride,
decimalsep AS lang_decimalsep,
thousandsep AS lang_thousandsep
FROM language
WHERE languageid = 3;

MySQL Error : Unknown column 'phrasegroup_adv_gallery_int' in 'field list'
Error Number : 1054
Request Date : Monday, December 1st 2008 @ 05:32:12 PM
Error Date : Monday, December 1st 2008 @ 05:32:12 PM
Script : [mysite]/forum/index.php
Referrer : [mysite]/forum/index.php
IP Address : 78.25.55.111
Username :
Classname : vB_Database
MySQL Version :
Unknown column 'phrasegroup_adv_gallery_int' in 'field list'?
Is it something serious? I don't seem to get this error myself. Only happened once while somebody was trying to access from the 78.25.55.111 ip address.
matusman is offline   Reply With Quote
Old December 2nd, 2008, 11:27 PM   #35 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
There is a phrasegroup called adv_gallery_int in vbgallery

I would need to track down in vbulletin where and how that specific query is called to respond further there.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 3rd, 2008, 02:29 AM   #36 (permalink)
Moderator
Verified Customer
 
Join Date: Aug 2005
Posts: 1,231
Quote:
I saved files in unicode. Luc, do I need to changing encoding in the product-ppvbgallery.xml itself to utf-8 as well?
NO!!
If you change that encoding it will not work anymore... unless some changes are made to the vbulletin core code..
Explain: if the file is saved as normal file.. (ANSI) without UTF-8 or unicode..
even windows standard text editor (notepad for example) will not be able to see some of the special characters.. so if you want vbulletin to see them you have to do the same.. (thats why you dont need to do it if there are no special chars in templates)



As for the other error..
what happens:
it is trying to get the phrases for the display of newest or random images on forum index.. BUT the phrasegroup cannot be selected..

3 possibilities..
A: the phrasegroup does not exist.. (which i do not think because i suppose you have not reenstalled an older version of vbgallery over the newest one)

B: You have reinstalled vbgallery, the settings went back to default, but not all of them.. so forum index thinks it has to display the phrasegroup.. but it has not been prepared..
in that case go to acp in vbgallery settings.. save the settings..
in modify addons save the settings.. save to on and off again..
that should rebuild the bitfields..

C: third possibility: i dont know ..

Luc

Last edited by Luciano; December 3rd, 2008 at 02:37 AM.
Luciano is offline   Reply With Quote
Old December 5th, 2008, 02:41 AM   #37 (permalink)
Member
 
Join Date: Sep 2004
Posts: 38
Quote:
Originally Posted by Luciano View Post
NO!!
If you change that encoding it will not work anymore... unless some changes are made to the vbulletin core code..
Explain: if the file is saved as normal file.. (ANSI) without UTF-8 or unicode..
even windows standard text editor (notepad for example) will not be able to see some of the special characters.. so if you want vbulletin to see them you have to do the same.. (thats why you dont need to do it if there are no special chars in templates)
I thought so. But I know on vbulletin forum they used to advise to change encoding in .xml files. That's why I was confused.


Quote:
Originally Posted by Luciano View Post
As for the other error..
what happens:
it is trying to get the phrases for the display of newest or random images on forum index.. BUT the phrasegroup cannot be selected..

3 possibilities..
A: the phrasegroup does not exist.. (which i do not think because i suppose you have not reenstalled an older version of vbgallery over the newest one)

B: You have reinstalled vbgallery, the settings went back to default, but not all of them.. so forum index thinks it has to display the phrasegroup.. but it has not been prepared..
in that case go to acp in vbgallery settings.. save the settings..
in modify addons save the settings.. save to on and off again..
that should rebuild the bitfields..

C: third possibility: i dont know ..

Luc
I did as you said in part B. So far so good.

BTW, I just found a new (to me) true-type unicode font - Quivira. And it's free!!


To Chuck: Will the next release of VBGallery have customizable photo frames for thumbnails as PhotoPost Pro does?
matusman is offline   Reply With Quote
Old December 5th, 2008, 04:28 AM   #38 (permalink)
Moderator
Verified Customer
 
Join Date: Aug 2005
Posts: 1,231
Quote:
I thought so. But I know on vbulletin forum they used to advise to change encoding in .xml files. That's why I was confused.
Yes there is a confusion.. I know for vbulletin china.. there you have to change. some people suggest some hacks that help u use that encoding.. BUT you have to change the core files. They then post on vbulletin.com saying you have to change.. I think I tried all of them.. in my configuration.. they dont really work.

As to those photoframes.. i seen a hack for vbgallery..(i think thats what you meen)..

old version here:
http://www.photopost.com/forum/vb-3-...on-v1-0-a.html

new version on vbulletin org:
PP Round Thumbnail Overlay v1.2 - vBulletin.org Forum
Luciano is offline   Reply With Quote
Old December 5th, 2008, 11:27 AM   #39 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
ah yes thats a hack to add in a PhotoPost Pro feature it looks like.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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
No Image specified. If you followed a valid link, please notify the administrator imported_concepts Installs and Upgrade - vBulletin 3.5.X 9 May 17th, 2009 01:57 AM
You are not a valid administrator! kernel-panic Photopost Pro Installation & Upgrades 1 April 14th, 2007 09:55 AM
You are not a valid administrator or moderator! HHMagz ReviewPost Installation & Upgrades 3 March 4th, 2007 04:12 PM
No Image specified. If you followed a valid link Primopup vBGallery How Do I...? 1 December 14th, 2006 04:42 PM
No Image specified. If you followed a valid link, please notify the administrator RaceJunkie Installs and Upgrade - vBulletin 3.5.X 3 December 30th, 2005 02:03 PM


All times are GMT -5. The time now is 03:54 PM.

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