![]() |
RPG Pets [Mini_fixes & UserCP options]
1 Attachment(s)
hello, this are just temporal mini-fixes for the RPG Pet addon which it was already release by DarkgamerVN, @ RPG PETS.
Download: (RPG PETS) vb.org link or https://vborg.vbsupport.ru/showthrea...hlight=RPG+PET Okay lets start! List of fixes: (1) Temp (2) UserCP (legacy) (1) Temp: Un-Catched templates: rpgpet_board (1) rpgpet_rpg (1) rpgpet_started (1) Fix: 1.- Add a new plugin 2.- Write this: Title: RPG PET Catched Templates (or any title name you want) Hook Location : cache_templates Plugin PHP Code: Code:
$cache = array_merge((array)$cache, array( (1) UserCP : this will let users to either turn on/off their pet (from showing @ postbit_legacy) First: Go to User Profile Fields - Add New User Profile Field - then select : Single-Selection Radio Buttons (i prefer buttons rather than a list menu) Okay lets create it: Title: RPG Pet Postbit Description: This will either turn on/off your pet from your postbit (between threads view. Options: ON , OFF it must look like this: ON OFF Set Default : ON (If you want it to be by OFF by default just change the order) Field Editable by User: Yes Field Searchable on Members List: No Show on Members List: No Allow user to input their own value for this option: No Let the other on default mode Which page displays this option? edit profile (seems to be the best option, in my point of view) Okay we are almost done, now we add the conditionals. First go to -> Styles and templates -Search in Templates - postbit_legacy Then Replace: Code:
This: I will try to add more fixes, and improve the installation with a easy mini mod installer. thanks robert |
Pictures:
https://vborg.vbsupport.ru/external/2010/12/3.png And the other edit just removes a un catched template. btw im not a pro coder cheers |
Tag it! Some Screenshots?
|
Visit the link he provided, it;s alot more information and betetr explanations on that thread.
|
Database error in vBulletin 4.1.10:
Invalid SQL: SELECT * FROM rpg_pet WHERE class ='1'(('))")""'; RPG Pet is vulnerable for sql injection use at own risk my forum got hacked a few days ago cause of it and kbank |
All times are GMT. The time now is 02:17 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|