The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
attachment views, subscriptions and wysiwyg problems
Hi
There is a problem in my forum with the attachment views, the attachments names and size appear normally but the attachments view is always 0, never changes what ever you do. One explanation to that can be that I have a translated forum (not English). This is how it looks on my forum: File.zip (687.4 kb,views 0) Can some one tell me the name of the phrase to find and fix and tell me how it should actually be. another problem I am facing is that I don't know how to turn on all the members subscription together, same goes for switching their message box editor to wysiwyg. Thank you. |
#2
|
|||
|
|||
1. After u click on the image to view the full attachment, the view doesnt change by one number?
Just viewing the attachment in the post isnt going to change the views on it as far as i know. 2. Admincp --> Execute SQL Query --> Select ur option to change it from the drop menu. |
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
Highlight the postbit_attachment template and then click view original.
That will give you the original coding you asked for. |
#5
|
|||
|
|||
Code:
<tr> <td><img class="inlineimg" src="$stylevar[imgdir_attach]/$attachment[attachmentextension].gif" alt="<phrase 1="$attachment[attachmentextension]">$vbphrase[file_type_x]</phrase>" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>>$attachment[filename]</a> ($attachment[filesize]<if condition="$show['views']">, <phrase 1="$attachment[counter]">$vbphrase[x_views]</phrase></if>)</td> </tr> |
#6
|
|||
|
|||
That is the correct coding.
You can try this. Admin CP -> vBulletin Options -> Server Settings and Optimization Options -> Update Attachment Views Immediately -> Yes |
#7
|
|||
|
|||
and I have checked the translation, there is nothing wrong with it, what can the problem be?
why doesn't an attachment views/downloads number change from 0 after I download it? Quote:
_____ Updated: works perfectly, thanks a lot man |
#8
|
|||
|
|||
Yes, but that isnt the way to fix it either, doing it that way on a forum with large attachment use, could cause your server load issues.
Check your crons, sounds like they are not working or you have removed them or changed something in your footer template that has screwed them up. Also note, the views wont change immediately, they are in a cron for normal updating. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|