vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Member Photo (https://vborg.vbsupport.ru/showthread.php?t=49565)

mackers8923 07-04-2003 10:52 PM

Wey Hey,

Tenpit you are a "Star" this hack is now working 100% for me and my members. If there is anything you need a hand with code or installing wise let me know. I owe you big style....

Thanks again

Velocd 07-06-2003 01:20 AM

If your host is too lazy to upgrade to GD2, I really suggest getting a new host. If you have GD installed, it also means you have an old PHP, for GD2 is shipped with PHP4.3 and above. Though, as I've found out, you must configure php.ini and uncomment the GD line in order to actually enable GD2 for PHP4.3 and greater.

For an inexpensive and incredibly reliable host, I recommend www.vervehosting.com, which offers latest GD, and always updates to the newest version of software.

Tenpit 07-06-2003 08:56 AM

Quote:

Today at 03:20 AM Velocd said this in Post #162
If your host is too lazy to upgrade to GD2, I really suggest getting a new host. If you have GD installed, it also means you have an old PHP, for GD2 is shipped with PHP4.3 and above. Though, as I've found out, you must configure php.ini and uncomment the GD line in order to actually enable GD2 for PHP4.3 and greater.

For an inexpensive and incredibly reliable host, I recommend www.vervehosting.com, which offers latest GD, and always updates to the newest version of software.

Problem is the hosts that use Ensim for their control panels. To retain full support from Ensim they cannot install php except in the form of Ensim patches and upgrades.

As of today, Ensim have still not released a patch to upgrade php with GD2 support.

joeboo 07-13-2003 08:31 PM

I keep getting this error:
Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/blackmag/public_html/forums/gdresize.php on line 5

And yes, i do have the latest GD Library.

BuffyWorld 07-14-2003 06:54 AM

I'm having alot of problems with people posting OTHER things in the Member Gallery. In the next release, if there is going to be one. Can you make it so a moderator/admin can remove a user's photo from the database.

And of course mod/admin to be able to add pictures for other users would be cool also.

Thank you.

Rebel38 07-19-2003 01:43 AM

Quote:

03-23-03 at 11:35 PM Steve123 said this in Post #79
Add Photo To Profile..

I dident add the approval system because i know i will never use it, but its easy to encode if someone needs it..

This is the first time ive modded a hack before, so dont scream at me if im doin it wrong :)

member.php

Just Before
PHP Code:

  
  
eval("dooutput(\"".gettemplate("getinfo")."\");");
  
}
    
// ############################### start aim message ############################### 

Add
PHP Code:

$checkphoto $DB_site->query_first("SELECT comments,visible FROM memberphoto WHERE userid='$userinfo[userid]'");
 
 if(
$checkphoto){
            
$profilephoto "<img src=\"memberpics/photo$userinfo[userid]_$userinfo[photonum].$userinfo[phototype]\">";
  
        } else {
            
$profilephoto "$userinfo[username] hasen't uploaded a photo yet.";
    }

    if(
$checkphoto['comments'] != ""){
        
$photomessage $checkphoto['comments'];     
    } 

Then in your getinfo Template put
Code:

$profilephoto<br> $photomessage
Where you want the photo to appear..

Hi, does anyone know how to make this piece of script pull the thumbnail pic instead of the full size pic in the user profile?
thanks guys
Rebel38

Cal Poly Forum 07-19-2003 06:21 PM

edit: I don't know why my forum categories have been duplicated (from two to FOUR) after this hack. :ermm:

Rebel38 07-23-2003 10:35 PM

bump....

pjgoncalves 07-24-2003 01:11 PM

Great hack! tks :)

I have a prob, when in usercp i click on 'Edit Photo' i get the page saying:

Approval Status:
When your photo becomes verified by an administrator, its status will be shown here. If your photo is disapproved, please check it for content to ensure it is appropriate.

In AdminCP i have 'Use Approval System' off.. what am i missing? :|

/edit

the last prob is solved, it was missing a template :D

Now i have another..

Fatal error: Call to undefined function: imagecreatefromjpeg() in /home-hosting/ultimate-accounts/sh.ultimate.pt/pg/public_html/vbb/gdresize.php on line 5


Any tip?

tks!

/edit

i hadnt support for jpeg, compiled with jpeg ad works now :banana:

Areku 07-24-2003 09:36 PM

COngrats Velocd, this hack rocks!

However it conflicts with the TODAY/YESTERDAY timestamp.

https://vborg.vbsupport.ru/showthrea...oday+yesterday



Can any1 help me sorting this out?


When any1 ups a pic, it displays: "added: today at,"

and it's pretty ugly.

Since I use this timestamp everywhere else, I can't remove the "at"....

Ideas?

Thanks!


All times are GMT. The time now is 02:00 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.01970 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete