vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   FORUM aniversary hack; users that registered on the current date shown on forumhome (https://vborg.vbsupport.ru/showthread.php?t=39877)

jamie 06-15-2002 10:18 AM

FORUM aniversary hack; users that registered on the current date shown on forumhome
 
hello,

nothing too complex just something like the happy birthday bit on the forum home page only that will show all users that registered on todays date, have posted within the last 30 days and the number of years ago they registed,

hope someone who 'knows' knows what im getting at:o

thanks :)

Logician 06-15-2002 06:18 PM

1 Attachment(s)
;)

Logician 06-15-2002 06:22 PM

1 Attachment(s)
Screenshot:

Computer clock set to 7.May.2003 to get this screenshot

Velocd 06-15-2002 06:27 PM

Is this a new hack by you Logician? If so, why not just release it publicly instead of posting it in here?

Logician 06-15-2002 06:38 PM

Quote:

Originally posted by Velocd
Is this a new hack by you Logician? If so, why not just release it publicly instead of posting it in here?
I provided with many codes in Requests forum and I personally prefer to release the hacks only if I think they appeal to many people, not only to the requester. It seemed to me that only Jamie would be interested with this and that's why I posted it here. If other people like it, holler and I'll release it. :)

Another reason: I have coded it very recently and its not tested long. Even if it will be released, I first would like it to be tested and debugged for a while.

Logician

Brad 06-16-2002 01:38 AM

i think theres a problem with the file you attached Oo. It dosent show what to find in Index.php

2- EDIT INDEX.PHP, FIND:

--- cut ---------
#################################################
// Logician today's anniversary hack

Logician 06-16-2002 06:46 AM

Updated..Thx for the warning..

Brad 06-16-2002 06:58 AM

im still getting the old txt file when i download hmmm.

Logician 06-16-2002 07:33 AM

probably because it's cached in your computer..

Add the code right after:

-- cut ------
eval("\$loggedinusers = \"".gettemplate('forumhome_loggedinusers')."\"; ");
}
-- cut ------

Chris M 06-16-2002 09:18 AM

Nice Hack...

Release it!!!

Satan

jamie 06-16-2002 09:51 AM

very much appriciated :D thanks so much Logician :D

Logician 06-22-2002 09:22 PM

I have noticed that I forgot to add the step 3 to instructions. So here it is:

Quote:

3- Edit Forumhome/forumhome template:

find:
--- cut ------
$birthdaybits
--- cut ------

After that add:
--- cut ------
$todays_anniversary
--- cut ------
Have you figured that out by yourself? If not why dont you holler? ;)

BTW at first the idea wasnt very appealing to me (maybe because my board is younger than 1 year) but now it seems that it was a nice idea. I will try to make some improvements on the hack (like changing the userstyle of the user if he visited the day in the anniversary). If you have other ideas please share. But no pm/email greetings plz! I know it would be great but requires a lot of coding and I am really fed up with greetings hacks. :) My all recent hacks were around this feature.

Any other ideas to integrate to this hack?


All times are GMT. The time now is 02:46 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.01129 seconds
  • Memory Usage 1,732KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete