vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Forum Display (https://vborg.vbsupport.ru/showthread.php?t=229860)

ImYourLady 12-09-2009 05:47 PM

Forum Display
 
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

Quote:

Originally Posted by Lynne (Post 1929935)
*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 :) :)


All times are GMT. The time now is 05:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01142 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete