vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Today's Birthdays not showing up in WGO (https://vborg.vbsupport.ru/showthread.php?t=308448)

BGObsession 02-16-2014 05:28 PM

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:

Quote:

<!-- 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 -->

ozzy47 02-16-2014 09:47 PM

If the user has, Hide Age and Date of Birth or Display Only Age set, they will not show up in there.

BGObsession 02-16-2014 10:30 PM

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?

ozzy47 02-16-2014 10:46 PM

Run this querry:

Code:

UPDATE `user` SET `showbirthday` = '3';
I would imagine the widget will work now, https://vborg.vbsupport.ru/showthread.php?t=255015

BGObsession 02-16-2014 11:01 PM

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...

ozzy47 02-16-2014 11:03 PM

You need to set you user Id to be able to do thin in the includes/config.php file

Code:

        //        ****** USERS WITH QUERY RUNNING PERMISSIONS ******
        //        The users specified here will be allowed to run queries from the control panel.
        //        See the above entries for more information on the format.
        //        Please note that the ability to run queries is quite powerful. You may wish
        //        to remove all user IDs from this list for security reasons.
$config['SpecialUsers']['canrunqueries'] = '1';


BGObsession 02-16-2014 11:16 PM

Thanks Ozzy - as always - you are the man! One of the biggest assets on vbulletin.org!

ozzy47 02-16-2014 11:20 PM

Not a problem, glad to help. :)

BGObsession 02-16-2014 11:28 PM

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?

ozzy47 02-16-2014 11:31 PM

Sounds to me like you messed something up in the config file, undo any changes and see if that fixes it.


All times are GMT. The time now is 06:37 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.21559 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)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
  • (10)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