![]() |
Empty Profile Field Notification! 1.0.0
Empty Profile Field Notification! 1.0.0 WHAT IT DOES: This hack will inform your users in a somewhat annoying way that they should fill in profile fields that you specify. Once they fill in the specified fields, this message will go away. This Hack can be used for many things, for example. You can have a notice displayed if they are not a subscriber, not a member of a certain usergroup, have not selected an avatar, and more. Its up to your imagination :) WHY I MADE THIS: Rather than forcing users to fill out profile fields and potentially lose new members because they just didnt feel like doing it right then and there during signup, this will remind them while they are browsing the forums that "hey, its a good idea to fill this out or you have to look at this annoying message everyday"! :) INSTRUCTIONS: Step 1 - Go in your adminCP > Styles & Templates > Edit Templates > Forum Home Templates > FORUMHOME Find: Code:
$navbar Code:
<!-- Empty Profile Field Notification by Stangsta --> ex. Code:
<if condition="$bbuserinfo[fieldXX]==''"> Step 3 This is OPTIONAL! Lets say, you want your users to fill out 2 or more profile fields. Simple, just keep adding the code like this: Code:
<!-- Empty Profile Field Notification by Stangsta --> PLEASE PLEASE PLEASE....If you use this hack CLICK INSTALL! |
install went ok, shows that i need to fill in some information about me.
i filled in the info but the warning is still on the main page any help? EDIT.... silly me, forgot to change the XX to profile field number. works ok now thanks :squareeyed: |
nice just what i needed :)
[high]* MissKalunji clicks installed[/high] |
just noticed that when this is in place it makes the footer of the skin skewif and makes a large gap at the bottom of the page. :ermm:
|
Quote:
It shouldnt effect the footer. Are you sure you installed it in the FORUMHOME template under the $navbar? |
Now this is more like it. Thanks for sharing.
/me clicks install |
Quote:
yes i did install it it in forumhome under $navbar |
Quote:
|
Nice! I'll install I think.
|
Sorry the forum is members only but i will still pm you the link
|
Does someone know how to do this for a profile photo?
ie. You have not yet uploaded a profle photograph. Click here to do so now. |
Quote:
|
Quote:
Code:
<if condition="$show['profilepic']"> |
nice. I'll install this soon
|
Quote:
|
Quote:
Code:
<!-- Empty Profile Field Notification by Stangsta --> Code:
<!-- Empty Profile Field Notification by Stangsta --> |
Also, this Hack can be used for many things, for example. You can have a notice displayed if they are not a subscriber, not a member of a certain usergroup, have not selected an avatar, and more. Its up to your imagination :)
|
Quote:
It actually works on "profile.php?do=editprofilepic" but it displays all the time on other pages. I think that <if condition="$show['profilepic']"> will only work on that particular page, so I'm guessing it will need a plugin to function properly. |
Quote:
|
I just installed this and everything seemed to be working fine, until I realized the right column that I placed in my forums page using vBadvanced CPMS was gone. I removed your code from FORUMHOME and the right column magically reappeared.
I'd really like to get this working and don't want to give up my right column, so if you have any advice I'd really appreaciate it. If it helps, here's the instructions from the vBadvanced manual that I used and they have nothing to do with the FORUMHOME template. http://www.vbadvanced.com/membersare...tid=4&pageid=6 Thanks |
Wow this sounds great but can someone make this a plugin as I hate template mods.
|
Quote:
|
Any suggestions regarding my problems with the vBadvanced right column? Am I out of luck?
Cheers, Andrew |
Quote:
|
Thanks,
I ended up using the other mod here to force users to fill in the fields. I prefered your more gentle approach, but I'm glad I found something that works. It's always nice to have options. Cheers. |
I just reinstalled this. Using vBadvanced to add columns to the forum pages seemed to be causing other weird layout problems so I got rid of it.
Thanks for a great mod! |
Hurm, I was looking at this and I was wondering why you did this
Code:
<if condition="$bbuserinfo[usergroupid] == 1"> Code:
<if condition="$vbulletin->userinfo['userid'] != '0' AND THIS_SCRIPT == 'index'"> Code:
<if condition="$show['member']"> |
Quote:
Good looking out. |
looks like a great hack exactly what I've been after but how would I get this to work with the email field?
|
Quote:
So how is this done? What is the profile field # for avatar? |
Is this default in 3.6.0 now?
|
Quote:
It's because this mod is poorly coded. The code SHOULD BE Code:
<!-- Empty Profile Field Notification by Stangsta --> |
on another note, does anyone know how to get this to work on non forum pages, like vBa CMPS index?
i need to call the userprofile variables from somewhere... |
All times are GMT. The time now is 10:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|