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)
-   -   [RELEASE vb2.0+] vB Photo Upload (https://vborg.vbsupport.ru/showthread.php?t=27475)

SirSteve 11-28-2001 02:20 PM

No problem... I am still trying to figure out why I cannot pull up the pic in the getinfo template.

:(

This hack really needs to be re-done, especially making it use vb headers and footers.

ToraTora! 11-28-2001 11:47 PM

This hack took a lot of time for Brad to make up, and he did it the way he wanted to... he took a lot of suggestions from the get go from me and others like wajones. The end result he decided not to use headers and footers for his own reasons, and if you want them.. I am sure you can add them... then if you find it takes a long time to figure it out, then you might know what he went through.. hehe

it was his first script, so it was roughly coded, and done in a fashion to if it works, leave it alone. lol

btw.. I have seen his latest version, which he has not released cause he is not done with.... and it does have a lot more features, and will work a lot better. :)

I do believe this has been brought up a few times.. and I think when he gets his v2.0 done it might have headers and footers or an option for it. But he has been working on a lot of other things and has not really made it back to fixing this.

But I was told last night that he is atleast working with the old version and updating it completely to work with vb2.2+ so we will see.

grumpy 11-28-2001 11:55 PM

While we may have had a few problems tweaking it to work for us, it's a great hack, and I greatly appreciate his time to make it :) I'm happy with what it does for now, and will look forward to seeing his update whenever he shares it with us.

Thank you for keeping us updated on his progress and for helping sort things out :)

SirSteve 11-29-2001 12:25 AM

Quote:

Originally posted by grumpy
While we may have had a few problems tweaking it to work for us, it's a great hack, and I greatly appreciate his time to make it :) I'm happy with what it does for now, and will look forward to seeing his update whenever he shares it with us.

Thank you for keeping us updated on his progress and for helping sort things out :)

I could not have said it better... :)

derfelix 12-03-2001 08:30 PM

Great Hack..
just one little question.. in your install file you write
"If you have previously installed vB Photo Ranking, there will be no need to make any database changes, so you ......."

I habe been making queries all over the place for the last few days....
Where do i get: vB Photo Ranking

that would be exactly what i need !!!!

thanks

grumpy 12-04-2001 12:25 AM

I'd like to make a suggestion, in case anyone can help with this. In the Admin CP, the option to view/edit photos will load a list of every member on one page, regardless of whether they have a photo uploaded. I have over 15,000 members and it zapped my browser trying to load it all. So if there is a way to load a certain number at a time, or even allow a search for specific members, that would be a great addition to this script.


thanks :)

SirSteve 12-04-2001 02:51 AM

Quote:

Originally posted by grumpy
I'd like to make a suggestion, in case anyone can help with this. In the Admin CP, the option to view/edit photos will load a list of every member on one page, regardless of whether they have a photo uploaded. I have over 15,000 members and it zapped my browser trying to load it all. So if there is a way to load a certain number at a time, or even allow a search for specific members, that would be a great addition to this script.


thanks :)

I agree totally...

ToraTora! 12-04-2001 04:09 AM

derfelix,

I asked Brad about that... I think he forgot to change his internal script .. lol. He has photo ranking, and has been working on it for a long time. Photo upload was one part of it and he decided to release it to everyone after he got so far with it... so he pulled it out of a bigger script and released it, so luckily there was no real big mess ups.. :)

Second SirSteve and grumpy.. Brad has updated that .. a few times, just never got around to releasing it.. :)

find this code.. in the (admin/user.php) file:

PHP 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 change it to this:

PHP 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 AND picture_name<>'' ORDER BY $orderby $direction LIMIT $limitstart,$limitnumber"); 

what was added was a WHERE clause (picture_name<>'') meaning where the picture_name field is not empty.

So it will only display the users that have uploaded a photo.

Does this help..

derfelix 12-04-2001 05:47 AM

Thanks... will i it be long before release? (even commercial)?
anyway i'il work on an addon for this one... in memberlist.. a button to display only members with photos in profile ;)

SirSteve 12-04-2001 06:01 PM

Thanks! Works great! I still cannot get the pic to show up on the Profile page. It shows up in the postbit addon though.... no errors or anything, just no pic. The description however DOES show....


All times are GMT. The time now is 11:33 PM.

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.01321 seconds
  • Memory Usage 1,746KB
  • 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
  • (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