vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

Black Tiger 03-22-2010 10:10 PM

Quote:

Thanks, Jelle, I have full shell access, what do I do? Or where should I start?
That's easy. First check which OS your server is running.
If it's a RedHat or Centos, the following command will be enough, executed as root:
yum install gd

If you are running Debian or Ubuntu, check your php version with php -v first. If you are running php5 you can use:
apt-get install php5-gd

Good luck!

Panzer Max 03-22-2010 10:23 PM

Thanks, Tiger, I am running Cent OS 5, so it's as simple as ssh-ing in as root and
yum install gd

http://mattiasgeniar.be/2008/09/17/i...hp5-on-centos/


EDIT: Not sure that worked... I got this.
Quote:

root@server2 [~]# yum install php-gd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirrors.netdna.com
* base: mirror.raystedman.net
* extras: mirrors.tummy.com
* updates: mirrors.netdna.com
addons | 951 B 00:00
base | 2.1 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
No package php-gd available.
Nothing to do
root@server2 [~]#


Maybe I need to update it?
for Red Hat Enterprise Linux or CentOS:
up2date php-gd

Then do:
service httpd restart

Source:
http://www.boutell.com/gd/faq.html

Black Tiger 03-22-2010 10:55 PM

Quote:

Thanks, Tiger, I am running Cent OS 5, so it's as simple as ssh-ing in as root and
yum install gd
Yes it is. So don't do a "yum install php-gd" because Centos won't understand this.
In Centos 5 it's just as I said.

yum install gd
or
yum install php-gd

nothing more. You can do a service httpd restart after that or /etc/rc.d/init.d/httpd restart but normally that is not even necessary.

Quote:

Maybe I need to update it?
for Red Hat Enterprise Linux or CentOS:
up2date php-gd
This is not correct for Centos. The up2date php-gd is for RedHat. And Centos is Redhat based, but Centos does not work with up2date but with yum, so just do what I said and you will be fine.:)

Trust me, I've got my own hosting firm so I know how Centos is working.;)

I just see this:
Quote:

Excluding Packages in global exclude list
Check your yum.conf for which packages are excluded, because it can be that php* is excluded.

If you have a control panel like DirectAdmin or Cpanel, you can better not do it via yum.
On Cpanel you can use easyapache.

Panzer Max 03-23-2010 02:07 AM

Ah, that's over my head :(

Black Tiger 03-23-2010 02:24 AM

It's easyer then you think. Just answer the questions to yourself and take the appropriate action:

1.) Are you using a control panel on your server. On most servers this can be either Cpanel, Directadmin or Plesk. Others are also possible, but not that much used as these 3.
a.) if the answer is yes, you probably don't want to use the yum install command, so goto b.)
If the answer is no, goto 2.)
b.) If you are using Cpanel, you have to let Cpanel compile your GD. If you don't know how this works, ask professional support.
Same goes for Directadmin and Plesk.

2.) Use the yum install php-gd command I gave you.
if that command does not work, use the yum install gd command I gave earlier.

3.) /etc/rc.d/init.d/httpd restart
or
/sbin/service httpd restart

I'm going to sleep now, it's 04.12 AM over here, if you want me to fix it for you, I would be glad to help you. Send me a pm and I fix it for you tomorrow afternoon.
Thats somewhere around 14.00-15.00 GMT+1, so in about 10 hours from now. I do need login credentials then.

Panzer Max 03-23-2010 04:33 AM

Thanks, Tiger. You're a good guy, very helpful. I found the part in cPanel to recompile and it is working now!

Black Tiger 03-23-2010 12:51 PM

You're welcome, glad to hear you got it working now!

Kadi 03-29-2010 02:18 PM

Thank you.

Another thing is many phrases are aligned to the left. Our forum is r-to-l.

Description, statistics, categories, File column...etc.

Which templates do I find these in?

Thanks.

Thorsten1981 04-01-2010 01:23 PM

Hi,

I have a (hopefully) short question. The ratings are as common in USA or England grades from A-F. In Germany we have 1-6. Where can I change the text for the ratings?

Regards
Thorsten

MrD 04-04-2010 05:06 PM

Hi,
@Thorsten: take a look in the Phrases :)

Thorsten1981 04-04-2010 10:24 PM

Hi MrD,

I searched in the Phrases e.g. for A+ but there comes no result. I now directly went to the Download phrases but I could only find the Entry "ecdownloads_rate_file" "Rate file" which is the default value for the rating. But I could not find the grades.

Regards
Thorsten

RS_Jelle 04-05-2010 06:11 AM

Quote:

Originally Posted by Thorsten1981 (Post 2015834)
Hi MrD,

I searched in the Phrases e.g. for A+ but there comes no result. I now directly went to the Download phrases but I could only find the Entry "ecdownloads_rate_file" "Rate file" which is the default value for the rating. But I could not find the grades.

Regards
Thorsten

It's hardcoded in downloads.php itself. v6 has a better system with stars.

Thorsten1981 04-05-2010 09:25 AM

Hi RS_Jelle,

thanks for the reply. I wil have a look on the downloads.php. v6 I cannot use because I have vb3.8 running and I do not plan to switch to vb4 in the next time.

