php forum
php mysql forum
php mysql smarty
 
Page 8 of 10 < 1 2 ... 6 7 8 9 10 >
Topic Options
#203091 - 05/18/05 08:06 PM Re: [6.7] [beta] UBB.Uploader
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio

   Re: [6.7] [beta] UBB.Uploader to Del.icio.us Add to del.icio.us
  Digg Re: [6.7] [beta] UBB.Uploader Digg it
I thought I did, but I don't know where my copy went. I even tried web.archive.org, google, nothing.

However, the ubbdev database has the multihacks for the hacks. Which I believe has a text export, if your not a big fan of MH.

[6.1.x] ELY_M\'s Upload
[6.2.1] ELY_M\'s Upload
[6.3] ELY_M\'s Upload

I found nothing to mention freeTV's version, but if I remember correctly, all he did was port ely_m's version.

Top
#203092 - 05/18/05 09:34 PM Re: [6.7] [beta] UBB.Uploader
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 391
Loc: Toronto
I never thought to look for MH. and 6.3.1 was what I was looking for.

However I never used Multihack before, how do I extract a text file from a Mh file?

Thanks for your help Brett.

Felix

Top
#203093 - 05/19/05 01:31 AM Re: [6.7] [beta] UBB.Uploader
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25427
Loc: Texas
install multihack (takes <2 minutes), and there's an option to export the text file for whatever .mhp you have smile

Multihack only takes a few minutes to install any mod if you already have it installed tho smile
_________________________
- Allen wavey
- What Drives You?

Top
#203094 - 05/19/05 09:51 AM Re: [6.7] [beta] UBB.Uploader
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 391
Loc: Toronto
I tried last night and couldnt get it. I must be doing something wrong, I am not familiar with MH.

You had a tutorial somewhere about using it, cant find it, do you know where it is?

Thanks Allen

Top
#203095 - 05/19/05 10:22 AM Re: [6.7] [beta] UBB.Uploader
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25427
Loc: Texas
It's in the 'reviews' section of the db smile
_________________________
- Allen wavey
- What Drives You?

Top
#203096 - 05/20/05 11:38 AM Re: [6.7] [beta] UBB.Uploader
Alan Thompson Offline
Junior Member

Registered: 08/19/04
Posts: 14
Loc: Todos Santos, Mexico
Can anyone answer my question from March 5th? I'm still dealing with this problem:

Quote:
quote:
Before I start scouring my web site, is this a particular temp folder within the cgi-bin, or somewhere in the ubb folder? Or is it the temp folder somewhere on the server out of my reach?
I rechecked all my files to make sure I didn't overwrite anything and the upload Mods are all still there.

Here is the error we're getting upon attempting uploads:

_________________________
The Chinese Shar-Pei Forums
http://www.sharpeiforums.com

Top
#203097 - 05/20/05 01:54 PM Re: [6.7] [beta] UBB.Uploader
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25427
Loc: Texas
It's probably a question you'll need to ask the server admins about. I ran a windows server for quite a few years, but don't remember setting a temp directory. It's quite possible the perl install uses the windows temp directory during an upload, again, the server admins should have an idea.
_________________________
- Allen wavey
- What Drives You?

Top
#203098 - 05/20/05 06:55 PM Re: [6.7] [beta] UBB.Uploader
Alan Thompson Offline
Junior Member

Registered: 08/19/04
Posts: 14
Loc: Todos Santos, Mexico
Thanks, Allen,

I put this again to yet another server admin and this time they fixed the problem. Of course, they never say what the problem was but it must have been a permissions issue at the root level beyond my reach.
_________________________
The Chinese Shar-Pei Forums
http://www.sharpeiforums.com

Top
#203099 - 05/21/05 07:43 AM Re: [6.7] [beta] UBB.Uploader
Burak Offline
Addict

Registered: 05/29/00
Posts: 1820
Loc: Istanbul, Turkey
Alternatively, you can alter the temp directory that CGI.pm uses:

