Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #222  
Old 07-10-2002, 01:24 AM
fridayweb's Avatar
fridayweb fridayweb is offline
 
Join Date: Jun 2002
Location: F13 Headquarters
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All right guys, I've read through this whole thread, read the FAQ and everything, and I've tried to fix it myself. I come to you for help now. Everything works except for this one small problem:

Code:
Warning: Access denied for user: 'friday13f@fridaythe13thforum.com@jupiter.hostinggroup.com' (Using password: YES) 
in /home/virtual/site7/fst/var/www/html/upload.php on line 168
friday13f@fridaythe13thforum.com is the username and my server will only accept this, but when it adds @jupiter.hostinggroup.com to the end, it won't let me access it. I've tried to find a way to stop that from happening, but I believe it's in the mysql somewhere that I don't know how to get to. If anyone could help me out, it would be greatly appreciated. Thanks.
Reply With Quote
  #223  
Old 07-11-2002, 03:19 AM
dreamhost's Avatar
dreamhost dreamhost is offline
 
Join Date: Jun 2002
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i've tried everything i can think of, but when I run the script, I get no picture uploaded, but there are no errors shown either. I look into the /images/uploaded folder there is nothing there. It just shows the x box with no pic there, when right click it shows correct path.
PLEASE HELP, SPENT ABOUT 4 HRS TROUBLESHOOTING, MY BRAIN HURTS.....
sorry url is
http://connect.samstech.net/forums/m...nfo&userid=482

or http://connect.samstech.net/forums/upload.php
Reply With Quote
  #224  
Old 07-11-2002, 03:21 AM
dreamhost's Avatar
dreamhost dreamhost is offline
 
Join Date: Jun 2002
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also noticed that on this url
http://connect.samstech.net/forums/m...nfo&userid=482
the path to the missing picture isn't correct, it is missing the /forums before the /images tag

in the upload.php though missing pic location is correct. I even tried full path urls
Reply With Quote
  #225  
Old 07-16-2002, 01:03 AM
alanvo alanvo is offline
 
Join Date: Feb 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everything works great!! I even see the picture in my USERCP and everywhere else except the main_photogallery.php. Why is that?

I think that the upload.php didnt execute the query line that suppose to or something, can someone please help!
Reply With Quote
  #226  
Old 07-17-2002, 04:16 AM
Fuitad's Avatar
Fuitad Fuitad is offline
 
Join Date: Nov 2001
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you're like me, the only reason you'll use the control panel to play with pictures is to make sure nobody uploaded stupid stuff. I found it long and annoying to see the list of all the members so here's two lines you can add to this script to make it faster and one little line to make it easier.

On user.php:

find:

Code:
$users=$DB_site->query("SELECT user.userid,username,email,picture_name,photodesc,ipaddress,userfield.* FROM user,userfield WHERE $condition AND userfield.userid=user.userid ORDER BY $orderby $direction LIMIT $limitstart,$limitnumber");
and replace it with:

Code:
$users=$DB_site->query("SELECT user.userid,username,email,picture_name,photodesc,ipaddress,userfield.* FROM user,userfield WHERE $condition AND user.picture_name != '' AND userfield.userid=user.userid ORDER BY $orderby $direction LIMIT $limitstart,$limitnumber");
now find (it should be the line right under the one you just replaced):

Code:
$countusers=$DB_site->query_first("SELECT COUNT(*) AS users FROM user,userfield WHERE $condition AND userfield.userid=user.userid");
and replace it with:

Code:
$countusers=$DB_site->query_first("SELECT COUNT(*) AS users FROM user,userfield WHERE $condition AND user.picture_name != '' AND userfield.userid=user.userid");
To easily view the picture (without having to click edit and then view picture, do this:

find:

Code:
makelinkcode("<font type=verdana color=#3366cc>edit</font>","user.php?s=$session[sessionhash]&action=photosuploadedit&userid=$user[userid]").
and above it, add:

Code:
makelinkcode("<font type=verdana color=#3366cc>view</font>","../images/userpics/$user[picture_name]").
Obviously, you might need to modify this to fit your own image path.

Also, this will prevent you from manually adding pictures to users but hey, if you installed the script, they should be able to do it themselves... no?

Hope this help anybody...
Reply With Quote
  #227  
Old 07-22-2002, 07:51 PM
Fuitad's Avatar
Fuitad Fuitad is offline
 
Join Date: Nov 2001
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure you get the latest version, I fixed a little something I left in
admin/user.php.

Edit: Whoa, what the hell does that post does in this thread?
Reply With Quote
  #228  
Old 07-24-2002, 08:59 PM
Mr L Mr L is offline
 
Join Date: Jan 2002
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brad,

Firstly thank you very much for this hack, it is execellent. I have installed in on my board 2.2.6 and the members LOVE IT!

A couple of questions have come up, unfortunatly, I do not have the PHP skillset to fix this, otherwise I would like to.

Is it possible to add a "Photo" icon in the message information where their status and number of posts is, each time they post a message, to indicate if they have a photo. Clicking on it would launch it.

Also, is there any possibility of a PHP page much like Leasane's Award hack (showaward.php). This would list only the users that have photos and display the photo and the description.

Many thanks again, if anyone can help with any of the above I'd really appricate it, not just Brad. I am just directing this at him to give thanks to this hack.

Harvey.
Reply With Quote
  #229  
Old 07-27-2002, 10:03 PM
ToraTora! ToraTora! is offline
 
Join Date: Nov 2001
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by HLodder
Brad,

Firstly thank you very much for this hack, it is execellent. I have installed in on my board 2.2.6 and the members LOVE IT!

A couple of questions have come up, unfortunatly, I do not have the PHP skillset to fix this, otherwise I would like to.

Is it possible to add a "Photo" icon in the message information where their status and number of posts is, each time they post a message, to indicate if they have a photo. Clicking on it would launch it.

Also, is there any possibility of a PHP page much like Leasane's Award hack (showaward.php). This would list only the users that have photos and display the photo and the description.

Many thanks again, if anyone can help with any of the above I'd really appricate it, not just Brad. I am just directing this at him to give thanks to this hack.

Harvey.
Brad has yet to update this much.. well at all.. but as for the possibility of the icon in the postbit.. yes it should be in the zip, or I hate to say this.. through looking through this topic lol.. you should be able to find it.. if not email brad I am sure he has it laying around..

also look for webhost, cause I do believe he posted one of the icons..

As for the second.. it was only done in his latest stuff.. but yes it is possible... as for to get him to doing it, might be like pulling teeth..

bradc = bradc@addictedusers.com
Reply With Quote
  #230  
Old 08-06-2002, 08:31 PM
dadymac dadymac is offline
 
Join Date: Nov 2001
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, guys, if you are sure that everything is right, i bet you ANYTHING that its jsut that yoru server is running safe mode....

i moved from a working non safe mode server, to one with sm enabled, and 100x checked the paths, and it wont work....everything but writing the darn image file works...db, everything, just no uploading....yes..i chmod...my lil 3 year old sister can chmod...
Reply With Quote
  #231  
Old 08-29-2002, 04:50 PM
Tigga's Avatar
Tigga Tigga is offline
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,061
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to get this hack to work with safemode on? I had it installed on 3 different servers without a problem. Now I'm on a new server that has safemode turned on and can't get it to work. It will display the pictures already uploaded and everything seems to work fine except it won't actually upload the picture to the directory. Has anyone gotten this to work with safemode on?
Reply With Quote
Reply

Thread Tools

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 02:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04974 seconds
  • Memory Usage 2,315KB
  • 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
  • (7)bbcode_code
  • (1)bbcode_quote
  • (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
  • (10)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