Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[ADDON] Forums
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2011-09-04 18:36:54
then i suggest you re-install the mod using [url="http://www.torrenttrader.org/index.php?showtopic=11085&hl=forums"]http://www.torrenttrader.org/index.php?sho...5&hl=forums[/url]again

hope this helps

especially the part for admincp :angry:
Unknown User
2011-09-05 23:41:49
rofl bumping an thread is LAME once someone knows how to fix they will..... i think its something to do with either your db or forums.php I would use the stock 1 from the start of this topic and see what happens.................
Unknown User
2011-09-06 09:38:21
The reason u see a white page is simple, its because u dont have permission to do whatever your trying to do, and i dont blame TorrentialStorm for not wrapping a query around some images the forums are big enough as they are.

The thing is i just seen you have added more usergroups so this is ur fault no one elses.
Unknown User
2011-09-06 12:22:52
if ($action == "deletetopic") {

$topicid = $_GET["topicid"];

if (!is_valid_id($topicid) || $CURUSER["delete_forum"] != "yes")

die;

}


looks like i was right and ur wrong ^
Unknown User
2011-09-06 16:58:28
You shouldn't be removing anything like i said the code is ok its ur user permissions.
Unknown User
2011-09-07 00:41:07
but cp and the friend will change the permission of the user class
Unknown User
2011-09-07 13:26:48
"djhowarth, post: 74523":
if ($action == "deletetopic") {

$topicid = $_GET["topicid"];

if (!is_valid_id($topicid) || $CURUSER["delete_forum"] != "yes")

die;

}




try changing above code to




you have to know basic formating.. if an if( statement something has to follow it or it will error out auto.

by anyway sounds like you still missing the delete_forum entry in the db or something.. I would make sure its in there and flagged as yes to what ever class you want to be able to delete in the forum.



if ($action == "deletetopic") {

$topicid = $_GET["topicid"];

if (!is_valid_id($topicid) || $CURUSER["delete_forum"] != "yes")

showerror("Error", "Denied!");



}
2011_09_07_0833.png
2011_09_07_0833.png
Unknown User
2011-10-03 13:52:43
using 2.07..when im adding new forum its showing...

Could not save to DB - check your connection & settings!..and sometimes its going blank...

but before it was working...i dunno what went wrong...

edit

anyone can help..still having it...cannot post new forum...
Unknown User
2011-10-20 21:57:05
post your admincp.php also all the sql still present in the database?  do you get a error ? if you get a error what error do you get ? is error reporting turned on ? are you sure you are setting the correct permissions ? may be consider updating to the new forums here [url="http://www.torrenttrader.org/index.php?showtopic=14076"]http://www.torrenttrader.org/index.php?showtopic=14076[/url]

and please next time can you please edit your post instead of double posting
Unknown User
2011-10-22 19:19:01
I dunno..Sometime its working..but sometimes its showing...Could not save to DB - check your connection & settings!..giving me blank screens...dunno whats happening...here is my admincp...

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5273"]admincp.php[/url]
admincp.php
Download
Unknown User
2011-10-22 20:23:59
Just fixed the issues [url="http://torrenttrader.svn.sourceforge.net/viewvc/torrenttrader/v2/trunk/upload/admincp.php?r1=693&r2=692&pathrev=693"]here[/url].

- Few missing stdfoot's

- removed register_globals

- Secured vars
Unknown User
2011-11-11 19:53:53
Hello

There is a problem with the forum, guests can read all the forums can not prevent its
Unknown User
2011-11-11 21:16:07
Which ttversion you using? do me a favour download the lastest tt from svn and test them as there was alot of issues i have cleaned up
Unknown User
2011-11-13 16:36:53
I explain

I would like to open the forum to guests (non-connected users) because I have a staff category and I do not want them to see the. and ensure that for some categories they do not have access. and the forum is impossible. how we could do
Unknown User
2011-11-13 16:49:31
For a full category to be hidden all the forum posts need to be guest read = no but you will still see the forum category name... so find

	if ($forums_arr['fcid'] != $fcid) {// add forum cat headers

print("<tr class='f-cat f-border'><td colspan='5' align='center' class='f-border'>".htmlspecialchars($forums_arr['fcname'])."</td></tr>\n");



$fcid = $forums_arr['fcid'];

}



if (get_user_class() < $forums_arr["minclassread"] && $forums_arr["guest_read"] == "no")

continue;
Change to




	if (get_user_class() < $forums_arr["minclassread"] && $forums_arr["guest_read"] == "no")

continue;



if ($forums_arr['fcid'] != $fcid) {// add forum cat headers

print("<tr class='f-cat f-border'><td colspan='5' align='center' class='f-border'>".htmlspecialchars($forums_arr['fcname'])."</td></tr>\n");



$fcid = $forums_arr['fcid'];

}



I hope this is what you meant.
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728