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
  #52  
Old 09-11-2001, 06:57 PM
Nemesis77 Nemesis77 is offline
 
Join Date: Nov 2001
Location: canada
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting this error now

Cannot redeclare stripslashesarray() in /usr/local/httpd/htdocs/TheDaene2/admin/global.php on line 5

<?php
if (isset($explain)) {
$showqueries=1;
}
if (isset($showqueries)) { <---Line 5
$pagestarttime=microtime();
}

This is the first time i've had probs installing a hack. please help.

Edit: I just removed the code that was suppose to be added to the User.php file and now when i click the link in the admin CP I get the screen that is supposed to come up listing all the members and showing the photos they have uploaded, but not showing photos casue no one has uplaoded any. This is weird. Where is the link on the board supposed to be after this hack is install Successfully? in the User CP under Profile?
Reply With Quote
  #53  
Old 09-12-2001, 01:51 AM
BradC
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Reeve of Shinra
I cant figure out what it might be ... unless its my ip but thats not been a factor before...
It sounds more like you did not upload and run the vbuploadinstall.php file to me.
Reply With Quote
  #54  
Old 09-12-2001, 01:54 AM
BradC
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Nemesis77
Edit: I just removed the code that was suppose to be added to the User.php file and now when i click the link in the admin CP I get the screen that is supposed to come up listing all the members and showing the photos they have uploaded, but not showing photos casue no one has uplaoded any. This is weird. Where is the link on the board supposed to be after this hack is install Successfully? in the User CP under Profile?
I have never got the error that you got... nor do I think it is because of the hack unless something was not installed.. or missed.. but that is strickly my opinion.

And yes in the user cp, is where you can put the upload script... that is where I put it or you can put it wherever you want.

Simple go into your usercpnav template file and add a link to it..
Reply With Quote
  #55  
Old 09-14-2001, 08:03 AM
numerodix
Guest
 
Posts: n/a
Default

I just installed the upload hack last night and I can't get it to work properly. Uplading from the CP is ok, viewing them is okay. The pictures come up in the right dir and all. The problem is in the user profile. The photo desc comes up alright, but not the pic itself:
http://www.juventuz.com/forum2/membe...tinfo&userid=3

I followed the instructions and there seems to be a problem right about here:

Code:
  if ($userinfo[picture_name] !="") {
    eval("\$picture_name = \"".gettemplate("photo_show")."\";");
  } else {
    $userinfo[picture_name]=$userinfo[picture_name];
    eval("\$picture_name = \"".gettemplate("photo_unknown")."\";");
  }
What happens is that $picture_name in the getinfo template seems to remain empty. Instead of displaying photo_show or photo_unknown it doesn't display anything. There is nothing at all in the html code where that is supposed to come up.

The reason for all that could possibly be in the upload.php file itself, leaving the variable empty. I may be completely off course, trying to reason despite my ignorance of php and mysql.

Upload is at:
http://www.juventuz.com/forum2/upload.php
Reply With Quote
  #56  
Old 09-14-2001, 10:37 AM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do You have this in the getinfo template?
F1F1F1 is firstaltcolor and DFDFDF is secondaltcolor
PHP Code:
<tr>
    <
td bgcolor="#F1F1F1"><normalfont></normalfont><b>$userinfo[username]'s
      Photo</b></td>
    <td bgcolor="#F1F1F1"><normalfont>$picture_name<br><br>$userinfo[photodesc]</normalfont></td>
</tr> 
Should be right above this.
PHP Code:
<tr>
    <
td bgcolor="#DFDFDF"><normalfont><b>Date Registered:</b></normalfont></td>
    <
td bgcolor="#DFDFDF"><normalfont>$userinfo[datejoined]</normalfont></td>
</
tr
Reply With Quote
  #57  
Old 09-14-2001, 02:10 PM
numerodix
Guest
 
Posts: n/a
Default

I most certainly do:

Code:
<tr>
	<td bgcolor="#DFDFDF"><normalfont><b>$userinfo[username]'s
      Photo:</b></normalfont></td>
	<td bgcolor="#F1F1F1"><normalfont>$picture_name<br><br>$userinfo[photodesc]</normalfont></td>
</tr>
That is why I'm amazed it comes up empty. I made it work using <img src="path/$userinfo[picture_name]"> in the getinfo template but then a broken image comes up if a user doesn't have a photo.
Reply With Quote
  #58  
Old 09-14-2001, 02:29 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got this in member.php

PHP Code:
//* BradC's vB Photo Upload Script : Start
  // Photo Upload
  
if ($userinfo[picture_name] !="") {
    eval(
"\$picture_name = \"".gettemplate("photo_show")."\";");
  } else {
    
$userinfo[picture_name]=$userinfo[picture_name];
    eval(
"\$picture_name = \"".gettemplate("photo_unknown")."\";");
  }
  
// End Photo Upload
  // Photo Description
  
if ($userinfo[photodesc] !="") {
    eval(
"\$photodesc = \"".gettemplate("postbit_photodesc_unknown")."\";");
  } else {
    
$userinfo[photodesc]=$userinfo[photodesc];
  }
  
// End Photo Description
//* BradC's vB Photo Upload Script : Finish 
Reply With Quote
  #59  
Old 09-14-2001, 02:54 PM
BradC
Guest
 
Posts: n/a
Default

I am to busy at work right now to support you or anyone... because I am support in the life insurance business... and umm lets just say it is extra hectic.

But.. I will say.. please make sure you go through all of my files to make sure you add all the code and make all the necessary changes to work, cause without every single one of the steps being followed it will not work for you.
Reply With Quote
  #60  
Old 09-14-2001, 03:07 PM
numerodix
Guest
 
Posts: n/a
Default

Yes, of course I do, webhost. What I posted the first time was a part of that code as you can see. I followed all the steps as I said, except from the ones to give mods access to the pics (which are optional according to the hack guide).
Reply With Quote
  #61  
Old 09-14-2001, 03:57 PM
ToraTora! ToraTora! is offline
 
Join Date: Nov 2001
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My guess, is that you have entered the wrong path, or not created a folder for the picture to reside in.
Brads instructions were to create a folder, that was named appropriately, "uploads" inside your image directory.

So, if your user name is gumdrops, and your vb folder name is poster, and the folder that should be named "uploads" (for the uploaded pics) is indeed named uploads, this is the path, that should be entered into the area that asks for $path=

here we go..a example.

$path = "/home/gumdrops/public_html/poster/images/uploads";
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 02:24 AM.


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.09073 seconds
  • Memory Usage 2,317KB
  • 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
  • (2)bbcode_code
  • (3)bbcode_php
  • (2)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
  • (4)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