Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   Template Shares 5.6 - WDW Edition (http://www.bvlist.com/showthread.php?t=4720)

Ecko 12th May 2010 22:48

when i test it on my local host on my pc i found this error

and i delete .htaccess file

Code:

load ('index');  require_once INC_PATH . '/plugins/ts_plugin_config.php';  $defaulttemplate = ts_template ();  $is_mod = is_mod ($usergroups);  stdhead (sprintf ($lang->index['welcome'], $SITENAME), TRUE, 'collapse', '');  $_header = ' ';  $_footer = '                              ';  $_div = '      {3}                                                                        {1}                    ' . $_title_bracket . ' {2}                                                                                      {4}                                           
 '; $_left_header = array ('', ''); $_middle_header = array ('', ''); $_right_header = array ('', ''); $_curuser_usergroup = ((!$CURUSER['usergroup'] OR !$CURUSER) ? '[0]' : '[' . $CURUSER['usergroup'] . ']'); $_contents = $_header; require_once TSDIR . '/' . $cache . '/plugins.php'; if (0 < count ($Plugins_LEFT)) { $__width = $_left_plugin_width - 10; $__cute = 20; $_contents .= $_left_header[0]; foreach ($Plugins_LEFT as $_results) { $show_content = false; $_perm_1 = $_results['permission']; if (($_perm_1 === '[guest]' AND $_curuser_usergroup === '[0]')) { $show_content = true; } else { if (($_perm_1 === '[all]' OR strstr ($_perm_1, $_curuser_usergroup))) { $show_content = true; } } if ($show_content) { if ($_results['content'] != '') { $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), $_results['content']), $_div); continue; } else { if (file_exists (INC_PATH . '/plugins/' . $_results['name'] . '.php')) { include_once INC_PATH . '/plugins/' . $_results['name'] . '.php'; $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), ${$_results['name']}), $_div); continue; } continue; } continue; } } $_contents .= $_left_header[1]; unset ($Plugins_LEFT); unset ($_perm_1); } $show_content = false; if (0 < count ($Plugins_MIDDLE)) { $__width = $_left_plugin_width * 2 + 130; $__cute = 180; $_contents .= $_middle_header[0]; foreach ($Plugins_MIDDLE as $_results) { $show_content = false; $_perm_2 = $_results['permission']; if (($_perm_2 === '[guest]' AND $_curuser_usergroup === '[0]')) { $show_content = true; } else { if (($_perm_2 === '[all]' OR strstr ($_perm_2, $_curuser_usergroup))) { $show_content = true; } } if ($show_content) { if ($_results['content'] != '') { $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), $_results['content']), $_div); continue; } else { if (file_exists (INC_PATH . '/plugins/' . $_results['name'] . '.php')) { include_once INC_PATH . '/plugins/' . $_results['name'] . '.php'; $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), ${$_results['name']}), $_div); continue; } continue; } continue; } } $_contents .= $_middle_header[1]; unset ($Plugins_MIDDLE); unset ($_perm_2); } $show_content = false; if (0 < count ($Plugins_RIGHT)) { $__width = $_right_plugin_width - 10; $__cute = 20; $_contents .= $_right_header[0]; foreach ($Plugins_RIGHT as $_results) { $show_content = false; $_perm_3 = $_results['permission']; if (($_perm_3 === '[guest]' AND $_curuser_usergroup === '[0]')) { $show_content = true; } else { if (($_perm_3 === '[all]' OR strstr ($_perm_3, $_curuser_usergroup))) { $show_content = true; } } if ($show_content) { if ($_results['content'] != '') { $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), $_results['content']), $_div); continue; } else { if (file_exists (INC_PATH . '/plugins/' . $_results['name'] . '.php')) { include_once INC_PATH . '/plugins/' . $_results['name'] . '.php'; $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), ${$_results['name']}), $_div); continue; } continue; } continue; } } $_contents .= $_right_header[1]; unset ($Plugins_RIGHT); unset ($_perm_3); } echo $_contents . $_footer; stdfoot (); ?>

i install this version fron insall.php file and it's working

danezuxxl 7th June 2010 12:57

please help
 
http://img80.imageshack.us/img80/6136/96643933.png

wMan 7th June 2010 18:16

lol
 
Quote:

Originally Posted by danezuxxl (Post 23373)

well with the looks of it you have put someone to staff with adding the to staffteam with a :name98, its a must to do it like this :name id 35,:man1 id1.:mane2d167, so it should look like this :falcom45,:wss78, remembers to add id in it with a , then go to users profile set to what staff you want then you be ok :relax:

or you put name of user in and id of user in add staff team you will see a fined user edit there profile you will see the id and user name just add them then put then to staff in there profile when set in staff team all done then easy as 123

Quote:

Originally Posted by Ecko (Post 23009)
when i test it on my local host on my pc i found this error

and i delete .htaccess file

Code:

load ('index');  require_once INC_PATH . '/plugins/ts_plugin_config.php';  $defaulttemplate = ts_template ();  $is_mod = is_mod ($usergroups);  stdhead (sprintf ($lang->index['welcome'], $SITENAME), TRUE, 'collapse', '');  $_header = ' ';  $_footer = '                              ';  $_div = '      {3}                                                                        {1}                    ' . $_title_bracket . ' {2}                                                                                      {4}                                           
 '; $_left_header = array ('', ''); $_middle_header = array ('', ''); $_right_header = array ('', ''); $_curuser_usergroup = ((!$CURUSER['usergroup'] OR !$CURUSER) ? '[0]' : '[' . $CURUSER['usergroup'] . ']'); $_contents = $_header; require_once TSDIR . '/' . $cache . '/plugins.php'; if (0 < count ($Plugins_LEFT)) { $__width = $_left_plugin_width - 10; $__cute = 20; $_contents .= $_left_header[0]; foreach ($Plugins_LEFT as $_results) { $show_content = false; $_perm_1 = $_results['permission']; if (($_perm_1 === '[guest]' AND $_curuser_usergroup === '[0]')) { $show_content = true; } else { if (($_perm_1 === '[all]' OR strstr ($_perm_1, $_curuser_usergroup))) { $show_content = true; } } if ($show_content) { if ($_results['content'] != '') { $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), $_results['content']), $_div); continue; } else { if (file_exists (INC_PATH . '/plugins/' . $_results['name'] . '.php')) { include_once INC_PATH . '/plugins/' . $_results['name'] . '.php'; $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), ${$_results['name']}), $_div); continue; } continue; } continue; } } $_contents .= $_left_header[1]; unset ($Plugins_LEFT); unset ($_perm_1); } $show_content = false; if (0 < count ($Plugins_MIDDLE)) { $__width = $_left_plugin_width * 2 + 130; $__cute = 180; $_contents .= $_middle_header[0]; foreach ($Plugins_MIDDLE as $_results) { $show_content = false; $_perm_2 = $_results['permission']; if (($_perm_2 === '[guest]' AND $_curuser_usergroup === '[0]')) { $show_content = true; } else { if (($_perm_2 === '[all]' OR strstr ($_perm_2, $_curuser_usergroup))) { $show_content = true; } } if ($show_content) { if ($_results['content'] != '') { $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), $_results['content']), $_div); continue; } else { if (file_exists (INC_PATH . '/plugins/' . $_results['name'] . '.php')) { include_once INC_PATH . '/plugins/' . $_results['name'] . '.php'; $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), ${$_results['name']}), $_div); continue; } continue; } continue; } } $_contents .= $_middle_header[1]; unset ($Plugins_MIDDLE); unset ($_perm_2); } $show_content = false; if (0 < count ($Plugins_RIGHT)) { $__width = $_right_plugin_width - 10; $__cute = 20; $_contents .= $_right_header[0]; foreach ($Plugins_RIGHT as $_results) { $show_content = false; $_perm_3 = $_results['permission']; if (($_perm_3 === '[guest]' AND $_curuser_usergroup === '[0]')) { $show_content = true; } else { if (($_perm_3 === '[all]' OR strstr ($_perm_3, $_curuser_usergroup))) { $show_content = true; } } if ($show_content) { if ($_results['content'] != '') { $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), $_results['content']), $_div); continue; } else { if (file_exists (INC_PATH . '/plugins/' . $_results['name'] . '.php')) { include_once INC_PATH . '/plugins/' . $_results['name'] . '.php'; $_contents .= str_replace (array ('{1}', '{2}', '{3}', '{4}'), array (ts_collapse (str_replace (' ', '_', $_results['name']), 1), $_results['description'], ts_collapse (str_replace (' ', '_', $_results['name']), 2), ${$_results['name']}), $_div); continue; } continue; } continue; } } $_contents .= $_right_header[1]; unset ($Plugins_RIGHT); unset ($_perm_3); } echo $_contents . $_footer; stdfoot (); ?>

i install this version fron insall.php file and it's working

did you cmod to 777 plug ins and do not del the htaccess as you need it to run thigs should put it back on

Quote:

Originally Posted by AJ1804 (Post 22996)
Hello mmisu120000, when creating the database (using phpmyadmin) for the import of the wdw56.sql file, do you make it a collation database with
connection collation: utf8_general_ci ?
Sorry if this is a noob question i don't know much about sql database stuff... :coffee:

ok you make db and user name and password you do not need to add the db as it will go in for you as soon as you have done the install cmoding to 777 and you do not need to reboot the server at all as the db will be there as soon as install as been done easy as 1234567890:drink:

Nightcrawler 19th June 2010 22:50

3 Attachment(s)
Installer attached

changed scrape to work tested and working ;)

Conjo 23rd June 2010 14:38

Quote:

Originally Posted by Nightcrawler (Post 23605)
Installer attached :)

changed scrape to work tested and working ;)


New scrape Great!! :drink:

That i was looking for, giving it a test right now.

PS. Hopefully it works for 5.4.1 also.


Update:

To bad...seems not to work on 5.4.1

Anyone knows how to make it work? :sos:

Nightcrawler 23rd June 2010 19:30

what error do u get I have found this script to be very temperamental on different types of servers :)

Conjo 23rd June 2010 19:46

Quote:

Originally Posted by Nightcrawler (Post 23696)
what error do u get I have found this script to be very temperamental on different types of servers :)


Just like told before.. torrent is working but no seeders in the 'seeders' on the client..but somehow i think it's in announce.php becouse as far as i can see scrape isn't used on a tracker announce..

TSSE is the only script that has these problems.. any other script like tbdev dosn't show this problem..

My tracker has over 4500 users near 9000 torrents and a average of 13000 peers.

but when i look in my own seeds almost every torrent has no 'seeder' in the torrent client and the site tells a different story.

So.. beat me .. i'am not a programmer but there must be something wrong in the announce,functions_announce or functions_announce2.

Kind regards,

Conjo

Oh yeah..
I'am using 5.4.1 on a Godaddy V-dedicated server width CentOS.

Nightcrawler 23rd June 2010 19:51

Its weird cos in my localhost (windows) and my vps (centos) it work perfect. But in my (centos) dedicated with ispconfig its not working I get a decoding error :mad:

Conjo 23rd June 2010 19:57

Quote:

Originally Posted by Nightcrawler (Post 23698)
Its weird cos in my localhost (windows) and my vps (centos) it work perfect. But in my (centos) dedicated with ispconfig its not working I get a decoding error :mad:

I just get lots of this crap in /var/log/httpd/error_log

Code:

Failed loading /home/****/public_html/ioncube/ioncube_loader_lin_5.2.so:  /home/****/public_html/ioncube/ioncube_loader_lin_5.2.so: undefined symbol: zend_compile_string
But ioncube is installed and working.

Nightcrawler 23rd June 2010 20:19

see if u have this line in your announce.php if so try changing it. http://bvlist.com/template-shares/51...ttp-500-a.html


All times are GMT +2. The time now is 19:09.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.