Thanks
Thorsten

TheATHEiST 04-10-2010 08:36 AM

Sorry if this has already been asked but ive searched and couldnt find any reference to this at ll.

Where exactly is the link to the downloads page? I cant seem to find it or are we supposed to link to it ourselves somehow. I can access it via downloads.php but just cant see any link that has been added?

[EDIT] my bad, didnt enable the navbar link option in settings :o

dr.tawy 04-10-2010 05:39 PM

1 Attachment(s)
I have a problem guys

when i try to import files from FTP folder on same server

it does not give me the files inside this folder although i tried all the ways possible and i am not writing the folder path wrong as it was working fine couple days ago

dr.tawy 04-14-2010 08:09 AM

Regarding the Create New Thread Add-On

is there a way to apply a forum for a category including its subcategories or not ?

johkalhaups 04-24-2010 01:55 AM

Is there any other way to allow bigger files other than the .htaccess file?

Everytime I try, I get a 500 Internal Service Error.

I even downloaded a .htaccess from another directory and deleted everything in it and pasted the 2 lines (just in case I was doing something wrong with the creation process) and it still didnt work.

I know our forums are still using php4.

Could that have something to do with it?

patrick91 04-24-2010 06:08 PM

Maybe stupid quastion but have you this also in dutch product?(vB4)

Gr,

patrick

RS_Jelle 04-25-2010 01:04 PM

Quote:

Originally Posted by johkalhaups (Post 2026285)
Is there any other way to allow bigger files other than the .htaccess file?

Everytime I try, I get a 500 Internal Service Error.

I even downloaded a .htaccess from another directory and deleted everything in it and pasted the 2 lines (just in case I was doing something wrong with the creation process) and it still didnt work.

I know our forums are still using php4.

Could that have something to do with it?

You can also edit your php.ini (if you have the ability/permission to do that, shared hosts mostly don't have it). It's the same two lines, but without the php_value prefix.

If it still won't work, the best thing to do is to contact the support of your hosting company.

Quote:

Originally Posted by patrick91 (Post 2026632)
Maybe stupid quastion but have you this also in dutch product?(vB4)

Gr,

patrick

No, as I'm already running vB 4 on my own site (and I have a custom translation over there because we use a modifed version). It's not that much to translate :)

RS_Jelle 04-25-2010 02:58 PM

DownloadsII 5.1.2 is an immediate security release fixing a severe CSRF security issue. Abusing this issue can lead to the unwanted removal of files, images and comments. So I recommend to update your site as soon as possible.

Next to that some other issues were fixed like PHP warnings when you are running PHP 5.3.

DownloadsII 5.1.2 Changelog

Jelle
  • Backported CSRF security fix from the vB 4 release
  • Added permission check for Update Counters
  • Fixed PHP warnings when running PHP 5.3
  • Removed the imagecreatefrombmp() function. It doesn't exist.
  • Added permission check for rating submissions

KenDude 04-25-2010 04:22 PM

Quote:

Originally Posted by RS_Jelle (Post 2027085)
DownloadsII 5.1.2 is an immediate security release fixing a severe CSRF security issue. Abusing this issue can lead to the unwanted removal of files, images and comments. So I recommend to update your site as soon as possible.

Next to that some other issues were fixed like PHP warnings when you are running PHP 5.3.

DownloadsII 5.1.2 Changelog

Jelle
  • Backported CSRF security fix from the vB 4 release
  • Added permission check for Update Counters
  • Fixed PHP warnings when running PHP 5.3
  • Removed the imagecreatefrombmp() function. It doesn't exist.
  • Added permission check for rating submissions

I'm assuming that on 3.8.x this still works fine with Downloads II Create Thread and Downloads II Upload Rules add-ons?

Megatr0n 04-25-2010 04:36 PM

Jelle, can you confirm which files we have to upload or is it all?

I've made some changes to the hack that's why by editing some of the files.

RS_Jelle 04-25-2010 06:42 PM

Quote:

Originally Posted by KenDude (Post 2027128)
I'm assuming that on 3.8.x this still works fine with Downloads II Create Thread and Downloads II Upload Rules add-ons?

Normally they should. Though the rules add-on isn't an official one.

Quote:

Originally Posted by Megatr0n (Post 2027139)
Jelle, can you confirm which files we have to upload or is it all?

I've made some changes to the hack that's why by editing some of the files.

Search for "actionhash" in downloads.php and the product XML for the CSRF changes, which are the biggest deal. I suggest you to use a diff compare tool (like WinMerge), so you can compare the code of both versions easily.

dr.tawy 04-25-2010 10:42 PM

is there any way to override server side parameters with the stupid rule of maximum 2mb

i tried several times to edit .htaccess

i even talked to the hosting company said" we are offering hosting services not file uploading one so rules are not to be changed"

Any help ?

Black Tiger 04-25-2010 11:02 PM

Maybe you should search this tread a bit next time. This question and kindlike already passed numerous times. A mistake that newbies often make. But people don't like to answer the same thing over and over again.;)

If it does not work with a .htaccess file, try it with a php.ini file with the correct settings in your public_html directory.
If that does not work, you have to ask your hoster and it seems your hoster does not want to cooperate, in that case it's end of story, or change hosting company ofcourse.:)

brettxw 04-26-2010 12:29 AM

If we are upgrading and I upload the new files, will I lose all my settings for my current download section? And have to re add everything?

Nadeemjp 04-26-2010 02:35 AM

hello RS
as soon as i upgraded, the following error is occurring:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: downloads_navbar_button in [path]/includes/functions.php on line 3957

any cluie how to remove it?

Black Tiger 04-26-2010 10:35 AM

@brettxw: No ofcourse not, assuming you wil do the right procedure when uploading.
Upload all files to their correct contents, overwriting the old ones.
The import the product and set "overwrite" to "yes". Then all will be upgraded fine and your settings will not be changed.

dr.tawy 04-26-2010 11:54 AM

Quote:

Originally Posted by Black Tiger (Post 2027301)
Maybe you should search this tread a bit next time. This question and kindlike already passed numerous times. A mistake that newbies often make. But people don't like to answer the same thing over and over again.;)

If it does not work with a .htaccess file, try it with a php.ini file with the correct settings in your public_html directory.
If that does not work, you have to ask your hoster and it seems your hoster does not want to cooperate, in that case it's end of story, or change hosting company ofcourse.:)


and maybe you should actually read my post next time

if you have read it you would have understood that i already did all of these options even talked to the hosting company

Black Tiger 04-26-2010 07:57 PM

Quote:

and maybe you should actually read my post next time
Maybe you should actually read your own post again. You did not mention you already searched this thread. And if you did, you should have found the answer because it is in there several times.

Don't be annoyed, but try to learn (also about what the meaning of smileys is). If I wanted to make a snear at you, I would not have also answered your question like I did.

Black Tiger 04-26-2010 08:48 PM

Quote:

Originally Posted by dr.tawy
are you following ?

I am, but you aren't. I answered your question already in my first reply.;)

Nadeemjp 04-27-2010 08:02 AM

Quote:

Originally Posted by Nadeemjp (Post 2027367)
hello RS
as soon as i upgraded, the following error is occurring:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: downloads_navbar_button in [path]/includes/functions.php on line 3957

any cluie how to remove it?

actually, how stupid of me, i accidentally installed this version parallel to my vb4 version. now my site and admincp access is denied:d
i am sorry for this clumsyness, but could someone help me out please?

WEBDosser 04-27-2010 08:35 AM

disable the plugin system

Nadeemjp 04-28-2010 04:26 AM

thanks, yeah i did that and the problem is solved

TheInsaneManiac 04-28-2010 05:06 PM

Why does it always say:
Downloads: 4294967295

I don't have that many downloads.

hugh_ 05-02-2010 10:11 PM

Jelly,

I want to integrate the facebook like buttom into this mod at the level of the individual files. Any thoughts on the facebook code required to do it?

http://developers.facebook.com/docs/...e/plugins/like
https://vborg.vbsupport.ru/showthread.php?t=241053
https://vborg.vbsupport.ru/showpost....8&postcount=18

Thanks...

Hugh

RS_Jelle 05-03-2010 06:17 AM

Quote:

Originally Posted by TheInsaneManiac (Post 2028634)
Why does it always say:
Downloads: 4294967295

I don't have that many downloads.

It got corrupt somehow :)

Run this query using phpMyAdmin or so:
[sql]UPDATE dl_main SET `downloads` = 0[/sql]
(You need to add a table prefix if necessary.)

Quote:

Originally Posted by hugh_ (Post 2030807)
Jelly,

I want to integrate the facebook like buttom into this mod at the level of the individual files. Any thoughts on the facebook code required to do it?

http://developers.facebook.com/docs/...e/plugins/like
https://vborg.vbsupport.ru/showthread.php?t=241053
https://vborg.vbsupport.ru/showpost....8&postcount=18

Thanks...

Hugh

I haven't used Facebook integration yet, so I have no idea about it. I will probably look into it after vB 4 has a stable integration of it (currently, in vB 4.0.3, it's way to heavy, increasing your page load times a lot).

hugh_ 05-03-2010 06:43 AM

Quote:

Originally Posted by RS_Jelle (Post 2030971)
It got corrupt somehow :)

Run this query using phpMyAdmin or so:
[sql]UPDATE dl_main SET `downloads` = 0[/sql]
(You need to add a table prefix if necessary.)



I haven't used Facebook integration yet, so I have no idea about it. I will probably look into it after vB 4 has a stable integration of it (currently, in vB 4.0.3, it's way to heavy, increasing your page load times a lot).

Thanks...

Kadi 05-04-2010 10:52 AM

1 Attachment(s)
Hi,

How do I translate the circled parts in the attached image?

Thanks.

mpoorrajab 05-06-2010 03:22 AM

i recieve this err :
Quote:

Your submission could not be processed because a security token was invalid.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error
how can this solve ?


All times are GMT. The time now is 11:08 PM.

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.05872 seconds
  • Memory Usage 1,847KB
  • 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
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete