vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [RELEASE vb2.0+] vB Photo Upload (https://vborg.vbsupport.ru/showthread.php?t=27475)

EJMack 02-23-2002 04:49 AM

i didn't, i tried uploading an image file.. thats what i got

EJMack 02-23-2002 05:16 AM

heres my file.....

EJMack 02-23-2002 09:14 PM

?

EJMack 02-25-2002 03:39 AM

?????

Tarion 02-25-2002 05:54 PM

if everyone of you hast the problem that the uploaded images get not the right CHMOD to be display here a way to get it work:

find in upload.php:

PHP Code:

exec("cp $picture $path/$chacha"); 

add after that:
PHP Code:

chmod("$path/$chacha",0777); 

and now it will work i had the same problem on my server an now it is fixed.

I hope you like this addition

KPI-Delivery 03-11-2002 11:16 PM

Hi Board..
I have uploaded this program and all the templates etc.
Thought I was ready... but when I executed the upload.php i got a Parse error:

parse error, expecting `','' or `';'' in /usr/local/plesk/apache/vhosts/myhost.com/httpdocs/userforums/upload.php on line 124

This is my line 124...

[PHP]echo"<TD bgcolor=\"$headcolor\" bordercolor=\"$headcolor\" bordercolorlight=\"$headcolor\" bordercolordark=\"$headcolor\" height=17><table border=0 width=100% cellspacing=0 cellpadding=0><tr><td width=33%><b><font face=\"$font\" color=\"$headcolortext\" size=$smallerfontsize>&nbsp;Photo Upload Information</font></b></td><td width=64%></td><td width=3%><a href="$cpurl/usercp.php?"><img border=0 src=images/photoalbum/upload_files/profile.gif width=15 height=14 alt=\"Click here to view your profile control panel.\"></a>&nbsp;&nbsp;<a href=userhelp.htm onclick=\'window.open(this.href,'name','225','225' ,'yes');return false\'><img border=0 src=images/photoalbum/upload_files/question.jpg width=18 height=19 alt=\"Click here to view a user manual, if you are not for sure about something.\"></a></td></tr></table";

I have downloaded a fresh copy... and still get an error on this line... Can anyone see what I cant see. ... The error :)

Thanks, this looks like a great peice of code.

ToraTora! 03-27-2002 04:59 AM

I go back to BradC's original hack.. his first, and it scares me.. at times me and him wonder how some even got it installed, or it actually worked.. lol :)

KPI, most likely it is not on that line, I mean it could be.. but it could be on the line above that. If you want, send your file.. and some brief info to Brad, and let him take a quick look at it.. I don't think anyone has listened to me when I say email him and he will help, but he will .. just might be a day or two before he checks his email :p.

BradC. - bradc@addictedusers.com
- icq = 3421297

if you don't want to.. to sum it up, that parse error is because of a missing or changed line of code, did you happen to mess with it at all.. like change some wording or what not.. ?

streamzone 04-21-2002 02:10 PM

ok have a question i have everything working except the paths are wrong too show the gifs in the CP and the main.photo.page were would i edit thos paths

thanks in advance

streamzone 04-21-2002 10:32 PM

can someone please help with the above help thanks

scsa20 05-05-2002 09:09 PM

the following just gives me a error:

PHP Code:

require($DOCUMENT_ROOT "/forums/global.php"); 

and the error is:

[quote]
Fatal error: Failed opening required '/home/scsa20/public_html/forums/forums/global.php' (include_path='') in /home/scsa20/public_html/forums/upload.php on line 15
[/qoute]

so I change it to:

PHP Code:

require('./global.php'); 

and that seems to work, but everytime you upload a picture, it refreshes to http://upload.php .... how can I make it stop doing that and just refresh it to forums.simon-soft.com/upload.php ??

thanks (and I know this is old)


All times are GMT. The time now is 06:05 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.01201 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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