vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 Pets (https://vborg.vbsupport.ru/showthread.php?t=61008)

Drowned 02-12-2004 01:15 PM

Can the images be changed? Like to cars or something? Instead of pets...?

AutomatikStudio 02-12-2004 01:37 PM

Quote:

Originally Posted by shadesvn
this's a kool mod !!! .. i think i'll wait until the new ver 2.0 and I can i use it on VB3 G .. where's your site address mate ?

My personal site is HERE.

BillaBongUSA 02-12-2004 09:21 PM

Quote:

Originally Posted by Drowned
Can the images be changed? Like to cars or something? Instead of pets...?

Yeah, just upload pictures of cars in place of the pet images.

shadesvn 02-13-2004 11:34 AM

Quote:

Originally Posted by BillaBongUSA
Yeah, just upload pictures of cars in place of the pet images.

funny ... your car gonna die if you don't feed him ! hehe j/k

KurtVWE 02-14-2004 01:18 AM

I installed this hack in Vb RC4, but seems that everytime I click "Save Changes" @ Profile, it always turned back to default , and no VbPet

on Showthread, there's no a box like this : https://vborg.vbsupport.ru/attachmen...chmentid=16404

Where's the Problem?

digitalSite 02-14-2004 03:59 AM

I never got my vb3 Pet to work on my board: vb3. 0 RC3 :(

JackG 02-14-2004 09:26 PM

I have the same problem as DigitalSite :(
I am running the latest vB - Version 3.0.0 Release Candidate 4
and would Love to get it to work.
It does display in edit profile but the actual pet does not
display in the showthread page.
Any ideas?

Topdog 02-14-2004 09:26 PM

I had vbpets installed on rc3 before i upgraded to rc4 and it worked fine on both of em. You could try running through the instructions again, make sure you create the extra pet coloumns into the user tables (to do this you'll need permission to run queries from within your admin cp, you can do this by editing your config.php file). You'll also have to create the actual pets template yourself (this is the table that displays your pets name and picture etc on your members posts) by editing your forums style.

These are the main bits that i reckon peeps will get stuck on or forget..

JackG 02-14-2004 10:08 PM

Hi Topdog, I Checked and Recheck...did everything correctly but dosent show.
I did notice that all other template calls look like this:

$post[posts]

while the one i added is:

$vb3petsthreadbit

without any []

....basically i followed the directions properly.

...also I checked the database and all user table alterations are proper.

Any help would be Great!

PET 02-14-2004 10:21 PM

when version 2.0 will be out ?

AutomatikStudio 02-15-2004 06:02 AM

Quote:

Originally Posted by JackG
Hi Topdog, I Checked and Recheck...did everything correctly but dosent show.
I did notice that all other template calls look like this:

$post[posts]

while the one i added is:

$vb3petsthreadbit

without any []

....basically i followed the directions properly.

...also I checked the database and all user table alterations are proper.

Any help would be Great!

Well..not really sure what else to tell you...tons of other people have installed it perfectly fine and only 2 people out of the 50 or so that have installed have had trouble...so I really don't know what else to tell you to try. Sorry.
Quote:

Originally Posted by PET
when version 2.0 will be out ?

When we release it. :ermm: Can't really give you any more details. Hopefully within the next month.

BarHopper 02-15-2004 10:57 AM

I am hving the same problem as ^^. Its npt sowing up in my post bit. Look : http://www.game-realms.net/vb/showth...1&page=5&pp=10 Its not in the postbit. :/ I really wnat this hck too.

assassingod 02-15-2004 11:00 AM

Quote:

Originally Posted by BarHopper
I am hving the same problem as ^^. Its npt sowing up in my post bit. Look : http://www.game-realms.net/vb/showth...1&page=5&pp=10 Its not in the postbit. :/ I really wnat this hck too.

Did you edit the correct template?

blubber12 02-15-2004 11:39 AM

Barhopper, you are using the legacy version of the postbit. Did you make changes to postbit legacy as well as plain postbit?

The Quibbler 02-15-2004 03:32 PM

Quote:

+ Pet Development Kit (PDK) - would allow Admin's to create new pets.
Quote:

+ Ability for users to turn off the display of all pets. Similar to turning off the view of avatars and sig's.
I think I'll wait until you've got these features before installing it, but I'm deffinetly interested in the hack :)

BarHopper 02-15-2004 03:37 PM

Yeah i did in postbit_legacy. Would someone be able to take a look?

AutomatikStudio 02-15-2004 05:52 PM

Quote:

Originally Posted by BarHopper
Yeah i did in postbit_legacy. Would someone be able to take a look?

PM me your postbit.

JackG 02-16-2004 02:58 AM

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!

AutomatikStudio 02-16-2004 02:59 AM

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!

Thats because you modify the postbit you use.

The Quibbler 02-16-2004 03:41 AM

I lied when I said I'd wait for the other features.

/me installs

JackG 02-16-2004 04:17 AM

me wants vBpets 2.0 :)

The Quibbler 02-16-2004 04:23 AM

...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:

digitalSite 02-16-2004 12:30 PM

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! :D

JackG 02-16-2004 07:11 PM

Excellent digitalSite!

JackG 02-16-2004 07:28 PM

Does anyone know how I can limit the Pets usage to users in a specific category?

AutomatikStudio 02-16-2004 08:38 PM

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.

The Quibbler 02-16-2004 09:25 PM

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?

AutomatikStudio 02-16-2004 09:48 PM

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.

The Quibbler 02-16-2004 11:31 PM

Whew! Finally got it working. Excellent hack; I can't wait for v2.0 :)

JackG 02-17-2004 05:33 PM

Awesome, I will give it a try :)

JackG 02-17-2004 06:05 PM

AutomatikStudio -that dident work, but this does:

<if condition="$bbuserinfo[usergroupid] == '6'">

OR for multiple usergroups:

<if condition="is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 38) OR is_member_of($bbuserinfo, 23) OR is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 24)">

AutomatikStudio 02-17-2004 07:19 PM

Quote:

Originally Posted by JackG
AutomatikStudio -that dident work, but this does:

<if condition="$bbuserinfo[usergroupid] == '6'">

OR for multiple usergroups:

<if condition="is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 38) OR is_member_of($bbuserinfo, 23) OR is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 24)">

2 wasn't the number you should have necessarily used...it was an example.

JackG 02-17-2004 07:51 PM

hehe I know :) However your line of code dident work. This you left out a '
But hey I wont hold it against you - GREAT MOD HERE!!!!
When is 2.0 Coming :)

JackG 02-17-2004 08:26 PM

hehe I know :) However your line of code dident work. This you left out a '
But hey I wont hold it against you - GREAT MOD HERE!!!!
When is 2.0 Coming :)

AutomatikStudio 02-17-2004 08:45 PM

Quote:

Originally Posted by JackG
However your line of code dident work. This you left out a '

What are you talking about?

JackG 02-17-2004 08:48 PM

Your code example needs: '2' <--- '
Where is 2.0 ??
LOL

AutomatikStudio 02-17-2004 08:52 PM

Quote:

Originally Posted by JackG
Your code example needs: '2' <--- '
Where is 2.0 ??
LOL

No it doesn't. I use the code sample I gave all throughout my boards and it works perfectly. And 2.0 is over there....next to the thing. :ninja:

KamuiX 02-17-2004 10:39 PM

Nice hack, Automatik! I really want to install, but I'm going to hold off till 2.0 is out. Great ideas, though... can't wait to see everything implemented. :D

Chris|vB 02-18-2004 12:20 AM

Sweet work....

Hoffi 02-18-2004 07:46 PM

It's great.

/me clicks install.

Waiting for 2.0...


All times are GMT. The time now is 11:31 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.01560 seconds
  • Memory Usage 1,837KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (16)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
  • (40)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