Code:
my $temp_dir = ".";
$CGITempFile::TMPDIRECTORY = $ENV{TMPDIR} = $temp_dir if -d $temp_dir and -w _;
But note that this is not strictly tested (I used it in an earlier code of mine).

Also see the -private_tempfiles pragma...
_________________________
one bytecode to rule them all

Top
#203100 - 05/21/05 09:21 AM Re: [6.7] [beta] UBB.Uploader
Alan Thompson Offline
Junior Member

Registered: 08/19/04
Posts: 14
Loc: Todos Santos, Mexico
Thanks, All,

I want to share some "enhancements." Our Forum Members are fairly unsophisticated so I need to make everything as simple as possible. Since our Members like to share image files only, I made some modifications to make it a no brainer to get the image links into posts.

Here is a simple mod to vars_wordlets.cgi to make a clickable link within the results page that will paste the link into the message window using JavaScript:

Find this line in the Upload Mod for vars_wordlets.cgi:

Code:
q!upload-_-up_success! => q!The file you uploaded was successful.  You can access it by clicking <a href="%%LINK%%" target="_new">here</a>.
You may also copy the following statement to use the hyperlink in your posts.

[url]%%LINK%%[/url]

<a href="%%BACK%%">Click here to upload more files</a> or <a href="%%MANAGER%%">Click here to manage your uploaded files</a>!,
Replace with the following:
Code:
q!upload-_-up_success! => q!The file you uploaded was successful.  You can access it by clicking <a href="%%LINK%%" target="_new">here</a>.
Simply click the link below to paste it into your post (you can also copy and paste it).

<a href="javascript:void(0)" onclick="window.opener.insertAtCaret(window.opener.document.replier.message, ' [IMG]%%LINK%%[/IMG] '); window.focus();">[IMG]%%LINK%%[/IMG]</a>

<a href="%%BACK%%">Click here to upload more files</a> or <a href="%%MANAGER%%">Click here to manage your uploaded files</a>!,
_________________________
The Chinese Shar-Pei Forums
http://www.sharpeiforums.com

Top
#203101 - 05/21/05 11:04 PM Re: [6.7] [beta] UBB.Uploader
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25427
Loc: Texas
Glad you got it working and thanks for the code snippet smile
_________________________
- Allen wavey
- What Drives You?

Top
#203102 - 05/24/05 03:59 PM Re: [6.7] [beta] UBB.Uploader
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 685
Quote:
Originally posted by Ian Spence:

open ultimatebb.cgi
Check the first line, and copy it

