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)
-   -   Avatar Link in UserCP (vB.org Clone) (https://vborg.vbsupport.ru/showthread.php?t=53327)

Sam FT 06-04-2003 06:32 PM

Quote:

Today at 01:30 AM Kars10 said this in Post #20
@ Music Pirate, i noticed the bug...but forget to update my zip. Sorry, will update it right now. :)

@ Alien, glad you like it. :)

Kars

No problem, I came across the error when I was installing and testing out the improved pm folder hack. At first I thouhgt I screwed up the Avatar Link Hack by installing the Improved PM hack. But I noticed the line 73 in the private2.php was there, so I edit it and then it worked.

But I really like this hack alot, because it makes so simple for my users.

Kars10 06-04-2003 06:52 PM

Thanks Music Pirate!! :)
I think the same!!
It is much easier to edit the avatar with this Link.
I also removed the avatarbutton from the modifyoptions-template, no need for it anymore!! :)

Kars

Sam FT 06-04-2003 07:19 PM

I think that would be good to add it to the hack as an optional part. Because I would like to have that hack to remove the link, but some may not. I am assuming that it is a simple template editing?

Kars10 06-04-2003 07:32 PM

Thats pretty easy.
Just open modifyoptions-Template...

search for:

Code:

<tr>
        <td bgcolor="{ secondaltcolor}"><normalfont><b>Avatar</b></normalfont><br>
        <smallfont><a href="misc.php?s=$session[sessionhash]&action=showavatars" target="_blank">More info...</a></smallfont></td>
        <td bgcolor="{ secondaltcolor}"><normalfont><img src="$bbuserinfo[avatarurl]" border="0" alt="Your current avatar" align="middle"> <input type="image" src="{ imagesfolder}/clear.gif" alt="" border=""><input type="submit" class="bginput" name="modifyavatar" value="Change Avatar"></normalfont></td>
</tr>

and delete it.

Note: ... ive made spaces in the above code( { secondaltcolor}, { imagesfolder}, because of the parsing here... ;)

Kars :)

Sam FT 06-04-2003 11:58 PM

Thanks...thats great, will have to test out later tonight.

tkeil69575 06-21-2003 07:44 AM

nice hack karsten :)


All times are GMT. The time now is 01:46 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.01095 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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