|
#1
|
|||
|
|||
[FTS 1.1] Integrate the blocks system [beta]
The FTS source includes the file /include/blocks.php wich is not integrated.
So let us make the blocks system working, but backup your files for security and read all carefully. Add to your database: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
The next thing is we have to create a folder named blocks as subfolder inthe folder fts-content. So please create in /fts-content the folder blocks. Now we need a file for blocks, so create in /fts-content/blocks/ the file named block-search.php: PHP Code:
Therefore add to the database table orbital_blocks: PHP Code:
The next thing I have is to explain you how to disable blocks on selected pages. Let's imagine we want to turn off the blocks in upload.php. Then you have to change: PHP Code:
PHP Code:
PHP Code:
PHP Code:
At least i thank kp380lv for the explaintation of how to disable blocks on selected sites, YunaScatari which have allready included the blocks system in his source and maybe it is coded by him or his team. P.S.: It will take a few days before i post the administration script for blocks with FTS, because im very busy at this days. Last edited by benjaminbih; 31st December 2009 at 23:09. |
The Following User Says Thank You to benjaminbih For This Useful Post: | ||
yoligim (3rd January 2010)
|
#2
|
||||
|
||||
Nice one m8
i Will test it tonight happy x mass grtzz edgein |
#3
|
|||
|
|||
@Edgein, take my blocks.php for /include and the /template/html folder with the html files
I have corrected the variables and the path. At this point its a problem to make the blocks collapsable, if you add PHP Code:
PHP Code:
I have spend few hours to get it worked , but it want not work. |
#4
|
||||
|
||||
Hey m8 thx it works very good tonight i have more time
to look at THE collapse funcktion good job grtzz edgein |
#5
|
|||
|
|||
OK, now I can see blocks on the left, I have this:
Search Torrents Offers Users torrents search works fine, but Users search doesn,t because it gives me a blank page...is anything wrong? thank you for your great work benjaminbih and Edegein kind regards |
#6
|
|||
|
|||
Quote:
open /fts-contents/blocks/block-search.php and change: PHP Code:
PHP Code:
|
#7
|
|||
|
|||
ok, now works!
putting a slash in front of your code <form method=\"get\" action=\"page.php?\"> <input type=\"hidden\" name=\"type\" value=\"users\"> <input type=\"text\" name=\"search\" size=\"20\" value=\"\"></td></tr> By the way: I get this error in some pages...like admin page Bump: SearchBlock nepostoji! Last edited by yoligim; 3rd January 2010 at 19:33. |
Tags |
11 , beta , blocks , fts , integrate , system |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Addon Blocks | Fynnon | Mods & Themes | 5 | 22nd August 2012 17:40 |
Site Blocks | Fynnon | BT.Manager (phpMyBitTorrent) | 5 | 8th February 2012 15:07 |
blocks mod | wMan | BT.Manager (phpMyBitTorrent) | 5 | 5th September 2009 20:01 |
integrate mIRC | victor | Template Shares | 11 | 17th May 2009 22:19 |