(the one that is something like #!usr/vkah)

take that line and paste it at the top of ubb_upload.cgi, replacing the line that looks similar to it


Hello,

I have changed the ubb_upload.cgi but I get the same error!

Premature end of script headers: ubb_upload.cgi

Can someone have a look at my board?

http://www.time-talk.de

Thanks
d-talk
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#203103 - 05/24/05 06:34 PM Re: [6.7] [beta] UBB.Uploader
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 391
Loc: Toronto
Quote:
Originally posted by AllenAyres:

install multihack (takes <2 minutes), and there's an option to export the text file for whatever .mhp you have smile

Multihack only takes a few minutes to install any mod if you already have it installed tho smile


why bother? you already did that! wink
http://www.ubbdev.com/ubb/upload/00000494/elym_upload.zip

Thanks Allen
smile

Top
#203104 - 08/30/05 09:07 PM Re: [6.7] [beta] UBB.Uploader
gsmaster Offline
Junior Member

Registered: 01/10/03
Posts: 16
i need some help... after installing this mod it gives me a internal server error when clicking "upload file form" popup window....

any idea?
thank you

Top
#203105 - 08/31/05 03:41 AM Re: [6.7] [beta] UBB.Uploader
gsmaster Offline
Junior Member

Registered: 01/10/03
Posts: 16
problem solved... was the reference to directory of vars_config at ubb_upload.cgi was not correct.
thanks its now working

Top
#203106 - 08/31/05 09:51 AM Re: [6.7] [beta] UBB.Uploader
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25427
Loc: Texas
oops, glad you got it worked out smile
_________________________
- Allen wavey
- What Drives You?

Top
#203107 - 12/09/05 11:48 AM Re: [6.7] [beta] UBB.Uploader
elzool Offline
Junior Member

Registered: 12/09/05
Posts: 8
With all the different changes to the file, is the link in the first post the right one to use?

Installing on a linux box using a virgin 6.7.3 installed yesterday. Anything to watch out for?

thanks,
elz

Top
#203108 - 12/09/05 06:36 PM Re: [6.7] [beta] UBB.Uploader
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Nope, the link in the first post is the newest version.

Top
#203109 - 12/12/05 02:01 AM Re: [6.7] [beta] UBB.Uploader
twslex Offline
Member

Registered: 06/13/02
Posts: 100
Installed this version without the megamod hack onto 6.7.3. on a w2k3 server.

Seems to work fine, although in case of no megamod several lines need to be removed.

A few thinks already spoken about are not correct in the install.txt

Code:
*********************************************************************************
*	MOD NAME: UBB.Uploader							*
*********************************************************************************
*    DESCRIPTION: Lets users upload files. Allowed files are choosable from CP.	*
*    	    DEMO: http://www.pavioni.com/ubb/ultimatebb.php      	     	*
*	           username: ubbtest   password: test                           *
*									     	*
*********************************************************************************
*     CREATED BY: Brett								*
*           DATE: 05/04/04                                                 	*
*        VERSION: version 3.0		                                    	*
*        CREDITS: Allen Ayres, LK and freeTV, And of course Ely_M :)		*
*										*
*********************************************************************************
*********************************************************************************
*   REQUIREMENTS: Full License			           			*
*  COMPATABILITY: works with v6.7x, v6.6?					*
*********************************************************************************
*    FILES ADDED: ubb_upload.cgi						*
* FILES MODIFIED: cp2_vars.cgi, cp2_lib.cgi, cp2_membermanage.cgi, ubb_lib.cgi	*
*                 vars_wordlets_cp2.cgi, vars_wordlets.cgi, cp2_forums2.cgi,	*
*                 cp2_forumedit.pl, cp2_editprofile.pl,	          *
*                 public_edit_post.pl, public_new_reply_form.pl,		*
*		  public_new_topic_form.pl, public_pm_form.pl			*
*		  public_topic_page.pl, public_avatar_select.pl			*
*********************************************************************************
*     DISCLAIMER: By using this modification, the user implicitly agrees 	*
*		  that they are willingly modifying any and all files at 	*
*		  their own risk.  Should any errors occur either as a 		*
*		  direct or indirect result of said modifications the user 	*
*		  agrees not to hold Infopop Corporation or any of the 		*
		  individuals listed accountable.                            	*
*                                                                            	*
*                                                                            	*
*    IN OTHER WORDS: PLEASE MAKE BACKUP COPIES OF EVERY FILE YOU PLAN TO     	*
*                      MODIFY PRIOR TO MODIFICATION!!                        	*
*                                                                            	*
*                                                                            	*
*     FOR MORE TIPS AND TRICKS FOR USE WITH THE ULTIMATE BULLETIN BOARD      	*
*                            PLEASE US AT VISIT:                             	*
*                                                                            	*
*                           http://www.ubbdev.com/                           	*
*                                                                            	*
*********************************************************************************
*********************************************************************************

########################################################
###Open cp2_vars.cgi
########################################################

########
# find #
########


		&Template($vars_wordlets_cp2{"vars_config-_-enableaccel-description"}, {});


#############
# add below #
#############

	use vars qw($UPLOADSUB);
	$UPLOADSUB = sub {
		no strict;
		my $r = ""; # deja vu
		foreach(qw(administrators moderators senior_members junior_members)) {
			next if($_ eq 'megamoderators' && !&FileExists("$vars_config{VariablesPath}/vars_megamods.cgi"));
			$vars_misc{"upload_limit_$_"}	&#0124;&#0124;= '15000';

			my $check1 = ($vars_misc{"upload_$_"}		eq 1 ? ' checked="checked"' : '');
			my $check2 = ($vars_misc{"upload_avatar_$_"}	eq 1 ? ' checked="checked"' : '');

			$r .= qq~
<tr>
	<td style="border-right: 1px dotted black">
		$vars_wordlets_cp2{"generics-$_"}
	</td>

	<td>
		<span class="autorow-title">
			<input type="checkbox" name="vars_misc::upload_$_" value="1"$check1 />
		</span>
	</td>

	<td>
		<span class="autorow-title">
			<input type="checkbox" name="vars_misc::upload_avatar_$_" value="1"$check2 />
		</span>
	</td>

	<td>
		<span class="autorow-title">
			<input type="text" name="vars_misc::upload_limit_$_" value="$vars_misc{"upload_limit_$_"}" />
		</span>
	</td>

	<td>
		<span class="autorow-title">
			<input type="text" name="vars_misc::upload_filelimit_$_" value="$vars_misc{"upload_filelimit_$_"}" />
		</span>
	</td>
</tr>~}
	return $r};



########
# find #
########

				vars_misc::FloodCheckSpan
			)],


#############
# add below #
#############

			{
				type => "header",
				level => 2,
				title => $vars_wordlets_cp2{'upload-_-title'},
			},[qw(
				vars_misc::upload
				vars_misc::upload_unreg
				vars_misc::upload_dir
				vars_misc::upload_url
				vars_misc::upload_extreg
				vars_misc::upload_extavt
				vars_misc::upload_administrators
				vars_misc::upload_avatar_administrators
				vars_misc::upload_limit_administrators
				vars_misc::upload_filelimit_administrators
				vars_misc::upload_moderators
				vars_misc::upload_avatar_moderators
				vars_misc::upload_limit_moderators
				vars_misc::upload_filelimit_moderators
				vars_misc::upload_senior_members
				vars_misc::upload_avatar_senior_members
				vars_misc::upload_limit_senior_members
				vars_misc::upload_filelimit_senior_members
				vars_misc::upload_junior_members
				vars_misc::upload_avatar_junior_members
				vars_misc::upload_limit_junior_members
				vars_misc::upload_filelimit_junior_members
			)], {
					type => 'header',
					level => 2,
					title => "Upload Permissions",
					}, {
					type => 'raw',
					content => qq~
<tr bgcolor="#F1F1DB">
<td width="50%" valign="top" class="paddingtop paddingbottom autorow" align="left" colspan="2">


<table width="100%" cellpadding="4" cellspacing="2" border="0">

<tr style="border-bottom: 1px dotted black">
	<td style="border-right: 1px dotted black"></td>

	<td>
		<span class="autorow-title">
			$vars_wordlets_cp2{'upload-_-titlebar-allow'}
		</span>
	</td>

	<td>
		<span class="autorow-title">
			$vars_wordlets_cp2{'upload-_-titlebar-custom'}
		</span>
	</td>

	<td>
		<span class="autorow-title">
			$vars_wordlets_cp2{'upload-_-titlebar-limit'}
		</span>
	</td>

	<td>
		<span class="autorow-title">
			$vars_wordlets_cp2{'upload-_-titlebar-filelimit'}
		</span>
	</td>
</tr>~
			}, {
				type => 'raw',
				content => &$UPLOADSUB
			}, {
				type => 'raw',
				content => qq~</table></td></tr>~
			},


########
# find #
########


	}; # end return

} # end define_vars_misc



#############
# add above #
#############


		upload => {
			type => "checkbox",
			values => [qw(yes no)],
			default => "yes",
		},
		upload_unreg => {
			type => "checkbox",
			values => [qw(yes no)],
			default => "yes",
		},
		upload_dir => {
			type => "text",
			length => 50,
			maxlength => 100,
			default => "15",
		},
		upload_url => {
			type => "text",
			length => 50,
			maxlength => 100,
			default => "15",
		},
		upload_extreg => {
			type => "text",
			length => 50,
			maxlength => 100,
			default => "15",
		},
		upload_extavt => {
			type => "text",
			length => 50,
			maxlength => 100,
			default => "15",
		},

		q!upload_administrators! => { type => "checkbox", private => 1, req => 0,  },
		q!upload_avatar_administrators! => { type => "checkbox", private => 1, req => 0, },
		q!upload_limit_administrators! => { type => "text", private => 1, req => 0, },
		q!upload_filelimit_administrators! => { type => "text", private => 1, req => 0, },

		q!upload_moderators! => { type => "checkbox", private => 1, req => 0, },
		q!upload_avatar_moderators! => { type => "checkbox", private => 1, req => 0, },
		q!upload_limit_moderators! => { type => "text", private => 1, req => -1, },
		q!upload_filelimit_moderators! => { type => "text", private => 1, req => -1, },

		q!upload_senior_members! => { type => "checkbox", private => 1, req => 0, },
		q!upload_avatar_senior_members! => { type => "checkbox", private => 1, req => 0, },
		q!upload_limit_senior_members! => { type => "text", private => 1, req => -1, },
		q!upload_filelimit_senior_members! => { type => "text", private => 1, req => -1, },

		q!upload_junior_members! => { type => "checkbox", private => 1, req => 0, },
		q!upload_avatar_junior_members! => { type => "checkbox", private => 1, req => 0, },
		q!upload_limit_junior_members! => { type => "text", private => 1, req => -1, },
		q!upload_filelimit_junior_members! => { type => "text", private => 1, req => -1, },






########################################################
###Open vars_wordlets_cp2.cgi
########################################################

##########
# add in #
##########

	q!vars_misc-_-upload! => q!Allow uploading?!,
	q!vars_misc-_-upload-description! => q!Allow users on your board to upload files!,
	q!vars_misc-_-upload_unreg! => q!Allow uploads by unregistered users?!,
	q!vars_misc-_-upload_unreg-description! => q!Do you want allow unregistered user to upload their files?  It can pose security risk, if you wish to allow this!,
	q!vars_misc-_-upload_dir! => q!Upload Path!,
	q!vars_misc-_-upload_dir-description! => q!Path to where files will be placed!,
	q!vars_misc-_-upload_url! => q!Upload URL!,
	q!vars_misc-_-upload_url-description! => q!The http link to the path where the files will be placed.!,
	q!vars_misc-_-upload_extreg! => q!Allowable Extentsions for Regular Files!,
	q!vars_misc-_-upload_extreg-description! => q!Seperate each extentsion with spaces.  For example, "zip txt tar.gz tar".!,
	q!vars_misc-_-upload_extavt! => q!Allowable Extentsions for Avatars!,
	q!vars_misc-_-upload_extavt-description! => q!Only these will be available for uploading custom avatars, you can seperate extenstion by a space.  Example: "gif jpeg jpg", without the quotes.!,
	q!upload-_-forum! => q!Groups Allowed To Upload!,
	q!upload-_-title! => q!Upload Settings!,
	q!upload-_-titlebar-allow! => q!Allow Uploads!,
	q!upload-_-titlebar-custom! => q!Allow Upload Avatars!,
	q!upload-_-titlebar-limit! => q!Maximum Size Of Upload!,
	q!upload-_-titlebar-filelimit! => q!Maximum # Of Files!,
	q!upload-_-profile! => q!Allowed to upload files!,
	q!upload-_-profile-description! => q!!,
	q!upload-_-profile-all! => q!Allow user to upload all the time. Ignore user group setting.!,
	q!upload-_-profile-no! => q!Never allow user to upload.!,
	q!upload-_-profile-reg! => q!Follow default user group rules.!,





########################################################
###Open vars_wordlets.cgi
########################################################

