Log in

View Full Version : This is doing my head in.. attachment views


TimberFloorAu
06-21-2008, 01:21 AM
Ok

1. i have asked vb.com
2. i have asked the designer of our template.
3. i have gone thru all code, disabled mods, retried, and nothing seems to help.

The issue is attachment views..

ours does not work.

Can someone shed some light on this, do we have a malfunction, a conflict... any suggestions please, Images attached

SEOvB
06-21-2008, 03:37 AM
I'm not sure what the screenshots are serving a purpose for other then showing the attachment name?

Dismounted
06-21-2008, 03:39 AM
Check that scheduled tasks are running properly.

TimberFloorAu
06-21-2008, 12:11 PM
I'm not sure what the screenshots are serving a purpose for other then showing the attachment name?

Read the thread !

Lynne
06-21-2008, 02:03 PM
Read the thread !
I'm sure he did... you say there is a problem with the attachment views. Your second image shows an attachment and the attachment name. The image shows nothing to do with attachment views... or is that problem that attachment views aren't being shown? Or???? If the problem is that the views aren't being shown, then I'd guess it is a template issue (or is the attachment 'text' from the code? I can't remember.) and you need to compare your current template to the jelsoft template (or if it's code, compare your changed pages to the original jelsoft pages).

The best thing you can do when asking for help here is to be as specific as possible when describing your problem. It might be obvious to you, but believe me, it isn't always obvious to us.

TimberFloorAu
06-22-2008, 12:10 AM
Apologies that comment was not meant to be sarcastic.

The issue is attachment views..

ours does not work.

We have checked in native vbulletin skin mode, and does not display. Could it be a php version issue?

By attachment views, I do mean view count.
Specifically, I am not aware of what code, is used to display the view count of an attachment, if I was I would happily mooch around native template, and custom template ( by native [bundled]) not uploaded, and compare code, and figure out a work around.

Simple reply from VB is, its a custom template issue.
Custom Template guy, suggests its a bug in 3.7.1.

So we have worked backwards, shutting down all products, back to basics, and also checked the code, in the zip/vb version... but cannot ascertain, where the trigger is for attachment view count.

Apologies for not being more concise in my explanation.

Dismounted
06-22-2008, 06:52 AM
Did you see my post?

TimberFloorAu
06-22-2008, 07:27 AM
Did you see my post?

Sure did Sir.

Ran the scheduled tasks

Attachment Views
This script updates attachment views once an hour if the delayed attachment views option is enabled. This is suggested for forums with a large number of attachments or users.

re ran it, made no difference ????

Grrrr, its not the most annoying thing, but its getting that way.

Zachery
06-22-2008, 08:43 AM
Where do you expect views to showup? Can you post a link to your thread? Can you provide a test login if guests cannot view the content?

TimberFloorAu
06-22-2008, 10:56 AM
Where do you expect views to showup?


lost me sorry ?

Zachery
06-22-2008, 06:51 PM
You're saying that you don't see any attachment views, but where are you expecting them to showup.

TimberFloorAu
06-22-2008, 08:04 PM
You're saying that you don't see any attachment views, but where are you expecting them to showup.

By attachment views, I do mean view count.

example:

[ Biggest Fish biggest_fish.png 456 views ]

Marco van Herwaarden
06-24-2008, 10:36 AM
To troubleshoot this, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login or guest issues, you will need to set this style as board default in the vBulletin Options.

TimberFloorAu
06-24-2008, 11:26 AM
To troubleshoot this, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login or guest issues, you will need to set this style as board default in the vBulletin Options.


Thankyou, will try this.

Ozzy

Jase2
06-24-2008, 12:01 PM
Hey,

Also make sure that you have this somewhere in your templates:

<!-- Do not remove $cronimage or your scheduled tasks will cease to function-->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

TimberFloorAu
06-25-2008, 04:38 AM
Hey,

Also make sure that you have this somewhere in your templates:

<!-- Do not remove $cronimage or your scheduled tasks will cease to function-->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->


Well. Created a new style, without parent.

Still no good.


Checked mate, its in our footer.

<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

Boofo
06-25-2008, 04:40 AM
That should be in the footer template already.

TimberFloorAu
06-25-2008, 04:41 AM
That should be in the footer template already.

LOL beat ya :)


Still cant fathom out why, we cannot see how many times a image has been viewed.

Im wondering if its an htaccess issue.

Dismounted
06-25-2008, 07:13 AM
Check the attachmentviews table, does it have anything in it?

TimberFloorAu
06-25-2008, 09:54 AM
Check the attachmentviews table, does it have anything in it?

Where do I find that? is it in the mysql

Dismounted
06-25-2008, 11:46 AM
Yes, it is in the database.

TimberFloorAu
06-25-2008, 08:25 PM
Yes, it is in the database.

This is what I have:

Marco van Herwaarden
06-26-2008, 08:36 AM
If he is using immediate view updates, then this table is not used at all.

TimberFloorAu
06-27-2008, 10:08 PM
Solved:
VBSEO was indeed the culprit.

If anyone else is having the issue: The solution is,

Try to disable "Rewrite Attachment Alt Tag Attribute" option in vBSEO CP (click "+" in URL rewrite section to expand options).