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 BETA

vBGallery BETA A place for discussing BETA releases of PhotoPost vBGallery. All BETA issues must be handled in this forum.

 
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 26th, 2009, 12:49 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2009
Posts: 58
Refresh issue with image counter in vBulletin

I'm testing vGallery 2.45 with vBulletin 3.8.1 and i've found a refresh issue.

When i'm using the quick edit box to reply to a message in vBulletin and hit "Post Quick Reply" the image counter doesn't show up. When i click refresh (F5) it shows up. I don't seem to have the problem when i use the advanced Editor.

image
Attached Images
File Type: jpg imagecountermissing.jpg (73.8 KB, 8 views)

Last edited by marcovb; April 3rd, 2009 at 10:29 PM.
marcovb is offline  
Old April 3rd, 2009, 10:30 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Feb 2009
Posts: 58
anyone having this issue? This is probably a bug or something...
marcovb is offline  
Old April 6th, 2009, 01:05 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 464
Sorry i cant test it.. because i have allready modified my new test-install.. i use a minimized postbit.. actually the same as blog or album comments have.. with only avatar and link to users profile.. i removed all the other info from my postbit.. and until next week i cant do a fresh install because maincomputer is being upgraded.. (getting 4x 1.5 terrabyte drives )

ooops [edit] just read it was in forums you had this problem..
thats normal..
because it uses a template hook..

As you use ajax for quick reply.. ajax does not use template hooks..
so when you post.. YOU dont see YOUR info that comes with template hooks.. but all other users see it..
I would not fix it on my install.. because it would need another hook and more other stuff for just having a user seeing how many pics he has after posting a quickreply to a probably completely different subject...

and i think (nor really sure) that fixing it would meen to rewrite parts of the vbulletin postbit factory (at least the ajax part of it..)

I think also, that if you disable ajax for quickreply in forums, that you will not have that problem anymore

Luc

Last edited by Luciano; April 6th, 2009 at 01:15 PM.
Luciano is offline  
Old April 6th, 2009, 01:26 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,693
Nail on the head right there. Yes how vbulletin itself handles template hooks and ajax is the culprit. The two are not really interchangable without vb rewriting how there system works.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline  
Old April 7th, 2009, 10:00 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2009
Posts: 58
I actually like the feature and the way it integrates in the postbit section. I like it because it's another incentive for the user to click and go to the gallery. Isn't vbGallery all about integration?
Too bad vBulletin doesn't make it easier. It works 50% the way it should... good enough for me...

Luciano: you've mentioned that you removed all the other info from your postbit in vBGallery. How? Is this an option in the menu option or just a manuel change in the template.

Thanks
marcovb is offline  
Old April 8th, 2009, 01:12 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 464
Quote:
Originally Posted by marcovb View Post
I actually like the feature and the way it integrates in the postbit section. I like it because it's another incentive for the user to click and go to the gallery. Isn't vbGallery all about integration?
Too bad vBulletin doesn't make it easier. It works 50% the way it should... good enough for me...
I would say 99% not fifty..
because it only affects you after you post in quick reply
1. only the moment after you posted..
2. It does NOT affect any other user.. when he reads your post, not eaven if he comes 1 second after you posted...
3. It does not affect you if you come again..
so (i'm not to good at maths) unless you only have 2 users (You and another one) who post every time they open a page.. it must be more than 50%


Quote:
Originally Posted by marcovb View Post
Luciano: you've mentioned that you removed all the other info from your postbit in vBGallery. How? Is this an option in the menu option or just a manuel change in the template.

Thanks
Well it has to be changed in the code
but its easy..
in showimage.php change the template.. and cache the new template..

Code:
Content visible to verified customers only.
example:
Code:
Content visible to verified customers only.
Then you add 'picturecomment_message' to the cached templates on top

.. if you test you will not see any thing..

because there are still 2 things todo..
1. adapt the variables..
so in the code the main var is nomore $post['xxx'] but $message['xxxx']
and some other little tweaks...
2. and you need the css.. so you have to include the picturecomment_css tempate at the top of the page and cache it..

Its about 1 hour of intense work..
If there is general interest.. i will post a how to...
but it is only a temporary solution.. because it will be obsolete when vbulletin 4.0 will come out..
So i think a gallery solution is better..
I will look into it and see if the creation of a gallery template would be better.. but its a question of time.. and i have none

Luc
Luciano is offline  
 


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
Logout vBulletin issue zivester Photopost Pro How Do I...? 1 June 4th, 2008 08:26 PM
Next image? No refresh? spiceman Photopost Pro How Do I...? 1 May 8th, 2008 07:48 AM
image display and counter problem Lionel Bugs From 1.0.0 10 April 1st, 2005 07:52 AM
Refresh or reload after image edit StewardManscat Bugs From 1.0.0 4 December 22nd, 2004 12:44 PM


All times are GMT -5. The time now is 11:16 AM.

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