Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
vB3 Pets Details »»
vB3 Pets
Version: 1.00, by AutomatikStudio AutomatikStudio is offline
Developer Last Online: Aug 2011 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-30-2004 Last Update: Never Installs: 132
 
No support by the author.

vB3 Pets v1.0
by AutomatikStudio and others

+What This Hack Does+
This hack gives your users the option to have their very own furry little pets. Posting on your boards is what keeps them alive!

+Installation+
+ Queries - 4
+ File edits - 3 files
+ Template Additions - 1
+ Template Edits - 2
+ Image Uploads

+UPDATE+
+Thanks to Link14716, your selections stay selected after your users save them in their profiles. The ZIP file has been updated with the new code. Or if you just want the code then check out THIS post.
+IF YOUR HACK HAS THE ANIMAL 'CATEPILLER' MAKE SURE YOU FIX THE SPELLING ERROR!! Silly me, I misspelled the word 'catepiller'. You need to update /includes/functions_showthread.php and the MODIFYPROFILE template from the word 'catepillar' to 'catepiller' with an E.

*Note: I no longer support this mod in any form or fashion. Please don't PM me with questions about it.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 02-16-2004, 04:17 AM
JackG JackG is offline
 
Join Date: Nov 2001
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

me wants vBpets 2.0
Reply With Quote
  #103  
Old 02-16-2004, 04:23 AM
The Quibbler The Quibbler is offline
 
Join Date: Oct 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...nice hack, except something's not working for me.

When I go to profile.php, I get this error:

PHP Code:
Parse errorparse errorexpecting `')'' in /home/quibbler/public_html/forums/profile.php on line 912 
On line 912, I see:

PHP Code:
'pettype' => INT
Around it is this code:

PHP Code:
// homepage doesn't match the [url]http://-style[/url] format in the beginning -- possible attempted exploit
            
$homepage '';
        }
    }
    
//##### Begin vB3 Pets #####     
globalize($_POST, array( 
    
'pettype' => INT
    
'petgender' => INT
    
'petowned' => INT
    
'petname' => STR_NOHTML 
)); 
//##### End vB3 Pets ##### 
Additionally, on showthread.php, I get this error:

PHP Code:
Parse errorparse error in /home/quibbler/public_html/forums/includes/functions_showthread.php on line 765

Warning
Cannot modify header information headers already sent by (output started at /home/quibbler/public_html/forums/includes/functions_showthread.php:765in /home/quibbler/public_html/forums/includes/functions.php on line 2752 
I'm following the instructions exactly as far as I can tell. Is it because I'm running vb3 RC4? Would it just be my server?

Thanks to anyone who replies. I'd really like to get this fixed. :ermm:
Reply With Quote
  #104  
Old 02-16-2004, 12:30 PM
digitalSite's Avatar
digitalSite digitalSite is offline
 
Join Date: Nov 2003
Location: Gator Nation
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JackG
I just figured out my issue..maybe it will help you if you had the same problem:

I followed the great installation instructions. However when I was at the part
where it says postbit OR postbit_legacy... I figured I can do either one..so I
editied my postbit. The pet dident show up. Now I just did the same mod in
postbit_legacy and it works!
Thanks JackG!!!!!!
I am not sure why, but last time I tried to make it work, I used postbit and then made the changes to postbit_legacy, but it still didn't work for me. I tried it again today and now it works!!!

I am so happy I have this hack! Thanks again JackG for the hint!
Reply With Quote
  #105  
Old 02-16-2004, 07:11 PM
JackG JackG is offline
 
Join Date: Nov 2001
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent digitalSite!
Reply With Quote
  #106  
Old 02-16-2004, 07:28 PM
JackG JackG is offline
 
Join Date: Nov 2001
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how I can limit the Pets usage to users in a specific category?
Reply With Quote
  #107  
Old 02-16-2004, 08:38 PM
AutomatikStudio's Avatar
AutomatikStudio AutomatikStudio is offline
 
Join Date: Dec 2003
Posts: 229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JackG
Does anyone know how I can limit the Pets usage to users in a specific category?
This can be done using vB3 <if> statements. My guess is that it would be best to wrap the table where the user can change their pet info in MODIFYPROFILE in something like
Code:
<if condition="$bbuserinfo[usergroup]==2"> table stuff here </if>
That right there would only let the pets show up for user group 2. You can change the "==2" to "!=2" to make it so that all groups EXCEPT group 2 can see the pet stuff in the profile.
Reply With Quote
  #108  
Old 02-16-2004, 09:25 PM
The Quibbler The Quibbler is offline
 
Join Date: Oct 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea why mine won't work, Josh? Do you know if this hack is suppoesd to work with RC4? Should I just try installing it again?
Reply With Quote
  #109  
Old 02-16-2004, 09:48 PM
AutomatikStudio's Avatar
AutomatikStudio AutomatikStudio is offline
 
Join Date: Dec 2003
Posts: 229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Quibbler
Any idea why mine won't work, Josh? Do you know if this hack is suppoesd to work with RC4? Should I just try installing it again?
The hack has been installed multiple times on RC4. Try re-installing.
Reply With Quote
  #110  
Old 02-16-2004, 11:31 PM
The Quibbler The Quibbler is offline
 
Join Date: Oct 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whew! Finally got it working. Excellent hack; I can't wait for v2.0
Reply With Quote
  #111  
Old 02-17-2004, 05:33 PM
JackG JackG is offline
 
Join Date: Nov 2001
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, I will give it a try
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:29 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05185 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete