Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-09-2009, 05:47 PM
ImYourLady ImYourLady is offline
 
Join Date: Dec 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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 :

Reply With Quote
  #2  
Old 12-09-2009, 05:53 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 12-09-2009, 05:57 PM
ImYourLady ImYourLady is offline
 
Join Date: Dec 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #4  
Old 12-09-2009, 06:04 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 12-10-2009, 05:34 AM
ImYourLady ImYourLady is offline
 
Join Date: Dec 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will be trying this and will give you feed back thank you for your assistance
Reply With Quote
  #6  
Old 12-13-2009, 07:20 AM
ImYourLady ImYourLady is offline
 
Join Date: Dec 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #7  
Old 12-13-2009, 02:44 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*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.
Reply With Quote
  #8  
Old 12-13-2009, 04:39 PM
ImYourLady ImYourLady is offline
 
Join Date: Dec 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
*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?
Reply With Quote
  #9  
Old 12-13-2009, 04:55 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 12-14-2009, 06:03 AM
ImYourLady ImYourLady is offline
 
Join Date: Dec 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne Thank you so much!!

Problem has been resolved! You are super
Reply With Quote
Reply


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


All times are GMT. The time now is 10:04 PM.


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.04668 seconds
  • Memory Usage 2,246KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete