vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to make "Upload a custom avatar!" link under the avatar itself !! Image (https://vborg.vbsupport.ru/showthread.php?t=286509)

alzaabi 08-10-2012 02:22 PM

How to make "Upload a custom avatar!" link under the avatar itself !! Image
 
1 Attachment(s)
How to make "Upload a custom avatar!" link under the avatar itself !!

i see it in this forum and it is helpful

see the image

Lynne 08-10-2012 02:24 PM

It would be easy enough to make the link just direct to their upload page - is that what you want? Or are you wanting it in ajax to allow them to upload the avatar right there in the post?

alzaabi 08-10-2012 03:02 PM

give what you think is easy ... i think the one in the picture i give is easy

Lynne 08-10-2012 03:50 PM

Well, the edit avatar page is at profile.php?do=editavatar . So, to just show the link to the poster, just add something like:

<vb:if condition="$post[userid] == $bbuserinfo[userid]"><a href="profile.php?do=editavatar">Edit Avatar</a></vb:if>

Not tried at all, but something like that should be fine. You'll want to add some style to it most likely, so perhaps add a class to the link.

alzaabi 08-11-2012 08:38 PM

thank u the answer is here

http://www.vbulletiners.org/f24/how-...ar-itself-949/


All times are GMT. The time now is 07:02 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.01155 seconds
  • Memory Usage 1,712KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete