Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-05-2001 Last Update: Never Installs: 29
 
No support by the author.

Update : Sept 6
-- Thanks to wajones who pointed out a couple of things, I updated the files.
-- 1. The icons in the top right corner, one of them was suppose to point to the user help file but it was renamed and I forgot to update the code.
-- 2. There was a header error in the admin panel, which was corrected by wajones... if future problems happens please tell me.

------end update.

Well everyone, I decided tonight to release this and just see what happens from there on. I got caught up in working on my multi-page profile for my site, and kind of forgot about this. Sorry I do that a lot, in which I am sure everyone does.

First off... please read all of the files that I have included in this, the Installation.txt file is something I slapped together at the last minute and probably needs proof read... but who cares. The Readme.txt file explains what all the files are, and has some other tidbit information.

The only things you will really need to upload is: upload.php, userhelp.html, vbuploadinstall.php and the images and image folder.

I tried to explain the best way to have it... is putting those three files in the root of your vb folder, then just upload the images folder, which will create a sub folder inside that for the two image icons. Then you will have to create another folder like I suggested named "uploaded" meaning uploaded pictures. Then you will have to chmodd that to 777 and go from there. Then you will have to go through the upload.php file and change the variable preferences to fit your site. I tried to do the best possible explanation of how to do it through my comments throughout the files. So pay attention to those, also feel free to customize the userhelp file to fit your site and everything.

One thing I kind of fell short on.. was a cool profile page.. I mean I included a getinfo template that I used when I first made this, which was on vb2.0.1 and now that added like ignore and stuff so.. you might just want to create your own template up in your favorite web page builder or in notepad.. whatever. And go from there with the variables that I include.

Just pretty much go through the installation files and everything and follow the steps and you should not have any problems.. not saying you won't but... hopefully the F.A.Q. file will help with that.

Some might hate it, some might like it... if you hate it.. don't download it.. or install it.

To uninstall, follow the steps you took to install it and reverse them

ALWAYS BACKUP Before doing hacks... installations, changes, etc!

**Warning** Install at your own risk!

and... there is no place like home! Just remember that!

P.S. search these forums.. for screen shots and there is no demo as of right now... well there was but I Took it down

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 09-07-2001, 10:54 PM
BradC
Guest
 
Posts: n/a
Default

Not being an ass... but wajones got it to work, ToraTora! got it to work, and I have got it to work.. just fine.

That error usually happens when the right folder combination is not set. That message is pulled out of an if statement, which looks into the database for the image name.. like "1_photo.jpg" then after that it will go to a function that will check the path to the image folder, to see if there is a file that the name "1_photo.jpg" if it finds it, it goes to another function which displays it. If it can't find it, it gives you that error.

So there has to be a directory problem, cause it is updating to the database just fine, but not the server. So when you upload a photo and it displays that, check the very bottom of the page for an error. Also make sure that you have the uploaded folder set to 777.

So it should work... if you are having this problems PLEASE POST THAT YOU ARE!...

--- as a test check your server to see if there is anything uploaded into the folder on the server.

ALSO.. if you are trying to upload a .gif file, it will not be possible unless you uncomment that gif code, and comment the other line. Which I tried my best to explain in the comments and other files.
Reply With Quote
  #23  
Old 09-07-2001, 11:23 PM
maverick1236 maverick1236 is offline
 
Join Date: Oct 2001
Location: NY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no errors at bottom of page--just the "not found" error
Reply With Quote
  #24  
Old 09-08-2001, 05:52 AM
BradC
Guest
 
Posts: n/a
Default

ok... please download the new version... I was running through it with Sarge.. and we got it to work for him..

so just make sure that you have the correct files and folder paths set in the variables and it should rock and roll..
Reply With Quote
  #25  
Old 09-08-2001, 04:52 PM
JohnV
Guest
 
Posts: n/a
Default

Greetings All:

For those of you that are having problems getting the file to upload properly, here's a quick fix:

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

Replace With:
copy("$picture", "$path/$chacha");

That should take care of the problem!
Reply With Quote
  #26  
Old 09-08-2001, 04:58 PM
BradC
Guest
 
Posts: n/a
Default

I am no expert... but I know my works pretty well. But thanks this way might help for others using maybe a different version of php.

I got my way straight out of the php manual. So I would hope it would work, and it does for me and a few others.
Reply With Quote
  #27  
Old 09-08-2001, 06:00 PM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brad,

Couple other problems: In upload.php the following parameters do not show up in: $welcome =

$max_height = "200"; /* Max Image Height */
$max_width = "200"; /* Max Image Width */
$Size_Restrictions = "10000"; /* image size limit in bytes */
$Width_Restrictions = "200"; /* your width limit */
$Height_Restrictions = "200"; /* your height limit
Reply With Quote
  #28  
Old 09-08-2001, 06:35 PM
grumpy grumpy is offline
 
Join Date: Nov 2001
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! I've installed it on my test forum and it works perfectly. Can't wait to put it to use!
Reply With Quote
  #29  
Old 09-08-2001, 06:41 PM
BradC
Guest
 
Posts: n/a
Default

That is very interesting... cause it used to work.. now today it don't.. what in the world.

-- update

I have tried different combinations... with no luck yet.

The best thing I can say to do.. is to take those variables out of that welcome line and just put in the info you want.. like 430 for height and width etc.. that way it will show up for now.
Reply With Quote
  #30  
Old 09-08-2001, 07:19 PM
JohnV
Guest
 
Posts: n/a
Default

Greetings

The way you had it before relied on an external program, which was called as a system function. The method I have above uses php's build in copy function.

So, anyone using windows nt, 2000, etc. etc. or any other OS that doesn't have the cp function built in, will be able to use the method above.

You might want to change it in your base code as well, since calling external system functions from PHP can lead to security problems on some OSs (buffer over flows, escape characters, etc. etc.)
Reply With Quote
  #31  
Old 09-08-2001, 08:26 PM
BradC
Guest
 
Posts: n/a
Default

JohnV,

thanks for the heads up... that helps a lot to know others can help try to perfect the code for flawless installations for everyone

--- Also..

thanks to JohnV I updated the zip file with the changes. I went ahead and commented out the old way, and added the new way. So if you have problems with the new way... just look for that copy function.. and comment that line out and use the other line.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 05:19 AM.


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.04893 seconds
  • Memory Usage 2,290KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete