Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Yuna Scatari Edition (YSE) (http://www.bvlist.com/forumdisplay.php?f=22)
-   -   Yuna Scatari v2.0 PRE7 RC0 & RC1 (http://www.bvlist.com/showthread.php?t=182)

KRoCk85 28th April 2008 21:25

Re: Yuna Scatari v2.0 PRE7 RC0
 
Quote:

Originally Posted by trurl3
Quote:

Originally Posted by KRoCk85
trurl3, do you still use rc0? if so could you please post your forums.php and signup.php/takesignup.php

... the dates of my members joining shows as 1969, and all forum posts are 0000, im just wondering how to fix this lol so i want to compare yours. thanks.

Now i can help you with this problem. You have to change something in your forums.php file:

Code:

In line 1062  forums.php change $editedat to NOW()
In line 546 forums.php change $added to NOW()

It is rather jury rigged solution, but works good.

NOTE: This is NOT forums.php file from original pack (MyBB forum). This is forums.php file for internal forum taken from another tracker code.

that did not work for me, my added, editedats have multiple counts and are on different lines, could you post your forums.php

trurl3 30th April 2008 13:20

Re: Yuna Scatari v2.0 PRE7 RC0
 
Quote:

Originally Posted by KRoCk85
that did not work for me, my added, editedats have multiple counts and are on different lines, could you post your forums.php

Your welcome. THis is my forums.php
[code] /*ob_start("ob_gzhandler");*/

require "include/bittorrent.php";

dbconn(false);
// maxsysop ();

loggedinorreturn();
parked();

$action = htmlspecialchars(trim($_GET["action"]));

$forums = mysql_query("select id from forums");
while ($forum = mysql_fetch_assoc($forums))
{
$postcount = 0;
$topiccount = 0;
$topics = mysql_query("select id from topics where forumid=$forum[id]");
while ($topic = mysql_fetch_assoc($topics))
{
$res = mysql_query("select count(*) from posts where topicid=$topic[id]");
$arr = mysql_fetch_row($res);
$postcount += $arr[0];
++$topiccount;
}
mysql_query("update forums set postcount=$postcount, topiccount=$topiccount where id=$forum[id]");
}
function catch_up()
{
global $CURUSER;

$userid = $CURUSER["id"];

$res = mysql_query("SELECT id, lastpost FROM topics") or sqlerr(__FILE__, __LINE__);

while ($arr = mysql_fetch_assoc($res))
{
$topicid = $arr["id"];

$postid = $arr["lastpost"];

$r = mysql_query("SELECT id,lastpostread FROM readposts WHERE userid=$userid and topicid=$topicid") or sqlerr(__FILE__, __LINE__);

if (mysql_num_rows($r) == 0)
mysql_query("INSERT INTO readposts (userid, topicid, lastpostread) VALUES($userid, $topicid, $postid)") or sqlerr(__FILE__, __LINE__);

else
{
$a = mysql_fetch_assoc($r);

if ($a["lastpostread"] < $postid)
mysql_query("UPDATE readposts SET lastpostread=$postid WHERE id=" . $a["id"]) or sqlerr(__FILE__, __LINE__);
}
}
}

//-------- Returns the minimum read/write class levels of a forum

function get_forum_access_levels($forumid)
{
$res = mysql_query("SELECT minclassread, minclasswrite, minclasscreate FROM forums WHERE id=".mysql_real_escape_string($forumid)) or sqlerr(__FILE__, __LINE__);

if (mysql_num_rows($res) != 1)
return false;

$arr = mysql_fetch_assoc($res);

return array("read" => $arr["minclassread"], "write" => $arr["minclasswrite"], "create" => $arr["minclasscreate"]);
}

//-------- Returns the forum ID of a topic, or false on error

function get_topic_forum($topicid)
{
$res = mysql_query("SELECT forumid FROM topics WHERE id=".mysql_real_escape_string($topicid)) or sqlerr(__FILE__, __LINE__);

if (mysql_num_rows($res) != 1)
return false;

$arr = mysql_fetch_row($res);

return $arr[0];
}

//-------- Returns the ID of the last post of a forum

function update_topic_last_post($topicid)
{
$res = mysql_query("SELECT id FROM posts WHERE topicid=".mysql_real_escape_string($topicid)." ORDER BY id DESC LIMIT 1") or sqlerr(__FILE__, __LINE__);

$arr = mysql_fetch_row($res) or die("No post found");

$postid = $arr[0];

mysql_query("UPDATE topics SET lastpost=$postid WHERE id=".mysql_real_escape_string($topicid)) or sqlerr(__FILE__, __LINE__);
}

function get_forum_last_post($forumid)
{
$res = mysql_query("SELECT lastpost FROM topics WHERE forumid=".mysql_real_escape_string($forumid)." ORDER BY lastpost DESC LIMIT 1") or sqlerr(__FILE__, __LINE__);

$arr = mysql_fetch_row($res);

$postid = $arr[0];

if ($postid)
return $postid;

else
return 0;
}

//-------- Inserts a quick jump menu

function insert_quick_jump_menu($currentforum = 0)
{
print("

\n");

print("\n");

print("Id? do: ");

print("\n");

print("\n");

print("
\n

");
}

//-------- Inserts a compose frame

function insert_compose_frame($id, $newtopic = true, $quote = false)
{
global $maxsubjectlength, $CURUSER;

if ($newtopic)
{
$res = mysql_query("SELECT name FROM forums WHERE id=".mysql_real_escape_string($id)) or sqlerr(__FILE__, __LINE__);

$arr = mysql_fetch_assoc($res) or die("Bad forum id");

$forumname = $arr["name"];

print("

Nowy temat w $forumname forum

\n");
}
else
{
$res = mysql_query("SELECT * FROM topics WHERE id=$id") or sqlerr(__FILE__, __LINE__);

$arr = mysql_fetch_assoc($res) or stderr("B?

KRoCk85 1st May 2008 22:09

Re: Yuna Scatari v2.0 PRE7 RC0
 
thanks alot!

ANDiTKO 2nd May 2008 11:09

Re: Yuna Scatari v2.0 PRE7 RC0
 
I dont know why but i get too much errors with the Yuna.Scatari.v2.0.PRE7.RC1-Stripped-NEW!.zip. when i try to run it on localhost.

I copied the folder and when i open it with my browser it displays
Code:

"); ?>
Ater that when i try to accsess the installer it can't run coz it displays this:
Code:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in H:\www\EasyPHP 2.0b1\www\yse\install\index.php on line 70

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in H:\www\EasyPHP 2.0b1\www\yse\install\index.php on line 71

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in H:\www\EasyPHP 2.0b1\www\yse\install\index.php on line 72

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in H:\www\EasyPHP 2.0b1\www\yse\install\index.php on line 73

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in H:\www\EasyPHP 2.0b1\www\yse\install\index.php on line 74

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in H:\www\EasyPHP 2.0b1\www\yse\install\index.php on line 75

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in H:\www\EasyPHP 2.0b1\www\yse\install\index.php on line 85

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in H:\www\EasyPHP 2.0b1\www\yse\install\index.php on line 95

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in H:\www\EasyPHP 2.0b1\www\yse\install\index.php on line 107

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in H:\www\EasyPHP 2.0b1\www\yse\install\index.php on line 117

Thats the errors when i use EasyPHP 2.0.After installing the tracker in manual way i get errors everywhere.And the settings.php is messed up with my new theme.I used EasyPHP 2.0 with the older yse versions and i had no problem.so...

Am i the onlyone who gets errors in Yuna.Scatari.v2.0.PRE7.RC1-Stripped-NEW?

Kotafi 2nd May 2008 11:52

Re: Yuna Scatari v2.0 PRE7 RC0
 
Quote:

Am i the onlyone who gets errors in Yuna.Scatari.v2.0.PRE7.RC1-Stripped-NEW?
Throw that EasyPHP out of the window and use xampp or smthg..

I had no errors with this at all :D

ANDiTKO 2nd May 2008 12:18

Re: Yuna Scatari v2.0 PRE7 RC0
 
I have tried xampp and other packs but i get more errors.
The point is that YSE must me completable with most of the servers and hosts.

BoLaMN 2nd May 2008 15:38

Re: Yuna Scatari v2.0 PRE7 RC0
 
sorry to say people i havent touched yuna source for quite awhile as my relationship with my girlfriend was going down hill, once my relationship is back to normal i will continue to fix bugs in yuna source but as for new mods other then the ones i have already completed i will be unable to make.

hope you all support me with my goals but i believe my relationship should come first as i dont want to see 3 years down the drain

thanks for all the support and hope you support me in my future endeavours

Nathan

ANDiTKO 2nd May 2008 18:02

Re: Yuna Scatari v2.0 PRE7 RC0
 
BoLaMN, your girlfriend is more important than the yse project.sooo we can wait.
Good luck with your girlfriend ;-)

Kotafi 3rd May 2008 09:29

Re: Yuna Scatari v2.0 PRE7 RC0
 
We have a old jungle saying in finland that guys dont run after girls or bussess but that is only a joke,
everybody knows how it Really goes! :P

I hope you will make your girlfriend happy yourself too.. :smile:

x2seed 6th May 2008 20:07

Re: Yuna Scatari v2.0 PRE7 RC0
 
Can not Upload and seeds

Test
http://yu.bitder.com/

upload user
user teedpeek
pass 123456

please help me


All times are GMT +2. The time now is 03:46.

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