Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Please Register to get full access to the forums.
Post New Thread  Reply



#1   01-07-2007, 02:10 PM
geovadim will become famous soon enough Join Date: Jan 2007 Posts: 3
How to turn "View attachments" off?


I have a problem in my forums with a thread of over 10.000 posts. When pressing "view attachement" icon the servers goes very slow. (is the little "pin" icon from each category home)

How can I improove that? If it'a a server issue, how can I disable view attachemt option?
Quote   |  



#2   01-07-2007, 02:12 PM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 11,014 Location: Topeka, KS
Re: How to turn "View attachments" off?


http://forum.vbulletinsetup.com/f7/v...on-tips-2.html

4. Move Attachments to the File System

Stock vBulletin Attachments are stored in the Database. Large attachments or frequent viewing of them can cause a strain.

To move them to the File System, create an attachments directory above your public_html (at the same level as it.. /root/username/public_html | root/username/attachments) and CHMod it 777.

By placing it at this level, we prevent anyone from being able to access the attachments directly (ie: not through vBulletin).

Next, go to the AdminCP and expand the Attachments menu.
Click on Attachment Storage Type.
Move your attachments out of the database and into the file system.

Attachment Path: /home/*username*/attachments


5. Move Avatars and Profile Pics to the File System

As with the Attachments above, but the Avatars are on every post, so cause a burden to the server whenever a post is viewed.

To move them to the filesystem, chmod your forums/customavatars and forums/customprofilepics directories to 777.
Go to the AdminCP and expand the Avatars menu.
Click User Picture Storage Type.
Choose to Move Avatars and Profile Pics to the File System.

Avatar Path: /home/*username*/public_html/forums/customavatars

Avatar URL: /forums/customavatars

Profile Pic Path: /home/*username*/public_html/forums/customprofilepics

Profile Pic URL: /forums/customprofilepics

I'd suggest reading over that thread, there are many tips to help you out.
btw, I would close a thread with 10,00 replies.. it's a resource hog
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Be sure to check out our latest Contest for a Custom Style.


Add our Facebook Blog, Group and LinkedIn group.. Thanks
Stay up to date by installing our Tool Bar
Quote   |  



#3   01-07-2007, 02:15 PM
geovadim will become famous soon enough Join Date: Jan 2007 Posts: 3
Re: How to turn "View attachments" off?


Wow, that was fast...

I read that before posting, I tried but it didn't work. I created a folder named "attach" in /forum diretory. I gave it 777 permissions. When presing the "Go" button in order to move the attachements in thar directory I get the following error message:

Code:
We attempted to write a test file to /attach, but we were unsuccessful. Please verify that the web server has write/delete permissions for this path.
Quote   |  



#4   01-07-2007, 02:43 PM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 11,014 Location: Topeka, KS
Re: How to turn "View attachments" off?


make sure you use the correct path,
and you should place the folder Above your forum

in the same dir as your public_html is best
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Be sure to check out our latest Contest for a Custom Style.


Add our Facebook Blog, Group and LinkedIn group.. Thanks
Stay up to date by installing our Tool Bar
Quote   |  



#5   01-08-2007, 02:21 AM
eric is a jewel in the rougheric is a jewel in the rough Join Date: Oct 2006 Posts: 852 Location: France
Re: How to turn "View attachments" off?


you have to give the full path to that dir, not the relative path
if you're on a linux*cpanel server it'll be something

/home/accountname/attach/
--------------------
Eric / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Be sure to check out our latest Contest for a Custom Style.

Aeroclix -- DistantHost link directory
Domains hosting, server rent... -- Distant-Help link directory
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Thread Tools
Display Modes

 
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
Variety Of Summer Pictures- Jackson Brown song "That Girl Could Sing" lisaj General Discussion 2 08-28-2007 03:32 PM
Yahoo announced support for a new meta tag called "NOYDIR" News Search Engine News 0 03-21-2007 02:32 PM
CD "Search Engine Magic" reprint rights included News Forum Archives 0 01-06-2007 01:42 AM


All times are GMT -6. The time now is 03:12 PM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions
vBulletin Skins, Styles, Templates, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory