 | |  | | | vBGallery BETA A place for discussing BETA releases of PhotoPost vBGallery. All BETA issues must be handled in this forum. |
May 12th, 2009, 10:12 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Aug 2005 Location: Mentor, OH
Posts: 46
| Multiple Gallery cells displaying in Statistics tab
After installing VbGallery Beta a few days ago, I noticed everyone who uploaded photos to vBGallery, they now have multiple Gallery cells displaying under the Statistics tab within their vBulletin profile (My Profile). See screenshot.
|
| |
May 13th, 2009, 10:37 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
| Reeftalk Forums - View Profile: Chuck S
link to your install?
I dont seem to get this behavior. Try reinstalling templates and rebuilding cache and settings under install script
|
| |
May 13th, 2009, 11:45 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Aug 2005 Location: Mentor, OH
Posts: 46
| Quote:
Originally Posted by Chuck S | Hi Chuck, I tried to Reinstall the templates, phrases, plugins by re-running the install, but now I'm getting the following vBulletin Message: XML Error: no element found at Line 0
I also tried: This will add setting and update setting cache. The screen just flashes and then returns to the PhotoPost vBGallery Photopost vBGallery Install page.
vBGallery is installed here: Cleveland Paintball vBGallery
My forum is: Cleveland Paintball Forums - Powered by vBulletin |
| |
May 14th, 2009, 02:44 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Aug 2005
Posts: 464
|
Well as I cannot reproduce this, i can only assume following:
Another hack interfering in the display..
Example: thank you hack statistics.. (But it could be any hack used on member page)
It could be that the hack uses a variable name that is the same as gallery, and that that variable is not reset after its use.. so the gallery part is executed 3 times.. or more.
To fix this.. it is important you check which hack is making trouble..
I suggest you go to your acp, to the product manager and disable all products except vbgallery...
It should work now (If not its something else so you can stop right there and ignore the rest of the post)
Then you enable each product, one by one and check if the problem reappears each time.
when it reappears.. its the last hack you have enabled that is the faulty one..
That would help..
---
Once you identifyed the product.. go to the plugin manager and find the the plugin associated to that product for member page...
member_profileblock_fetch_unwrapped
is a good hook name to look for..
change the execution order of that plugin to something higher than 5 (example: 10)
see if that does the trick.. But attention.. These are only assumptions.. it could have a completely different reason..
Luc
PS: A faster way to check that.. would be to simply set the execution order of the vbggallery plugin member_profileblock_fetch_unwrapped, member_build_blocks_start and member_complete to 1, but i do not know if that would interfere with other products..
Last edited by Luciano; May 14th, 2009 at 02:53 AM.
Reason: added PS
|
| |
May 14th, 2009, 08:10 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
XML Error: no element found at Line 0
You most likely removed the xml file from your server.
|
| |
May 14th, 2009, 10:48 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Aug 2005 Location: Mentor, OH
Posts: 46
| Quote:
Originally Posted by Luciano Well as I cannot reproduce this, i can only assume following:
Another hack interfering in the display..
---
Once you identifyed the product.. go to the plugin manager and find the the plugin associated to that product for member page...
member_profileblock_fetch_unwrapped
is a good hook name to look for..
change the execution order of that plugin to something higher than 5 (example: 10) | Okay, so you were dead-on with your assumption. The culprit was/is vS-Hide Hack Reserrection (thank you hack statistics). When I deactived that hack, I only see one Gallery stat cell. I took your advice and altered that hacks execution order by changing it to 6 (was 5). That appears to have resolved the multiple Gallery cells issue, but by doing that, my Thank You Statistics no longer show.
I tried a few different combinations, but not matter how I set the execution order for these two mods, I either get a single gallery cell and no Thank You stats, or multiple gallery cells and the Thank You stats.
Any other suggestions?
|
| |
May 14th, 2009, 10:52 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Aug 2005 Location: Mentor, OH
Posts: 46
| Quote:
Originally Posted by Chuck S XML Error: no element found at Line 0
You most likely removed the xml file from your server. | Chuck, I'm assuming your referring to the product xml? If so, you are right - I did remove it. I never thought of that.
Now that I know the reason for the multiple gallery cells - once I copy the xml file back to the server and try to Reinstall the templates, phrases, plugins, do you think this could resove my execution order issue?
|
| |
May 14th, 2009, 11:29 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
No I dont think that will help
Your culprit is an incompatibility with another plugin. Our plugin obviously works with the normal vb profile stats etc. More than likely here your going to need the other hack author to assist with compatibility. Because my thoughts here would be that where we place the code to print the gallery stats in the normal vb stats might be within some loop function of your other plugins code so thats why you get multiple printouts. Therefore the other mod author might tell you where to maybe move code in his altered template.
|
| |
May 14th, 2009, 12:19 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Aug 2005
Posts: 464
|
I agree with chuck..
i never used that plugin so its very difficult to say..
But as far as I know.. the hide resurection in combination with thank you is the advanced version of that hack.. and is coded with icon cube.. so it would be difficult to play around with the code.. or even see what is causing the trouble..
Luc
|
| | |
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 | | | All times are GMT -5. The time now is 02:50 AM. | |