|
#151
|
|||
|
|||
Re: Yuna Scatari v2.0 PRE7 RC0
Quote:
|
#152
|
|||
|
|||
Re: Yuna Scatari v2.0 PRE7 RC0
Quote:
[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
|
|||
|
|||
Re: Yuna Scatari v2.0 PRE7 RC0
thanks alot!
|
#154
|
||||
|
||||
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:
"); ?> 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 Am i the onlyone who gets errors in Yuna.Scatari.v2.0.PRE7.RC1-Stripped-NEW? |
#155
|
|||
|
|||
Re: Yuna Scatari v2.0 PRE7 RC0
Quote:
I had no errors with this at all :D |
#156
|
||||
|
||||
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
|
|||
|
|||
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
|
||||
|
||||
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
|
|||
|
|||
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
|
|||
|
|||
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 |
Tags |
pre7 , rc0 , rc1 , scatari , v20 , yuna |
|
|
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 |