![]() |
Hey Gemma, I didn't initially read the whole thread, I just started installing it because it seemed awesome...
...until I realized it required Forum Block Sidebar. :sad: How can I adapt this so that members can put it in their profile? That's what I initially thought this was. I don't use forum sidebar on my site because members complain it slows down their browser. |
1 Attachment(s)
Quote:
Quote:
There is probably a lot simpler way to do this - I've never created a profile block before. 1. Create your profile field as normal. 2. Then create a new template called weather_aboutme Code:
<div> 3. In your AdminCP, go to Plugins & Products > Add New Plugin Product: vBulletin Hook Location: member_build_blocks_start Title: Show Weather In Profile Execution Order: 5 Plugin PHP Code: Code:
{ |
You're so awesome it's ridiculous.
|
That is brilliant! Thank you so much!!!
|
Is there one of these that will work on vbulletin forum 4.0? Please would love one
|
Quote:
|
This might be asking for too much, but . . doesn't hurt to try.
I like the idea of adding this widget as a box in the member profile. I went through this post and followed the instructions and it works . . . but . . . I notice that no matter which user profile I am viewing on the forums, it still loads my personalized YoWindow on the page. Is there anyway to make this only display on your personal profile page? and better yet, allow you to view the forecast for other users if you browse their profile? |
Quote:
In your MEMBERINFO template find: Code:
{vb:raw template_hook.profile_sidebar_stats} Code:
<!---Weather Profile Block---> No need for the plugin to be added from post#12, this will now show the weather for each member who has entered the profile data, if they haven't entered any data no block will appear....and when anyone else views the member's profile it will show the weather of the person whose profile you are viewing (if data entered). Also I've had to delete the <vb:else /> part of the code - if I get time later I'll look into that. |
That is exactly what I was looking for. Thank you Gemma ;)
|
Working great! Thanks!
|
All times are GMT. The time now is 09:59 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:
|