vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   This is doing my head in.. attachment views (https://vborg.vbsupport.ru/showthread.php?t=183115)

TimberFloorAu 06-21-2008 01:21 AM

This is doing my head in.. attachment views
 
1 Attachment(s)
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

Quote:

Originally Posted by FRDS (Post 1555130)
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

Quote:

Originally Posted by TimberFloorAu (Post 1555386)
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.

Quote:

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

Quote:

Originally Posted by Dismounted (Post 1555856)
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

Quote:

Originally Posted by Zachery (Post 1555902)
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

Quote:

Originally Posted by Zachery (Post 1556256)
You're saying that you don't see any attachment views, but where are you expecting them to showup.

Quote:

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

Quote:

Originally Posted by Marco van Herwaarden (Post 1557667)
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:

HTML Code:

<!-- 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

Quote:

Originally Posted by Jase2 (Post 1557710)
Hey,

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

HTML Code:

<!-- 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.

PHP Code:

<!-- 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

Quote:

Originally Posted by Boofo (Post 1558275)
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

Quote:

Originally Posted by Dismounted (Post 1558341)
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

1 Attachment(s)
Quote:

Originally Posted by Dismounted (Post 1558506)
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,

Quote:

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


All times are GMT. The time now is 03:21 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01243 seconds
  • Memory Usage 1,774KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete