vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   how can i do this? (https://vborg.vbsupport.ru/showthread.php?t=38096)

RDX1 05-01-2002 12:08 AM

how can i do this?
 
hello, im making a custom profile page for my VB

and im intersted on how if a user has a picture url, it gets displayed in vb (i get that part) but how does it put a blank picture in it's place if they put nothing there, or the url doesnt exist?



here
http://sitepointforums.com/member.ph...o&userid=10259

and here
http://sitepointforums.com/member.ph...o&userid=18067

RDX1 05-01-2002 04:06 PM

anyone?

Chris M 05-01-2002 05:00 PM

Well...

First of all - It would help if Guest permissions were set to be able to view profiles...

Satan

RDX1 05-01-2002 08:15 PM

not my board :angry:

no.. here let me explain more


i have a custom hidden feild named ''profile picture'' and i edite dthe get info template to display it as a link here

http://www.nerdnations.com/bbs/membe...ter&forumid=11


now, all i have to do is change the code and replace a href with img src, i can do that, but if they dont put a picture, nothing will show up, i want am wondering is how if they dont put a picture, how can i make it show a blank picture in its place instead of a red x

RDX1 05-04-2002 05:13 PM

i talked to the owner of the board, and he said ask here, and i still have no response

Zzed 05-04-2002 06:30 PM

You mean something like this? http://www.ls1.com/forums/member.php...fo&userid=4112 (My userid on LS1.com is Zed)

This is a hack I did for my board. I haven't published it. Would it interest you?

Chris M 05-04-2002 06:53 PM

Cool...

2 Questions...

1.) Could you release it?

2.) How do you get a Minus Postcount?

Satan

RDX1 05-04-2002 09:37 PM

and if someone doesnt put in a url, what will happen? i want it so if they dont put a url in - it puts a blank image in... i know how to make it so they can put a url in and it will show up...

Zzed 05-05-2002 03:12 AM

I will release this hack.

If there is no URL, the field will show up as blank. ;)

Hellsatan, I altered the user table to allow negative numbers in the post counts. I had a long day I will post that info on my next reply, as well as the release of the hack. ;)

RDX1 05-05-2002 03:18 AM

cool, thanks for both tips :) i want negitive counts also


All times are GMT. The time now is 03:10 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.02226 seconds
  • Memory Usage 1,725KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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