The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#52
|
|||
|
|||
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? |
#53
|
|||
|
|||
Quote:
|
#54
|
|||
|
|||
Quote:
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.. |
#55
|
|||
|
|||
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")."\";"); } 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 |
#56
|
||||
|
||||
Do You have this in the getinfo template?
F1F1F1 is firstaltcolor and DFDFDF is secondaltcolor PHP Code:
PHP Code:
|
#57
|
|||
|
|||
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> |
#58
|
||||
|
||||
Got this in member.php
PHP Code:
|
#59
|
|||
|
|||
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. |
#60
|
|||
|
|||
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).
|
#61
|
|||
|
|||
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"; |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|