• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Modified cabaltoolz 3.1

Newbie Spellweaver
Joined
Jan 10, 2011
Messages
55
Reaction score
24
Modified Version of CabalToolz 3.1

Limit Reset Level FIxed:
Voting Page
New Templates

MSSQL QUERIES: (use only if you have never used CabalToolz before, upgrades from previous CabalToolz version to V3.1 do not need to do it again!)

This is for the Account database. changes for cabal_auth_table:

Code:

Code:
Use ACCOUNT; 
ALTER TABLE [dbo].[cabal_auth_table]  
ADD Gender int NULL ,  
Country int NULL ,  
Email varchar(100) NULL


This is for the GameDB table. it Adds the Resets column to the Cabal_character_table:

Code:

Code:
Use GameDB;  
ALTER TABLE [dbo].[cabal_character_table]  
ADD Resets int default 0


This is for the CabalCash Database. Adds two additional tables Webshop and Webshop Categories:

Code:

Code:
CREATE TABLE [dbo].[WebShop](
 [Id] [int] IDENTITY(1,1) NOT NULL,
 [Name] [varchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
 [Description] [varchar](200) COLLATE Chinese_PRC_CI_AS NOT NULL,
 [ItemIdx] [int] NOT NULL,
 [Options] [int] NOT NULL,
 [Image] [varchar](200) COLLATE Chinese_PRC_CI_AS NOT NULL,
 [Cash] [int] NULL,
 [Alz] [int] NULL,
 [Category] [int] NOT NULL,
 [Available] [int] NOT NULL,
 [TimeLimit] [int] NOT NULL,
 [Total] [int] NOT NULL CONSTRAINT [DF_WebShop_Total]  DEFAULT ((0)))

CREATE TABLE [dbo].[WebShop_Category](
 [ID] [smallint] IDENTITY(1,1) NOT NULL,
 [Category] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
 [Access] [smallint] NOT NULL)




This is for the VOtereward in CABALCASH DATABASE.

Code:
CREATE TABLE [COLOR="Red"]VoteReward[/COLOR](
UserID VARCHAR(50) NULL,
VoteDate INT NULL
)

Code:
CREATE TABLE [COLOR="Red"]VoteReward2[/COLOR](
UserID VARCHAR(50) NULL,
VoteDate INT NULL
)

Note : You can change the Votereward table name Votereward and Votereward2 by editing the line in vote_do.php and vote_do1.php or you can also add another voting server by copying the php file from one of them and create a new file for example vote_do3.php and change the Votereward name line inside and you must go to modules and create a new php page for that.. and dont forget to add a new table for your SQL for your new Votereward NAME.

note:
You must look at the vote_do.php and vote_do1.php

Code:
Change this line
$server="[COLOR="Red"]SQL IP[/COLOR]";    ----- YOUR SQL IP
$user="[COLOR="Red"]SQL USERNAME[/COLOR]";   ----------- YOUR SQL USERNAME EXAMPLE : sa
$pass="[COLOR="Red"]SQL PASSWORD[/COLOR]"; ------------ YOUR SQL password


Note: you need a basic HTML,PHP knowledge so you can edit the html,php characters inside the page. You will need to edit the main files inside the MODULE for example. frontpage.php,shop.php,vote.php,register.php etc. ... YOU WILL SEE WHAT I MEAN IF YOU OPEN some of the files there. :)

And most specially dont forget to edit your config.php also backend config.php

DOWNLOAD:


CREDITS to:
Code:
 john_d for his ct3.1
 Some Ragezoners for there some scripts.
 and most of all Some Private server for there Full source,script etc. etc,
:D:
 
Last edited:
Experienced Elementalist
Joined
Apr 5, 2011
Messages
244
Reaction score
95
Good Job,maybe in future could you fix the bugs from cabaltoolz v4 because there are the most bugs,for example the hard bug is in usercp at Class Name,and the search function for Rankings.I succed something,you can pm talk more about the fixes.
 
Skilled Illusionist
Joined
Apr 13, 2011
Messages
387
Reaction score
69
in the template/mcabal. is a file named mysql.php
Does the site need and mysql databse?if yes what query should we import to create the tables adn for what it uses the mysql?
 
Skilled Illusionist
Joined
Apr 13, 2011
Messages
387
Reaction score
69
Ok first of all SORRY YAMACHI FOR DOUBLE POSTING BUT I NEED TO POST HERE AND BUMB THE THREAD SO THE USERS CAN SE.

I starting modifying this cabal toolz and what i started with is removing all that hardlinking in the files and making the site get images and path from his location.(who has a little knowlegend in web sites understands me)
I am havin a little problem wich i cant sem to figure out.
The register page doesent work.



So can you guys help me so we can release the cabal toolz once and for all bugless?
 
Banned
Banned
Joined
Oct 20, 2006
Messages
3,245
Reaction score
1,652
lol, you don't have to apologise. The last post was 6 days ago.
 
Back
Top