PDA

View Full Version : Forum Display


ImYourLady
12-09-2009, 05:47 PM
Hello everybody.

I have a problem in my forum. In error I placed a script in the forum & administrators.

I edited the forum and went to the Team Leader forum and copied the wrong text in the Title of the forum... The incorrect text starts at<SCRIPT.... and ends at <br/> and users belonging to the team leaders group are unable to view the forums.

<a href="forumdisplay.php?f=9"><font color="#FF0000"><SCRIPT language="JavaScript"> var scolor='FFFF00'; var a_speed='3'; var shimm</a>
<br /><div class="smallfont">Team leader Area</div>

How can I fix this? please someone help me :) Thank you in advance

Sample of the incorrect forum view :

http://i49.tinypic.com/2remjhc.png

kh99
12-09-2009, 05:53 PM
Well, I don't know what's supposed to be there, but I'd start by replacing everything between (and including) "<SCRIPT" and "var shimm", with some text (like the name of the forum). If you remove everything up to <br /> then you take away the </a> which you need.

ImYourLady
12-09-2009, 05:57 PM
The text "Team Leader Lounge" was there. The thing is that in the admincp
i can no longe see the forums that are below the one displayed here..

Is there a way via SQL to amend the table?

kh99
12-09-2009, 06:04 PM
Oh - I see now what you mean.

I think the table is "forum" (prefixed by whatever your TABLE_PREFIX is set to), and it looks like that's forum 9. So you could try "SELECT * from forum WHERE forumid=9" and see if that looks like the record with the error.

ImYourLady
12-10-2009, 05:34 AM
I will be trying this and will give you feed back :) thank you for your assistance

ImYourLady
12-13-2009, 07:20 AM
Unfortunately this did not resolve the problem.

I have even tried to amend the order of this forum to be at the bottom (last) but it still does not rectify the problem.

Any other suggestion?

Lynne
12-13-2009, 02:44 PM
*Exactly* what did you try that didn't resolve the problem? If you don't tell us exactly what you did, then we can't tell if you just did it wrong.

ImYourLady
12-13-2009, 04:39 PM
*Exactly* what did you try that didn't resolve the problem? If you don't tell us exactly what you did, then we can't tell if you just did it wrong.

I amended the title and the title_clean for forum=9 to read Team Leader.

It is as if when a member that had access to this forum (and the child forums) can no longer view the forums that are equal or greater than '9'.

Could I amend the forumid to read 300?

Lynne
12-13-2009, 04:55 PM
After you change something like that directly in the database, you need to rebuild the forum list. Go to edit another forum and just hit Save.

ImYourLady
12-14-2009, 06:03 AM
Lynne Thank you so much!!

Problem has been resolved! You are super :) :)

Lynne
12-14-2009, 02:04 PM
Glad you got it resolved. :)