vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Birthday, User Age and Zodiac Hack v1.2 (Working Version) (https://vborg.vbsupport.ru/showthread.php?t=50482)

nnjj.net 03-21-2003 09:14 AM

thanx alot its working great now and sorry for the file
BTW what if I want to use pictures for the chines zodiac instead of words ?

Boofo 03-21-2003 09:23 AM

Quote:

Today at 05:14 AM nnjj.net said this in Post #51
thanx alot its working great now and sorry for the file
BTW what if I want to use pictures for the chines zodiac instead of words ?

Just make sure you upload the images to the zodiac directory and the names need to be the same as they are in the code (example: Hare.gif). If you come across a good set of images, let me know and I can include them in the file for others to use, too. ;)

You will also need to change:

PHP Code:

<tr>
    <
td bgcolor="{secondaltcolor}"><normalfont><b>Chinese Zodiac Sign:</b></normalfont></td>
    <
td bgcolor="{secondaltcolor}"><normalfont>$chineszodiacsign</normalfont></td>
</
tr

to:

PHP Code:

<tr>
    <
td bgcolor="{secondaltcolor}"><normalfont><b>Chinese Zodiac Sign:</b></normalfont></td>
    <
td bgcolor="{secondaltcolor}"><normalfont>$chinesezodiacimage</normalfont></td>
</
tr

in the getinfo template.

sabret00the 03-21-2003 10:42 AM

Quote:

Yesterday at 12:25 PM Boofo said this in Post #31
There's already been a gender hack released a while ago. ;)
i know but i'm lazy just thought it would've been nice to have it all integrated into one great hack ;)

SmartGnome 03-21-2003 11:48 AM

Works :banana:

Was in the wrong birthday part [dumb] :laugh: and install is clicked.

Last stupid question:

I'm a noob for VB [just changes from wbb to here], how can I put these into the postbit. I did use the vars, but no show :(

Again thanks for this nice addy Boofo

Greetzz

Boofo 03-21-2003 12:14 PM

Quote:

Today at 06:42 AM sabret00the said this in Post #53
i know but i'm lazy just thought it would've been nice to have it all integrated into one great hack ;)
I've done a few hack installs myself where I wished the very same thing. ;)

Boofo 03-21-2003 12:18 PM

Quote:

Today at 07:48 AM SmartGnome said this in Post #54
Works :banana:

Was in the wrong birthday part [dumb] :laugh: and install is clicked.



Thanks! ;)

Quote:

Last stupid question:
No question is stupid if you don't know the answer. ;)

Quote:

I'm a noob for VB [just changes from wbb to here], how can I put these into the postbit. I did use the vars, but no show :(

Again thanks for this nice addy Boofo

Greetzz
Erwin released an Age in postbit hack a while back just for that. The zodiacs would take some coding in the functions.php but could be done. The reason I never did it is because I didn't want to over-inflate the postbit with alot of the same info that is in the profile. I like to have fresh info in different places so users will take the time to check it all out. ;)

Boofo 03-21-2003 01:51 PM

Quote:

Today at 06:42 AM sabret00the said this in Post #53
i know but i'm lazy just thought it would've been nice to have it all integrated into one great hack ;)
You must really be tired. You completely missed the install button. It's around here somewhere, I think. ;)

NuclioN 03-21-2003 02:05 PM

Quote:

Today at 02:18 PM Boofo said this in Post #56


I like to have fresh info in different places so users will take the time to check it all out. ;)

I wonder if this is happening, most of our members like to have info right before their nose and are unwilling to cross different sections of the forum to harvest it.

I see the postbit as the nervecenter of a forum and there it's all come togehter to make a forum as interactive and rich in personal info as possible, without overloading it. The balance is a challenge, i admit that but in the mean time...it would be a nice addon if this images are displayed in the postbit to. ;)

Boofo 03-21-2003 02:12 PM

Ok, Ok, you talked me into it. I will work on this later today and post it here when I have it finished. ;)

Boofo 03-21-2003 02:42 PM

NuclioN, in the admin/functions.php file, copy the birthday code and the zodiac code (below it) AFTER the following code and put the same variables you are using in the profile where you want them to show up in the postbit. That should do it.

PHP Code:

        if ($post['receivepm'] and $enablepms==1) {
            eval(
"\$post[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
        } else {
            
$post[pmlink] = "";
        } 



All times are GMT. The time now is 11:28 PM.

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.01124 seconds
  • Memory Usage 1,754KB
  • 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
  • (3)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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