##########
# add in #
##########

	q!upload-_-link! => q!Upload File Form!,
	q!upload-_-form-title! => q!%%BBTITLE%% Upload Form!,
	q!upload-_-form-submit! => q!  Upload  !,
	q!upload-_-form-link! => q!Upload File!,
	q!upload-_-form-manager! => q!Upload Manager!,
	q!upload-_-manager-title! => q!%%BBTITLE%% Upload Manager!,
	q!upload-_-manager-delete! => q!Delete!,
	q!upload-_-manager-file! => q!Filename!,
	q!upload-_-manager-nofiles! => q!No files detected!,
	q!upload-_-bad_directory! => q!We apologize but either i can't create, look at, or write this to directory.  Please alert the administration about the '%%DIR%%' directory.!,
	q!upload-_-back_directory! => q!&raquo; Back 1 Directory!,
	q!upload-_-need_to_login! => q!You need to be logged in to upload here.  Please close this window, logged in then try again.!,
	q!upload-_-bad_status! => q!Unable to determine status. Please inform the board administrators about this error.!,
	q!upload-_-forum_deny! => q!File Uploading is not allowed in this forum.!,
	q!upload-_-full_deny! => q!You do not have permission to access this area.!,
	q!upload-_-invalid_ref! => q!Unable to parse your referer.  Are you sure you clicked on it through the forums?!,
	q!upload-_-no_ref! => q!Unable to detect referer.  You must click the upload link directly to upload files.!,
	q!upload-_-invalid_ext! => q!You are trying to upload something with an illegal extentsion.  The currently allowed are: %%FILE%%, and you tried to upload a %%EXT%% file(s).

<a href="javascript: void(history.back(-1))">Click here to go back.</a>!,
	q!upload-_-filesize_over! => q!The file you were trying to upload has exceeded the maximum of %%GOOD%% bytes.  We stopped the upload at %%BAD%% bytes.!,
	q!upload-_-up_success! => q!The file you uploaded was successful.  You can access it by clicking <a href="%%LINK%%" target="_new">here</a>.
You may also copy the following statement to use the hyperlink in your posts.

[url]%%LINK%%[/url]

<a href="%%BACK%%">Click here to upload more files</a> or <a href="%%MANAGER%%">Click here to manage your uploaded files</a>!,
	q!upload-_-cant_delete! => q!I was unable to delete the following file.  Please alert the administration.

%%FILE%%!,
	q!upload-_-at_limit! => q!You are currently at your limit to upload.  To upload anymore files, please delete some files out of your upload manager.


<a href="%%BACK%%">Click here for the upload manager</a>.!,
	q!upload-_-up_avtsuccess! => q!%%JS%%Avatar successfully uploaded.  Click <a href="javascript: void(ChangeAvatar())">Here</a> to load the url to the custom avatar field!,
	q!upload-_-custom_avatar! => q!Upload A Custom Avatar!,




########################################################
###Open cp2_lib.cgi
########################################################

########
# find #
########

			if($def->{private}) {

#############
# add below #
#############

				next VAR if($file eq "vars_misc");





########################################################
###Open cp2_forumedit.pl
########################################################


########
# find #
########

	# TODO - remove access


#############
# add below #
#############

	my $upload_list = {
		type => "radio",
		title => $vars_wordlets_cp2{'upload-_-forum'},
		name => "upload",
		options => @topic_options,
		class => "paddingtop paddingbottom",
	};

########
# find #
########

	$topic_select, $reply_select, $private_container,

################
# replace with:#
################

	$topic_select, $reply_select, $upload_list, $private_container,





########################################################
###Open cp2_forums.cgi
########################################################

########
# find #
########

	# Now, make sure no |^ got slipped through..


#############
# add above #
#############

	# Upload Hackmap
	$original[23] = $in{upload};


########
# find #
######## (all occurances of)

$vars_forums{$_} }[0 .. 17]

################
# replace with:#
################

$vars_forums{$_} }[0 .. 23]



########################################################
###Open ubb_lib.cgi
########################################################

########
# find #
########

		$vars_config{'MaxMemFields'} = 43;

################
# replace with:#
################

		$vars_config{'MaxMemFields'} = 71;    #total fields permitted in member file(this is a large number so it does not conflict with other hacks)


########
# find #
########

my @check = (split (/|^|/, $one))[0 .. 17];

################
# replace with:#
################

my @check = (split (/|^|/, $one))[0 .. 23];




########################################################
###Open cp2_editprofile.pl
########################################################

########
# find #
########

	]), &MakeComponentHTML([
		# Tab 3 - fields

#############
# add above #
#############

		{
			class => "autotop", # fix for stupid expandy problem
			type => "radio",
			name => "upload",
			title => $vars_wordlets_cp2{'upload-_-profile'},
			desc => $vars_wordlets_cp2{'upload-_-profile-description'},
			options => [
				{
					name => $vars_wordlets_cp2{'upload-_-profile-all'},
					value => 'all',
					selected => $profile[70] == "all" ? 1 : 0,
				},
				{
					name => $vars_wordlets_cp2{'upload-_-profile-reg'},
					value => 'reg',
					selected => $profile[70] =~ m/reg/ ? 1 : 0,
				},
				{
					name => $vars_wordlets_cp2{'upload-_-profile-no'},
					value => 'no',
					selected => $profile[70] !~ m/^(all|reg)$/ ? 1 : 0,
				},
			],
		},






########################################################
###Open cp2_membermanage.cgi
########################################################

########
# find #
########

	$profile->[32] = join("|", @bdi);


#############
# add below #
#############

	$profile->[70] = $in{upload};






########################################################
###Open public_avatar_select.pl
########################################################

########
# find #
########

$TBB_Popup



#############
# add below #
#############

<center>
<table width="95%"><tr>
<td align="right">
<font face="$vars_style{FontFace}" size="$vars_style{FDTextSize}">
<a href="javascript: void(0)" onclick="window.open('$vars_config{CGIURL}/ubb_upload.cgi?f=avatar', 'uploader', 'toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=no,status=no,width=570,height=350'); return false;"><b>$vars_wordlets{'upload-_-custom_avatar'}</b></a>
</font>
</td></tr></table>
</center>







########################################################
###Open public_edit_post.pl, public_new_reply_form.pl
### public_new_topic_form.pl, public_pm_form.pl
########################################################

########
# find #
########

$ubb_images_wording

#############
# add below #
#############



<a href="javascript: void(0)" onclick="window.open('$vars_config{CGIURL}/ubb_upload.cgi', 'uploader', 'toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=no,status=no,width=570,height=350'); return false;"><b>$vars_wordlets{'upload-_-link'}</b></a>






########################################################
###Open public_topic_page.pl
########################################################

########
# find #
########



$graem_list

#############
# add below #
#############



<a href="javascript: void(0)" onclick="window.open('$vars_config{CGIURL}/ubb_upload.cgi', 'uploader', 'toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=no,status=no,width=570,height=350'); return false;"><b>$vars_wordlets{'upload-_-link'}</b></a>


************************************************
* Okay, now upload all files and it should work.
just for y're knowledge.

Top
#203110 - 12/12/05 02:10 PM Re: [6.7] [beta] UBB.Uploader
elzool Offline
Junior Member

Registered: 12/09/05
Posts: 8
Ok, just made all the modifications and uploaded.

Few questions that I haven't seen answers to in these 11 pages.

After uploading ubb_upload.cgi, do I need to change the permissions of it? Right now, its at 644 and I have changed the path to Perl.

In the CP I have entered what I believe to be valid entries into Upload Settings and Upload Permissions, enabling every checkbox just in case and still receive an error of:

Form validation errors:

: You did not enter a value for this field
: You did not enter a value for this field

No idea what that means, I saw it referenced in this topic, but never an answer as to what to do with it.

The Upload File Form link appears now when I post something, but when I click it, I get an Error Code: 500 on the popup page.

Any thoughts?
What have I missed?

Thanks,
elz

Top
Page 8 of 10 < 1 2 ... 6 7 8 9 10 >


Moderator:  Charles, Gizmo 
Who's Online
0 Registered (), 39 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by Ian_W
Yesterday at 03:47 PM
What do you use to edit the files
by Ian_W
Yesterday at 03:33 PM
BeyondCompare v3.00
by Ian_W
Yesterday at 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
Yesterday at 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM