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)
-   -   Ember's Pet Hack (https://vborg.vbsupport.ru/showthread.php?t=48134)

sslight 02-22-2003 04:20 PM

Did you run the quireys?

Dribbles 02-22-2003 05:36 PM

any news on the new version comming out?

Koutaru 03-02-2003 07:04 PM

I can't wait until version 3 comes out :)
Almost every one of members has a pet ;)

mx3 03-04-2003 09:23 PM

a lot of my members don't like this hack, because there is no battle system...i hope it will be included!

SRozhon 03-05-2003 02:13 AM

I added more pets to this for my forum. I hope you don't mind Ember, but I thought some of you might also like to use them too.

There are 12 in here including a Golden Retreiver Puppy, a Poodle, squirrel, catepiller, bird, Teddy Bears, and a snail. I just added the graphics to the pets folder and added references to them in the member and function files. It's all in the zip if you want them. I also put my postbit in there. I use Ravio style so it needed to be changed a little to look right. I included it in case some of you are having the same prob.

I still think this Hack is so cute Ember! Thanks again!

Ember 03-05-2003 01:36 PM

Nice work SR, the future versions of this hack have been delayed until... well, indefinatly. I have no time to work on this hack, I have a lot of coursework, plus a big website to maintain now... I may come back and work on it, if anyone wants to take over, feel free ^_^

Koutaru 03-06-2003 12:34 AM

that's sad ember, I hope someone does continue this hack or that you'll get back to it soon

:) anyway, good luck

mx3 03-07-2003 12:43 AM

i also made a couple more pets...since my boards are based on gaming, one of my members suggested a 'Metool' from the Mega Man series...i also added a snake. i may post them later, or when i have more pets and changes.

lynda 03-09-2003 01:45 PM

Simple hack to make it only show up if you've selected a pet...

For functions.php, in the original code, after:
PHP Code:

//end Pet gender 

Add:
PHP Code:

        if ($post[petgender] != "0" or $post[pettype] != "0") {
            eval(
"\$pethack = \"".gettemplate("postbit_pethack")."\";");
        } 

Then make a template called postbit_pethack and put your pethack postbit addition in there. In postbit, put $pethack where you want it to appear.

To allow users to UNselect a pet, in modifyprofile add:
PHP Code:

    <option value="0"$petgender_select[0]>No Pet</option

Above the female selection and:
PHP Code:

    <option value="0"$pettype_select[0]>No Pet</option

Above the first type option (should be Dog, I believe)

Love the hack. :)

midnightz 03-10-2003 12:33 AM

I have a question. I have installed the pet hack 2.0 and I'm getting a bit of table madness. I'm a newbie and i have fiquired out some of the cool hacks here. But I have done the followed the directions three times and still come up with this.

I do have some custom work on my board, but nothing in the templates that are being hacked by the Pet hack.

Here is a shot of what I see:

Thank you,
midnightz & Kitten :)


All times are GMT. The time now is 02:05 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.01512 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_php_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