The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hide birthday on forumhome if postcount<X...
I've searched around, and I found a hack for 2.2.x to hide the display of a user in "Today's Birthdays" if the user has less than X posts, but I don't see one for 3.0.X.
Can someone build one, or at least point me in the right direction? The new birthday stuff appears to be cached, and I'm struggling with it, nor do I want to break it. Thanks in advance! |
#2
|
||||
|
||||
Easy
In functions_databuild.php FIND PHP Code:
PHP Code:
|
#3
|
|||
|
|||
Thanks much!
Though I'm not so sure I want to thank you for making it so simple. Couldn't you have made me edit 7 files, change 3 templates, and add a column or two to my DB? And not have those changes actually do anything? Then I wouldn't feel so dumb. Alrighty then... I gave this a shot, and I'm still seeing users with a zero postcount in "Today's Birthdays". Any idea why? I looked through the rest of that code section for the birthdays in function_databuild.php, and it seems like it should work. I even ran the query that you told me to modify (after the mod) in mysql (replacing the variables) and it worked. What gives? Why isn't it working on my forums? Quote:
Anyway... Could someone look at the problem above? It's not working, even though the SQL works right... |
#4
|
||||
|
||||
The cache is only updated once/day, so to force an update you have to clear it first:
[sql] DELETE FROM datastore WHERE title = 'birthdaycache' [/sql] |
#5
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|