Register Members List Search Today's Posts Mark Forums Read

Mod Options
RPG Pets [Mini_fixes & UserCP options] Details »
RPG Pets [Mini_fixes & UserCP options]
Mod Version: 1.00, by rob01 (Coder/Designer) rob01 is offline
Developer Last Online: Jun 2017 I like it Show Printable Version Email this Page

vB Version: 4.1.0 Rating: (0 vote - 0 average) Installs: 4
Released: 30 Dec 2010 Last Update: Never Downloads: 0
Not Supported Uses Plugins Template Edits Re-usable Code Translations Is in Beta Stage  

hello, this are just temporal mini-fixes for the RPG Pet addon which it was already release by DarkgamerVN, @ RPG PETS.

Download: (RPG PETS) link


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)

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Plugin is Active : ON

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

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just change the fieldx with your number

I will try to add more fixes, and improve the installation with a easy mini mod installer.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Old 30 Dec 2010, 05:47
rob01 rob01 is offline
Join Date: Sep 2008
Real name: robert

And the other edit just removes a un catched template.

btw im not a pro coder


Last edited by rob01; 07 Jan 2011 at 00:21.
Reply With Quote
Old 04 Jan 2011, 13:04
Kraxell's Avatar
Kraxell Kraxell is offline
Join Date: Jun 2010
Real name: Andi
Tag it! Some Screenshots?
Reply With Quote
Old 16 Aug 2011, 00:51
Ravallojr Ravallojr is offline
Join Date: Jun 2011
Real name: Austin
Visit the link he provided, it;s alot more information and betetr explanations on that thread.
Reply With Quote
Old 09 Feb 2012, 15:38
xhells21 xhells21 is offline
Join Date: Aug 2011
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
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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

New To Site? Need Help?

All times are GMT. The time now is 23:50.

Layout Options | Width: Wide Color: