Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Aiheen aloitti: sbclansite.com - kesäkuu 04, 2006, 01:10:15 AP

Otsikko: Please Disable The Auto Fetch Feature of Packages and Stuff from This site .....
Kirjoitti: sbclansite.com - kesäkuu 04, 2006, 01:10:15 AP
Hello,
Can some admin/mod developer tell me how to disable the auto fetch feature of news and packages and make it mannual update option cause i  couldnt install a mod cause it just kept saying

Attempting to fetch the most popular and recent packages from www.simplemachines.org...

And which means smf site was down, so can someone tell me how to get rid of that option as to be frank its annoying and slows down my admin panel and whats more important this smf site is getting loaded cause of that and it will help improve smf sites speed also.
Otsikko: Re: Please Disable The Auto Fetch Feature of Packages and Stuff from This site .....
Kirjoitti: J. Williams - kesäkuu 04, 2006, 07:01:59 AP
Seofriendly,if it doesn't fetch the packages then you've got an problem with your theme and i agree to. I still recommend a feature which allows you to check for news & version checks :P
Otsikko: Re: Please Disable The Auto Fetch Feature of Packages and Stuff from This site .....
Kirjoitti: Gary - kesäkuu 04, 2006, 01:01:08 IP
Drawing stuff from Simplemachines.org occurs more than just the Package Manager. Its on the main page of the Admin Ceneter and the Themes page too.

-AwwLilMaggie
Otsikko: Re: Please Disable The Auto Fetch Feature of Packages and Stuff from This site .
Kirjoitti: sbclansite.com - kesäkuu 04, 2006, 03:51:21 IP
Lainaus käyttäjältä: AwwLilMaggie - kesäkuu 04, 2006, 01:01:08 IP
Drawing stuff from Simplemachines.org occurs more than just the Package Manager. Its on the main page of the Admin Ceneter and the Themes page too.

-AwwLilMaggie

And which files to edit to remove that auto fetch cause it causes my site load slow (well atleast admin panel) and is also causing  unnessary load on SMF site itself. Well if this feature cannot be put in next update can alteast some mod tell me which files to edit and which lines to comment out.
Otsikko: Re: Please Disable The Auto Fetch Feature of Packages and Stuff from This site .....
Kirjoitti: Grudge - kesäkuu 04, 2006, 04:06:39 IP
This is a reasonable request - I'll try add a easy way to turn this off.

EDIT: In 1.1 RC3 (i.e. the NEXT release) if you run:

REPLACE INTO smf_settings (variable, value) VALUES ('disable_smf_js', 1)


In phpMyAdmin it will disable them.
Otsikko: Re: Please Disable The Auto Fetch Feature of Packages and Stuff from This site .
Kirjoitti: sbclansite.com - kesäkuu 05, 2006, 05:17:34 IP
Lainaus käyttäjältä: Grudge - kesäkuu 04, 2006, 04:06:39 IP
This is a reasonable request - I'll try add a easy way to turn this off.

EDIT: In 1.1 RC3 (i.e. the NEXT release) if you run:

REPLACE INTO smf_settings (variable, value) VALUES ('disable_smf_js', 1)


In phpMyAdmin it will disable them.

Will that work for current rc2 also ?
Otsikko: Re: Please Disable The Auto Fetch Feature of Packages and Stuff from This site .....
Kirjoitti: Grudge - kesäkuu 05, 2006, 05:25:31 IP
No - as I only just added it.

To stop the main stuff now simply open Admin.template.php look for ".js" and remove any line that loads a .js file from simplemachines.org