Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 16 Feb 2014, 18:28
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
Today's Birthdays not showing up in WGO

I have the option to show 'Today's Birthdays' enabled in my 4.2.1 board's admin cp, but this function has never worked since upgrading to 4.2.1. Is anyone else experiencing this? Anyone got a fix for it? Thanks in advance for any input!

The code text in the FORUMHOME template is as follows:

<!-- today's birthdays -->
<div id="wgo_birthdays" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/birthday.png" alt="{vb:rawphrase todays_birthdays}" />{vb:rawphrase todays_birthdays}</h3>
<ol class="commalist">
<vb:each from="birthdays" value="row">
<li><a href="{vb:link member, {vb:raw row}}">{vb:raw row.username}</a><vb:if condition="$row['age']"> ({vb:raw row.age})</vb:if>{vb:raw row.comma}</li>
</vb:each>
</ol>
</div>
<!-- end today's birthdays -->

Last edited by BGObsession; 16 Feb 2014 at 18:41.
Reply With Quote
  #2  
Old 16 Feb 2014, 22:47
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
If the user has, Hide Age and Date of Birth or Display Only Age set, they will not show up in there.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #3  
Old 16 Feb 2014, 23:30
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
Thanks! Hey Ozzy, is there a setting to set ALL members to 'Display Only Day and Month of Birth' for all members as a default (so it cannot be changed, or at least, sets all current members to that option)?

Also - is there a working CMS widget to display this same information on the CMS page?
Reply With Quote
  #4  
Old 16 Feb 2014, 23:46
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Run this querry:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I would imagine the widget will work now, http://www.vbulletin.org/forum/showthread.php?t=255015
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #5  
Old 17 Feb 2014, 00:01
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
I've not 'run a query' before. I assume I should be using the 'execute SQL query' function in the 'Maintenance' section of the Admin CP, but when I select that I get message 'You are not authorized to execute SQL queries'. I am an Admin btw...
Reply With Quote
  #6  
Old 17 Feb 2014, 00:03
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
You need to set you user Id to be able to do thin in the includes/config.php file


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #7  
Old 17 Feb 2014, 00:16
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
Thanks Ozzy - as always - you are the man! One of the biggest assets on vbulletin.org!
Reply With Quote
  #8  
Old 17 Feb 2014, 00:20
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Not a problem, glad to help.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #9  
Old 17 Feb 2014, 00:28
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
Hey Ozzy, after running that query I am getting the following error when trying to access my site:

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/config.php:1) in [path]/includes/functions.php on line 4370

Thoughts?
Reply With Quote
  #10  
Old 17 Feb 2014, 00:31
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Sounds to me like you messed something up in the config file, undo any changes and see if that fixes it.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #11  
Old 17 Feb 2014, 00:35
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
The ONLY thing I changed was adding my user ID to the file you referenced.
Reply With Quote
  #12  
Old 17 Feb 2014, 00:39
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Originally Posted by BGObsession View Post
The ONLY thing I changed was adding my user ID to the file you referenced.
How did you edit the file though?

Example: If you use wordpad or notepad in windows, edit the file then upload it to a server (which is more than likely Linux) it can sometimes insert hidden characters, this is what's known as UTF-8 BOM, its just how the program tries to read the file and when the hidden windows characters are inserted it causes issue because Linus is not Windows and vice-versa.

Always edit your config.php file OR any vBulletin file for that matter with programs such as NotePad++ (Google it, very nice editor w/ line #'s etc) otherwise if you use default windows programs it can cause issues if the server type is not windows as well.
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #13  
Old 17 Feb 2014, 00:41
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
I used Notepad. That's not the issue Superman
Reply With Quote
  #14  
Old 17 Feb 2014, 00:43
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Not notepad, use notepad ++
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #15  
Old 17 Feb 2014, 00:47
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
Okay - so having edited using notepad, adding my user ID under the query section, and then exiting completely, obviously I cannot use 'undo' - any thoughts regarding how to get my site back up? I don't understand why it brought my site down since that was the only change?
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:25.

Layout Options | Width: Wide Color: