The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Remove choose avatar button in options
I am curently using an offsite avatar hack: https://vborg.vbsupport.ru/showthrea...threadid=39296
it works wonders... but if someone goes to edit their profile, it shows a box to put in a URL for their picture. But when a person going to edit options, they can go to the bottom and select change avatar, and it says "thanks for updating your profile" and goes to an error page: Fatal error: Cannot redeclare stripslashesarray() (previously declared in /home/virtual/site1/fst/var/www/html/vBulletin/global.php:31) in /home/virtual/site1/fst/var/www/html/vBulletin/global.php on line 31 is there a way that i can either make the url be editable there (harder) or just remove that part... make it not show up at all (should be easy i would think) |
#2
|
||||
|
||||
go in admin cp. template > modify > User Option Templates > Edit modifyoption template.
Find: Code:
<input type="submit" class="bginput" name="modifyavatar" value="Change Avatar"> that willl remove the "Change Avatar" that appears in the profile. |
#3
|
||||
|
||||
Thanks, I actually had to edit out this whole bit to make it look right:
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> One last thing. is there a way to comment things out in the templates? :bunny: |
#4
|
||||
|
||||
Code:
<!-- COMMENTED OUT TEXT --> |
#5
|
||||
|
||||
Thank you very much ^^ I thouhgt that was it, but wasnt sure.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|