Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Yuna Scatari Edition (YSE)
Closed Thread
Thread Tools
  #151  
Old 28th April 2008, 21:25
KRoCk85 KRoCk85 is offline
Senior Member
 
Join Date: Apr 2008
Posts: 17
Default 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
  #152  
Old 30th April 2008, 13:20
trurl3 trurl3 is offline
Senior Member
 
Join Date: Mar 2008
Posts: 28
Default 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("<p align=center><form method=get action=? name=jump>\n");

print("<input type=hidden name=action value=viewforum>\n");

print("Id? do: ");

print("<select name=forumid onchange=\"if(this.options[this.selectedIndex].value != -1){ forms['jump'].submit() }\">\n");

$res = mysql_query("SELECT * FROM forums ORDER BY name") or sqlerr(__FILE__, __LINE__);

while ($arr = mysql_fetch_assoc($res))
{
if (get_user_class() >= $arr["minclassread"])
print("<option value=" . $arr["id"] . ($currentforum == $arr["id"] ? " selected>" : ">") . $arr["name"] . "\n");
}

print("</select>\n");

print("<input type=submit value='Id?!'>\n");

print("</form>\n</p>");
}

//-------- 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("<p align=center>Nowy temat w <a href=?action=viewforum&forumid=$id>$forumname</a> forum</p>\n");
}
else
{
$res = mysql_query("SELECT * FROM topics WHERE id=$id") or sqlerr(__FILE__, __LINE__);

$arr = mysql_fetch_assoc($res) or stderr("B?
  #153  
Old 1st May 2008, 22:09
KRoCk85 KRoCk85 is offline
Senior Member
 
Join Date: Apr 2008
Posts: 17
Default Re: Yuna Scatari v2.0 PRE7 RC0
thanks alot!
  #154  
Old 2nd May 2008, 11:09
ANDiTKO's Avatar
ANDiTKO ANDiTKO is offline
Senior Member
 
Join Date: Mar 2008
Greece
Posts: 47
Default 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?
  #155  
Old 2nd May 2008, 11:52
Kotafi Kotafi is offline
Senior Member
 
Join Date: Jan 2008
Posts: 139
Default 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
  #156  
Old 2nd May 2008, 12:18
ANDiTKO's Avatar
ANDiTKO ANDiTKO is offline
Senior Member
 
Join Date: Mar 2008
Greece
Posts: 47
Default 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.
  #157  
Old 2nd May 2008, 15:38
BoLaMN BoLaMN is offline
Senior Member
 
Join Date: Jan 2008
Australia
Posts: 93
Default 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
  #158  
Old 2nd May 2008, 18:02
ANDiTKO's Avatar
ANDiTKO ANDiTKO is offline
Senior Member
 
Join Date: Mar 2008
Greece
Posts: 47
Default 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 ;-)
  #159  
Old 3rd May 2008, 09:29
Kotafi Kotafi is offline
Senior Member
 
Join Date: Jan 2008
Posts: 139
Default 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:
  #160  
Old 6th May 2008, 20:07
x2seed x2seed is offline
Member
 
Join Date: May 2008
Posts: 1
Default 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
Closed Thread

Tags
pre7 , rc0 , rc1 , scatari , v20 , yuna


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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
blank pm page in yuna scatari v2.2 pre7 farshidkiani Yuna Scatari Edition (YSE) 2 4th December 2009 11:19
Problem with Yuna Scatari Edition PRE7 2.2 AneXA Yuna Scatari Edition (YSE) 2 26th October 2009 18:18
Yuna Scatari v2.2 PRE7 --vs--Nehalem? ampedm Yuna Scatari Edition (YSE) 7 25th March 2009 15:49
BlackJack for Yuna Scatari v2.0 PRE7 Kotafi Yuna Scatari Edition (YSE) 3 18th July 2008 14:23
Some Yuna Scatari v2.0 PRE7 RC2 shoutbox questions 3v0 Yuna Scatari Edition (YSE) 6 18th June 2008 01:52



All times are GMT +2. The time now is 01:31. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.